My Jetson Xavier NX is not booting anymore. I wrote a new image (Jetson Xavier NX Developer Kit SD Card Image) on a brand new micro SD card , and I am still stuck on the same screen when I boot the jetson Xavier NX
“bash: cannot set terminal process group (-1): Inappropriate ioctl for device” , so I believe my only solution is to re-flash with jetpack. Yes I am booting it on recovery mode.
###############################################################################
copying soft_fuses(/media/aya/new100gb/JetPack_4.4_DP_Linux_DP_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)… done.
./tegraflash.py --chip 0x19 --applet “/media/aya/new100gb/JetPack_4.4_DP_Linux_DP_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/mb1_t194_prod.bin” --skipuid --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg --bins “mb2_applet nvtboot_applet_t194.bin” --cmd “dump eeprom boardinfo cvm.bin;reboot recovery”
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
###############################################################################
Error: probing the target board failed.
Make sure the target board is connected through
USB port and is in recovery mode.
I am using a data USB cable , and as I only have a MacBook pro , I tried with Virtualbox with ubuntu 16 and ubuntu 18 , and with vmware fusion with ubuntu 16 and 18 , and with USB 2 and USB 3 , bridged or wifi network, nothing worked.
No GUI. You just run the same ./flash.sh command. In fact, you may want to download it in the VM and try it in case there’s something goofy with the SDK manager.
do you have an idea how to share the usb port with docker ?
here is what I have when I lsusb on the mac :
Bus 020 Device 044: ID 0955:7e19 NVIDIA APX Serial: 00000
fail with
[ 3.3171 ] CPU Bootloader is not running on device.
[ 3.3268 ]
Error: Return value 4
On the mac, with docker , when I try
docker run -it --device bus/usb/020/026 ubuntu bash
it fail with
docker: bus/usb/020/026 is not an absolute path.
I even tried to share the usb port with NOMACHINE with my lab computer 8000km from here which is running native ubuntu 18 , but it also failed with the same error message (even though percentage showed 50% , don’t know why maybe it was just slower…)
thx for trying, didn’t work. I tried it on virtualbox and on vmware and nomachine, same error each time : CPU Bootloader is not running on device
I also tried with a third USB cable, same.
on mac there is no /dev/usb , it says
docker: Error response from daemon: error gathering device information while adding custom device “/dev/bus/000/030”: no such file or directory.
what is strange is that the first time after reboot on recovering mode the jetson and trying the flash.sh , the sequence is significatively longer before it fail, but after that , each try with flash.sh is only 3 line (see my first post), so I guess it is communicating somehow with the board …
EDIT : I also tried Parallels Desktop with Ubuntu 18 , with USB2 and USB3 , no luck, exactly the same…
Frustrating I’ll bet. One thing I noticed in my testing yesterday is that any attempt that is even partially successful leaves the NX in a state where you can’t continue without powering off then powering on again in recovery mode.
I did find this blog post…
I didn’t realize that on Mac Docker runs in a VM. Maybe that blog post will help although if vbox didn’t work on it’s own maybe it won’t work here either.
So I finally got my hand on a PC laptop, I booted it under Ubuntu 18 and tried flash.sh , same result and same error message. Guess I don’t have other option that to return it to nvidia and buy another one …
If you wander how I got there , it was an apt-get update and upgrade , I was SSHing it so I got the trace of the suspicious line :
Warning: couldn’t identify filesystem type for fsck hook, ignoring.
I: The initramfs will attempt to resume from /dev/zram1
and this :
Setting up gir1.2-nm-1.0:arm64 (1.10.6-2ubuntu1.4) …
Setting up nvidia-l4t-bootloader (32.4.2-20200429224812) …
3668----1–jetson-xavier-nx-devkit-mmcblk0p1
Starting bootloader post-install procedure.
Update bootloader completed.
Reboot the target system for changes to take effect.
I don’t know why the hell the dist-upgrade was updating my firmware and my bootloader.
I was trying to update OPENCV to get the camera work with python3 …
dist-upgrade is a confusing alias for full-upgrade. (Confusing because it sounds like it might upgrade your distro to the next version, but it never does this).
The OTA updates can update the bootloader, but that shouldn’t break your system. If I were you I would wait for a response from Nvidia before returning the device, since they may be able to suggest something.
In any case, If it is a issue that can’t be fixed, you can RMA it it directly to Nvidia and they will send you a new one. If somehow the bootloader update from Nvidia did to break the system they may want to do a post mortem anyway. That really shouldn’t happen.
So, if you hook up a USB serial adapter to the UART TXD and UART RXD pins on the NX’s button header and reboot as normal, what do you get? Depending on the error and where it happens, there may be an alternative. The output will be a little different than your original post with the display connected.
I got the same issue today and can’t even trust that @iliesaya reach the same issue as mine.
We use a custom docker based image to flash our Xavier NX over custom baseboard. Our rootfs was customized for a previous JP 35.4.5 and all nvidia .deb was for this version.
Our Dockerfile just take the latest JP 35.5.2 and rootfs mentioned above and proceed to build our kernel, dtb, build custom drivers, update pinmux, customize l4t_initrd and then expose flash.sh. - pls note without applying binaries as the rootfs was already prepared with .deb version from 32.4.5.
The rootfs get the /etc/apt/source… configured with t194 r32.5.
Flash was working everytime during days w/o issues using this method and finally we decided to update the latest .deb as @iliesaya did through apt update/upgrade.
While doing it I noticed clearly at this time the nvidia-l4t-bootloader update… After rebooting, the Xavier NX was not starting, I tried many times to switch to recovery mode and re-flash and got the same error mentioned by @iliesaya
Nvidia ? Pls advice on this and confirm we need to RMA ?