Jonas Karlman
b69cbcdcaa
rockchip: rk3399-rock-pi-4: Fix Synchronous Abort
After the commit 788cf33315 ("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-02-08 16:11:34 -07:00
..
2024-10-03 09:29:23 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-14 09:06:16 +02:00
2024-10-25 20:48:41 +08:00
2024-12-17 17:30:25 -07:00
2024-12-17 17:30:25 -07:00
2024-09-11 20:35:03 +08: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-10-11 11:44:48 -06:00
2024-10-02 13:33:54 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-11-25 23:07:37 -03:00
2024-12-17 17:30:25 -07:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-12-03 06:42:29 -07:00
2024-09-10 13:14:59 -06:00
2024-09-10 13:14:59 -06:00
2024-10-11 11:44:48 -06:00
2024-09-24 13:41:21 -06:00
2024-10-11 11:44:48 -06: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-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-16 20:12:35 +02:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-29 16:25:25 -03:00
2024-12-17 17:30:25 -07:00
2024-10-16 11:11:56 -06:00
2025-02-08 14:58:38 -07:00
2024-11-09 08:54:01 -03:00
2024-10-14 17:58:28 -06:00
2025-02-08 16:11:34 -07:00
2024-10-11 12:23:25 -06:00
2024-10-11 11:44:48 -06:00
2024-10-14 17:59:04 -06:00
2024-10-11 11:44:48 -06: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-17 17:30:25 -07:00
2024-11-10 19:38:46 +01:00
2024-10-13 10:43:24 -06:00
2024-10-11 11:44:48 -06:00
2024-10-14 17:58:28 -06:00
2024-12-03 06:42:29 -07:00
2024-10-11 11:44:48 -06:00
2024-07-23 10:38:20 -06:00
2025-02-08 14:58:38 -07:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -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-17 17:30:25 -07: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-10-11 11:44:48 -06:00
2025-02-08 14:58:38 -07:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-09-16 16:43:35 -06:00
2024-10-13 10:43:24 -06:00
2024-12-03 06:42:29 -07:00
2024-10-11 11:44:48 -06:00
2024-11-25 23:08:24 -03:00
2024-10-16 11:11:56 -06:00
2024-10-11 11:44:48 -06:00
2024-11-11 15:14:14 +08:00
2024-09-06 11:59:51 +02:00
2025-02-08 16:11:34 -07:00
2024-12-17 17:30:25 -07:00
2024-11-10 19:36:29 +01:00
2025-02-08 14:58:38 -07:00
2024-10-11 11:44:48 -06:00
2024-10-11 12:23:25 -06:00
2024-09-12 17:35:37 +02:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-11-25 23:07:37 -03:00
2024-12-17 17:30:25 -07:00
2024-10-11 11:44:48 -06:00
2024-09-12 17:35:37 +02:00
2024-12-03 06:42:29 -07:00
2024-11-25 23:07:37 -03:00
2024-12-03 06:42:29 -07:00
2024-12-17 17:30:25 -07:00
2024-09-05 12:13:24 -06:00
2024-12-05 13:58:19 -07:00
2024-10-11 11:44:48 -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-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-30 13:02:04 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-11-17 13:12:54 -06:00
2024-08-23 14:49:44 -03:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-13 10:43:24 -06:00
2024-10-11 11:44:48 -06:00
2024-12-17 17:30:25 -07:00
2024-12-17 17:30:25 -07:00
2024-08-09 18:35:24 +08:00