linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: "linuxppc-dev@ozlabs.org list" <linuxppc-dev@ozlabs.org>,
	U-Boot Users <u-boot-users@lists.sourceforge.net>
Subject: Re: FT u-boot shim
Date: Thu, 27 Apr 2006 21:05:47 +0200	[thread overview]
Message-ID: <20060427190547.1DD90353DAC@atlas.denx.de> (raw)
In-Reply-To: Your message of "Thu, 27 Apr 2006 13:18:43 CDT." <6E3621C5-A379-4ABC-99C0-9A02B48D525D@kernel.crashing.org>

In message <6E3621C5-A379-4ABC-99C0-9A02B48D525D@kernel.crashing.org>
Kumar Gala wrote:
> 
> 1. boot with an "old" u-boot (via bd_t):
> * Have a boot wrapper that takes bd_t and dts and merges them @ runtime
> * Boot wrapper has to be custom based on bd_t definition for the system
> * dts owned by kernel??

Since we cannot go back in time and fix the "old" U-Boot  this  seems
to be the only option.

> 2. boot with a "new" u-boot (has a .dts in it):
> * capable of booting arch/powerpc kernel directly w/o modification

OK.

> * in a production system don't want to update u-boot

Let's say we have to support such situations, too.

> * dts owned by u-boot??

I'm not sure about this. I tend to believe the  dts  belongs  to  the
kernel.

> Some questions/issues:
> * ownership of .dts is problematic.  I hate having a file duplicated  
> by both u-boot and kernel.  However it also seems bad to make the  
> build of either depend on the user grabbing a dts from some third  
> party.  Ideas?  A concrete example would be the MPC8349 ADS/SYS/MDS  
> port.  Boards ship with an "old" u-boot, thus we need a kernel  
> wrapper with .dts.  However, newer u-boot's can (hopefully will) have  
> a dts in them

Can we provide the dts as a separate blob that gets  built  with  the
kernel image? From U-Boot's point of view, this could be a multi-file
image  which  combines  the  dts and the kernel into a single file so
that users don't have to care much about this.

> * updating of dts:  In case 1, this is trivial since its part of the  
> kernel blob.  Case 2. is more difficult.  What do people think of  
> treating the dts like the environment.  You have a version compiled  

I don't like this idea.

> in, but can alternately have a blob in another location that will be  
> used if exists.  This would allow one to update the dts portion w/o  
> effecting the actual boot loader.

If we consider this, then we might as well combine the dts  with  the
kernel  image.  Alternatively,  the dts might be stored in a separate
location in memory. It would be easy to extend the "bootm" command to
take an additional argument (dts address).

> * one solution to the copies of .dts is that we make the wrapper  
> portion of the kernel the owner of the official latest and  
> greatest .dts.  Every so often a maintainer can sync their .dts with  
> u-boot to keep them relatively in sync.  However, the main mechanism  
> would be to load the latest .dts blob into the secondary location.   

Why not load it separately or as part of the Linux kernel image?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
No user-servicable parts inside. Refer to qualified service personnel.

  reply	other threads:[~2006-04-27 19:05 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 [this message]
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
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=20060427190547.1DD90353DAC@atlas.denx.de \
    --to=wd@denx.de \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=u-boot-users@lists.sourceforge.net \
    /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).