Enabling Secure Boot on Jetson Xavier NX Without EEPROM Access

Currently, I only want to test with three Jetson devices. I managed to run one, but it encountered the following error:

��I/TC: Reserved shared memory is disabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are disabled
E/TC:? 0 jetson_user_key_pta_uefi_vars_auth:920 UEFI variable auth key not set !
E/TC:? 0 stmm_handle_variable_authentication:910 Failed to get signed CMAC ffff0008

ASSERT [FvbNorFlashStandaloneMm] /dvs/git/dirty/git-master_linux/out/nvidia/optee.t194-uefi/StandaloneMmOpt)

I tried Method link, but it didn’t work. Here is my process:

echo "5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" > kek2.key
echo "00000000000000000000000000000000" > sym2_t194.key
 ./example.sh
cp eks_t194.img ../Linux_for_Tegra/bootloader/.
cp sym2_t194.key ../Linux_for_Tegra/.
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash --showlogs -p "-c bootloader/t186ref/cfg/flash_l4t_t194_qspi_p3668.xml" jetson-xavier-nx-devkit-emmc mmcblk0p1
sudo ./flash.sh --no-flash -k A_eks jetson-xavier-nx-devkit-emmc mmcblk0p1
sudo cp bootloader/eks_t194_sigheader.img.encrypt ./tools/kernel_flash/images/internal/.
sudo ROOTFS_ENC=1 ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs --no-flash -i ./sym2_t194.key -c ./tools/kernel_flash/flash_l4t_t194_nvme_rootfs_enc.xml jetson-xavier-nx-devkit-emmc mmcblk0p1
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs --flash-only
cd bootloader
sudo bash ./flashcmd.txt

However, when I ran the last command:

sudo bash ./flashcmd.txt

I received the following error:

minhvo@minhvo-MS-7D17:~/DATA2/15.Secure_boot_Jetson/5.1.4_secure/Linux_for_Tegra/bootloader$ sudo bash ./flashcmd.txt
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
 

 Entering RCM boot

[   0.0000 ] rcm boot with presigned binaries
[   0.0000 ] Boot Rom communication
[   0.0018 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_1_encrypt.rcm --rcm rcm_2_encrypt.rcm
[   0.0023 ] BR_CID: 0xe802191164649800140000000cff8280
[   0.7993 ] Bootrom returned error 19
[   1.6119 ] Boot Rom communication failed
[   1.6119 ] 
Error: Return value 19
Command tegrarcm_v2 --chip 0x19 0 --rcm rcm_1_encrypt.rcm --rcm rcm_2_encrypt.rcm

I need help troubleshooting this device error, and then I would like to proceed with testing on two more devices. Afterward, please guide me on how to perform mass production (with over 20 Jetson devices).