kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Tomek Domek <tomekdomek8585@gmail.com>
To: kernelnewbies@kernelnewbies.org
Subject: Re: Missing FDT description in DTB
Date: Fri, 6 Dec 2019 12:16:04 +0100	[thread overview]
Message-ID: <CAHB2bXBx6SB2aZ7wGt8odM3kn6_N41-tnsAzk1ztig95Yq-fiA@mail.gmail.com> (raw)
In-Reply-To: <CAHB2bXAh9k99Pymr+EZXG3uBGPH0eRxQSLMzSEEB8N7ogNe5vA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1292 bytes --]

OK I found on my own.
The proper mkimage command is:
./tools/mkimage -A arm -T firmware -C none -O u-boot -a 0x100000 -e 0 -n
"someName" -d u-boot-dtb.bin u-boot.img
without '-f auto and -E'

pt., 6 gru 2019 o 10:03 Tomek Domek <tomekdomek8585@gmail.com> napisał(a):

> Hi
> I have FSBL and SSBL. SPL uboot starts successfully and u-boot.img is
> loaded successfully but it hangs on 'boot_from_devices' function and
> 'fit_find_config_node':
>
> fit_find_config_node: Missing FDT description in DTB
> No matching DT out of these options:
> Firmware image with one or more FDT blobs
> boot_from_devices error
> SPL: failed to boot from all boot devices
>
> I have suspicion that I wrongly create u-boot.img. My system build do this
> by executing:
>
> ./tools/mkimage -f auto -A arm -T firmware -C none -O u-boot -a 0x100000
> -e 0 -n "someName" -E  -d u-boot-no-dtb.bin u-boot.img  >/dev/null
> The same issue occurs when I use u-boot-dtb.bin version.
> The value 0x100000 is the value stored in CONFIG_SYS_TEXT_BASE.
>
>  And this uboot and spl is somekind of experimental software which is in
> the middle of creation. Could anyone try to guide what might be possible
> the reason of the issue as I am a bit new in u-boot development?
>
> BR
> Tomek
>
>

[-- Attachment #1.2: Type: text/html, Size: 1795 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  reply	other threads:[~2019-12-06 11:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-06  9:03 Missing FDT description in DTB Tomek Domek
2019-12-06 11:16 ` Tomek Domek [this message]
2019-12-06 11:26 ` Valdis Klētnieks
2019-12-06 12:37   ` Tomek Domek

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=CAHB2bXBx6SB2aZ7wGt8odM3kn6_N41-tnsAzk1ztig95Yq-fiA@mail.gmail.com \
    --to=tomekdomek8585@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /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;
as well as URLs for NNTP newsgroup(s).