summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-platform-mellanox-bootctl
blob: 65ed3865da62469ba0475ec85c140076fed788eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
What:		/sys/bus/platform/devices/MLNXBF04:00/lifecycle_state
Date:		Oct 2019
KernelVersion:	5.5
Contact:	"Liming Sun <lsun@mellanox.com>"
Description:
		The Life-cycle state of the SoC, which could be one of the
		following values.

		==============  =============================================
		Production      Production state and can be updated to secure
		GA Secured      Secure chip and not able to change state
		GA Non-Secured  Non-Secure chip and not able to change state
		RMA             Return Merchandise Authorization
		==============  =============================================

What:		/sys/bus/platform/devices/MLNXBF04:00/post_reset_wdog
Date:		Oct 2019
KernelVersion:	5.5
Contact:	"Liming Sun <lsun@mellanox.com>"
Description:
		The watchdog setting in seconds for the next booting. It's used
		to reboot the chip and recover it to the old state if the new
		boot partition fails.

What:		/sys/bus/platform/devices/MLNXBF04:00/reset_action
Date:		Oct 2019
KernelVersion:	5.5
Contact:	"Liming Sun <lsun@mellanox.com>"
Description:
		The source of the boot stream for the next reset. It could be
		one of the following values:

		===========  ===============================================
		external     boot from external source (USB or PCIe)
		emmc         boot from the onchip eMMC
		emmc_legacy  boot from the onchip eMMC in legacy (slow) mode
		===========  ===============================================

What:		/sys/bus/platform/devices/MLNXBF04:00/second_reset_action
Date:		Oct 2019
KernelVersion:	5.5
Contact:	"Liming Sun <lsun@mellanox.com>"
Description:
		Update the source of the boot stream after next reset. It could
		be one of the following values and will be applied after next
		reset.

		===========  ===============================================
		external     boot from external source (USB or PCIe)
		emmc         boot from the onchip eMMC
		emmc_legacy  boot from the onchip eMMC in legacy (slow) mode
		swap_emmc    swap the primary / secondary boot partition
		none         cancel the action
		===========  ===============================================

What:		/sys/bus/platform/devices/MLNXBF04:00/secure_boot_fuse_state
Date:		Oct 2019
KernelVersion:	5.5
Contact:	"Liming Sun <lsun@mellanox.com>"
Description:
		The state of eFuse versions with the following values.

		=======  ===============================================
		InUse    burnt, valid and currently in use
		Used     burnt and valid
		Free     not burnt and free to use
		Skipped  not burnt but not free (skipped)
		Wasted   burnt and invalid
		Invalid  not burnt but marked as valid (error state).
		=======  ===============================================

What:		/sys/bus/platform/devices/MLNXBF04:00/bootfifo
Date:		Apr 2023
KernelVersion:	6.4
Contact:	"Liming Sun <limings@nvidia.com>"
Description:
		The file used to access the BlueField boot fifo.

What:		/sys/bus/platform/devices/MLNXBF04:00/rsh_log
Date:		May 2023
KernelVersion:	6.4
Contact:	"Liming Sun <limings@nvidia.com>"
Description:
		The file used to write BlueField boot log with the format
                "[INFO|WARN|ERR|ASSERT ]<msg>". Log level 'INFO' is used by
                default if not specified.

What:		/sys/bus/platform/devices/MLNXBF04:00/oob_mac
Date:		August 2023
KernelVersion:	6.5
Contact:	"David Thompson <davthompson@nvidia.com>"
Description:
		The "oob_mac" sysfs attribute holds the MAC address for
                the out-of-band 1Gbps Ethernet port.  This MAC address is
                provided on a board-level label.

What:		/sys/bus/platform/devices/MLNXBF04:00/opn
Date:		August 2023
KernelVersion:	6.5
Contact:	"David Thompson <davthompson@nvidia.com>"
Description:
		The "opn" sysfs attribute holds the board's part number.
                This value is provided on a board-level label.

What:		/sys/bus/platform/devices/MLNXBF04:00/sku
Date:		August 2023
KernelVersion:	6.5
Contact:	"David Thompson <davthompson@nvidia.com>"
Description:
		The "sku" sysfs attribute holds the board's SKU number.
                This value is provided on a board-level label.

What:		/sys/bus/platform/devices/MLNXBF04:00/modl
Date:		August 2023
KernelVersion:	6.5
Contact:	"David Thompson <davthompson@nvidia.com>"
Description:
		The "modl" sysfs attribute holds the board's model number.
                This value is provided on a board-level label.

What:		/sys/bus/platform/devices/MLNXBF04:00/sn
Date:		August 2023
KernelVersion:	6.5
Contact:	"David Thompson <davthompson@nvidia.com>"
Description:
		The "sn" sysfs attribute holds the board's serial number.
                This value is provided on a board-level label.

What:		/sys/bus/platform/devices/MLNXBF04:00/uuid
Date:		August 2023
KernelVersion:	6.5
Contact:	"David Thompson <davthompson@nvidia.com>"
Description:
		The "uuid" sysfs attribute holds the board's UUID.
                This value is provided by the manufacturing team.

What:		/sys/bus/platform/devices/MLNXBF04:00/rev
Date:		August 2023
KernelVersion:	6.5
Contact:	"David Thompson <davthompson@nvidia.com>"
Description:
		The "rev" sysfs attribute holds the board's revision.
                This value is provided on a board-level label.

What:		/sys/bus/platform/devices/MLNXBF04:00/mfg_lock
Date:		August 2023
KernelVersion:	6.5
Contact:	"David Thompson <davthompson@nvidia.com>"
Description:
		The "mfg_lock" sysfs attribute is write-only.
                A successful write to this attribute will latch the
                board-level attributes into EEPROM, making them read-only.