Skip to contentSkip to conversation

Silly question regarding mx28_adjust_mac and MAC OUIs?

U-Boot Stuart Longland 1 participant 1 message Jul 22, 2014

lore
Share & tools
lore
#0 lore raw

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,

Signature · 6 lines
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