u-boot/test
Heinrich Schuchardt bd8bc53162 efi_driver: create a parent device for all EFI block devices
Up to now root has been the parent device for all block devices created via
calling ConnectController(). This does not work well together with the
implementation of bootstd.

Add a dummy parent device for all EFI block devices.

With this change EFI block devices are also accessible via commands like
'cat', 'load', and 'ls'.

    => dm tree
     Class     Seq    Probed  Driver                Name
    -----------------------------------------------------------
     efi           0  [ + ]   EFI block driver      `-- efi
     blk           3  [ + ]   efi_blk                   `-- efi.efiblk#0
     partition     0  [ + ]   blk_partition                 `-- efi.efiblk#0:1

    => ls efiloader 0:1
           13   hello.txt
            7   u-boot.txt
    2 file(s), 0 dir(s)

    => cat efiloader 0:1 hello.txt
    Hello world!

    => efidebug dh
    0000000018df1700 (efi.efiblk#0:1)
      /VenHw(dbca4c98-6cb0-694d-0872-819c650cb7b8)/HD(1,MBR,0xd1535d21,0x1,0x7f)
      Block IO
      Simple File System

Adjust the event dump unit test to consider the new event spy.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2025-02-20 11:07:44 +01:00
..
boot test: Pass the test state to cmd_ut_category() 2025-01-24 14:34:41 -06:00
cmd cmd/setexpr: support concatenation of direct strings 2025-02-07 13:35:23 -06:00
common bloblist: add api to get blob with size 2025-01-28 08:59:21 +02:00
dm led: add function naming option from linux 2025-02-07 10:53:39 -06:00
env test: Drop the function for running env tests 2025-01-24 14:34:40 -06:00
fs test: fs: fs-test: Move the tests to use sha256sum 2024-01-11 21:19:25 -05:00
fuzz global: Rename SPL_ to XPL_ 2024-10-11 11:44:48 -06:00
hush test: Drop the function for running hush tests 2025-01-24 14:34:40 -06:00
image spl: Create a function to init spl_load_info 2024-08-23 15:58:42 -06:00
lib test: unit tests for strstr() and strnstr() 2025-02-12 12:37:17 -06:00
log test/log: test function filters 2025-01-26 11:06:56 +01:00
optee test: Drop the _test suffix on linker lists 2025-01-24 14:34:40 -06:00
overlay test: Pass the test state to cmd_ut_category() 2025-01-24 14:34:41 -06:00
py efi_driver: create a parent device for all EFI block devices 2025-02-20 11:07:44 +01:00
stdint Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" 2024-05-19 08:16:36 -06:00
cmd_ut.c test: Move help into the suite declaration 2025-01-24 14:34:41 -06:00
Kconfig test: Remove ASN1 library test 2024-10-14 17:58:52 -06:00
Makefile test: Move time_ut test into lib 2024-11-13 11:56:02 -06:00
run test: Run the VPL tests with 'make check' 2023-04-03 06:53:53 +12:00
test-main.c test: Record and show the totals for all test runs 2025-01-24 14:34:41 -06:00
ut.c test: Move stats into a struct 2025-01-24 14:34:41 -06:00