xref: /linux/Documentation/ABI/testing/sysfs-platform-mellanox-bootctl (revision da1d9caf95def6f0320819cf941c9fd1069ba9e1)
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