diff options
author | Tom Rini <trini@konsulko.com> | 2023-04-03 11:35:30 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-03 11:35:30 -0400 |
commit | 9876c8c147144db2c120fcc9ffa6de27f6894441 (patch) | |
tree | 6553b7f95619defea532dec9abcaa3c0aa66e5bf /test/py/tests/test_vbe_vpl.py | |
parent | a25dcda452bf6a6de72764a8d990d72e5def643d (diff) | |
parent | 00be5197e8423b8b71744ad0e3f2753d4be0132b (diff) |
Merge tag 'dm-next-3apr23' of https://source.denx.de/u-boot/custodians/u-boot-dm into next
Enable VPL tests
Minor changes with fdt command, vboot test, pinctrl
Diffstat (limited to 'test/py/tests/test_vbe_vpl.py')
-rw-r--r-- | test/py/tests/test_vbe_vpl.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/py/tests/test_vbe_vpl.py b/test/py/tests/test_vbe_vpl.py index d1c9d0548ae..ed12d3a4618 100644 --- a/test/py/tests/test_vbe_vpl.py +++ b/test/py/tests/test_vbe_vpl.py @@ -15,6 +15,7 @@ def test_vbe_vpl(u_boot_console): #cmd = [cons.config.build_dir + fname, '-v'] ram = os.path.join(cons.config.build_dir, 'ram.bin') fdt = os.path.join(cons.config.build_dir, 'arch/sandbox/dts/test.dtb') + image_fname = os.path.join(cons.config.build_dir, 'image.bin') # Enable firmware1 and the mmc that it uses. These are needed for the full # VBE flow. @@ -24,12 +25,13 @@ def test_vbe_vpl(u_boot_console): cons, f'fdtput -t s {fdt} /bootstd/firmware1 status okay') u_boot_utils.run_and_log( cons, f'fdtput -t s {fdt} /mmc3 status okay') + u_boot_utils.run_and_log( + cons, f'fdtput -t s {fdt} /mmc3 filename {image_fname}') # Remove any existing RAM file, so we don't have old data present if os.path.exists(ram): os.remove(ram) - flags = ['-p', os.path.join(cons.config.build_dir, 'image.bin'), '-w', - '-s', 'state.dtb'] + flags = ['-p', image_fname, '-w', '-s', 'state.dtb'] cons.restart_uboot_with_flags(flags) # Make sure that VBE was used in both VPL (to load SPL) and SPL (to load |