AnsweredAssumed Answered

i.MX28-evk uboot to load zImage and dtb from USB

Question asked by Thejeswarareddy R on Apr 30, 2018
Latest reply on Apr 30, 2018 by igorpadykov

Hi I am trying to load "uImage" and "dtb" file wich is generated by Yocto and mkiamge command.

Using Yocto I build i.mx28evk linux image.


   GitHub - Freescale/fsl-community-bsp-platform: BSP platform manifest 


# mkimage -A arm -O linux -T kernel -C none -a 0x42000000 -e 0x42008000 -n "Linux kernel" -d <Path-to-zImage>/zImage.bin uImage


U-Boot > usb start
(Re)start USB...
USB:   Register 10011 NbrPorts 1
scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found

U-Boot > fatls usb 0:1                           
  4352376   uimage
    22982   imx28-evk.dtb

2 file(s), 1 dir(s)

U-Boot > fatload usb 0:1 0x42000000 uImage       
reading uImage


4352376 bytes read
U-Boot > fatload usb 0:1 0x42008000 imx28-evk.dtb
reading imx28-evk.dtb


22982 bytes read
U-Boot > bootm 0x42000000 - 0x42008000           
## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   Linux kernel
   Created:      2018-04-30  13:57:06 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4352312 Bytes = 4.2 MiB
   Load Address: 42000000
   Entry Point:  42008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!


Please help me to resolve the issue.


Thanks in Advance!