On Thu, 11 Sept 2025 at 13:23, Hugo Osvaldo Barrera <hugo@xxxxxxxxxxxxx> wrote: > > > > On Thu, 11 Sep 2025, at 08:46, Ard Biesheuvel wrote: > > On Wed, 10 Sept 2025 at 03:58, Bagas Sanjaya <bagasdotme@xxxxxxxxx> wrote: > >> > >> From: Hugo Osvaldo Barrera <hugo@xxxxxxxxxxxxx> > >> ... > >> +For sample implementations, refer to `the original u-boot implementation`_ or > >> +`the implementation in candyboot`_. > >> + > >> +.. _the original u-boot implementation: https://github.com/u-boot/u-boot/commit/ec80b4735a593961fe701cc3a5d717d4739b0fd0 > >> +.. _the implementation in candyboot: https://git.sr.ht/~whynothugo/candyboot/tree/4097b2538d7f1cf85f03922bf42409490b666202/item/src/main.rs#L225 > >> > > > > What is candyboot, and why are we adding this plug for it into the > > Linux documentation? > > It's a UEFI stub loader which can load the Linux kernel and provide it with an > initramfs using the above described protocol. > > The original version of this patch was based on my notes researching _how_ > to implement this stub loader. The implementation is quite minimal, so I think > it serves as a useful reference example. > I think one example reference is sufficient, and I think piggybacking a plug of your own project onto a documentation refactoring patch is slightly dodgy, to be completely honest. Where is candyboot used, and what does it add to the existing u-boot reference, which is the most widely used EFI implementation after EDK2 for non-x86 systems? If anything, we should be referring to the OVMF implementation here.