Hello! I’m trying to upgrade my massflash script to include rootfs encryption with Jetpack 4.6. In README_massflash.txt it says that it’s possible to generate massflash blob with no security or secure boot. I was wondering if it’s possible to generate the massflash blob with simple EKB encryption without secure boot.
These are the steps I’m flashing single device at the time. The goal is to make this massflash-able.
- Generate ekb key from trusty_src/trusty/app/nvidia-sample/hwkey-agent/CA_sample/tool/gen_ekb
cp eks.img ~/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_TX2_TARGETS/Linux_for_Tegra/bootloader/eks.img
cp sym2.key ~/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_TX2_TARGETS/Linux_for_Tegra/sym2.key
- Flash Jetson with this command:
sudo ROOTFS_ENC=1 ./flash.sh -i "./sym2.key" jetson-xavier-nx-devkit-tx2-nx internal
How would I do this for massflash? It doesn’t look like ROOTFS_ENC=1 and EKB key parameters are used for nvmassflashgen.sh
EDIT: Is that true that you can’t use massflash with eMMC encryption?