[U-Boot] Selecting from multiple device trees at runtime

Simon Glass sjg at chromium.org
Tue Jan 8 04:16:37 CET 2013


Hi,

On Mon, Jan 7, 2013 at 2:21 PM, Curt Brune <curt at cumulusnetworks.com> wrote:
>
>
> On 01/07/2013 12:12 PM, Wolfgang Denk wrote:
>>
>> Dear Curt Brune,
>>
>> In message <50EB0D92.2020707 at cumulusnetworks.com> you wrote:
>>>
>>>
>>> What I would love is to have a single multi-file uImage I could use on
>>> all my platforms.  The idea is to introduce a new image type that is a
>>> list of device tree blobs.
>>
>>
>> In addition to the file system based approach suggested by Stephen,
>> you should have a look into using FIT images (see doc/uImage.FIT/ ).
>> One of the reasons for creating these was to deal with situations
>> exactly as you describe...
>
>
> I think that will work perfectly.  Thank you for the suggestion.

Note also there is code in mainline now to select the correct FDT from
a list of them in a FIT. based on the model name. Then it can pass
this to the kernel. So if you have a way of getting the model name in
U-Boot, it might just work.

>
> Cheers,
> Curt
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list