From: Paul Mackerras <paulus@samba.org>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: "linuxppc-dev@ozlabs.org" <linuxppc-dev@ozlabs.org>
Subject: Re: FT u-boot shim
Date: Fri, 28 Apr 2006 21:28:30 +1000 [thread overview]
Message-ID: <17489.64606.75404.314368@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <1448E56E-1327-40D5-BE44-0DC103AC3E8A@kernel.crashing.org>
Kumar Gala writes:
> If we have a u-boot shim there are some questions that need answering:
> * where should the .dts live (hate duplicating the file both in u-
> boot and kernel source tree)
> * how does build system find .dts
> * a Kconfig option to enable shim
> * assume done as a boot wrapper of sorts
What I think would be useful is a stand-alone tool that would take a
kernel and a dts and construct an image that is bootable on a given
board by its existing firmware. That means there would either need to
be a version of the tool for each firmware, or alternatively a set of
command-line options to tell it what sort of firmware you have.
This wouldn't have to be done at kernel build time; it could be
potentially be done much later. Hopefully then the board vendors
could take on the job of generating the dts. In fact for some boards
the board-support package could be just the dts.
This tool would need to insert a suitable shim, which might actually
need to contain code to pull stuff out of a firmware-specific
structure such as a bd_t, and stuff it into the dts. That should be
doable provided there is a convention about labels in the dts for
things such as memory size, ethernet mac address, etc.
Clearly it is neater if the firmware can supply the device-tree blob
directly, and just boot a raw kernel. However, there will always be
situations where we don't get to choose the firmware, so I think we
need this tool.
Paul.
next prev parent reply other threads:[~2006-04-28 11:28 UTC|newest]
Thread overview: 88+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-24 17:41 85xx FDT updates? Jon Loeliger
2006-04-24 19:04 ` Vitaly Bordug
2006-04-24 21:43 ` Kumar Gala
2006-04-24 22:31 ` Dan Malek
2006-04-25 6:08 ` Kumar Gala
2006-04-25 7:49 ` Eugene Surovegin
2006-04-25 14:05 ` Kumar Gala
2006-04-25 16:12 ` Eugene Surovegin
2006-04-25 16:25 ` Kumar Gala
2006-04-25 16:31 ` Eugene Surovegin
2006-04-25 16:51 ` Kumar Gala
2006-04-25 21:16 ` Wolfgang Denk
2006-04-25 21:19 ` Kumar Gala
2006-04-25 21:34 ` Wolfgang Denk
2006-04-25 16:49 ` Dan Malek
2006-04-25 16:55 ` Kumar Gala
2006-04-25 17:08 ` Eugene Surovegin
2006-04-25 17:39 ` Kumar Gala
2006-04-25 18:01 ` Eugene Surovegin
2006-04-25 18:14 ` Kumar Gala
2006-04-25 18:24 ` Eugene Surovegin
2006-04-25 18:29 ` Brent Cook
2006-04-25 18:33 ` Kumar Gala
2006-04-25 18:53 ` Eugene Surovegin
2006-04-25 19:20 ` Kumar Gala
2006-04-25 19:31 ` Eugene Surovegin
2006-04-25 19:41 ` Kumar Gala
2006-04-25 20:00 ` FT u-boot shim Kumar Gala
2006-04-25 21:30 ` Wolfgang Denk
2006-04-25 21:33 ` Kumar Gala
2006-04-25 21:39 ` Wolfgang Denk
2006-04-25 21:42 ` Kumar Gala
2006-04-25 22:28 ` Wolfgang Denk
2006-04-26 14:37 ` Kumar Gala
2006-04-26 19:19 ` Wolfgang Denk
2006-04-26 19:46 ` Geert Uytterhoeven
2006-04-27 18:18 ` Kumar Gala
2006-04-27 19:05 ` Wolfgang Denk
2006-04-27 19:20 ` Kumar Gala
2006-04-27 19:33 ` Jerry Van Baren
2006-04-27 19:42 ` [U-Boot-Users] " Kumar Gala
2006-04-27 19:43 ` Wolfgang Denk
2006-04-27 20:40 ` Jerry Van Baren
2006-04-27 21:25 ` Pantelis Antoniou
2006-04-27 19:40 ` Wolfgang Denk
2006-04-27 19:46 ` Kumar Gala
2006-04-27 19:59 ` Kumar Gala
2006-04-27 21:36 ` Wolfgang Denk
2006-04-27 21:55 ` [U-Boot-Users] " Tolunay Orkun
2006-04-25 21:33 ` Mark A. Greer
2006-04-25 21:38 ` Eugene Surovegin
2006-04-28 11:28 ` Paul Mackerras [this message]
2006-04-28 16:01 ` Kumar Gala
2006-04-28 19:11 ` Wolfgang Denk
2006-04-28 19:44 ` Tom Rini
2006-04-28 23:07 ` Wolfgang Denk
2006-04-28 23:22 ` Tom Rini
2006-04-29 0:32 ` Wolfgang Denk
2006-04-29 0:52 ` Tom Rini
2006-04-29 8:37 ` Wolfgang Denk
2006-04-29 15:33 ` Kumar Gala
2006-04-28 23:35 ` Paul Mackerras
2006-04-28 23:55 ` Wolfgang Denk
2006-04-28 19:52 ` Tom Rini
2006-04-25 18:48 ` 85xx FDT updates? Eugene Surovegin
2006-04-25 19:14 ` Andy Fleming
2006-04-25 19:22 ` Kumar Gala
2006-04-25 19:27 ` Eugene Surovegin
2006-04-25 19:58 ` Andy Fleming
2006-04-25 20:04 ` Eugene Surovegin
2006-04-25 21:29 ` Wolfgang Denk
2006-04-25 21:25 ` Wolfgang Denk
2006-04-25 18:31 ` Kumar Gala
2006-04-25 21:24 ` Wolfgang Denk
2006-04-25 21:32 ` Kumar Gala
2006-04-25 21:38 ` Wolfgang Denk
2006-04-25 21:22 ` Wolfgang Denk
2006-04-25 21:29 ` Kumar Gala
2006-04-25 21:36 ` Wolfgang Denk
2006-04-25 21:38 ` Kumar Gala
2006-04-25 22:22 ` Wolfgang Denk
2006-04-26 23:27 ` Dan Malek
2006-04-25 21:09 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2006-04-27 19:30 FT u-boot shim Rune Torgersen
2006-04-27 19:40 ` Kumar Gala
2006-04-27 19:45 ` Wolfgang Denk
2006-04-27 19:54 ` Kumar Gala
2006-04-27 21:34 ` 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=17489.64606.75404.314368@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=galak@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.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).