Hello,
I’m using an Orin NX 16GB on a Orin Nano carrier board with no fuses burnt. The goal is to enable Disk Encryption, as it’s supported with JP 5.1.2. Went through existing threads, Docs, script readme’s, etc. Nothing seems to work on the latest releases.
Attempts: (clean environments every time). Listing only the most relevant ones.
Attempt 1
Steps mentioned in Orin NX disk encryption - #17 by carolyuu
Result: Flash doesn’t work.
Error: Could not stat device /dev/mmcblk0 - No such file or directory.
, as mentioned in the reply in that post as well.
Attempt 2
Workflow 10 from README_initrd_flash.txt
Keys generated with source/public/nvidia-jetson-optee-source/optee/samples/hwkey-agent/host/tool/gen_ekb/example.sh
. Copied eks_t234.img to bootloader/eks_t234.img and sym2_t234.key to Linux_for_Tegra
sudo ROOTFS_ENC=1 ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_nvme_rootfs_enc.xml -p "-i ./sym2_t234.key" --external-only -S 8GiB jetson-orin-nano-devkit external
Result: Flash works, Device starts booting, but fails. UART logs:
nofuses_defaultkeys.log (39.8 KB)
E/TC:00 00 ekb_extraction_process:319 Tried all EKB_RKs but still can't extract the EKB image.
Attempt 3
More as an FYI, the only setup that worked was before I attempted UEFI Secureboot - which updated MB1, OPTEE and UEFI from their March '23 version to the August '23 ones. In this setup, with the commands identical to the ones above, Disk Encryption seemed to work, and the target succesfully booted up. This setup is not officially supported, and also does not (officially) support Secure Boot on Orin NX.
What is the proper way to achieve a working setup with Disk Encryption enabled?
@carolyuu @JerryChang I saw you had some useful insights into related issues, if you could help us on this.
Thanks!