Table of contents:
...
For more specific information about the ONIE TLV format please follow to ONIE website EEPROM Information Format.Here is a real example of how the EEPROM memory is programmed on the Conclusive Devices KSTR-SAMA5D27 board.
...
U-boot
U-Boot bootloader is a prevailing option on most Conclusive Devices products. U-Boot by default is configured to use ONIE TLV EEPROM for onboard device information like MAC addresses for built-in network cards.
It is possible to read, edit or delete TLV values using U-Boot.
...
Code Block |
---|
=> tlv TLV: 0 TlvInfo Header: Id String: TlvInfo Version: 1 Total Length: 138 TLV Name Code Len Value -------------------- ---- --- ----- Product Name 0x21 13 KSTR-SAMA5D27 Part Number 0x22 13 KSTR-SAMA5D27 Serial Number 0x23 10 0x00001000 Base MAC Address 0x24 6 70:B3:D5:B9:D0:46 Manufacture Date 0x25 19 02/06/2021 00:00:00 Device Version 0x26 1 1 Label Revision 0x27 21 KSTR-SAMA5D27 rev 3.0 ONIE Version 0x29 1 1 MAC Addresses 0x2A 2 2 Manufacturer 0x2B 22 Conclusive Engineering Country Code 0x2C 2 PL CRC-32 0xFE 4 0x165BB2F9 Checksum is valid. |
Edit
Before doing any changes to TLV information please backup the original contents. Failing to do so may result in a malfunctioning board.
To edit the ONIE TLV EEPROM from U-Boot, interrupt the startup process. Type the tlv list
command to list valid Field IDs.
...