Jetson AGX ORIN Install error

Hi.
I purchased the AGX ORIN devkit. At the time of purchase, Jetson 5.1.2 was already installed on my EMMC, but I would like to install Jetson 5.1.2 on my SSD (256GB) and use the AGX ORIN devkit.
I used SDKmanager to install the software on the SSD and it failed.
Assuming that the installation errors were caused by settings and operations during installation and compatibility with SSDs, I tried the following.

  1. Prepare another SSD (512GB) and install Jetson 5.1.2 using SDKmanager. Installation error occurred.
  2. Install Jetson5.1.2 on SSD using CUI. "Flash is successful Reboot device Cleaning up…” But nothing appears on the screen.
  3. Install Jetson5.1.2 on EMMC using CUI."Flash is successful Reboot device Cleaning up…” But nothing appears on the screen.
  4. Reinstall Jetson 5.1.2 on EMMC using SDKmanager. Installation succeeded and can be used.
  5. Install Jetson5.1.3 on SSD using SDKmanager. Installation succeeded and can be used.
  6. Plug the SSD into the ORIN NANO Developer Kit and install Jetson 5.1.2 using SDKmanager. Installation succeeded and can be used.
    For CUI, I followed the procedure in the following URL.
    Quick Start — Jetson Linux Developer Guide documentation

I checked the article “Maybe your AGX Orin is a new one that has a smaller eMMC chip so old BSP does not support it.”, but since I was able to reinstall it on EMMC using the SDK, I believe there may be another cause.

How do I install JETSON 5.1.2 on an SSD?

Thank you.

Hi,
If the device cannot be flashed/booted, please refer to the page to get uart log from the device:
Jetson/General debug - eLinux.org
And get logs of host PC and Jetson device for reference. If you are using custom board, you can compare uart log of developer kit and custom board to get more information.
Also please check FAQs:
Jetson AGX Orin FAQ
If possible, we would suggest follow quick start in developer guide to re-flash the system:
Quick Start — NVIDIA Jetson Linux Developer Guide 1 documentation
And see if the issue still persists on a clean-flashed system.
Thanks!

Hi,

Please EXPORT LOGS for more information when install Jetpack 5.1.2 on SSD as shown in the image.

Have you done the OEM config before login?

Thanks

HI,DavidDDD

The exported logs from the SDK have been saved and are attached.
Please check it.
SDKM_logs_JetPack_5.1.2_Linux_for_Jetson_AGX_Orin_[64GB_developer_kit_version]_2024-11-27_10-55-30.zip (89.6 KB)

No OEM setup.

thank you

Hi,carolyuu

Sorry for taking so long to get back to you.
I had to start over several times to log…

I managed to save the file,
but if any information is missing, I will take it back again.
Please check it.
minicom.zip (24.6 KB)

Thank you.

Hi,

It might be similar topic discussed in this

Please remove the Ethernet cable in case it’s connected during flashing

Thanks

Hi, DavidDDD
Thank you for your response. I have checked the topic you submitted.
I tried flashing after removing the Ethernet cable,
The installation did not work.

The timing of my disconnecting the Ethernet cable may be different, so I will describe the procedure I performed.

  1. Put AGX into recovery mode.
  2. Start SDKmanager from the host PC.
  3. Disconnect Ethernet cable before checking accpet in STEP02.
  4. Start flash.

In addition, I attach the error log of this time.
SDKM_logs_JetPack_5.1.2_Linux_for_Jetson_AGX_Orin_[64GB_developer_kit_version]_2024-12-10_16-30-12.zip (225.9 KB)

Also, there was a confirmation of formatting in the topic, which I will answer.
My SSD is formatted with ext4.

I read in the forum that it was done via USB, so I prepared an external SSD and set it via USB, but the installation failed as well.

Thank you

Could you use the command below to export the information for our review?

# In the AGX Orin
cat /etc/nv_boot_control.conf 

Thanks

Hi, DavidDDD

Thank you for your prompt reply.
Let me confirm to make sure that , would it be sufficient to start the AGX ORIN Devkit in EMMC and run the commands you suggest?
Please point out if I am wrong.

The results of the EMMC run are attached.
AGX_ORIN_EMMC.txt (344 Bytes)

Thank you

Yes, running the suggested commands will yield the same results on any storage device.

Based on the command output you provided, 3701-501-0005, it indicates that your SKU is 0005. The SDK Manager log shows:

/Linux_for_Tegra/bootloader/t186ref/cfg/flash_t234_qspi_sdmmc.xml

This XML file contains:

<device type="sdmmc_user" instance="3" sector_size="512" num_sectors="124321792">

It appears that the SDK Manager has selected the flash_t234_qspi_sdmmc.xml configuration. Given that your SKU is 0005, it suggests that the eMMC size is smaller, which leads to the issue you mentioned. In this situation, you could apply the patch discussed in mentioned topic to resolve the problem.

Thanks

Hi,DavidDDD

I will also include the part of the description that has been changed because my work seems to be incomplete.

Referring to the topic, I have added a note at the end of the file.
Linux_for_Tegra/p3701.conf.common

# update_local_cfgfile
update_local_cfgfile()
{
	# Update "num_sectors" in local cfgfile for the device
	# with FAB=501 and BOARDSKU=0004/0005
	local local_cfgfile="${1}"
	if [ "${board_FAB}" == "501" ] && [[ "${board_sku}" == "0004" || "${board_sku}" == "0005" ]]; then
		sed -i 's/num_sectors=\"124321792\"/num_sectors=\"124190720\"/' "${local_cfgfile}"
	fi
}

I started SDKmanager and ran it after disconnecting the Ethernet cable, but could not install.
SDKM_logs_JetPack_5.1.2_Linux_for_Jetson_AGX_Orin_[64GB_developer_kit_version]_2024-12-13_14-10-17.zip (220.8 KB)

Also, since Flash.sh does not supportupdate_local_cfgfile() in the topic, I added update_local_cfgfile ${localcfgfile} to Flash.sh.

# For T194 device, mb1_b needs to have a different signed image from mb1.
# The solution here is to prepare an image with different name for mb1_b.
# Then the signing utility later will generate a different signed image for mb1_b
if [ "${tegraid}" = "0x19" ]; then
	# Create a file to store the partition layout with mb1 fix
	localcfgfile_mb1_fix_ext="${localcfgfile##*.}";
	localcfgfile_mb1_fix_name="${localcfgfile%.*}";
	localcfgfile_mb1_fix="${localcfgfile_mb1_fix_name}_mb1_fix.${localcfgfile_mb1_fix_ext}";
	mb1_b_filename="${mb1filename:0:3}_b${mb1filename:3}";
	cp "${mb1file}" "${BL_DIR}/${mb1_b_filename}";
	# Replace the mb1_b filename (the second MB1FILE)
	sed ':a;N;$!ba;s/MB1FILE/'"${mb1_b_filename}"'/2' "${cfgfile}" > "${localcfgfile_mb1_fix}"; chkerr;
	mkfilesoft cfgfile "${localcfgfile_mb1_fix}" "";
fi;

# CFGCONV is a flat string holding a bunch of flags for sed, so should not be
# quoted. Maybe need to convert CFGCONV to a list so that we can quote this.
# For now, though, disable SC2086.
cat "${cfgfile}" | limit_boot_chains | sed ${CFGCONV} > ${localcfgfile}; chkerr;

##### ADDED LINE - Replace number of sectors ######
update_local_cfgfile  ${localcfgfile}

# FLASH:
#

I started SDKmanager and ran it after disconnecting the Ethernet cable, but it failed to install as well.

SDKM_logs_JetPack_5.1.2_Linux_for_Jetson_AGX_Orin_[64GB_developer_kit_version]_2024-12-13_13-34-35.zip (219.4 KB)

Thank you

Hi,

Since you can successfully flash through the command line using the Quick Start, there might be an issue with the SDK Manager. In this case, I have two suggested options:

  1. Create a default user and use command line flash:
    • Follow the instructions for creating a default user by skipping the OEM configuration section as outlined in the documentation.
    • Follow the Quick Start and flash using command line
  2. Retry using the SDK Manager with UART log recording for further investigation:
    • To record the UART log, please refer to this documentation.
    • Start the UART record before sdk manager run.

Thanks

Hi,DavidDDD

Sorry for the delay in replying.

I understand that the only thing left to do is to implement either the SDK modification or implement it in the CUI.
The quick start in jetpack 5.1.2 doesn’t say how to write to AGX ORIN SSD, so I’m assuming you use another method such as initrdflash.
So I ran it on EMMC as a confirmation without writing to the SSD.

  1. Install from CUI to EMMC.
    Disconnect the Ethernet cable and run it.
    > $ l4t_create_default_user.sh [-u <user>] [-p <pswd>] [-n <host>] [-a]

to set the name, password, and hostname.
After that,

$ tar xf ${L4T_RELEASE_PACKAGE}
$ sudo tar xpf ${SAMPLE_FS_PACKAGE} -C Linux_for_Tegra/rootfs/
$ cd Linux_for_Tegra/
$ sudo . /apply_binaries.sh
$ sudo . /tools/l4t_flash_prerequisites.sh
$ sudo . /flash.sh jetson-agx-orin-devkit internal

Screen remains dark.

  1. Use SDKmanagaer and install on SSD.
    Disconnect the Ethernet cable and run it.
    Installation error occurs.
    Screen remains dark.
    SDKM_logs_JetPack_5.1.2_Linux_for_Jetson_AGX_Orin_[64GB_developer_kit_version]_2024-12-16_16-41-03.zip (343.6 KB)

See the minicom logs from the zip file below.
minicom.zip (51.6 KB)

Thank you

Hi,

We will do the further check with your log.
One question to confirm:

  1. can The CUI to EMMC way be able to use ssh or minicom to login?
    • For example
      • ssh nakayo@192.168.55.1

Thanks

Hi, DavidDDD

I reinstalled it in EMMC using SDKmanager.
I then started AGX and entered commands from the host PC.
Please refer to the attached document.

ssh.txt (1006 Bytes)

Thank you

Hi arg101,

It seems that the flashing process was successful. The current issue appears to be related to the monitor.
Do you have experience using ssh ?
You can perform the following tests:

  • Verify that your cable is a pure DisplayPort (DP) cable and not an adapter.
  • Use ssh to access the device while it is connected to the monitor and share the following files with us:
    • /var/log/Xorg.0.log
    • The output of lsmod saved to a file: lsmod > lsmod.txt
    • The output of dmesg saved to a file: dmesg > dmesg.txt

Thanks

Hi, DavidDDD

I have no experience with SSH.
I do not use a DP-HDMI converter cable, I use DP.

Please see the log in the zip file below.
log.zip (27.3 KB)

Thank you

Hi,

some questions to confirm,

  • Do you have other monitors to do the cross check?
  • Is the AGX Orin with JetPack 5.1.3 displaying the screen normally?

Thanks

Hi, DavidDDD

Cross checks have been performed, but I have been able to secure another monitor and cable and will be reinstalling in EMMC with CUI to cross check.

I have been able to confirm that the image appears on the monitor in the following two patterns.
・When JetPack 5.1.2 is installed on EMMC using SDKmanager.
・When JetPack 5.1.3 is installed on SSD using SDKmanager.

Nothing on the screen was a bit of a misnomer.
When installing 5.1.2 from SDKmanager to SSD,
the NVIDIA screen at startup → read → no signal.

When installed on EMMC with CUI and using a different monitor and cable
”No DP signal” is displayed on the monitor.

Thank you

Thus, is sdk manager able to flash Jetpack 5.1.2 to SSD?

Let me summarize:

  • SDK manager, EMMC, Jetpack 5.1.2 → screen display normally
  • CUI way, EMMC, Jetpack 5.1.2 → screen show nothing
  • SDK manager, SSD, Jetpack 5.1.2 → screen show nothing

Right?