1 Intel Stratix10 Remote System Update (RSU) device attributes
3 What: /sys/devices/platform/stratix10-rsu.0/current_image
6 Contact: Richard Gong <richard.gong@linux.intel.com>
8 (RO) the address in flash of currently running image.
10 What: /sys/devices/platform/stratix10-rsu.0/fail_image
13 Contact: Richard Gong <richard.gong@linux.intel.com>
15 (RO) the address in flash of failed image.
17 What: /sys/devices/platform/stratix10-rsu.0/state
20 Contact: Richard Gong <richard.gong@linux.intel.com>
22 (RO) the state of RSU system.
23 The state field has two parts: major error code in
24 upper 16 bits and minor error code in lower 16 bits.
27 Currently used only when major error is 0xF006
28 (CPU watchdog timeout), in which case the minor
29 error code is the value reported by CPU to
30 firmware through the RSU notify command before
31 the watchdog timeout occurs.
34 0xF001 bitstream error
35 0xF002 hardware access failure
36 0xF003 bitstream corruption
39 0xF006 CPU watchdog timeout
40 0xF007 internal unknown error
42 What: /sys/devices/platform/stratix10-rsu.0/version
45 Contact: Richard Gong <richard.gong@linux.intel.com>
47 (RO) the version number of RSU firmware. 19.3 or late
48 version includes information about the firmware which
60 0x0DCF Decision CMF error
61 0x0ACF Application CMF error
63 What: /sys/devices/platform/stratix10-rsu.0/error_location
66 Contact: Richard Gong <richard.gong@linux.intel.com>
68 (RO) the error offset inside the image that failed.
70 What: /sys/devices/platform/stratix10-rsu.0/error_details
73 Contact: Richard Gong <richard.gong@linux.intel.com>
77 What: /sys/devices/platform/stratix10-rsu.0/retry_counter
80 Contact: Richard Gong <richard.gong@linux.intel.com>
82 (RO) the current image's retry counter, which is used by
83 user to know how many times the images is still allowed
84 to reload itself before giving up and starting RSU
87 What: /sys/devices/platform/stratix10-rsu.0/reboot_image
90 Contact: Richard Gong <richard.gong@linux.intel.com>
92 (WO) the address in flash of image to be loaded on next
95 What: /sys/devices/platform/stratix10-rsu.0/notify
98 Contact: Richard Gong <richard.gong@linux.intel.com>
100 (WO) client to notify firmware with different actions.
103 inform firmware the current software execution
106 == ===========================================
107 0 the first stage bootloader didn't run or
108 didn't reach the point of launching second
110 1 failed in second bootloader or didn't get
111 to the point of launching the operating
113 2 both first and second stage bootloader ran
114 and the operating system launch was
116 == ===========================================
119 == ===========================================
120 1 firmware to reset current image retry
123 == ===========================================
126 == ===========================================
127 1 firmware to clear RSU log
129 == ===========================================
132 this is negative logic
134 == ===========================================
136 0 firmware record the notify code defined
138 == ===========================================
140 What: /sys/devices/platform/stratix10-rsu.0/dcmf0
143 Contact: Richard Gong <richard.gong@linux.intel.com>
145 (RO) Decision firmware copy 0 version information.
147 What: /sys/devices/platform/stratix10-rsu.0/dcmf1
150 Contact: Richard Gong <richard.gong@linux.intel.com>
152 (RO) Decision firmware copy 1 version information.
154 What: /sys/devices/platform/stratix10-rsu.0/dcmf2
157 Contact: Richard Gong <richard.gong@linux.intel.com>
159 (RO) Decision firmware copy 2 version information.
161 What: /sys/devices/platform/stratix10-rsu.0/dcmf3
164 Contact: Richard Gong <richard.gong@linux.intel.com>
166 (RO) Decision firmware copy 3 version information.
168 What: /sys/devices/platform/stratix10-rsu.0/max_retry
171 Contact: Richard Gong <richard.gong@linux.intel.com>
173 (RO) max retry parameter is stored in the firmware
174 decision IO section, as a byte located at offset 0x18c.