Simon Glass
0b9e517aaf
test/py: Correct sizing of created disks
...
At present the disks end up being 1MB shorter than they should be,
since dd truncates by default.
Move the code into a function and update it to avoid truncation.
This resolves various warnings when running sandbox tests, of the form:
mmc_bread() MMC: block number 0x9801 exceeds max(0x9800)
caused by the FAT partition being scanning.
Signed-off-by: Simon Glass <sjg@chromium.org >
2025-04-03 11:41:55 -06:00
..
2024-11-26 11:13:39 -06:00
2025-03-15 11:47:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2025-04-02 20:00:59 -06:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2022-03-31 14:12:23 -04:00
2025-03-15 11:02:04 +00:00
2025-04-02 20:01:14 -06:00
2022-12-31 13:35:19 -05:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2024-01-18 20:23:37 -05:00
2025-03-15 11:02:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 11:47:05 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 11:02:04 +00:00
2020-10-14 11:16:34 -04:00
2020-10-14 11:16:34 -04:00
2020-10-14 11:16:34 -04:00
2025-03-15 11:02:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:02:04 +00:00
2025-04-03 11:41:55 -06:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:47:04 +00:00
2025-03-15 11:02:04 +00:00
2025-03-15 10:38:38 +00:00
2025-03-15 11:02:04 +00:00
2022-03-02 10:28:12 -05:00
2021-02-15 19:17:25 -05:00