Changes

Jump to: navigation, search

BELK-TN-010: MAC address programming on OTP

562 bytes added, 08:34, 30 July 2021
u-boot devel
CB UniqueID#: 00000000:00000000
SF: Detected s25fl256s_64k with page size 256 Bytes, erase size 64 KiB, total 32 MiB
ethaddr in SPI NOR: CRC mismatch for 0x0000000000000000 (was 0x00000000, expected 0x6522df69) at block 8
Net: ZYNQ GEM: e000b000, phyaddr 7, interface rgmii-id
 
Warning: ethernet@e000b000 (eth0) using random MAC address - ae:6d:59:6e:aa:87
eth0: ethernet@e000b000
Hit ENTER within 3 seconds to stop autoboot
Bora> macprog
macprog - MAC address in SPI NOR OTP management
 
Usage:
macprog <cmd>
ethaddr - program ethaddr environment variable in OTP
eth1addr - program eth1addr environment variable in OTP
lock_ethaddr - lock OTP block where ethaddr is stored
lock_eth1addr - lock OTP block where eth1addr is stored
 
Bora>
</pre>
The MAC not programmed is shown by the two debug messages:
'''Warning: ethaddr not found in SPI NOR : CRC mismatch for 0x0000000000000000 (was 0x00000000, expected 0x6522df69) at block 8'''
Warning: ethernet@e000b000 (eth0) using random MAC address - 12ae:326d:a059:c26e:77aa:e887
==== Programming the required MAC address ====
8,154
edits

Navigation menu