|
@@ -141,12 +141,13 @@ def fetch_tftp_file(u_boot_console, env_conf):
|
|
|
|
|
|
return addr
|
|
|
|
|
|
+@pytest.mark.buildconfigspec('of_control')
|
|
|
@pytest.mark.buildconfigspec('cmd_bootefi_hello_compile')
|
|
|
def test_efi_helloworld_net(u_boot_console):
|
|
|
"""Run the helloworld.efi binary via TFTP.
|
|
|
|
|
|
- The helloworld.efi file is downloaded from the TFTP server and gets
|
|
|
- executed.
|
|
|
+ The helloworld.efi file is downloaded from the TFTP server and is executed
|
|
|
+ using the fallback device tree at $fdtcontroladdr.
|
|
|
"""
|
|
|
|
|
|
addr = fetch_tftp_file(u_boot_console, 'env__efi_loader_helloworld_file')
|
|
@@ -169,6 +170,7 @@ def test_efi_helloworld_builtin(u_boot_console):
|
|
|
expected_text = 'Hello, world'
|
|
|
assert expected_text in output
|
|
|
|
|
|
+@pytest.mark.buildconfigspec('of_control')
|
|
|
@pytest.mark.buildconfigspec('cmd_bootefi')
|
|
|
def test_efi_grub_net(u_boot_console):
|
|
|
"""Run the grub.efi binary via TFTP.
|