[U-Boot] Device tree in uboot eeprom environment
jonsmirl at gmail.com
jonsmirl at gmail.com
Thu Mar 15 17:32:35 CET 2012
On Thu, Mar 15, 2012 at 12:14 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear "jonsmirl at gmail.com",
>
> In message <CAKON4Oy2tP3500n4YfHji6O3N7Gz=6-E6MuMhm5nwAKNfNtOnA at mail.gmail.com> you wrote:
>>
>> The hardware has a good sized eeprom on it. Is there any uboot
>> support for having device trees or partial devices trees in the
>> eeprom? Could the device tree be part of the uboot environment?
>
> You can access an EEPROM using the "eeprom read" and "eeprom write"
> commands - that's all you should need here.
>
> NO, you cannot put the DT blob (nor any other binary data) in the
> environment (at least not without adding code for handling binary
> blobs, which in turn would probably cause more problems that it
> helps). In short, forget that...
My next idea is to put the generic CPU FDT blob onto the SD card. Use
u-boot to load it. Then use a script in the environment EEPROM (on the
basebase board) to run FDT commands that add the nodes needed to
describe the base board hardware.
>
> 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
> Unix: Some say the learning curve is steep, but you only have to
> climb it once. - Karl Lehenbauer
--
Jon Smirl
jonsmirl at gmail.com
More information about the U-Boot
mailing list