On Wed, Nov 25, 2015 at 9:59 AM,  <[email protected]> wrote:
> Ok, I knew not this standard. I was thinking is just a string in a file..
> We don't have a personal mac address block and the price requires
> reflection...
>
> If we buy a personal mac address block, which file should i change the
> block?
>
> Thanks for your very fast reponse !

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/am33xx.dtsi#n760

cpsw_emac0: slave@4a100200 {
                /* Filled in by U-Boot */
                mac-address = [ 00 00 00 00 00 00 ];
};

cpsw_emac1: slave@4a100300 {
                /* Filled in by U-Boot */
                mac-address = [ 00 00 00 00 00 00 ];
};

The can be filled in via u-boot, but we actually get them form the kernel:

Due to:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ethernet/ti/davinci_emac.c#n1841

& then:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ethernet/ti/cpsw-common.c#n52

So if you set them in u-boot, that'll overide the kernel lookup..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to