[U-Boot] Device tree in uboot eeprom environment

Wolfgang Denk wd at denx.de
Thu Mar 15 17:14:16 CET 2012


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...

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


More information about the U-Boot mailing list