Re: Initializing MAC address at run-time

2017-01-19 Thread Uwe Kleine-König
Hello, On Thu, Jan 19, 2017 at 04:31:56PM +0100, Mason wrote: > Do you agree that such boot loader would execute code that is roughly > identical to the one posted for illustration purposes? > 1. find the MAC address to use for eth0 > 2. find the eth0 node in the DT > 3. insert the right pro

Re: Initializing MAC address at run-time

2017-01-19 Thread Mason
Hello Uwe, On 18/01/2017 19:54, Uwe Kleine-König wrote: > On Wed, Jan 18, 2017 at 03:03:57PM +0100, Mason wrote: > >> When my system boots up, eth0 is given a seemingly random MAC address. >> >> [0.950734] nb8800 26000.ethernet eth0: MAC address ba:de:d6:38:b8:38 >> [0.957334] nb8800 2600

Re: Initializing MAC address at run-time

2017-01-18 Thread Uwe Kleine-König
Hello, On Wed, Jan 18, 2017 at 03:03:57PM +0100, Mason wrote: > When my system boots up, eth0 is given a seemingly random MAC address. > > [0.950734] nb8800 26000.ethernet eth0: MAC address ba:de:d6:38:b8:38 > [0.957334] nb8800 26000.ethernet eth0: MAC address 6e:f1:48:de:d6:c4 > > > Th

Initializing MAC address at run-time

2017-01-18 Thread Mason
Hello, When my system boots up, eth0 is given a seemingly random MAC address. [0.950734] nb8800 26000.ethernet eth0: MAC address ba:de:d6:38:b8:38 [0.957334] nb8800 26000.ethernet eth0: MAC address 6e:f1:48:de:d6:c4 The DT node for eth0 is: eth0: ethernet@26000 {

Re: Initializing MAC address at run-time

2017-01-18 Thread Robin Murphy
On 18/01/17 14:45, Mark Rutland wrote: > On Wed, Jan 18, 2017 at 03:03:57PM +0100, Mason wrote: >> Hello, >> >> When my system boots up, eth0 is given a seemingly random MAC address. >> >> [0.950734] nb8800 26000.ethernet eth0: MAC address ba:de:d6:38:b8:38 >> [0.957334] nb8800 26000.ethern

Re: Initializing MAC address at run-time

2017-01-18 Thread Mark Rutland
On Wed, Jan 18, 2017 at 03:03:57PM +0100, Mason wrote: > Hello, > > When my system boots up, eth0 is given a seemingly random MAC address. > > [0.950734] nb8800 26000.ethernet eth0: MAC address ba:de:d6:38:b8:38 > [0.957334] nb8800 26000.ethernet eth0: MAC address 6e:f1:48:de:d6:c4 > >