Re: configure the mac address of an eth device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 24, 2020 at 01:57:08PM +0200, Giorgio wrote:
> Hi,
> 
> I'm working with an arm som with an imx7d soc on it.
> The som also has an eeprom with some module specific manufacturer parameters
> like two MAC address, for eth0 and eth1, a module description string or a module
> serial number.
> I've now added some code to my board.c to extract the strings from the eeprom and now
> I need to actually configure the MAC addresses from them, to avoid barebox choose
> random ones when it needs the eth's.
> 
> What is the proper way to do this ?

Device tree... See nvmem-cells property of ethernet-controller node.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux