[U-Boot] FIT: how to store MACs in a DTB

Wolfgang Denk wd at denx.de
Thu Jun 12 22:58:03 CEST 2014


Dear Yegor Yefremov,

In message <CAGm1_kucufez-F3+1YnaeofQq1QcE+yi2r=hDMNGSTpxYBmbsw at mail.gmail.com> you wrote:
> AFAIK one can store MACs in a DTB from u-boot via loading DTB in RAM
> and changing nodes values. How should this work with a FIT image? Is
> there any howto?

DTB handling and image format are indepenent from each other, so this
has nothing to do with FIT (or any other) image types.

You can either hard code the MAC address(es) in your DT, or you can
have U-Boot insert / update these.  This gets done after loading the
DT from the image (no matter what image format is being used) and
before passing it to the Linux kernel.

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
"If you can, help others. If you can't, at least don't hurt  others."
- the Dalai Lama


More information about the U-Boot mailing list