Mass Flashing Orin NX 16GB

I am using Orin NX 16GB with NVME SSD. I am able to flash single device but I want to do Mass Flash. Can you help me to know how do i flash multiple devices via ethernet protocol. And how do I get the target IP, as the new SSD having no OS image.

This is what i found inside Linux_for_Tegra/tools/kernel_flash/README_initrd_flash.txt

Use --network if you want the flash process to happen through Ethernet protocol
instead of USB protocol.

can be “usb0” when flashing using ethernet protocol through the usb
flashing cable or “eth0:/:” when flashing using
ethernet protocol through the RJ45 cable.

Can you provide me commands to flash multiple devices( mass flash) via ethernet protocol.

This is what I use for flashing single device:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml --no-systemimg” --showlogs --network usb0 p3509-a02+p3767-0000 internal

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_nvme.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --showlogs --network usb0 p3767 external

Hi,

They are mostly the same.
You just add --no-flash --massflash <x>, so it’d be like:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
     -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" \ 
     --no-flash --massflash <x> \
     --showlogs --network usb0 p3509-a02+p3767-0000 internal

The above command generates the massflash package, then you connect all of your devices, and flash the image actually into devices with:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash <x> --network usb0

I want to flash my device via ethernet instead of usb. How do i find target IP which having no OS image.
This is what i found inside Linux_for_Tegra/tools/kernel_flash/README_initrd_flash.txt

Use --network if you want the flash process to happen through Ethernet protocol
instead of USB protocol.

can be “usb0” when flashing using ethernet protocol through the usb
flashing cable or “eth0:/:” when flashing using
ethernet protocol through the RJ45 cable.

The main challenge for me is to find the target ip.
Please provide me mass flashing command for ethernet protocol instead of usb.

Hi,

This will not work with Massflash because you will get different IP addresses with different Ethernet cables.
Flashing with a Ethernet cable will only work for one device.

Understood… How do i find the target IP for one device having no OS Image for flashing via Ethernet protocol

There is no such thing.
Maybe plug in the cable to another workind device.

Also, you stll need the USB cable to be plugged in, even if you specify flashing to happen via Ethernet.
The Ethernet cable is only effective after the device boots into kernel, and everything prior to this still has to be done via USB cable.