...
Code Block |
---|
tlv_eeprom dev 0 tlv_eeprom erase tlv_eeprom set 0x21 'i.MX8M Plus System on Module' tlv_eeprom set 0x22 'SRMP8QDW00D01GE008V12C0' tlv_eeprom set 0x23 'NG01873214300067' tlv_eeprom set 0x25 '12/24/2022 07:35:59' tlv_eeprom set 0x26 '0x12' tlv_eeprom set 0x28 'i.MX8M Plus' tlv_eeprom set 0x2b 'Nistec' tlv_eeprom set 0x2c 'IL' tlv_eeprom set 0x2d 'SolidRun' tlv_eeprom set 0x24 '12:34:56:78:9a:bc' tlv_eeprom set 0x2a '1' tlv_eeprom set 0xfd '0xff 0xff 0xff 0xff 0x10 0x53 0x52 0x4d 0x50 0x38 0x51 0x44 0x57 0x30 0x30 0x44 0x30 0x31 0x47 0x45 0x30 0x30 0x38 0x55 0x30 0x32 0x43 0x48' # HBp tlv_eeprom set 0xfd '0xff 0xff 0xff 0xff 0x10 0x53 0x52 0x4d 0x50 0x38 0x51 0x44 0x57 0x30 0x30 0x44 0x30 0x31 0x47 0x45 0x30 0x30 0x38 0x58 0x30 0x30 0x43 0x45' # CBp tlv_eeprom write |
Progammring MAC Address
There are two options for storing MAC addresses on the i.MX8MP platform:
Store the MAC address in OTP eFuses
This is a non-reversible action, as the eFuse is permanently programmed.
Store the MAC address in EEPROM using TLV format (Recommended)
This method allows flexibility and is the preferred approach.
...
Default Configuration
By default, the MAC address is stored in the SOM's TLV EEPROM.
All SOMs are pre-flashed with SolidRun's default MAC address range in the TLV EEPROM.
...
Custom MAC Address Option
There is an option to provide a custom MAC address range.
SolidRun can program the custom MAC addresses into the TLV EEPROM upon request.
Programming MAC Address in TLV Format
Using the following U-Boot commands:
Code Block #load eeprom tlv_eeprom read #set MAC address (example: 'D0:63:B4:06:1B:D4') tlv_eeprom set 0x24 'd0:63:b4:06:1b:d4' #set number of mac addresses (example 2 x MAC per unit) tlv_eeprom set 0x2a 2 #save data on eeprom tlv_eeprom write
By default, the bootloader will automatically read the
TLV_MAC
value during initialization and apply it to the corresponding network interface.