On Wed, Jan 20, 2016 at 10:23 AM, Micka <[email protected]> wrote:
> Thanks ! It work better !
>
> I forget this link :
> https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot
>
> sorry ^^
>
> About the Mac address;
>
> I read this documentation :
> http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.enetaddr;hb=5ec0003b19cbdf06ccd6941237cbc0d1c3468e2d
>
> If I'm not wrong, at the first boot on a custom board with this u-boot , the
> board will not have any mac address on the eeprom or in the setenv and
> because the flag CONFIG_NET_RANDOM_ETHADDR is not set, My board will not
> have a mac address. Am I wrong ?
>
> I will have to go on the U-boot :
>
> setenv ethaddr XX:XX:XX:XX:XX:XX
>
> saveenv
>
> Am I wrong ?
>
> Also I'm trying to find out where in the U-boot, It try to get the Mac
> address ? In the eeprom ?

The am335x has two mac address stored in eeprom on die..

Once booted you can find them stored at:

/proc/device-tree/ocp/ethernet@4a100000/slave@4a100200/mac-address
/proc/device-tree/ocp/ethernet@4a100000/slave@4a100300/mac-address

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