xref: /OK3568_Linux_fs/kernel/Documentation/ABI/testing/sysfs-platform-mellanox-bootctl (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/bus/platform/devices/MLNXBF04:00/lifecycle_state
2*4882a593SmuzhiyunDate:		Oct 2019
3*4882a593SmuzhiyunKernelVersion:	5.5
4*4882a593SmuzhiyunContact:	"Liming Sun <lsun@mellanox.com>"
5*4882a593SmuzhiyunDescription:
6*4882a593Smuzhiyun		The Life-cycle state of the SoC, which could be one of the
7*4882a593Smuzhiyun		following values.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun		==============  =============================================
10*4882a593Smuzhiyun		Production      Production state and can be updated to secure
11*4882a593Smuzhiyun		GA Secured      Secure chip and not able to change state
12*4882a593Smuzhiyun		GA Non-Secured  Non-Secure chip and not able to change state
13*4882a593Smuzhiyun		RMA             Return Merchandise Authorization
14*4882a593Smuzhiyun		==============  =============================================
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunWhat:		/sys/bus/platform/devices/MLNXBF04:00/post_reset_wdog
17*4882a593SmuzhiyunDate:		Oct 2019
18*4882a593SmuzhiyunKernelVersion:	5.5
19*4882a593SmuzhiyunContact:	"Liming Sun <lsun@mellanox.com>"
20*4882a593SmuzhiyunDescription:
21*4882a593Smuzhiyun		The watchdog setting in seconds for the next booting. It's used
22*4882a593Smuzhiyun		to reboot the chip and recover it to the old state if the new
23*4882a593Smuzhiyun		boot partition fails.
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunWhat:		/sys/bus/platform/devices/MLNXBF04:00/reset_action
26*4882a593SmuzhiyunDate:		Oct 2019
27*4882a593SmuzhiyunKernelVersion:	5.5
28*4882a593SmuzhiyunContact:	"Liming Sun <lsun@mellanox.com>"
29*4882a593SmuzhiyunDescription:
30*4882a593Smuzhiyun		The source of the boot stream for the next reset. It could be
31*4882a593Smuzhiyun		one of the following values:
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun		===========  ===============================================
34*4882a593Smuzhiyun		external     boot from external source (USB or PCIe)
35*4882a593Smuzhiyun		emmc         boot from the onchip eMMC
36*4882a593Smuzhiyun		emmc_legacy  boot from the onchip eMMC in legacy (slow) mode
37*4882a593Smuzhiyun		===========  ===============================================
38*4882a593Smuzhiyun
39*4882a593SmuzhiyunWhat:		/sys/bus/platform/devices/MLNXBF04:00/second_reset_action
40*4882a593SmuzhiyunDate:		Oct 2019
41*4882a593SmuzhiyunKernelVersion:	5.5
42*4882a593SmuzhiyunContact:	"Liming Sun <lsun@mellanox.com>"
43*4882a593SmuzhiyunDescription:
44*4882a593Smuzhiyun		Update the source of the boot stream after next reset. It could
45*4882a593Smuzhiyun		be one of the following values and will be applied after next
46*4882a593Smuzhiyun		reset.
47*4882a593Smuzhiyun
48*4882a593Smuzhiyun		===========  ===============================================
49*4882a593Smuzhiyun		external     boot from external source (USB or PCIe)
50*4882a593Smuzhiyun		emmc         boot from the onchip eMMC
51*4882a593Smuzhiyun		emmc_legacy  boot from the onchip eMMC in legacy (slow) mode
52*4882a593Smuzhiyun		swap_emmc    swap the primary / secondary boot partition
53*4882a593Smuzhiyun		none         cancel the action
54*4882a593Smuzhiyun		===========  ===============================================
55*4882a593Smuzhiyun
56*4882a593SmuzhiyunWhat:		/sys/bus/platform/devices/MLNXBF04:00/secure_boot_fuse_state
57*4882a593SmuzhiyunDate:		Oct 2019
58*4882a593SmuzhiyunKernelVersion:	5.5
59*4882a593SmuzhiyunContact:	"Liming Sun <lsun@mellanox.com>"
60*4882a593SmuzhiyunDescription:
61*4882a593Smuzhiyun		The state of eFuse versions with the following values.
62*4882a593Smuzhiyun
63*4882a593Smuzhiyun		=======  ===============================================
64*4882a593Smuzhiyun		InUse    burnt, valid and currently in use
65*4882a593Smuzhiyun		Used     burnt and valid
66*4882a593Smuzhiyun		Free     not burnt and free to use
67*4882a593Smuzhiyun		Skipped  not burnt but not free (skipped)
68*4882a593Smuzhiyun		Wasted   burnt and invalid
69*4882a593Smuzhiyun		Invalid  not burnt but marked as valid (error state).
70*4882a593Smuzhiyun		=======  ===============================================
71