From: dirk.behme@de.bosch.com (Dirk Behme)
To: linux-arm-kernel@lists.infradead.org
Subject: [Query] Does u-boot processes dtb file
Date: Fri, 14 Sep 2012 09:08:26 +0200 [thread overview]
Message-ID: <5052D7EA.30902@de.bosch.com> (raw)
In-Reply-To: <CAKohpomkgk_hNAwqseAvc_cyLH+Vtr63r_hJGxsKueZhKno8_A@mail.gmail.com>
On 14.09.2012 08:58, Viresh Kumar wrote:
> Hi Arnd,
>
>
> Sorry for the stupid question, but somebody asked this to me and i wasn't sure
> about it.
>
> We boot with dtb from u-boot using following command:
> bootm <uImage addr> <initrd addr> <dtb addr>
>
> Does u-boot do anything special or simply passes address of dtb in r2 to kernel?
>
> i.e. if i do bootm <uImage addr> and stop my kernel early using a debugger,
> update r2 with dtb address, will it work the same way?
>
> OR
>
> Does any bootloader needs some special code for handling dtb's?
Working with U-Boot, to my understanding U-Boot modifies ('patches') the
dtb read from the boot device before passing it to the kernel. It e.g.
adds the kernel command line and the memory size you specify in U-Boot
to the dtb.
Best regards
Dirk
next prev parent reply other threads:[~2012-09-14 7:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-14 6:58 [Query] Does u-boot processes dtb file Viresh Kumar
2012-09-14 7:08 ` Dirk Behme [this message]
2012-09-14 7:16 ` Viresh Kumar
2012-09-14 7:35 ` Dirk Behme
2012-09-14 9:16 ` Stefan Roese
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=5052D7EA.30902@de.bosch.com \
--to=dirk.behme@de.bosch.com \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.