Flashing via eth0

Hello

I am trying to flash my jatson orin nano via lan cable eth (instead of usb) using the following command:

sudo ROOTFS_AB=1 ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_nvme_rootfs_ab.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --showlogs --network eth0:192.168.13.248/24:192.168.13.202 jetson-orin-nano-devkit internal

If my device is not in force recovery (no jumper set) i get the error

No devices to flash

If I put it in force_recovery mode using the jumper I get stuck on:


  •                                 *
    
  • Step 3: Start the flashing process *
  •                                 *
    

Waiting for device to expose ssh …

ip a on my jatson gives me the following output:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 16:8d:f2:02:96:a9 brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 48:b0:2d:ec:08:a4 brd ff:ff:ff:ff:ff:ff
altname enP8p1s0
inet 192.168.13.248/24 brd 192.168.13.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet6 fe80::e61f:fa61:9bf5:f3d/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether cc:47:40:31:4b:11 brd ff:ff:ff:ff:ff:ff
altname wlP1p1s0
5: l4tbr0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 5e:8d:be:7c:60:f1 brd ff:ff:ff:ff:ff:ff
6: rndis0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master l4tbr0 state DOWN group default qlen 1000
link/ether 5e:8d:be:7c:60:f1 brd ff:ff:ff:ff:ff:ff
7: usb0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master l4tbr0 state DOWN group default qlen 1000
link/ether 5e:8d:be:7c:60:f3 brd ff:ff:ff:ff:ff:ff

Am I missing something?

Any help is highly appriciated
Kind Regards

It is not possible to use ethernet to flash.

The more detailed story is that when in recovery mode the Jetson becomes a custom USB device. Only the USB driver can change the Jetson in that state. In a normal flash over USB, when the Jetson completes the flash, it automatically reboots. The optional software is then installed over ssh, which is over any network, but it is no longer flashing. It’s simply installing via commands over ssh.

Once flashed and fully booted a Nano will provide an emulated network device on the micro-OTC USB connector if a micro-B USB cable is plugged in. This is one ethernet route for installing extra software, but it cannot flash. The actual ethernet is another network route for installing extra software, but this too is incapable of actual flash. All of these are for installing optional components (e.g., CUDA) and are actually unrelated to flash.

Some Jetsons have eMMC memory, and in addition to a partition with the operating system, those models have the equivalent of a BIOS and boot content in other partitions. Other models (e.g., Nano developer kits) do not have eMMC memory. These latter models have QSPI memory on the module, plus the SD card on the module, and the QSPI would have the equivalent of the BIOS and boot content, while the SD card would have the operating system (Linux). For either module, flash updates the equivalent of BIOS content plus boot content. For the eMMC model, flash also updates the operating system partition. For QSPI models (such as the Nano developer’s kit), many people update or prepare the SD card separately, and flash is only for QSPI (there are both prebuilt images for the SD card).

The QSPI content must be compatible with the release of the SD card content. It would be common for a Nano dev kit to arrive with a version of QSPI content too old for the most recent prebuilt SD card content, in which case you’d then want to flash the QSPI. In other cases a new SD card will “just work”, or instead of a prebuilt SD card image, JetPack/SDK Manager might be used to create a new SD card image.

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