Initrd flash to NVME for Jetson Xavier NX is failing

Hi,
I tried to follow the security documentation for flashing Jetpack 4.6.3 with secure boot package to Jetson Xavier NX and the device is not booting up at all (black screen)!

The steps I did:
•Installed the Secure Boot package.
•Generated the RSA key-pair.
•Prepared the SBK key and the user key .
•Burned the fuses: sudo ./odmfuse.sh -i 0x19 -k pkc.pem -S sbk.xml --KEK2 kek2.xml jetson-xavier-nx-devkit
•Followed the README_initrd_flash workflow 10 example 2:

$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash -u pkc.pem -v sbk.xml jetson-xavier-nx-devkit-qspi internal
$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash \
             -u pkc.pem -v sbk.xml \
            --external-device nvme0n1p1 \
            -S 8GiB -c ./tools/kernel_flash/flash_l4t_nvme.xml \
            --external-only --append jetson-xavier-nx-devkit external

•Flash the signed boot image files after putting the device in RCM.

$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only

Here is also the
flash_1-1_0_20230208-110657.log (51.8 KB)

So what did I miss here?

Hi ismail.elashry,

Are you using the devkit or custom board?

It looks fine from flash log.
Could you help to provide the serial console log for further check?

Thanks @KevinFFF for the reply.
I’m using a custom board from Auvedia JNX33.

I re-run the flashing commands above once again, here is the serial logs:

$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash -u pkc.pem -v sbk.xml jetson-xavier-nx-devkit-qspi internal

and that’s the console log :
no-flash_internal.log (222.4 KB)

Then ran this command:

$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash \
             -u pkc.pem -v sbk.xml \
            --external-device nvme0n1p1 \
            -S 8GiB -c ./tools/kernel_flash/flash_l4t_nvme.xml \
            --external-only --append jetson-xavier-nx-devkit external

and that’s the console log:
no-flash_external.log (165.8 KB)

Then this command:

$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only

and the serial logs:
flash.log (1.6 KB)

and also the initrd logs:
flash_1-1_0_20230213-135702.log (65.6 KB)

Hi @ismail.elashry

You didn’t provide any serial log here. All your logs are host side log. What we want to check is device side log.

Hi @WayneWWW,
Can you please let me know how to access the device serial logs ?

Please ask your board vendor.

We can only tell you how to dump log from devkit.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.