AnsweredAssumed Answered

iMX6SL MFG_TOOL can not load kernel image

Question asked by Xuebing Wang on Jun 3, 2015
Latest reply on Jul 9, 2015 by SergioSolis

Hi iMX6 community,

 

I am trying iMX6 MFG_TOOL: imx-3.10.17-1.0.0-ga-mfg-tools. My board is based on iMX6SL.

 

After I launch MfgTool2 on Windows7, and click <start> button, u-boot can be loaded. However, u-boot displays error message "Wrong Image Format for bootm command. ERROR: can't get kernel image!"

 

Detailed u-boot load is as below:

------------------

Boot from USB for mfgtools

Use default environment for mfgtools

Run bootcmd_mfg: run mfgtool_args;bootm ${loadaddr} ${initrd_addr} ${fdt_addr};

Hit any key to stop autoboot:  0

Wrong Image Format for bootm command

ERROR: can't get kernel image!

 

=> printenv mfgtool_args

mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_

mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber=""

 

=> md.w  0x82000000 10  

82000000: 0530 5619 be50 12e8 6e55 71e3 4800 2024    0..VP...Un.q.H$

82000010: 0080 0080 0080 0080 2708 dd52 0205 0002    .........'R.....

------------------

 

First 2 bytes at address 0x82000000 is 0530, while these 2 bytes of my uImage is 0527 (different from 0530).

 

After "mw.w 0x82000000 0527", then kernel can be loaded by "bootm ${loadaddr} - ${fdt_addr};"

 

Any idea why the first byte of uImage is changed? Thanks.

 

-- Xuebing Wang

Outcomes