[U-Boot] mkimage for ls1021a-twr.dtb

zvivered veredz at elta.co.il
Mon Jan 2 14:50:40 CET 2017


Hello,

I'm compiling vanilla 4.1.13 for ls1021a with gcc created with crosstool-ng
Upon kernel build completion I got the file: ls1021a-twr.dtb

Then I ran:
mkimage -A arm -O Linux -C none -T kernel -n 3.14.4 -d ls1021a-twr.dtb
uImage.dtb

using tftp I downloaded:
uImage -> 0x83000000
uRamdisk -> 0x88000000
uImage.dtb -> 0x8F000000
bootm 83000000 88000000 8F000000

Upon booting uImage.dtb I got:
ERROR: uImage is not a fdt - must RESET the board to recover.
Could not find a valid device tree

What am I doing wrong ?

I have a uImage.dtb taken from NXP's Yocto project. 
With this file I'm getting:
## Flattened Device Tree blob at 8f000000
Booting using the fdt blob at 0x8f000000
Loading Kernel Image ... OK
Using Device Tree in place at 8f000000, end 8f008469

With my file I'm getting:
## Flattened Device Tree from Legacy Image at 8f000000
Image Name:
Iamge Type: ARM Linux ..
....
ERROR: uImage is not a fdt - must RESET the board to recover.
Could not find a valid device tree

Thank you in advance,
Z.V






--
View this message in context: http://u-boot.10912.n7.nabble.com/mkimage-for-ls1021a-twr-dtb-tp277542.html
Sent from the U-Boot mailing list archive at Nabble.com.


More information about the U-Boot mailing list