diff options
author | Jon Mason <jon.mason@arm.com> | 2025-10-06 10:24:37 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-09 16:46:45 +0100 |
commit | 171c7e2e48e1294005ef59281a6d45b5e796f46c (patch) | |
tree | c3136b6c74bdd7b38c45d6a72c29bf48a0a243b3 /meta/lib/patchtest/repo.py | |
parent | 4a0c5cc5182f903e25588a3610175beca3503640 (diff) | |
download | poky-171c7e2e48e1294005ef59281a6d45b5e796f46c.tar.gz |
runqemu: resize rootfs image to power of 2 for SD or pflash
QEMU requires that SD and pflash images are sized to be a power of 2
(e.g., 32M, 64M, etc). So, if the image being used is not a power of 2
and it's being used for SD or pflash, increase it to the next power of 2
size via the truncate command.
This might not be an actual spec requirement, and is being investigated
in https://gitlab.com/qemu-project/qemu/-/issues/1754
(From OE-Core rev: ec1a0afd97f9a49558dda01a0f3600f885f78fe3)
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/patchtest/repo.py')
0 files changed, 0 insertions, 0 deletions