Wrong image format for bootm command kernel image not found android

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wrong image format for bootm command kernel image not found android

Jump to solution
6,993 Views
arunswarnam
Contributor II

I am newbie trying to port the default android image(4.4.2) onto imx6 dual lite auto board . I successfully flashed the image onto sdcard media by following the quick start guide . Bu t when I enter into U boot it says " Wrong image format for bootm command Error : Kernel image not found". Can somebody help me with this

bootargs=console=ttymxc3,115200 rdinit=/linuxrc

bootcmd=bootm 0x10800000 0x10c00000

bootdelay=0

baudrate=115200

ipaddr=192.168.1.103

serverip=192.168.1.101

netmask=255.255.255.0

loadaddr=0x10800000

rd_loadaddr=(0x10800000 + 0x300000)

netdev=eth0

ethprime=FEC0

uboot=u-boot.bin

kernel=uImage

stdin=serial

stdout=serial

stderr=serial

ethact=FEC0

Labels (2)
0 Kudos
1 Solution
3,485 Views
arunswarnam
Contributor II

I fixed this issue .Though not very sure of the answer  few things I found was

1) Put the proper .bin file for the corresponding board and add only full image files and not the core image files for flashing onto the media as specified in the android quick start guide.

2) The cfg file should be properly configured by following the board and name values as specified in the user guide and set the chip value to MX6DL LINUX UPDATE .

For sabre AI Imx6 Dual LIte board & SD card media this is the cfg file content

[profiles]

chip = MX6DL Linux Update

[platform]

board = SabreAuto

[LIST]

name = Android-MX6DL-SabreAuto-SD

View solution in original post

0 Kudos
5 Replies
3,486 Views
arunswarnam
Contributor II

I fixed this issue .Though not very sure of the answer  few things I found was

1) Put the proper .bin file for the corresponding board and add only full image files and not the core image files for flashing onto the media as specified in the android quick start guide.

2) The cfg file should be properly configured by following the board and name values as specified in the user guide and set the chip value to MX6DL LINUX UPDATE .

For sabre AI Imx6 Dual LIte board & SD card media this is the cfg file content

[profiles]

chip = MX6DL Linux Update

[platform]

board = SabreAuto

[LIST]

name = Android-MX6DL-SabreAuto-SD

0 Kudos
3,485 Views
saurabh206
Senior Contributor III

Hi,

Can you set following

setenv bootcmd booti mmc2

Thanks

Saurabh

0 Kudos
3,485 Views
arunswarnam
Contributor II

I have set that . But then when I try to boot it says ""booti mmc2 not found""

MX6SDL ARM2-MFG U-Boot > printenv

bootdelay=0

baudrate=115200

ipaddr=192.168.1.103

serverip=192.168.1.101

netmask=255.255.255.0

loadaddr=0x10800000

rd_loadaddr=(0x10800000 + 0x300000)

netdev=eth0

ethprime=FEC0

uboot=u-boot.bin

kernel=uImage

stdin=serial

stdout=serial

stderr=serial

ethact=FEC0

bootargs=console=ttymxc3,115200 androidboot.console=ttymxc3 vmalloc=400M init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=28M androidboot.hardware=freescale

bootcmd=booti mmc2

Environment size: 480/8188 bytes

0 Kudos
3,485 Views
saurabh206
Senior Contributor III

Hi

According to Android user guide.pdf

Boot from SD card

Change the board boot switch to MMC2 (SD3) boot: (SW6) 01000010 (from 1-8 bit). To clear the bootargs env and set up

the booting from SD card in SD slot 3, you can use the following command:

U-Boot > setenv fastboot_dev mmc2 [eMMC as fastboot deivce]

U-Boot > setenv bootcmd booti mmc2 [Load the boot.img from SD card]

U-Boot > setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32

video=mxcfb1:off video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M

androidboot.console=ttymxc0 androidboot.hardware=freescale #[Optional]

U-Boot > saveenv #[Save the environments]

0 Kudos
3,485 Views
arunswarnam
Contributor II

I am using sabre AI board . I couldnt find Sw6

0 Kudos