From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sun, 03 Aug 2008 17:47:02 +0200 Subject: [U-Boot-Users] using a flat device tree to drive u-boot config In-Reply-To: Your message of "Sun, 03 Aug 2008 08:57:55 EDT." <9e4733910808030557t269eb1fye375d66f8bb7f200@mail.gmail.com> Message-ID: <20080803154702.84435248CD@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <9e4733910808030557t269eb1fye375d66f8bb7f200@mail.gmail.com> you wrote: > > > No, no, no. The DTB *must not* be included with the U-Boot image. It > > shall always be kept separate so we canupdate it independently - > > otherwise you lose a lot of advantages. > > A DTB is only about 8K. I was thinking that a user supplied one would > override the one contained inside uboot. Then you have to take special care that the DTB is flash sector aligned and sufficiently padded - this extra effort and introduces a new, avoidable single point of failure. If the DTB can be at any flash location, you can for example have a fall-back version which is used to bring up U-Boot in a minimal configuration for recovery mode if the new DTB fails to work. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Space is big. You just won't believe how vastly, hugely, mind- bogglingly big it is. I mean, you may think it's a long way down the road to the drug store, but that's just peanuts to space. -- The Hitchhiker's Guide to the Galaxy