linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: "linuxppc-dev@ozlabs.org list" <linuxppc-dev@ozlabs.org>,
	Paul Mackerras <paulus@samba.org>
Subject: Re: FT u-boot shim
Date: Fri, 28 Apr 2006 12:52:01 -0700	[thread overview]
Message-ID: <20060428195201.GB458@smtp.west.cox.net> (raw)
In-Reply-To: <EA2821E8-FB7E-4DDA-8C18-C659B5483DC2@kernel.crashing.org>

On Fri, Apr 28, 2006 at 11:01:20AM -0500, Kumar Gala wrote:

> However, I really hate introducing some third project that is  
> required.  If we decide to pull ALL of boot wrappers out of the  
> kernel tree than I'd be ok with it.  But until that time I think this  
> lives under arch/powerpc/boot/...

The more I think about this, and hear about what some vendors do,
pulling arch/p*pc/boot/ out of the kernel is making more and more sense.
Especially with the serial headache, a depends-on-nothing,
can-translate-$(firmware information) tool might be best.

> What I envision as the way one boots for something like u-boot is one  
> of three options:
> 1. using an old u-boot + boot wrapper (bd_t -> wrapper -> kernel)
> 2. using a u-boot that is ft aware + dtb (boot command in u-boot  
> takes kernel & dtb images, updates blob and passes to kernel)
> 3. using a u-boot that is ft aware + built in dtb.

And more generally:
1. using an old firmware + kernel boot wrapper (firmware->dtb converter)
boots kernel.
2. using a dtb-aware firmware boots kernel (compressed or not) and
passes dtb in.

> The issue is that for a given system/board you may need to support  
> multiple or all three.  This raises the question where does the .dts  
> live.  For the time being I say it lives in the boot wrapper part of  
> the kernel tree.  Thus we handle the three cases as follows:

We could stick it in the seprate kernel boot wrapper project.  But I
really think this really has to live in two places.  The kernel should
be The Owner, as until *BSD or something adopts this, it's a
Linux-specific thing.  But any firmware that wishes to skip the kernel
boot wrapper and be a direct kernel booter, will need to own a copy.

-- 
Tom Rini
http://gate.crashing.org/~trini/

  parent reply	other threads:[~2006-04-28 19:52 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
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 [this message]
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=20060428195201.GB458@smtp.west.cox.net \
    --to=trini@kernel.crashing.org \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.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).