Skip to main content

hrut_boardid

The hrut_boardid command is used to retrieve the board ID of the current development board (different development boards have different IDs).

⚠️ The board ID will affect the hardware initialization during startup, so please set it carefully.

Syntax

Usage:  hrut_boardid [OPTIONS] <Values>
Example:
hrut_boardid g
Options:
g get board id(veeprom)
s set board id(veeprom)
G get board id(bootinfo)
S set board id(bootinfo)
c clear board id(veeprom)
C clear board id(bootinfo)
h display this help text

  • g: Get the board ID from veeprom.
  • s: Set the board ID in veeprom.
  • G: Get the board ID from bootinfo.
  • S: Set the board ID in bootinfo.
  • c: Clear the board ID configuration in veeprom.
  • C: Clear the board ID configuration in bootinfo.
  • h: Display help information.

Board ID definitions

MeaningLengthValue Range
auto detectDDR self-detection feature1bit
[31]
0x0: auto detection
0x1: do not use LPDDR4 auto detection feature
modelDDR manufacturer information3bit
[30:28]
0x0: auto detection
0x1: hynix
0x2: micron
0x3: samsung
ddr_typeDDR type4bit
[27:24]
0x0: auto detection
0x1: LPDDR4
0x2: LPDDR4X
0x3: DDR4
0x4: DDR3L
frequencyDDR frequency4bit
[23:20]
0x0: auto detection
0x1: 667
0x2: 1600
0x3: 2133
0x4: 2666
0x5: 3200
0x6: 3733
0x7: 4266
0x8: 1866
0x9: 2400
0xa: 100
0xb: 3600
capacityDDR capacity4bit
[19:16]
0x0: auto detection
0x1: 1GB
0x2: 2GB
0x4: 4GB
ecc4bit
[15:12]
0x0: default ECC config
0x1: inline ECC all
0x2: inline ECC option1
0x3: inline ECC option2
som_typeSOM type4bit
[11:8]
0x0: auto detection
0x3: sdb v3
0x4: sdb v4
0x5: RDK X3 v1
0x6: RDK X3 v1.2
0x8: RDK X3 v2
0xb: RDK Module
0xF: X3E
DFS ENDynamic Frequency Scaling (DFS) enable bit1bit
[7]
1: enable DFS feature
0: disable DFS feature
alternativeAlternative parameter3bit
[6:4]
0x0: default configuration
0x1: configuration 1
base_board_typeBoard Type4bit
[3:0]
0x0: auto detection
0x1: X3 DVB
0x4: X3 SDB
0x5: customer board

The definitions of each field are as follows:

  • model: hynix and micron, samsung
  • ddr_type: LPDDR4, LPDDR4X, DDR4, DDR3L
  • frequency: 667, 1600, 2133, 2666, 3200, 3733, 4266
  • capacity: 1G, 2G, 4G
  • som_type: sdb v3, sdb v4, RDK X3 v1, RDK X3 v1.2, RDK X3 v2, RDK Module, X3E
  • base_board_type: x3dvb, X3 SDB, customer_board