xref: /linux/Documentation/ABI/testing/sysfs-platform-mellanox-bootctl (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1What:		/sys/bus/platform/devices/MLNXBF04:00/lifecycle_state
2Date:		Oct 2019
3KernelVersion:	5.5
4Contact:	"Liming Sun <lsun@mellanox.com>"
5Description:
6		The Life-cycle state of the SoC, which could be one of the
7		following values.
8
9		==============  =============================================
10		Production      Production state and can be updated to secure
11		GA Secured      Secure chip and not able to change state
12		GA Non-Secured  Non-Secure chip and not able to change state
13		RMA             Return Merchandise Authorization
14		==============  =============================================
15
16What:		/sys/bus/platform/devices/MLNXBF04:00/post_reset_wdog
17Date:		Oct 2019
18KernelVersion:	5.5
19Contact:	"Liming Sun <lsun@mellanox.com>"
20Description:
21		The watchdog setting in seconds for the next booting. It's used
22		to reboot the chip and recover it to the old state if the new
23		boot partition fails.
24
25What:		/sys/bus/platform/devices/MLNXBF04:00/reset_action
26Date:		Oct 2019
27KernelVersion:	5.5
28Contact:	"Liming Sun <lsun@mellanox.com>"
29Description:
30		The source of the boot stream for the next reset. It could be
31		one of the following values:
32
33		===========  ===============================================
34		external     boot from external source (USB or PCIe)
35		emmc         boot from the onchip eMMC
36		emmc_legacy  boot from the onchip eMMC in legacy (slow) mode
37		===========  ===============================================
38
39What:		/sys/bus/platform/devices/MLNXBF04:00/second_reset_action
40Date:		Oct 2019
41KernelVersion:	5.5
42Contact:	"Liming Sun <lsun@mellanox.com>"
43Description:
44		Update the source of the boot stream after next reset. It could
45		be one of the following values and will be applied after next
46		reset.
47
48		===========  ===============================================
49		external     boot from external source (USB or PCIe)
50		emmc         boot from the onchip eMMC
51		emmc_legacy  boot from the onchip eMMC in legacy (slow) mode
52		swap_emmc    swap the primary / secondary boot partition
53		none         cancel the action
54		===========  ===============================================
55
56What:		/sys/bus/platform/devices/MLNXBF04:00/secure_boot_fuse_state
57Date:		Oct 2019
58KernelVersion:	5.5
59Contact:	"Liming Sun <lsun@mellanox.com>"
60Description:
61		The state of eFuse versions with the following values.
62
63		=======  ===============================================
64		InUse    burnt, valid and currently in use
65		Used     burnt and valid
66		Free     not burnt and free to use
67		Skipped  not burnt but not free (skipped)
68		Wasted   burnt and invalid
69		Invalid  not burnt but marked as valid (error state).
70		=======  ===============================================
71
72What:		/sys/bus/platform/devices/MLNXBF04:00/bootfifo
73Date:		Apr 2023
74KernelVersion:	6.4
75Contact:	"Liming Sun <limings@nvidia.com>"
76Description:
77		The file used to access the BlueField boot fifo.
78
79What:		/sys/bus/platform/devices/MLNXBF04:00/rsh_log
80Date:		May 2023
81KernelVersion:	6.4
82Contact:	"Liming Sun <limings@nvidia.com>"
83Description:
84		The file used to write BlueField boot log with the format
85                "[INFO|WARN|ERR|ASSERT ]<msg>". Log level 'INFO' is used by
86                default if not specified.
87
88What:		/sys/bus/platform/devices/MLNXBF04:00/oob_mac
89Date:		August 2023
90KernelVersion:	6.5
91Contact:	"David Thompson <davthompson@nvidia.com>"
92Description:
93		The "oob_mac" sysfs attribute holds the MAC address for
94                the out-of-band 1Gbps Ethernet port.  This MAC address is
95                provided on a board-level label.
96
97What:		/sys/bus/platform/devices/MLNXBF04:00/opn
98Date:		August 2023
99KernelVersion:	6.5
100Contact:	"David Thompson <davthompson@nvidia.com>"
101Description:
102		The "opn" sysfs attribute holds the board's part number.
103                This value is provided on a board-level label.
104
105What:		/sys/bus/platform/devices/MLNXBF04:00/sku
106Date:		August 2023
107KernelVersion:	6.5
108Contact:	"David Thompson <davthompson@nvidia.com>"
109Description:
110		The "sku" sysfs attribute holds the board's SKU number.
111                This value is provided on a board-level label.
112
113What:		/sys/bus/platform/devices/MLNXBF04:00/modl
114Date:		August 2023
115KernelVersion:	6.5
116Contact:	"David Thompson <davthompson@nvidia.com>"
117Description:
118		The "modl" sysfs attribute holds the board's model number.
119                This value is provided on a board-level label.
120
121What:		/sys/bus/platform/devices/MLNXBF04:00/sn
122Date:		August 2023
123KernelVersion:	6.5
124Contact:	"David Thompson <davthompson@nvidia.com>"
125Description:
126		The "sn" sysfs attribute holds the board's serial number.
127                This value is provided on a board-level label.
128
129What:		/sys/bus/platform/devices/MLNXBF04:00/uuid
130Date:		August 2023
131KernelVersion:	6.5
132Contact:	"David Thompson <davthompson@nvidia.com>"
133Description:
134		The "uuid" sysfs attribute holds the board's UUID.
135                This value is provided by the manufacturing team.
136
137What:		/sys/bus/platform/devices/MLNXBF04:00/rev
138Date:		August 2023
139KernelVersion:	6.5
140Contact:	"David Thompson <davthompson@nvidia.com>"
141Description:
142		The "rev" sysfs attribute holds the board's revision.
143                This value is provided on a board-level label.
144
145What:		/sys/bus/platform/devices/MLNXBF04:00/mfg_lock
146Date:		August 2023
147KernelVersion:	6.5
148Contact:	"David Thompson <davthompson@nvidia.com>"
149Description:
150		The "mfg_lock" sysfs attribute is write-only.
151                A successful write to this attribute will latch the
152                board-level attributes into EEPROM, making them read-only.
153