[U-Boot-Users] using a flat device tree to drive u-boot config

Albert ARIBAUD
2008-08-04T08:08:30Z

Timur Tabi a ?crit :
> On Sun, Aug 3, 2008 at 2:06 PM, Grant Likely <grant.likely@secretlab.ca> wrote:
>
>> Better to just not depend on the DTB at all for basic operation. ie.
>> don't brick the board if the DTB is unavailable.
>
> Is it even possible to have a "recovery mode U-Boot" that is not tied
> to the specific board it's built for? Either U-Boot is reliable, or
> it's generic (i.e. uses the DTB for configuration). I just don't see
> how it can be both.

A recovery U-boot would only need to be generic enough to provide a console
and means to upload and run code through that console. If that works well,
then you have a reliable and (as) generic (as it gets) recovery u-boot
(granted, it would still depend on the console working out-of-the-boot
without any HW tricks like enabling voltage converters and such).

Amicalement,
--
Albert.