Flash only flashing method to flash Jetson Orin nano

Hi,

I am using Jetson Orin Nano with L4T 3.6.3 and trying to flash the BSP to the board using flash only method, however it is failing.

I used below command to prepare the system image:

sudo BOARDID=3767 FAB=300 BOARDSKU=0003 BOARDREV=P.1 ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash jetson-orin-nano-devkit internal

Then I tried to flash using below command and it throws the error as attached.

Can you please provide me the correct command to prepare a flashable image and the a flash only command to flash it.

Where can I check if my pre-image is created or not?

I am using NVME to flash the BSP using USB cable.

*** Please note that this reply is generated by LLM automatically ***

Based on the provided context, I’ll help you troubleshoot the issue and provide the correct commands to prepare a flashable image and flash it to your Jetson Orin Nano board.

Preparing the system image:

The command you used to prepare the system image is almost correct. However, you need to specify the --external-device option to indicate that you’re using an NVMe drive. Here’s the corrected command:

sudo BOARDID=3767 FAB=300 BOARDSKU=0003 BOARDREV=P1 tools/kernel_flash/l4t_initrd_flash.sh --no-flash --external-device nvme0n1p1 jetson-orin-nano-devkit internal

This command will prepare the system image for flashing to the NVMe drive.

Flashing the image:

To flash the prepared image, you can use the following command:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --external-device nvme0n1p1 jetson-orin-nano-devkit internal

This command will flash the prepared image to the NVMe drive.

Verifying the pre-image creation:

To verify if the pre-image is created, you can check the output of the --no-flash command. If the command completes successfully, it will create a boot.img file in the bootloader directory. You can also check the bootloader directory for the presence of the boot.img file.

Additionally, you can use the ls command to check if the boot.img file is present in the bootloader directory:

ls bootloader/boot.img

If the file is present, it indicates that the pre-image creation was successful.

Troubleshooting tips:

  1. Make sure that the NVMe drive is properly connected to the Jetson Orin Nano board.
  2. Verify that the nvme0n1p1 device is present in the system by running the lsblk command.
  3. Check the output of the --no-flash command for any errors or warnings.
  4. If you’re still facing issues, try using the --showlogs option with the --flash-only command to get more detailed logs.

I hope this helps you resolve the issue and successfully flash the BSP to your Jetson Orin Nano board.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

Hi,

Please try

  1. Generate image
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -p "-c ./bootloader/generic/cfg/flash_t234_qspi.xml" -c ./tools/kernel_flash/flash_l4t_t234_nvme.xml --showlogs --network usb0 --no-flash jetson-orin-nano-devkit external
  1. flash
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs --network usb0 --flash-only
1 Like

thanks this is helpful.

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