public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: zvivered <veredz@elta.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] mkimage for ls1021a-twr.dtb
Date: Mon, 2 Jan 2017 06:50:40 -0700 (MST)	[thread overview]
Message-ID: <1483365040575-277542.post@n7.nabble.com> (raw)

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.

             reply	other threads:[~2017-01-02 13:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-02 13:50 zvivered [this message]
2017-01-05  2:13 ` [U-Boot] mkimage for ls1021a-twr.dtb Alison Wang
2017-01-05  3:48   ` Vered Zvi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1483365040575-277542.post@n7.nabble.com \
    --to=veredz@elta.co.il \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox