Wrong image format for bootm command kernel image not found android

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Wrong image format for bootm command kernel image not found android

跳至解决方案
7,206 次查看
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

标签 (2)
0 项奖励
1 解答
3,698 次查看
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 项奖励
5 回复数
3,699 次查看
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 项奖励
3,698 次查看
saurabh206
Senior Contributor III

Hi,

Can you set following

setenv bootcmd booti mmc2

Thanks

Saurabh

0 项奖励
3,698 次查看
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 项奖励
3,698 次查看
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 项奖励
3,698 次查看
arunswarnam
Contributor II

I am using sabre AI board . I couldnt find Sw6

0 项奖励