Hi, I flashed my AGX Xavier using Ubuntu 20.04 with JetPack 5.1.5 (L4T R35.6.1).
I followed the steps below to generate keys and fuse the device:
sudo su
cd ~/nvidia/nvidia_sdk/JetPack_5.1.5_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/
openssl genrsa -out rsa_priv.pem 3072
openssl rand -hex 16 > sbk.key
openssl rand -hex 16 > kek2.key
Then I tried fusing with the private key, SBK key, and KEK2 key:
sudo ./odmfuse.sh -i 0x19 -k rsa_priv.pem -S sbk.key --KEK2 kek2.key --test jetson-xavier
frm_odmfuse1.log (155.5 KB)
But I got the following error:
*** Calculating HASH from keyfile ... done
PKC HASH: 0xd8923..........f028c
Error: Unsupported SBK keysize 15
I fixed this by adding “0x” the SBK key from:
7ea2aecd2790f51a6b08091ce49c2c8f
to:
0x7ea2aecd2790f51a6b08091ce49c2c8f
After that, the fuse commands worked:
sudo ./odmfuse.sh -i 0x19 -k rsa_priv.pem -S sbk.key --KEK2 kek2.key --test jetson-xavier
sudo ./odmfuse.sh -i 0x19 -k rsa_priv.pem -S sbk.key --KEK2 kek2.key jetson-xavier
frm_odmfuse2.log (94.1 KB)
Then I flashed the board with signed binaries:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash \
-u rsa_priv.pem -v sbk.key jetson-xavier mmcblk0p1
frm_no_flash.log (248.3 KB)
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only \
-u rsa_priv.pem -v sbk.key jetson-xavier mmcblk0p1
frm_flash_only.log (63.7 KB)
However, after flashing is complete, the Xavier doesn’t boot (no UART or HDMI output).
What step might I have missed?
Any help would be appreciated. Thanks!