Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This will have Invalid PE header magic issue if use the default sbsign in ubuntu 2220.04, need rebuild the sbsigntools, refer the Step 3 to solve this issue !  If no Invalid PE header magic issue then just skip Step 3.

Step 3 (Optional): Download and rebuild the latest sbsigntools

...

$ ./sbsigntools/src/sbsign --key DB.key --cert DB.crt --output EmptyApplication-Riscv.efi.signed EmptyApplication-Riscv.efi

Step 4: Sign the EFI applicaiton by using private key, and copy Copy the public key to the fat disk

...