Tom Rini
2ac0a302ad
This PR contains various improvements in the A/B update logic for EFI
...
- Read both copies of metadata, in case one of the is corrupted
- Check the metadata version against the running firmware to make sure it's
allowed
- Limit the use of a revert capsule if the board is on a trial state and
make sure it's not applied if the max counter has expired
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgWII69YpahbL5iK5gS8AYozs+qIFAmbr2bAACgkQgS8AYozs
+qKpPA/7BYSmVkUtdvMiSDVAzGz2Y4V9u8LXluUUkSOs5yDWuXszWPLlPYyNGTzd
5B+UIvvA7xFag0/+2Ywuxi3Xht08QWyv9803EathupScnwiUFd2H2M/+PEhBZCDs
2+JSp77J/cKBGjp8x0qY+IRDX/oVDqWjJo7B0SXM2HCvS8+z3eVBONCqwLJEPqfz
fVFyazBcSsVosWyJkbxU94Coh8LZX0fBH5nYCsNc7zTqeh8D1GNV3REMZTn6+C4Y
mJbmf3/toVvBFiLpi2fegqLgFgU4ngPlwuFEJJQZL/hUyeynXCjV4+BZ/P3n+hKC
lSPLcHeEkDh9iRxmXmVrhPEwnC00zvsYvuvlQ3ziEcUdIIVm6UJLkoyVsoBs/vUD
o+Iz6Kwu1/LW2rK+qpTGVupb4FUM00Xbs5LueHQhHS4QaIaHRwUx5qyPP/A/Ftcy
bS4Ljv5VW0fTK8H/B28c6H/HZcxzWTX8wkLEKEWgep7sWhSlcdoZ76FBM6hGeISO
62J9xyjsBtPqdR7rL6wQcvpjPK8mxconH7hsrRx3TkRpforjF5yfDLZsvLJqBEFo
ZP+nUzO2qC47Oy6lCvYQF31KWcfTKnrRw0YWf43A/zMsosEJ7O+iCaLpCNXQMIgJ
RCjEzPgQC/lqw8a7byjNvcDnWgThPf+LXM64uTln9D8kBcBEud0=
=wdyO
-----END PGP SIGNATURE-----
Merge tag 'fwu-next-19092024' of https://source.denx.de/u-boot/custodians/u-boot-tpm into next
This PR contains various improvements in the A/B update logic for EFI
- Read both copies of metadata, in case one of the is corrupted
- Check the metadata version against the running firmware to make sure it's
allowed
- Limit the use of a revert capsule if the board is on a trial state and
make sure it's not applied if the max counter has expired
2024-09-19 11:25:26 -06:00
..
2024-05-20 13:35:03 -06:00
2024-08-26 14:06:08 -06:00
2024-09-16 16:43:53 -06:00
2023-09-24 09:54:57 -04:00
2024-08-26 18:51:49 -06:00
2024-09-11 20:32:06 +08:00
2024-09-10 13:16:01 -06:00
2023-05-31 12:31:47 -04:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2023-11-07 14:49:40 -05:00
2024-09-02 16:02:37 -06:00
2023-10-15 12:23:48 +02:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2023-10-16 15:46:18 +02:00
2024-07-26 01:28:11 +02:00
2024-08-26 18:51:49 -06:00
2024-09-12 17:35:37 +02:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2024-05-20 13:35:03 -06:00
2024-07-29 15:01:04 -06:00
2023-08-25 13:54:33 -04:00
2024-05-20 13:35:03 -06:00
2023-11-07 18:36:06 -05:00
2024-09-03 14:08:49 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2023-08-08 10:22:03 -04:00
2023-08-08 10:22:03 -04:00
2024-07-29 15:01:04 -06:00
2024-05-20 13:35:03 -06:00
2023-12-21 08:54:37 -05:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-02-15 10:38:34 +01:00
2024-05-20 13:35:03 -06:00
2023-04-28 01:30:24 +01:00
2023-04-28 01:30:24 +01:00
2023-04-28 01:30:24 +01:00
2023-04-28 01:30:24 +01:00
2024-07-15 00:17:27 +01:00
2024-06-13 16:30:48 -06:00
2023-04-28 11:30:17 -06:00
2024-08-23 15:58:42 -06:00
2024-07-29 15:01:04 -06:00
2024-07-18 07:40:30 -06:00
2024-05-20 13:35:03 -06:00
2024-08-26 14:05:38 -06:00
2023-11-07 14:50:52 -05:00
2023-12-13 11:51:53 -05:00
2024-07-18 13:51:30 -06:00
2024-04-18 08:29:35 -06:00
2024-06-24 13:34:52 -06:00
2024-08-15 14:35:31 -06:00
2024-05-20 13:35:03 -06:00
2024-02-13 15:38:49 -05:00
2024-07-29 15:01:04 -06:00
2023-10-24 16:34:45 -04:00
2023-11-02 22:38:01 -04:00
2024-05-20 13:35:03 -06:00
2024-03-21 06:56:13 +01:00
2023-12-28 12:02:56 -05:00
2023-10-11 15:43:54 -04:00
2024-01-29 22:35:02 -05:00
2024-08-01 15:33:19 -06:00
2024-01-16 17:05:29 -05:00
2023-05-10 16:45:42 -04:00
2024-09-18 13:01:00 -06:00
2024-03-21 06:56:13 +01:00
2024-03-21 06:56:13 +01:00
2023-11-10 11:01:50 -05:00
2024-08-02 15:16:51 -03:00
2024-07-31 16:51:54 +02:00
2024-05-20 13:35:03 -06:00
2024-07-29 15:01:04 -06:00
2023-11-07 14:50:51 -05:00
2024-05-20 13:35:03 -06:00
2024-07-29 15:01:04 -06:00
2024-04-02 09:08:07 +02:00
2024-04-02 09:08:07 +02:00
2024-08-19 16:09:06 +09:00
2024-07-29 15:01:04 -06:00
2024-06-07 10:47:59 -06:00
2024-05-20 13:35:03 -06:00
2024-07-29 15:01:04 -06:00
2023-07-15 11:20:41 +02:00
2024-06-10 11:43:37 +02:00
2024-07-29 15:01:04 -06:00
2024-05-01 08:39:16 +02:00
2024-06-30 13:58:31 +02:00
2024-04-20 08:22:24 +02:00
2024-09-12 17:35:37 +02:00
2024-06-14 12:59:07 -06:00
2024-05-20 13:35:03 -06:00
2024-08-26 14:05:38 -06:00
2024-05-20 13:35:03 -06:00
2024-08-26 14:05:38 -06:00
2024-01-19 10:57:36 +08:00
2024-05-03 12:22:58 -06:00
2023-10-11 15:43:55 -04:00
2024-07-29 15:01:04 -06:00
2024-08-15 14:35:15 -06:00
2023-10-17 20:50:52 -04:00
2023-05-02 14:23:34 -04:00
2024-06-07 14:05:03 -06:00
2023-05-13 09:52:32 -04:00
2024-04-18 08:29:35 -06:00
2024-07-09 09:15:37 +02:00
2023-11-28 20:10:24 -05:00
2023-04-28 11:30:17 -06:00
2024-06-28 17:30:45 -06:00
2024-01-07 13:45:07 -07:00
2024-07-29 15:01:04 -06:00
2023-11-07 14:50:52 -05:00
2023-09-21 13:20:11 +02:00
2023-11-07 14:50:52 -05:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2024-05-20 13:35:03 -06:00
2024-07-29 15:01:04 -06:00
2023-11-07 14:50:51 -05:00
2023-11-07 14:50:52 -05:00
2023-11-07 14:50:52 -05:00
2023-11-07 14:50:52 -05:00
2024-07-29 15:01:04 -06:00
2024-05-20 13:35:03 -06:00
2024-05-24 13:40:03 -06:00
2024-09-19 10:52:50 +03:00
2024-09-09 17:18:04 +02:00
2023-12-21 08:54:37 -05:00
2024-07-29 15:01:04 -06:00
2024-05-20 13:35:03 -06:00
2024-08-26 14:05:38 -06:00
2024-04-08 13:04:48 +02:00
2024-01-24 11:12:11 -05:00
2024-05-20 13:35:03 -06:00
2024-08-13 06:23:15 +02:00
2023-04-27 13:51:06 -04:00
2023-07-25 12:44:46 -04:00
2024-09-03 14:09:30 -06:00
2024-08-13 08:28:24 -03:00
2024-04-05 09:39:18 -03:00
2023-07-13 11:29:40 +02:00
2024-02-08 09:01:22 -03:00
2024-05-20 13:35:03 -06:00
2023-09-14 10:42:24 -04:00
2023-11-02 16:22:06 +08:00
2023-12-21 11:59:49 -05:00
2023-11-07 14:50:52 -05:00
2023-08-19 04:12:53 +02:00
2023-11-10 11:01:50 -05:00
2024-06-19 12:07:44 -06:00
2024-06-19 12:07:44 -06:00
2024-07-29 15:01:04 -06:00
2024-07-30 14:31:24 -06:00
2024-05-20 13:35:03 -06:00
2024-09-03 14:08:50 -06:00
2024-09-18 13:07:19 -06:00
2024-05-20 13:35:03 -06:00
2024-07-29 15:01:04 -06:00
2024-01-07 13:45:07 -07:00
2023-04-07 14:21:37 +02:00
2024-07-29 15:01:04 -06:00
2024-04-12 16:23:06 -06:00
2023-12-21 08:54:37 -05:00
2024-01-09 14:58:33 +01:00
2023-10-11 15:43:55 -04:00
2024-07-29 15:01:04 -06:00
2023-11-07 14:50:52 -05:00
2023-08-08 10:22:03 -04:00
2024-09-05 12:13:24 -06:00
2024-07-29 15:01:04 -06:00
2023-11-07 14:50:51 -05:00
2024-05-20 13:35:03 -06:00
2023-11-10 11:01:50 -05:00
2023-11-10 11:01:50 -05:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2023-05-05 17:58:52 -04:00
2023-12-21 08:54:37 -05:00
2024-07-29 15:01:04 -06:00
2024-05-20 13:35:03 -06:00
2023-10-06 14:38:13 -04:00
2024-01-24 11:12:11 -05:00
2023-08-30 17:56:21 -04:00
2023-10-06 14:38:13 -04:00
2023-06-20 16:08:13 -04:00
2024-08-09 16:03:19 -06:00
2023-11-07 14:50:52 -05:00
2023-08-25 17:55:19 -04:00
2024-09-12 17:35:37 +02:00
2024-07-29 15:01:04 -06:00
2024-09-03 09:12:00 -06:00
2024-07-29 15:01:04 -06:00
2024-05-20 13:35:03 -06:00
2024-06-13 16:27:07 -06:00
2023-11-07 14:50:52 -05:00
2024-01-24 11:12:11 -05:00
2023-05-05 17:48:44 -04:00
2024-05-20 13:35:03 -06:00
2023-05-06 17:28:18 +08:00
2023-09-14 10:42:24 -04:00
2024-03-22 15:50:28 -04:00
2024-09-12 17:35:37 +02:00
2024-03-02 12:26:19 -05:00
2023-12-21 08:54:37 -05:00
2024-05-20 13:35:03 -06:00
2024-09-12 17:35:37 +02:00
2023-10-10 16:19:43 -04:00
2023-10-15 12:23:48 +02:00
2023-11-07 18:36:06 -05:00
2023-10-24 17:05:24 -04:00
2023-10-13 16:59:23 -04:00
2023-10-24 17:05:24 -04:00
2024-07-29 15:01:04 -06:00
2024-05-02 10:34:34 -06:00
2023-09-15 23:38:02 +02:00
2023-11-07 13:47:08 +01:00
2023-10-15 12:23:48 +02:00
2024-05-20 13:35:03 -06:00
2024-07-31 08:29:16 +02:00
2024-01-24 11:12:11 -05:00
2024-07-29 15:01:04 -06:00
2024-01-24 11:12:11 -05:00
2024-08-05 16:10:36 +02:00
2024-09-10 13:15:13 -06:00
2024-08-23 15:58:42 -06:00
2024-05-20 13:35:03 -06:00
2023-10-09 15:24:31 -04:00
2024-05-22 08:55:29 -06:00
2023-10-22 23:41:46 +01:00
2023-05-06 17:28:18 +08:00
2024-06-20 11:41:43 -06:00
2023-12-21 08:54:37 -05:00
2024-01-09 10:08:52 +01:00
2024-07-29 15:01:04 -06:00
2023-09-15 23:38:02 +02:00
2023-11-10 11:01:50 -05:00
2023-09-09 06:12:47 +02:00
2024-01-24 11:12:11 -05:00
2024-06-30 13:58:31 +02:00
2024-06-30 13:58:31 +02:00
2024-04-04 10:45:27 +02:00
2023-11-07 14:50:52 -05:00
2024-08-08 09:28:00 +02:00
2023-06-06 10:37:25 +02:00
2024-08-09 16:03:20 -06:00
2024-07-29 15:01:04 -06:00
2024-03-22 10:16:13 +01:00
2024-09-18 13:01:00 -06:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2023-07-21 09:00:38 +02:00
2023-05-31 17:23:01 -04:00
2024-03-21 06:56:13 +01:00
2024-08-26 14:05:37 -06:00
2023-04-25 11:53:15 -04:00
2024-05-20 13:35:03 -06:00
2024-05-22 08:55:29 -06:00
2024-06-16 12:14:18 +02:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2023-09-21 13:20:10 +02:00
2023-07-21 09:00:38 +02:00
2024-08-05 16:13:26 +02:00