From: Joakim Tjernlund Date: Sun, 17 Dec 2006 15:23:30 +0100 Subject: [U-Boot-Users] builtin OF tree dtb gone In-Reply-To: <20061217003759.AB701353BFD@atlas.denx.de> Message-ID: <008901c721e6$ece8c160$1e67a8c0@Jocke> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > -----Original Message----- > From: wd at denx.de [mailto:wd at denx.de] > Sent: den 17 december 2006 01:38 > To: Joakim Tjernlund > Cc: u-boot-users at lists.sourceforge.net > Subject: Re: [U-Boot-Users] builtin OF tree dtb gone > > In message <007701c7214c$a1c6f430$1e67a8c0@Jocke> you wrote: > > > > Don't like this idea, its not a runtime/kernel load feature, IMHO. > > What devices that is supported should be provided by firmware. > > Then store the DTB in flash, probably as part of your production / > update mechanism. Nobody prevents you from doing this. Well, newer versions of U-boot prevents me from embedding the OF tree inside the u-boot image. > > > > I disagree here. > > > > Clearly, but you don't say why. You are saying that a > multi-file image > > might work but that won't work in a system where you need > different OF trees. > > Of course not. > > > I am supposed to supply X multi-file images, one for each > board where only the > > DTB differ? > > No. > > For a complete system you need U-Boot plus DTB plus Linux kernel > [plus root file system ...]. You may find, that for different boards > any of these components may be different or the same, so no matter > which you bundle together it will work fine in some setups, and be > unconvenient in others. The best flexibility is when all three are > separate, so that's the default option we provide. If you want to > combine U-Boot plus DTB, fine, you define your [flash] memory map. If > you want to combine Linux and DTB, ok, use a multifile image. "in some setups", that's the point. Our setup works fine with an embedded OF tree in u-boot. If I am to adapt to this new method of supplying the OF tree, not only will I have to repartion the flash to fit the tree in there, I also need to make sure that some 15-20 people learns this new concept for no real gain. It is nothing wrong with having the ability provide a OF tree at boot time, but forcing everyone to do so is. The most flexible way is to have both. Regards Jocke > > > Best regards, > > Wolfgang Denk >