Loading...
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 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | Intel Stratix10 Remote System Update (RSU) device attributes What: /sys/devices/platform/stratix10-rsu.0/current_image Date: August 2019 KernelVersion: 5.4 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (RO) the address in flash of currently running image. What: /sys/devices/platform/stratix10-rsu.0/fail_image Date: August 2019 KernelVersion: 5.4 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (RO) the address in flash of failed image. What: /sys/devices/platform/stratix10-rsu.0/state Date: August 2019 KernelVersion: 5.4 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (RO) the state of RSU system. The state field has two parts: major error code in upper 16 bits and minor error code in lower 16 bits. b[15:0] Currently used only when major error is 0xF006 (CPU watchdog timeout), in which case the minor error code is the value reported by CPU to firmware through the RSU notify command before the watchdog timeout occurs. b[31:16] 0xF001 bitstream error 0xF002 hardware access failure 0xF003 bitstream corruption 0xF004 internal error 0xF005 device error 0xF006 CPU watchdog timeout 0xF007 internal unknown error What: /sys/devices/platform/stratix10-rsu.0/version Date: August 2019 KernelVersion: 5.4 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (RO) the version number of RSU firmware. 19.3 or late version includes information about the firmware which reported the error. pre 19.3: b[31:0] 0x0 version number 19.3 or late: b[15:0] 0x1 version number b[31:16] 0x0 no error 0x0DCF Decision CMF error 0x0ACF Application CMF error What: /sys/devices/platform/stratix10-rsu.0/error_location Date: August 2019 KernelVersion: 5.4 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (RO) the error offset inside the image that failed. What: /sys/devices/platform/stratix10-rsu.0/error_details Date: August 2019 KernelVersion: 5.4 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (RO) error code. What: /sys/devices/platform/stratix10-rsu.0/retry_counter Date: August 2019 KernelVersion: 5.4 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (RO) the current image's retry counter, which is used by user to know how many times the images is still allowed to reload itself before giving up and starting RSU fail-over flow. What: /sys/devices/platform/stratix10-rsu.0/reboot_image Date: August 2019 KernelVersion: 5.4 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (WO) the address in flash of image to be loaded on next reboot command. What: /sys/devices/platform/stratix10-rsu.0/notify Date: August 2019 KernelVersion: 5.4 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (WO) client to notify firmware with different actions. b[15:0] inform firmware the current software execution stage. == =========================================== 0 the first stage bootloader didn't run or didn't reach the point of launching second stage bootloader. 1 failed in second bootloader or didn't get to the point of launching the operating system. 2 both first and second stage bootloader ran and the operating system launch was attempted. == =========================================== b[16] == =========================================== 1 firmware to reset current image retry counter. 0 no action. == =========================================== b[17] == =========================================== 1 firmware to clear RSU log 0 no action. == =========================================== b[18] this is negative logic == =========================================== 1 no action 0 firmware record the notify code defined in b[15:0]. == =========================================== What: /sys/devices/platform/stratix10-rsu.0/dcmf0 Date: June 2020 KernelVersion: 5.8 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (RO) Decision firmware copy 0 version information. What: /sys/devices/platform/stratix10-rsu.0/dcmf1 Date: June 2020 KernelVersion: 5.8 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (RO) Decision firmware copy 1 version information. What: /sys/devices/platform/stratix10-rsu.0/dcmf2 Date: June 2020 KernelVersion: 5.8 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (RO) Decision firmware copy 2 version information. What: /sys/devices/platform/stratix10-rsu.0/dcmf3 Date: June 2020 KernelVersion: 5.8 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (RO) Decision firmware copy 3 version information. What: /sys/devices/platform/stratix10-rsu.0/max_retry Date: June 2020 KernelVersion: 5.8 Contact: Richard Gong <richard.gong@linux.intel.com> Description: (RO) max retry parameter is stored in the firmware decision IO section, as a byte located at offset 0x18c. |