]> git.dujemihanovic.xyz Git - u-boot.git/commit
vbe: Add a test for VBE device tree fixups
authorSimon Glass <sjg@chromium.org>
Tue, 11 Oct 2022 15:47:20 +0000 (09:47 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2022 03:17:13 +0000 (21:17 -0600)
commitae0bf2214b81b56a5670819958234947443680be
treef3c7995afe7ca2f175bdf577be6e10bbe08a4a57
parente7a18f751117ab38567d3929eacdcd9f3d6f5693
vbe: Add a test for VBE device tree fixups

When a FIT includes some OS requests, U-Boot should process these and add
the requested info to corresponding subnodes of the /chosen node. Add a
pytest for this, which sets up the FIT, runs bootm and then uses a C
unit test to check that everything looks OK.

The test needs to run on sandbox_flattree since we don't support
device tree fixups on sandbox (live tree) yet. So enable BOOTMETH_VBE and
disable bootflow_system(), since EFI is not supported on
sandbox_flattree.

Add a link to the initial documentation.

Signed-off-by: Simon Glass <sjg@chromium.org>
configs/sandbox_flattree_defconfig
doc/develop/vbe.rst
test/boot/Makefile
test/boot/bootflow.c
test/boot/vbe_fixup.c [new file with mode: 0644]
test/py/tests/fit_util.py
test/py/tests/test_vbe.py [new file with mode: 0644]