Heinrich Schuchardt
15ba2b7356
dumpimage: fix handling of StarFive SPL too long
...
The header of the StarFive U-Boot SPL file u-boot-spl.normal.out has a
field indicating the payload size. When copying U-Boot SPL from a
partition the copied file might be too long.
Currently in this situation a misleading error message 'Incorrect CRC32' is
written.
We must use the payload size and not the file size when calculating the
CRC32.
Write a warning if the file is too long indicating the correct size. This
enables the user to truncate the file accordingly.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2025-03-18 08:17:32 -06:00
..
2025-03-04 08:22:11 -06:00
2025-01-25 16:27:24 -06:00
2024-12-21 12:27:46 -06:00
2024-12-19 09:10:34 -06:00
2024-10-21 20:51:23 -06:00
2024-07-15 12:12:18 -06:00
2023-12-15 15:41:23 +01:00
2024-09-01 11:05:43 -06:00
2024-12-19 09:10:34 -06:00
2023-11-10 11:01:50 -05:00
2023-04-13 11:34:47 +02:00
2021-09-30 08:08:56 -04:00
2023-04-13 11:34:47 +02:00
2023-08-08 17:41:52 -04:00
2022-02-28 10:33:11 -05:00
2024-09-12 17:35:37 +02:00
2024-07-15 12:12:18 -06:00
2024-10-18 14:10:22 -06:00
2023-04-06 19:10:08 -04:00
2022-01-26 08:50:43 -07:00
2024-07-15 12:12:18 -06:00
2022-01-26 08:50:42 -07:00
2024-04-17 17:06:01 -06:00
2023-04-13 11:34:47 +02:00
2025-01-22 15:58:04 -06:00
2023-04-13 11:34:47 +02:00
2022-01-19 18:11:34 +01:00
2023-01-27 12:51:26 -05:00
2025-02-18 12:30:32 -06:00
2024-10-21 17:52:52 -06:00
2023-04-13 11:34:47 +02:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-11-25 23:07:37 -03:00
2021-10-21 13:59:26 +02:00
2024-07-15 12:12:18 -06:00
2024-03-04 08:18:13 -03:00
2024-11-25 23:07:37 -03:00
2024-07-15 12:12:18 -06:00
2023-10-09 15:24:31 -04:00
2025-02-03 16:00:42 -06:00
2023-03-29 11:58:26 -04:00
2024-07-15 12:12:18 -06:00
2025-01-18 17:12:47 -06:00
2023-04-13 11:34:47 +02:00
2023-04-13 11:34:47 +02:00
2025-01-18 17:12:47 -06:00
2022-06-23 12:58:18 -04:00
2024-11-09 09:56:45 +01:00
2025-02-10 10:27:01 -06:00
2024-05-24 13:40:04 -06:00
2024-01-11 22:09:11 -05:00
2025-01-22 15:58:03 -06:00
2021-10-25 14:49:58 +01:00
2023-08-03 09:40:50 -04:00
2023-08-03 09:40:50 -04:00
2022-09-23 15:09:16 -04:00
2022-09-23 15:09:16 -04:00
2023-12-13 15:33:57 -03:00
2024-07-15 12:12:18 -06:00
2021-12-02 08:34:01 +02:00
2023-04-13 11:34:47 +02:00
2025-01-26 11:35:46 -06:00
2022-02-28 12:01:02 +05:30
2023-04-20 20:45:08 +08:00
2023-04-20 20:45:08 +08:00
2022-12-08 09:29:02 -05:00
2024-12-31 19:00:37 -06:00
2025-03-18 08:17:30 -06:00
2023-09-06 13:28:29 +02:00
2023-11-20 19:06:22 +01:00
2025-01-18 17:12:47 -06:00
2024-06-14 17:07:59 +08:00
2023-04-13 11:34:47 +02:00
2023-03-08 11:40:49 -08:00
2025-03-18 08:17:32 -06:00
2023-04-13 11:34:47 +02:00
2023-04-13 11:34:47 +02:00
2023-04-13 11:34:47 +02:00
2024-08-06 00:19:57 +01:00
2022-09-13 06:38:08 +02:00
2023-04-13 11:34:47 +02:00
2024-07-31 11:20:36 -06:00
2023-04-13 11:34:47 +02:00
2023-04-13 11:34:47 +02:00
2022-02-15 12:41:00 +01:00
2023-07-21 09:00:38 +02:00
2024-01-10 09:27:12 +01:00
2024-01-10 09:27:12 +01:00