Jonas Karlman
c72e37dceb
rockchip: rk3399-rock-pi-4: Fix Synchronous Abort
After the commit 788cf33315c7 ("efi: add a helper to generate dynamic
UUIDs") update_info.num_images must match number of valid update images.
On Rock Pi 4 following Synchronous Abort can be observed due to fw_name
being NULL:
Scanning global bootmeth 'efi_mgr':
"Synchronous Abort" handler, esr 0x96000010, far 0x0
elr: 0000000000200e28 lr : 000000000028adb8 (reloc)
elr: 00000000f3efbe28 lr : 00000000f3f85db8
x0 : 0000000000000000 x1 : ffffffffffffffff
x2 : 0000000000000000 x3 : 000000000000000e
x4 : 0000000000000000 x5 : 00000000f1ef0d78
x6 : 00000000f3fb3b90 x7 : 0000000000000044
x8 : 0000000000000010 x9 : 0000000000000031
x10: 00000000f0ea3fff x11: 00000000f1f29e00
x12: 0000000000000002 x13: fffffffffffff000
x14: 00000000f1f29e00 x15: 0000000000000018
x16: 00000000f3f44f7c x17: 0000000000000000
x18: 00000000f1ef2de0 x19: 00000000f0ea3040
x20: 00000000f3ff53d8 x21: 00000000f3fd0498
x22: 0000000000000000 x23: 00000000f1edb960
x24: 00000000f1edb95f x25: 00000000f1edb990
x26: 00000000f1edb964 x27: 00000000f1edb998
x28: 00000000f1edc1ec x29: 00000000f1edb820
Code: aa0003e2 d2800000 eb01001f 54000060 (78607843)
Resetting CPU ...
resetting ...
Fix this by setting update_info.num_images to 0 when no valid update
images is added to update_info.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Tested-by: FUKAUMI Naoki <naoki@radxa.com>
2025-01-10 18:56:22 -06:00
..
2023-12-21 08:54:37 -05:00
2024-10-03 09:29:23 -06:00
2024-10-11 11:44:48 -06:00
2024-11-26 13:20:03 +01:00
2024-07-22 10:51:46 -06:00
2024-05-20 13:35:03 -06:00
2024-06-26 13:17:51 -06:00
2024-10-14 09:06:16 +02:00
2024-10-25 20:48:41 +08:00
2024-12-18 15:18:59 -06:00
2024-07-22 10:51:46 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-12-18 15:18:59 -06:00
2024-06-14 17:11:05 +08:00
2024-09-11 20:35:03 +08:00
2024-05-20 13:35:03 -06:00
2024-10-13 17:24:03 +03:00
2024-10-11 12:23:25 -06:00
2024-10-11 11:44:48 -06:00
2024-12-29 16:55:31 +01:00
2024-10-02 13:33:54 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-11-25 23:07:37 -03:00
2024-12-18 15:18:59 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-07-22 10:51:46 -06:00
2024-09-10 13:14:59 -06:00
2024-05-20 13:35:03 -06:00
2024-09-10 13:14:59 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-09-24 13:41:21 -06:00
2023-12-19 21:24:30 +02:00
2024-10-11 11:44:48 -06:00
2023-10-09 15:24:31 -04:00
2024-10-11 11:44:48 -06:00
2024-10-11 12:23:25 -06:00
2024-10-11 11:44:48 -06:00
2024-11-11 15:14:14 +08:00
2024-11-17 13:12:54 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-11-29 09:20:25 -03:00
2024-10-11 11:44:48 -06:00
2024-07-22 10:51:46 -06:00
2024-05-20 13:35:03 -06:00
2024-12-07 09:07:45 -03:00
2024-10-11 11:44:48 -06:00
2024-07-22 10:51:46 -06:00
2024-03-13 12:40:43 -04:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-10-29 16:25:25 -03:00
2024-12-18 15:18:59 -06:00
2024-10-16 11:11:56 -06:00
2024-05-20 13:35:03 -06:00
2025-01-10 18:56:15 -06:00
2024-12-31 08:08:59 -06:00
2024-10-14 17:58:28 -06:00
2025-01-10 18:56:22 -06:00
2024-10-11 12:23:25 -06:00
2024-12-27 14:34:45 -06:00
2024-10-14 17:59:04 -06:00
2024-10-11 11:44:48 -06:00
2024-03-13 12:40:43 -04:00
2024-11-17 13:12:54 -06:00
2024-10-11 11:44:48 -06:00
2024-10-25 20:50:47 +08:00
2024-12-18 15:18:59 -06:00
2024-07-22 10:51:47 -06:00
2024-12-29 16:55:31 +01:00
2024-10-13 10:43:24 -06:00
2023-10-09 15:24:31 -04:00
2024-10-11 11:44:48 -06:00
2024-05-25 10:28:19 +08:00
2024-10-14 17:58:28 -06:00
2023-11-06 10:20:21 -05:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:51:47 -06:00
2024-10-11 11:44:48 -06:00
2024-02-04 18:45:58 +08:00
2024-10-11 11:44:48 -06:00
2024-07-23 10:38:20 -06:00
2025-01-10 18:56:15 -06:00
2024-05-20 13:35:03 -06:00
2024-12-15 09:00:32 +08:00
2024-10-11 11:44:48 -06:00
2024-07-22 10:51:47 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-13 10:43:24 -06:00
2024-10-13 10:43:24 -06:00
2024-10-14 09:06:16 +02:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-12-18 15:18:59 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-10-29 19:58:22 +08:00
2024-10-13 10:43:24 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2025-01-10 18:56:15 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-09-16 16:43:35 -06:00
2024-10-13 10:43:24 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-12-13 20:09:41 -06:00
2024-05-20 13:35:03 -06:00
2024-04-26 15:47:05 +08:00
2024-10-16 11:11:56 -06:00
2024-05-25 10:28:05 +08:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-11-11 15:14:14 +08:00
2024-09-06 11:59:51 +02:00
2025-01-10 18:56:22 -06:00
2024-05-20 13:35:03 -06:00
2024-12-25 22:31:04 -06:00
2024-12-29 16:55:31 +01:00
2024-03-13 12:40:43 -04:00
2025-01-10 18:56:16 -06:00
2024-10-11 11:44:48 -06:00
2023-10-09 15:24:31 -04:00
2024-10-11 12:23:25 -06:00
2024-09-12 17:35:37 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2023-10-09 15:24:31 -04:00
2024-10-11 11:44:48 -06:00
2024-11-25 23:07:37 -03:00
2024-12-18 15:18:59 -06:00
2024-12-29 16:55:31 +01:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-09-12 17:35:37 +02:00
2024-10-11 11:44:48 -06:00
2024-11-25 23:07:37 -03:00
2024-05-20 13:35:03 -06:00
2024-12-18 13:19:15 +08:00
2024-12-18 13:19:16 +08:00
2024-07-22 10:51:47 -06:00
2024-10-11 12:23:25 -06:00
2024-12-18 15:18:59 -06:00
2024-05-20 13:35:03 -06:00
2024-09-05 12:13:24 -06:00
2024-10-13 20:25:41 -06:00
2024-10-11 11:44:48 -06:00
2024-07-22 10:51:47 -06:00
2024-09-10 13:14:59 -06:00
2024-10-11 11:44:48 -06:00
2024-10-18 09:41:09 -03:00
2024-07-22 10:51:47 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-12-14 09:33:18 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-12-15 12:34:25 -03:00
2024-05-20 13:35:03 -06:00
2024-08-23 14:49:44 -03:00
2024-05-20 13:35:03 -06:00
2024-04-26 15:47:05 +08:00
2024-10-11 11:44:48 -06:00
2024-03-15 09:15:31 -04:00
2024-10-11 11:44:48 -06:00
2023-10-09 15:24:31 -04:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-10-13 10:43:24 -06:00
2024-10-11 11:44:48 -06:00
2024-12-18 15:18:59 -06:00
2024-12-18 15:18:59 -06:00
2024-08-09 18:35:24 +08:00
2024-05-20 13:35:03 -06:00