Hello!
After preparing the keys according to this guide and flashing Tegra Linux Sample Rootfs to Xavier AGX devkit using
sudo ./flash.sh -u pkc/pkc --uefi-keys uefi_keys/uefi_keys.conf jetson-xavier mmcblk0p1
command I noticed that UEFI Secureboot was not enabled.
Boot log after flash.sh:
Jetson UEFI firmware (version 2.1-32413640 built on 2023-01-24T23:12:27+00:00)
ESC to enter Setup.
F11 to enter Boot Manager Menu.
Enter to continue boot.
** WARNING: Test Key is used. **
EnrollFromDefaultKeysApp: Cannot set CUSTOM_SECURE_BOOT_MODE: Security Violation
......
L4TLauncher: Attempting Direct Boot
EFI stub: Booting Linux Kernel...
EFI stub: Using DTB from configuration table
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Exiting boot services and installing virtual address map...
I also tried to enable it through UEFI Utilities with no success:
user@jetson:~$ sudo efivar -n 8be4df61-93ca-11d2-aa0d-00e098032b8c-SecureBoot
GUID: 8be4df61-93ca-11d2-aa0d-00e098032b8c
Name: "SecureBoot"
Attributes:
Boot Service Access
Runtime Service Access
Value:
00000000 00 |. |
user@jetson:~$ sudo efi-updatevar -f uefi_keys/_out/db_1.auth db
Failed to update db: Read-only file system
Could you guide how to enable UEFI Secureboot?