After flashing the gui gets stucks after hardware configuration

I created a LinuxforTegra directory and packaged it as a tar file. When I extract the L4T and flash it on the same host PC, everything works fine. However, if I use the same package and extract it on a different PC, it gets stuck during the process. I can log into the system using UART and complete the initial setup, but when I plug in the HDMI, it hangs.

I checked the permissions of the OEM configuration files, and there seems to be no issue there. Here are the commands I used to create and extract the package:

sudo tar -jcvpf quick_start.tar.bz2 Linux_for_Tegra/
sudo tar -jxvpf quick_start.tar.bz2

Could this be related to permission issues, or is there something else I should investigate? Any insights would be greatly appreciated!

Hi there @abisheak.p and welcome to the NVIDIA developer forums.

Which Jetson platform are you using? We have dedicated forum categories for Jetson and with that information I could refer you to the best fitting one.

Thanks!

Hi @MarkusHoHo , I am using nvidia AGX orin 32 GB model

NVIDIA Jetpack and L4T Version
JP_5.1.2 & L4T_35.4.1

1 Like

Hi abisheak.p,

Are you using the devkit or custom board for AGX Orin?

Do you mean that the issue is specific to your 2nd host PC?

Have you referred to Quick Start — Jetson Linux Developer Guide documentation (nvidia.com) to setup the BSP package and rootfs on your host PC again?

Please also share the full serial console log for us to check the hang issue.

Hi @KevinFFF

  • For first point the issue is recreating in both the development kit and the custom board for the AGX Orin.
  • The issue is not limited to a single host PC; when I share the L4T tarball created on one PC (running Ubuntu 22.04) to another PC (running Ubuntu 20.04), it also gets stuck. I only copy the images and device tree binaries (DTBs) to the L4T and modules, and I’ve confirmed that the problem persists even when the binaries are excluded. The HDMI drivers are working correctly.
  • Regarding the third point, we consistently use the same steps to set up our Board Support Package (BSP) and root filesystem (rootfs).
  • Will there be any changes to the tarball or L4T if the package is prepared on a different Ubuntu version and shared or copied to other ubuntu versions, such as from 22.04 to 20.04?
    logs from the stuck PC taken from uart
    journalctl_log.txt (447.3 KB)
    dmesh_log.txt (138.6 KB)

Do you mean that you have different Ubuntu release for 2 host PC?

Could you try using the following command to compress/extract the BSP package?

$ sudo tar cpf quick_start.tar.tbz2 Linux_for_Tegra/
$ sudo tar xpf quick_start.tar.tbz2

I prepare my L4T tar file on an Ubuntu 22.04 host, but when I share it with another PC running Ubuntu 20.04 or a different version, I encounter issues. I’ll checked with the new command to compress/extract the BSP package, still the issue presisit when the package is used on other host pc with different ubuntu version.

Hi! @abisheak.p

Are you able to connect via ssh in the PC with no GUI?

Thanks,

Oscar Fallas
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: https://www.ridgerun.com/

I am only able to connect via UART. I not able to connect via SSH.

Could you check if the following directory exists on your PC with no GUI

/lib/modules/5.10.120/extra

This directory contains the necessary modules to up the GUI.

Regards,

Oscar Fallas
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: https://www.ridgerun.com/

Hi @oscar.fallas @KevinFFF
I checked the path and found that the nvidia.ko, nvidia-drm.ko, and nvidia-modeset.ko drivers are already loaded. Even after unloading them and using modprobe to reload the drivers, as well as restarting the displaymanager.service, the GUI still fails to start.

I noticed that the nv-oem-config-gui.service is failing, and this failure is caused by the nv-l4t-usb-device-mode.service.

Logs regarding the service:
nvidia-desktop nv-l4t-usb-device-mode-stop.sh[10337]: rmdir: faii
led to remove ‘l4t/functions/mass_storage.0/’: No such file or directory
Sep 30 18:26:49 nvidia-desktop nv-l4t-usb-device-mode-stop.sh[10339]: rmdir: faii
led to remove ‘l4t/functions/acm.GS0/’: No such file or directory
Sep 30 18:26:49 nvidia-desktop nv-l4t-usb-device-mode-stop.sh[10341]: rmdir: faii
led to remove ‘l4t/functions/rndis.usb0/’: No such file or directory
Sep 30 18:26:49 nvidia-desktop nv-l4t-usb-device-mode-stop.sh[10343]: rmdir: faii
led to remove ‘l4t/configs/c.1/’: No such file or directory
Sep 30 18:26:49 nvidia-desktop nv-l4t-usb-device-mode-stop.sh[10344]: rmdir: faii
led to remove ‘l4t/strings/0x409’: No such file or directory
Sep 30 18:26:49 nvidia-desktop nv-l4t-usb-device-mode-stop.sh[10345]: rmdir: faii
led to remove ‘l4t’: No such file or directory

I checked and found that by disabling the nv-l4t-usb-device-mode.service before flashing, I was able to get the GUI working when “Auto Login” is enabled. However, if I disable Auto Login, the GUI fails to start.
However, when I flashed the same package on an Ubuntu 22.04 host PC, the services did not encounter any issues.
is the flash script depend on any Host PC ubuntu dependent ?

Hi @abisheak.p

I think you could try installing Linux_for_Tegra using the sdkmanager from a x86 host to see if the problem repeats. Here you have a complete guide how to do it in a Jetson AGX Orin .

Thanks,

Oscar Fallas
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: https://www.ridgerun.com/

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