commit 2178947795c836da2ba7f474352b83454ce7fa31 from: Tobias Heider date: Tue May 21 16:48:41 2024 UTC Few minor fixes commit - a06bfd8de1827663a0d875b3bb4d0796b89976a4 commit + 2178947795c836da2ba7f474352b83454ce7fa31 blob - 031e4861ff53a9206f2d0a0cd724d5073b1b2a74 blob + e0933a67fb535695569678cf809d468425ade216 --- stuff/u-boot-efi-sandbox.html +++ stuff/u-boot-efi-sandbox.html @@ -22,13 +22,12 @@ This is a neat trick I learnt recently while experimen small EFI bootloader shim. Most guides will recommend testing using qemu and EDK2, but there actually is an even simpler way to test (some) EFI applications entirely -without qemu or rebooting. +without qemu, dedicated test hardware or constant rebooting.

U-Boot can be compiled as a simple user-space Linux executable using the -"sandbox" pseudo-architecture. This is mostly used in the U-Boot test suite but -we can also use it as a simple user-space EFI test environment. -Obviously only the UEFI subset supported by U-boot will work. +"sandbox" pseudo-architecture. This is mostly intended for the U-Boot test +suite but we can also use it as a simple user-space UEFI test environment.

Building the U-Boot sandbox

@@ -124,7 +123,7 @@ Missing device handle

And there we have our "Hello, world!". Of course we can also run more -complex applications than that as long as they work in U-Boot. +complex applications as long as they work in U-Boot. Even graphical EFI apps should not be a problem thanks to built-in SDL support.