efi_loader implement missing functions
Get series with b4
b4 am 20170901144549.GY17058@bill-the-catVersions newest first
- v1 Latest0 of 23 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 23 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 00/23] efi_loader implement missing functions
Quoted 45 lines · Simon Glass
Hi,
Quoted 42 lines · Rob Clark
Quoted 30 lines · Leif Lindholm
Quoted 6 lines · Alexander Graf
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
I would add command
bootefi selftest.efi
to run the tests and provide the python wrapper code to add it to the test suite.I think that's a great idea, yes.
Quoted 8 lines
Quoted 3 lines
I wonder how far we are from running UEFI tests (either the official ones, or I seem to remember hearing about some other test suite which didn't require UEFI shell)?
Let's ask Leif, Ard and Dong.
The official test suite definitely needs the UEFI Shell. Is the suite publicly available by now?
In binary form, you can access it already from the links on
http://uefi.org/testtoolsYes, 2.5 is latest release. No this is not a restriction ... the SCT releases have been lagging the specification releases a fair bit.
The 2.5a package contains AARCH64, IA32 and X64 support (not ARM). Not that it couldn't contain ARM, it just hasn't been packaged.
Quoted 5 lines
Quoted 4 lines
That seems more useful long term than re-inventing comprehensive UEFI test suite. (Also, beyond just running shim/fallback/grub, I don't really have time to invent new tests for the stack of
efi_loaderpatches I have.)Quoted 6 lines
Quoted 1 line
Yes and no - it depends on the availability of the official suite :/.
UEFI SCT is not yet open source/free software. Obviously, this is something Linaro has been lobbying for since day one of our involvement. There used to be little understanding for this, but that attitude has shifted substantially.
So, if/until UEFI SCT is not an option, what about:
Quoted 7 lines
Quoted 1 line
(thx to pjones for pointing that out to me)
Well in any case I'm not looking for a large functional test suite at this stage. It certainly could be useful, but not as a replacement for unit tests. The latter is for fast verification (so that everyone can run it as part of 'make tests') and easy identification of the location of bugs.
I want to chime in here. Unless we're talking hours of time, if "make tests" takes 5 minutes to run, but that includes doing some sort of full validation suite to the relevant EFI code, that seems like a win to me. And if someone else is responsible for the contents of the tests and we just have to confirm our expected results, that's an even bigger win.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170901/6b47ad1d/attachment.sig>