Re: [PATCH 1/2] tests/acceptance/boot_linux: Truncate SD card image to power of 2

2020-07-12 Thread Niek Linnenbank
On Tue, Jul 7, 2020 at 3:21 PM Philippe Mathieu-Daudé wrote: > In the next commit we won't allow SD card images with invalid > size (not aligned to a power of 2). Prepare the tests: add the > pow2ceil() and image_pow2ceil_truncate() methods and truncate > the images of the tests using SD cards.

Re: [PATCH 1/2] tests/acceptance/boot_linux: Truncate SD card image to power of 2

2020-07-07 Thread Philippe Mathieu-Daudé
On 7/7/20 5:53 PM, Alistair Francis wrote: > n Tue, Jul 7, 2020 at 6:21 AM Philippe Mathieu-Daudé wrote: >> >> In the next commit we won't allow SD card images with invalid >> size (not aligned to a power of 2). Prepare the tests: add the >> pow2ceil() and image_pow2ceil_truncate() methods and

Re: [PATCH 1/2] tests/acceptance/boot_linux: Truncate SD card image to power of 2

2020-07-07 Thread Alistair Francis
n Tue, Jul 7, 2020 at 6:21 AM Philippe Mathieu-Daudé wrote: > > In the next commit we won't allow SD card images with invalid > size (not aligned to a power of 2). Prepare the tests: add the > pow2ceil() and image_pow2ceil_truncate() methods and truncate > the images of the tests using SD cards.

[PATCH 1/2] tests/acceptance/boot_linux: Truncate SD card image to power of 2

2020-07-07 Thread Philippe Mathieu-Daudé
In the next commit we won't allow SD card images with invalid size (not aligned to a power of 2). Prepare the tests: add the pow2ceil() and image_pow2ceil_truncate() methods and truncate the images of the tests using SD cards. Signed-off-by: Philippe Mathieu-Daudé ---