From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Warning for mpc8360emds users: fdt-cmd from u-boot-fdt.git
Date: Wed, 04 Apr 2007 12:17:35 -0400 [thread overview]
Message-ID: <4613CF9F.4040501@smiths-aerospace.com> (raw)
In-Reply-To: <4613C84D.6060503@freescale.com>
Timur Tabi wrote:
> Jerry Van Baren wrote:
>
>> As a result, if you pull an update from the master u-boot repository,
>> you will get the new fdt command, libfdt support, *and modified bootm*
>> command. While this shouldn't be a bad thing, it *is not* backward
>> compatible with CONFIG_OF_FLAT_TREE.
>
> I'm a little confused. CONFIG_OF_FLAT_TREE is needed to boot any
> powerpc kernel. Are you saying that the two options are mutually
> exclusive? Shouldn't CONFIG_OF_LIBFDT be a subset (instead of an
> alternative) to CONFIG_OF_FLAT_TREE? That is, you need to define
> CONFIG_OF_FLAT_TREE in order for CONFIG_OF_LIBFDT to be recognized?
>
> Maybe I should have been paying more attention to your libfdt work, but
> I was assuming you were just going to alter the back-end handling of OF
> trees, not break existing code.
Hi Timur,
Using CONFIG_OF_FLAT_TREE results in an unchanged u-boot image, no
libfdt, no "fdt" command, backwards compatibility.
The incompatibility with CONFIG_OF_LIBFDT is that "bootm" does *not*
auto-generate nodes ("chosen", "u-boot-env", and "bd_t") when it runs.
With CONFIG_OF_LIBFDT, I expect the boot script or the user to use the
sequence:
* "fdt addr" command to set the blob address
* "fdt chosen" to generate/augment the chosen node
* "fdt env" to generate the u-boot-env node (optional)
* "fdt bd_t" to generate the bd_t node (optional)
I view autogenerating fdt entries inside "bootm" as being evil.
Obviously, if there are enough people on the Dark Side to overwhelm me,
that can be changed.
NOTE: I've probably screwed up the multi-image. Note to self, fix it -
need to find the fdt blob in a multi-image and implicitly set the "fdt
addr" to it.
Best regards,
gvb
next prev parent reply other threads:[~2007-04-04 16:17 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-31 17:43 [U-Boot-Users] (Try 2) Please pull branch fdt-cmd from u-boot-fdt.git Jerry Van Baren
2007-03-31 18:20 ` Wolfgang Denk
2007-03-31 18:48 ` Jerry Van Baren
2007-04-03 23:50 ` Wolfgang Denk
2007-04-04 10:16 ` Jerry Van Baren
2007-04-04 12:22 ` [U-Boot-Users] Warning for mpc8360emds users: " Jerry Van Baren
2007-04-04 15:46 ` Timur Tabi
2007-04-04 16:17 ` Jerry Van Baren [this message]
2007-04-04 22:46 ` Wolfgang Denk
2007-04-05 3:08 ` Jerry Van Baren
2007-04-05 8:06 ` Wolfgang Denk
2007-04-05 11:00 ` Jerry Van Baren
2007-04-05 18:02 ` Bruce_Leonard at selinc.com
2007-04-05 18:12 ` Jerry Van Baren
2007-04-05 18:40 ` Bruce_Leonard at selinc.com
2007-04-06 21:57 ` Timur Tabi
2007-04-06 22:39 ` Jerry Van Baren
2007-04-07 0:15 ` Wolfgang Denk
2007-04-07 1:29 ` Jerry Van Baren
2007-03-31 18:27 ` [U-Boot-Users] (Try 2) Please pull branch " Jerry Van Baren
2007-04-04 0:21 ` Wolfgang Denk
2007-04-03 9:39 ` Joakim Tjernlund
2007-04-03 10:34 ` Jerry Van Baren
2007-04-03 11:37 ` Joakim Tjernlund
2007-04-03 12:06 ` Jerry Van Baren
2007-04-03 12:59 ` [U-Boot-Users] dtb in env sector - was: (Try 2) Please pull Wolfgang Denk
2007-04-03 14:04 ` Joakim Tjernlund
2007-04-03 14:21 ` Jerry Van Baren
2007-04-03 14:36 ` Martin Krause
2007-04-03 15:14 ` Joakim Tjernlund
2007-04-03 15:17 ` Jerry Van Baren
2007-04-03 15:24 ` Wolfgang Denk
2007-04-03 18:53 ` Joakim Tjernlund
2007-04-03 12:53 ` Wolfgang Denk
2007-04-03 12:49 ` Wolfgang Denk
2007-04-03 13:58 ` Joakim Tjernlund
2007-04-03 15:18 ` Wolfgang Denk
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=4613CF9F.4040501@smiths-aerospace.com \
--to=gerald.vanbaren@smiths-aerospace.com \
--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