I’m trying to flash a Jetson TX2 NX module (P3636) mounted on a Xavier NX devkit (P3518). When using the sdkmanager, or the flash.sh script from the Linux_for_Tegra archive, the result is the same: the flashing hangs at the following step:
Yes that’s my understanding: jetson-xavier-nx-devkit works, jetson-xavier-nx-devkit-emmc.conf works but jetson-xavier-nx-devkit-tx2-nx.conf hangs as described above. Is there a way to debug such a hang, could my P3636 module be dysfunctional?
are you using the native JetPack release?
did you update the bl31.bin, (i.e. the arm trusted firmware), or lk.bin, (i.e. Trusty image) for flashing the board?
please have a try to assign board information to the flash command-line and try again?
for example, $ sudo BOARDID=3636 BOARDSKU=0010 FAB=000 ./flash.sh jetson-xavier-nx-devkit-tx2-nx mmcblk0p1
The flash log is going well up to the point of hang. I am curious, when the flash hangs, does the Jetson show up with “lsusb -d 0955:”? I left it open to show all NVIDIA devices, so others might also show up (I did so because I think you have an NX dev kit but we are in the TX2 forum). Regardless of whether the Jetson shows up then with lsusb, will it continue if you briefly disconnect and reconnect the micro-B USB cable?
When the flashing hangs, lsusb -d 0955: shows: Bus 003 Device 008: ID 0955:7c18 NVIDIA Corp. APX which is identical to with what is shown before flashing.
Briefly disconnecting/reconnecting the micro USB cable when the flashing hangs doesn’t help, the flashing process is still stuck at tegrarcm_v2 --isapplet.
Here’s the dmesg log during the flashing process:
[771669.154928] usb 3-5: new high-speed USB device number 7 using xhci_hcd
[771669.371934] usb 3-5: New USB device found, idVendor=0955, idProduct=7c18, bcdDevice= 0.00
[771669.371938] usb 3-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[771669.371939] usb 3-5: Product: APX
[771669.371939] usb 3-5: Manufacturer: NVIDIA Corp.
[771676.345115] loop0: detected capacity change from 0 to 29360128
[771676.777542] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[771715.383478] usb 3-5: USB disconnect, device number 7
[771715.758426] usb 3-5: new high-speed USB device number 8 using xhci_hcd
[771715.975835] usb 3-5: New USB device found, idVendor=0955, idProduct=7c18, bcdDevice= 0.00
[771715.975841] usb 3-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[771715.975842] usb 3-5: Product: APX
[771715.975843] usb 3-5: Manufacturer: NVIDIA Corp.
[771715.975844] usb 3-5: SerialNumber: 00000
Is the host PC a VM? This too could cause a failure, but the lsusb is correct, so I doubt this would even matter, but need to ask. Can you say more about the host PC itself, including if there is a USB HUB, and if the HUB has other devices on it?
No I’m using a native Linux install (Guix System) and the Xavier devkit is connected directly to my PC using an USB-C to micro USB cable. I’m able to flash other Jetson boards such as the Nano, Nano EMMC and Xavier NX which makes me think that the problem is directly related to the TX2 NX module itself.