I read somewhere (in a few places, actually, can't seem to find the references to it now that I want them) that Raspbian on the Raspberry Pi generates the MAC address for the Ethernet interface based on the serial number of the Pi, combined with the Raspberry Pi foundation OUI.
I'm working on a product which uses the Compute Module as the core, and has the same SMSC Ethernet module the Pi 3 has - and so it ends up getting a MAC address in a similar way to the Pi 3. My company has its own OUI which we can use, so I'd like to have our devices use our OUI instead of the RPi Foundation's one.
I've tried looking through the source code of the RPi Linux kernel branch, but can't seem to find the part where this is generated. Can someone point me in the right direction?
Basically, I'd like to keep the same auto-generation of the MAC (so that we don't have to add an EEPROM to store the MAC), but use a custom OUI instead of the RPi Foundation one.