Hey there,
I’m currently facing an issue regarding flashing speed of a Jetson Orin NX 16GB with the Orin Nano devkit.
I have successfully managed to clone a rootfs and I am trying to flash it in to a newer board with some custom made partitions for factory data.
The flash goes on as expected but the writting speed of 3MB/s is to slow even for USB2.0, considering a 20G APP image. Are this speeds normal? Is there any way to speedup the flashing?
Copied 109 bytes from /mnt/internal/qspi_bootblob_ver.txt to address 0x03fe0000 in flash
00:04:29.187 - Debug: Writing gpt_secondary_3_0.bin (parittion: secondary_gpt) into /dev/mtd0
00:04:29.194 - Debug: Sha1 checksum matched for /mnt/internal/gpt_secondary_3_0.bin
00:04:29.197 - Debug: Writing /mnt/internal/gpt_secondary_3_0.bin (16896 bytes) into /dev/mtd0:67091968
650362880 bytes (650 MB, 620 MiB) copied, 207 s, 3.1 MB/sCopied 16896 bytes from /mnt/internal/gpt_secondary_3_0.bin to address 0x03ffbe00 in flash
00:04:29.230 - Info: Successfully flashed the QSPI.
3095322624 bytes (3.1 GB, 2.9 GiB) copied, 1036 s, 3.0 MB/s
My flashing command is the following: (partitions.xml it’s flash_l4t_t234_nvme.xml with an user defined partition and adjusted UDA size.)
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --external-device nvme0n1p1 -c tools/kernel_flash/partitions.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit external
Checking the USB Bus it shows 480M for NVIDIA Corp. I’ve already checked the cable and the bus.
matias@matiasPC ~/ lsusb -tv
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 5: Dev 55, If 1, Class=CDC Data, Driver=rndis_host, 480M
ID 0955:7035 NVIDIA Corp.
|__ Port 5: Dev 55, If 0, Class=Communications, Driver=rndis_host, 480M
ID 0955:7035 NVIDIA Corp.
|__ Port 8: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
ID 13d3:5415 IMC Networks
|__ Port 8: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
ID 13d3:5415 IMC Networks
|__ Port 9: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M
ID 06cb:00bd Synaptics, Inc.
|__ Port 10: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
ID 8087:0026 Intel Corp.
|__ Port 10: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
ID 8087:0026 Intel Corp.