efi: Partial attempt at a test for EFI bootmeth
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | efi: Use puts() in cout so that console recording workslib/ | +1 | 2 replies | |
| 2/7 | efi: Show the vendor in helloworldlib/ | +3 | 1 reply | |
| 3/7 | efi: test: Create a disk image with and EFI app in ittest/ | +32 | 2 replies | |
| 4/7 | WIP: efi: Disable ANSI outputinclude/ lib/ lib/ | +20 | 2 replies | |
| 5/7 | WIP: efi: Add a test for the EFI bootmetharch/ test/ | +62 | 0 replies | |
| 6/7 | WIP: efi: Allow helloworld to exit boot serviceslib/ | +35 | 4 replies | |
| 7/7 | WIP: efi: debuggingboot/ boot/ cmd/ +2 more | +10 | 2 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Ilias Apalodimas |
|---|---|
| 1/7 | R-b |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] efi: Partial attempt at a test for EFI bootmeth
The test coverage for the EFI bootmeth is incomplete since it does not actually boot the application.
This series makes an attempt at this.
However there are at least two problems:
1. The test does not set up the loaded image properly, so it isn't found by the app.
2. The test needs to use USB instead of mmc, so that usb_stop() is called
Simon Glass (7):
efi: Use puts() in cout so that console recording works
efi: Show the vendor in helloworld
efi: test: Create a disk image with and EFI app in it
WIP: efi: Disable ANSI output
WIP: efi: Add a test for the EFI bootmeth
WIP: efi: Allow helloworld to exit boot services
WIP: efi: debugging
arch/sandbox/dts/test.dts | 10 ++++++- boot/bootflow.c | 2 ++ boot/bootmeth_efi.c | 1 + cmd/bootefi.c | 1 + include/efi_loader.h | 14 +++++++-- lib/efi_loader/efi_boottime.c | 5 ++++ lib/efi_loader/efi_console.c | 19 +++++------- lib/efi_loader/efi_setup.c | 2 +- lib/efi_loader/helloworld.c | 39 ++++++++++++++++++++++++- test/boot/bootflow.c | 55 ++++++++++++++++++++++++++++++++++- test/py/tests/test_ut.py | 32 ++++++++++++++++++++ 11 files changed, 163 insertions(+), 17 deletions(-)
Signature · 1 line
2.43.0.rc1.413.gea7ed67945-goog