On 05.03.21 23:23, Ilias Apalodimas wrote: > Document the command line options for efidebug and initrd loading > > Signed-off-by: Ilias Apalodimas <ilias.apalodi...@linaro.org> > --- > doc/uefi/uefi.rst | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/doc/uefi/uefi.rst b/doc/uefi/uefi.rst > index b3494c22e073..b3330f8d7273 100644 > --- a/doc/uefi/uefi.rst > +++ b/doc/uefi/uefi.rst > @@ -180,6 +180,12 @@ Set up boot parameters on your board:: > > efidebug boot add -b 1 HELLO mmc 0:1 /helloworld.efi.signed "" > > +Since kernel 5.7 there's an alternative way of loading an initrd using > +LoadFile2 protocol if CONFIG_EFI_LOAD_FILE2_INITRD is enabled. > +The initrd path can be specified with:: > + > + efidebug boot add -b ABE0 'kernel' mmc 0:1 Image -i mmc 0:1 initrd > + > Now your board can run the signed image via the boot manager (see below). > You can also try this sequence by running Pytest, test_efi_secboot, > on the sandbox >
Please, add text to doc/uefi/uefi.rst describing how we use boot options for initrds. Best regards Heinrich