Hello!
I have TX2 NX with NVME SSD.
I flushed JetPack 4.6.6 into NVME with encryption ON by this command: sudo ROOTFS_ENC=1 ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1 -S 100GiB -c ./tools/kernel_flash/flash_l4t_nvme_rootfs_enc.xml --external-only jetson-xavier-nx-devkit-tx2-nx nvme0n1p1
If I reflush jetson NVME with the same parameters but without encryption it loads perfectly fine. Reflushing eMMC with encryption switched on works fine as well.
Is it possible to fix it, or maybe there is an different approach to get encrypted APP partition on NVME with TX2 NX?
I created ekb.key file with all zeroes echo "00000000000000000000000000000000" > ekb.key befor flushing.
Also I created a user sudo ./tools/l4t_create_default_user.sh -u nvidia -p nvidia -a --accept-license
let’s narrow down the issue, you may replacing EKS image for quick checking.
please check [README_initrd_flash.txt] for the sample for flashing eks partition on internal device, for instance, $ sudo ./tools/kernel_flash/l4t_initrd_flash.sh -k eks jetson-xavier mmcblk0p1
please see-also Topic 255711 for reference.
besides, please setup serial console, we need checking booting logs for more details.
I just did it. I add flashing logs and logs from serial console just in case if they are needed. Also I reconfigured boot loader back to boot from emmc instead of nvme to just see if this flashing was successful.
After that Jetson restart and booting.
And looks like according to initrd logs it finished flashing successfully. flash_1-1_0_20250410-115954.log (19.5 KB)
could you please visit Jetson Linux R32.7.6 | NVIDIA Developer to download [Driver Package (BSP) Sources] package,
please refer to below to re-generate EKS image for verification. $public_sources/r32.7.6/Linux_for_Tegra/source/public/atf_and_trusty/trusty/app/nvidia-sample/hwkey-agent/CA_sample/tool/gen_ekb/example.sh
yes, because you’ll need to have unique ECID (per device) to enable disk encryption.
there’s method to create encrypted images with a generic key, Creating Encrypted Images with a Generic Key.
however, this was added by JP-5.1.3/r35.5.0 public release, which means TX2 NX cannot support disk encryption with a generic key.