177dcc95eSLiming SunWhat: /sys/bus/platform/devices/MLNXBF04:00/lifecycle_state 279e29cb8SLiming SunDate: Oct 2019 379e29cb8SLiming SunKernelVersion: 5.5 479e29cb8SLiming SunContact: "Liming Sun <lsun@mellanox.com>" 579e29cb8SLiming SunDescription: 679e29cb8SLiming Sun The Life-cycle state of the SoC, which could be one of the 779e29cb8SLiming Sun following values. 8002a9c2fSMauro Carvalho Chehab 9002a9c2fSMauro Carvalho Chehab ============== ============================================= 10002a9c2fSMauro Carvalho Chehab Production Production state and can be updated to secure 11002a9c2fSMauro Carvalho Chehab GA Secured Secure chip and not able to change state 12002a9c2fSMauro Carvalho Chehab GA Non-Secured Non-Secure chip and not able to change state 13002a9c2fSMauro Carvalho Chehab RMA Return Merchandise Authorization 14002a9c2fSMauro Carvalho Chehab ============== ============================================= 1579e29cb8SLiming Sun 1677dcc95eSLiming SunWhat: /sys/bus/platform/devices/MLNXBF04:00/post_reset_wdog 1779e29cb8SLiming SunDate: Oct 2019 1879e29cb8SLiming SunKernelVersion: 5.5 1979e29cb8SLiming SunContact: "Liming Sun <lsun@mellanox.com>" 2079e29cb8SLiming SunDescription: 2179e29cb8SLiming Sun The watchdog setting in seconds for the next booting. It's used 2279e29cb8SLiming Sun to reboot the chip and recover it to the old state if the new 2379e29cb8SLiming Sun boot partition fails. 2479e29cb8SLiming Sun 2577dcc95eSLiming SunWhat: /sys/bus/platform/devices/MLNXBF04:00/reset_action 2679e29cb8SLiming SunDate: Oct 2019 2779e29cb8SLiming SunKernelVersion: 5.5 2879e29cb8SLiming SunContact: "Liming Sun <lsun@mellanox.com>" 2979e29cb8SLiming SunDescription: 3079e29cb8SLiming Sun The source of the boot stream for the next reset. It could be 31002a9c2fSMauro Carvalho Chehab one of the following values: 32002a9c2fSMauro Carvalho Chehab 33002a9c2fSMauro Carvalho Chehab =========== =============================================== 34002a9c2fSMauro Carvalho Chehab external boot from external source (USB or PCIe) 35002a9c2fSMauro Carvalho Chehab emmc boot from the onchip eMMC 36002a9c2fSMauro Carvalho Chehab emmc_legacy boot from the onchip eMMC in legacy (slow) mode 37002a9c2fSMauro Carvalho Chehab =========== =============================================== 3879e29cb8SLiming Sun 3977dcc95eSLiming SunWhat: /sys/bus/platform/devices/MLNXBF04:00/second_reset_action 4079e29cb8SLiming SunDate: Oct 2019 4179e29cb8SLiming SunKernelVersion: 5.5 4279e29cb8SLiming SunContact: "Liming Sun <lsun@mellanox.com>" 4379e29cb8SLiming SunDescription: 4479e29cb8SLiming Sun Update the source of the boot stream after next reset. It could 4579e29cb8SLiming Sun be one of the following values and will be applied after next 4679e29cb8SLiming Sun reset. 47002a9c2fSMauro Carvalho Chehab 48002a9c2fSMauro Carvalho Chehab =========== =============================================== 49002a9c2fSMauro Carvalho Chehab external boot from external source (USB or PCIe) 50002a9c2fSMauro Carvalho Chehab emmc boot from the onchip eMMC 51002a9c2fSMauro Carvalho Chehab emmc_legacy boot from the onchip eMMC in legacy (slow) mode 52002a9c2fSMauro Carvalho Chehab swap_emmc swap the primary / secondary boot partition 53002a9c2fSMauro Carvalho Chehab none cancel the action 54002a9c2fSMauro Carvalho Chehab =========== =============================================== 5579e29cb8SLiming Sun 5677dcc95eSLiming SunWhat: /sys/bus/platform/devices/MLNXBF04:00/secure_boot_fuse_state 5779e29cb8SLiming SunDate: Oct 2019 5879e29cb8SLiming SunKernelVersion: 5.5 5979e29cb8SLiming SunContact: "Liming Sun <lsun@mellanox.com>" 6079e29cb8SLiming SunDescription: 6179e29cb8SLiming Sun The state of eFuse versions with the following values. 62002a9c2fSMauro Carvalho Chehab 63002a9c2fSMauro Carvalho Chehab ======= =============================================== 64002a9c2fSMauro Carvalho Chehab InUse burnt, valid and currently in use 65002a9c2fSMauro Carvalho Chehab Used burnt and valid 66002a9c2fSMauro Carvalho Chehab Free not burnt and free to use 67002a9c2fSMauro Carvalho Chehab Skipped not burnt but not free (skipped) 68002a9c2fSMauro Carvalho Chehab Wasted burnt and invalid 69002a9c2fSMauro Carvalho Chehab Invalid not burnt but marked as valid (error state). 70002a9c2fSMauro Carvalho Chehab ======= =============================================== 7182c3a0b7SLiming Sun 7282c3a0b7SLiming SunWhat: /sys/bus/platform/devices/MLNXBF04:00/bootfifo 7382c3a0b7SLiming SunDate: Apr 2023 7482c3a0b7SLiming SunKernelVersion: 6.4 7582c3a0b7SLiming SunContact: "Liming Sun <limings@nvidia.com>" 7682c3a0b7SLiming SunDescription: 7782c3a0b7SLiming Sun The file used to access the BlueField boot fifo. 78e9d1b2d0SLiming Sun 79e9d1b2d0SLiming SunWhat: /sys/bus/platform/devices/MLNXBF04:00/rsh_log 80e9d1b2d0SLiming SunDate: May 2023 81e9d1b2d0SLiming SunKernelVersion: 6.4 82e9d1b2d0SLiming SunContact: "Liming Sun <limings@nvidia.com>" 83e9d1b2d0SLiming SunDescription: 84e9d1b2d0SLiming Sun The file used to write BlueField boot log with the format 85e9d1b2d0SLiming Sun "[INFO|WARN|ERR|ASSERT ]<msg>". Log level 'INFO' is used by 86e9d1b2d0SLiming Sun default if not specified. 877e38a742SDavid Thompson 887e38a742SDavid ThompsonWhat: /sys/bus/platform/devices/MLNXBF04:00/oob_mac 897e38a742SDavid ThompsonDate: August 2023 907e38a742SDavid ThompsonKernelVersion: 6.5 917e38a742SDavid ThompsonContact: "David Thompson <davthompson@nvidia.com>" 927e38a742SDavid ThompsonDescription: 937e38a742SDavid Thompson The "oob_mac" sysfs attribute holds the MAC address for 947e38a742SDavid Thompson the out-of-band 1Gbps Ethernet port. This MAC address is 957e38a742SDavid Thompson provided on a board-level label. 967e38a742SDavid Thompson 977e38a742SDavid ThompsonWhat: /sys/bus/platform/devices/MLNXBF04:00/opn 987e38a742SDavid ThompsonDate: August 2023 997e38a742SDavid ThompsonKernelVersion: 6.5 1007e38a742SDavid ThompsonContact: "David Thompson <davthompson@nvidia.com>" 1017e38a742SDavid ThompsonDescription: 1027e38a742SDavid Thompson The "opn" sysfs attribute holds the board's part number. 1037e38a742SDavid Thompson This value is provided on a board-level label. 1047e38a742SDavid Thompson 1057e38a742SDavid ThompsonWhat: /sys/bus/platform/devices/MLNXBF04:00/sku 1067e38a742SDavid ThompsonDate: August 2023 1077e38a742SDavid ThompsonKernelVersion: 6.5 1087e38a742SDavid ThompsonContact: "David Thompson <davthompson@nvidia.com>" 1097e38a742SDavid ThompsonDescription: 1107e38a742SDavid Thompson The "sku" sysfs attribute holds the board's SKU number. 1117e38a742SDavid Thompson This value is provided on a board-level label. 1127e38a742SDavid Thompson 1137e38a742SDavid ThompsonWhat: /sys/bus/platform/devices/MLNXBF04:00/modl 1147e38a742SDavid ThompsonDate: August 2023 1157e38a742SDavid ThompsonKernelVersion: 6.5 1167e38a742SDavid ThompsonContact: "David Thompson <davthompson@nvidia.com>" 1177e38a742SDavid ThompsonDescription: 1187e38a742SDavid Thompson The "modl" sysfs attribute holds the board's model number. 1197e38a742SDavid Thompson This value is provided on a board-level label. 1207e38a742SDavid Thompson 1217e38a742SDavid ThompsonWhat: /sys/bus/platform/devices/MLNXBF04:00/sn 1227e38a742SDavid ThompsonDate: August 2023 1237e38a742SDavid ThompsonKernelVersion: 6.5 1247e38a742SDavid ThompsonContact: "David Thompson <davthompson@nvidia.com>" 1257e38a742SDavid ThompsonDescription: 1267e38a742SDavid Thompson The "sn" sysfs attribute holds the board's serial number. 1277e38a742SDavid Thompson This value is provided on a board-level label. 1287e38a742SDavid Thompson 1297e38a742SDavid ThompsonWhat: /sys/bus/platform/devices/MLNXBF04:00/uuid 1307e38a742SDavid ThompsonDate: August 2023 1317e38a742SDavid ThompsonKernelVersion: 6.5 1327e38a742SDavid ThompsonContact: "David Thompson <davthompson@nvidia.com>" 1337e38a742SDavid ThompsonDescription: 1347e38a742SDavid Thompson The "uuid" sysfs attribute holds the board's UUID. 1357e38a742SDavid Thompson This value is provided by the manufacturing team. 1367e38a742SDavid Thompson 1377e38a742SDavid ThompsonWhat: /sys/bus/platform/devices/MLNXBF04:00/rev 1387e38a742SDavid ThompsonDate: August 2023 1397e38a742SDavid ThompsonKernelVersion: 6.5 1407e38a742SDavid ThompsonContact: "David Thompson <davthompson@nvidia.com>" 1417e38a742SDavid ThompsonDescription: 1427e38a742SDavid Thompson The "rev" sysfs attribute holds the board's revision. 1437e38a742SDavid Thompson This value is provided on a board-level label. 1447e38a742SDavid Thompson 1457e38a742SDavid ThompsonWhat: /sys/bus/platform/devices/MLNXBF04:00/mfg_lock 1467e38a742SDavid ThompsonDate: August 2023 1477e38a742SDavid ThompsonKernelVersion: 6.5 1487e38a742SDavid ThompsonContact: "David Thompson <davthompson@nvidia.com>" 1497e38a742SDavid ThompsonDescription: 1507e38a742SDavid Thompson The "mfg_lock" sysfs attribute is write-only. 1517e38a742SDavid Thompson A successful write to this attribute will latch the 1527e38a742SDavid Thompson board-level attributes into EEPROM, making them read-only. 153*5d40a857SXiangrong Li 154*5d40a857SXiangrong LiWhat: /sys/bus/platform/devices/MLNXBF04:00/rtc_battery 155*5d40a857SXiangrong LiDate: June 2025 156*5d40a857SXiangrong LiKernelVersion: 6.15 157*5d40a857SXiangrong LiContact: "Xiangrong Li <xiangrongl@nvidia.com>" 158*5d40a857SXiangrong LiDescription: 159*5d40a857SXiangrong Li The "rtc_battery" sysfs attribute is read-only. 160*5d40a857SXiangrong Li A successful read from this attribute returns the status of 161*5d40a857SXiangrong Li the board's RTC battery. The RTC battery status register is 162*5d40a857SXiangrong Li also cleared upon successful read operation. 163