Changes between Version 9 and Version 10 of modelserialnumber
- Timestamp:
- 08/17/2021 04:40:13 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
modelserialnumber
v9 v10 28 28 === EEPROM: serial number from Linux === 29 29 From Linux you can determine the serial number for Laguna and Ventana product families: 30 * U-Boot 2019+ withdevicetree kernels - determine from device-tree:30 * devicetree kernels - determine from device-tree: 31 31 {{{ 32 32 SERNUM=$(cat /proc/device-tree/serial-number) 33 33 echo $SERNUM 34 34 }}} 35 * Ventana and Newport 3.10.+ devicetree kernels - determine from device-tree: 36 {{{ 37 SERNUM=$(cat /proc/device-tree/system-serial) 38 echo $SERNUM 39 }}} 40 * Venice, Laguna, Ventana, Newport - determine from the i2c EEPROM device: 35 * Laguna - determine from the i2c EEPROM device: 41 36 {{{ 42 37 b0=$(i2cget -f -y 0 0x51 0x18 | cut -c3-)