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

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

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

1,826 Views
thejeswarareddy
Contributor I

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.

Link:

   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
USB EHCI 1.00
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                           
            found.001/
  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!

Labels (4)
0 Kudos
1 Reply

1,213 Views
igorpadykov
NXP Employee
NXP Employee

Hi Thejeswarareddy

nxp official bsps do not support it and this may be posted on meta-fsl-arm mailing list
https://lists.yoctoproject.org/listinfo/meta-freescale
Also may be useful to check

4.14. Freescale MXS — barebox 2018.04.0 documentation 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos