]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: efi: boot: Set up an image suitable for EFI testing
authorSimon Glass <sjg@chromium.org>
Thu, 7 Nov 2024 21:31:49 +0000 (14:31 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 9 Nov 2024 09:01:47 +0000 (10:01 +0100)
commit79aed64f945e30049cedd77265d397738388d713
tree8b214f60dbc12a15631af388ff321bda2a891b75
parentade8b300396e92fb87f8d6ecbc7d397b306d8125
test: efi: boot: Set up an image suitable for EFI testing

Create a new disk for use with tests, which contains the new 'testapp'
EFI app specifically intended for testing the EFI loader.

Attach it to the USB device, since most testing is currently done with
mmc.

Initially this image will be used to test the EFI bootmeth.

Fix a stale comment in prep_mmc_bootdev() while we are here.

For now this uses sudo and a compressed fallback file, like all the
other bootstd tests. Once this series is in, the patch which moves
this to use user-space tools will be cleaned up and re-submitted.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
test/boot/bootdev.c
test/boot/bootflow.c
test/py/tests/bootstd/flash1.img.xz [new file with mode: 0644]
test/py/tests/test_ut.py