[U-Boot] Silly question regarding mx28_adjust_mac and MAC OUIs?

Stuart Longland
2014-07-22T02:54:56Z

Hi all,

Apoligies if this has been asked before. I'm very new to U-Boot, and
did look around but found nothing on the topic.

I've been doing some porting of U-Boot to a board based around a
Freescale i.MX286 CPU. So far thing are working, but I was wondering
how one specifies the MAC OUI?

As I understand it on this platform, the hardware "fuses" only store the
lower 32-bits of the MAC, with the upper 16-bits intended to be
hardcoded into device firmware. Looking through U-Boot, I see this is
done in mx28_adjust_mac (arch/arm/cpu/arm926ejs/mxs/mxs.c +237).

If I wanted to set a different OUI, is there a way to specify an
alternate one without patching mx28_adjust_mac directly?

Regards,
--
Stuart Longland
Systems Engineer
_ ___
\ /|_) | T: +61 7 3535 9619
\/ | \ | 38b Douglas Street F: +61 7 3535 9699
SYSTEMS Milton QLD 4064 http://www.vrt.com.au