Right, I understand you want me to test flashing the eMMC, I apologize, I was trying to verify I’m able to check what firmware level is once we get through the process.
Thanks for the clarification on where its getting stuck and the pointer to the https://developer.ridgerun.com/ serial console detail. That confirms I’m reading the right content.
Ok the flash of only the eMMC using the SDK Manager worked.
The conditions were
rpcbind.service, rpcbind.socket, and rpcbind.target were still disabled/stopped from previous troubleshooting (due to error message previous to the nfs mount failure in my previous attempts)
the FAQ recommendation item was applied to address the USB timeout echo -1 > /sys/module/usbcore/parameters/autosuspend
Before the flash
Jetson UEFI firmware (version 4.1-33958178 built on 2023-08-01T19:34:02+00:00)
Linux version 5.10.120-tegra (buildbrain@mobile-u64-6422-d7000) (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot 3
After the flash
Jetson System firmware version 36.4.3-gcid-38968081 date 2025-01-08T01:18:20+00:
Linux version 5.15.148-tegra (buildbrain@mobile-u64-6336-d8000) (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot )
Ok so I’m assuming that I need to follow what is detailed at the beginning of that Quick Start article to get this to work (failed first attempt below, going back and doing steps 1-5 from that doc)
agrajag@tor-XPS:~/nvidia$ cd ./nvidia_sdk/JetPack_6.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/
agrajag@tor-XPS:~/nvidia/nvidia_sdk/JetPack_6.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml --showlogs --network usb0
jetson-agx-orin-devkit external
Please install the Secureboot package to use initrd flash for fused board
# Entry added by NVIDIA initrd flash tool
/home/agrajag/nvidia/nvidia_sdk/JetPack_6.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/tools/kernel_flash/tmp 127.0.0.1(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
Job for nfs-server.service canceled.
and then followed steps 3-5 to put the unit back in recovery mode
verified with lsusb the unit was ready
agrajag@tor-XPS:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0bda:568b Realtek Semiconductor Corp. Integrated_Webcam_HD
Bus 001 Device 005: ID 04f3:20d0 Elan Microelectronics Corp. Touchscreen
Bus 001 Device 004: ID 0cf3:e301 Qualcomm Atheros Communications
Bus 001 Device 021: ID 0955:7023 NVIDIA Corp. APX
Bus 001 Device 014: ID 0955:7045 NVIDIA Corp. Tegra On-Platform Operator
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I have not formatted the nvme, it was mentioned it should not be in some other post I found when troubleshooting originally
/etc/exports exists and can be removed
I’m going to boot into the AGX Orin unit and format the nvme ssd as ext4, and then attempt to re-run the l4t_initrd_flash.sh script with those conditions in place and will update
Could you look into your “l4t_initrd_flash.sh” and see why it keeps going into the logic of “Please install the Secureboot package to use initrd flash for fused board” even though you already got “odmsign.func” on your host PC?
Also, just to clarify. I notice you didn’t get one point. The “secureboot package” is for Jetson secure boot. We totally don’t care about whether your host PC has secure boot or not.
Your attempt of checking "mokutil " on your host PC is not needed.
Yep I did pick that up on the secureboot config of system not needed.
I was thinking maybe the l4t_flash_prerequisits.sh and apply_binaries.sh might act differently when seceureboot was present, but it made no difference.
With regard to the script, line numbering turned on in content below:
50 check_prerequisite()
51 {
...
...
80 # Temporary disable until secureboot rcm boot is fixed - Bug 200727134
81 if ! [ -f "${BOOTLOADER_DIR}/odmsign.func" ] && [ "${flash_only}" = "0" ]; then
82 echo "Please install the Secureboot package to use initrd flash for fused board"
83 # exit 1
84 fi
85
86 if [ "${no_flash}" = "0" ]; then
87 network_prerequisite "${network}" "${LINUX_BASE_DIR}"
88 fi
89
90 }
It’s almost like there is an expectation of an environment being established that provides that (and other) values to the script I’m not seeing. I’ll keep looking
Sorry in advance if I didn’t fully understand your comment.
If that “Please install the Secureboot package to use initrd flash for fused board” error by default didn’t stop the flash process, then please go further to check which line stops the flash process on your side.
@WayneWWW it appears the script is failing to properly provide the needed path for the check_prerequisite() function, per the work evaluating it above by inserting the debug. I have reached a dead end.
So where did your flash script stop if we don’t care about that “Please install the Secureboot package to use initrd flash for fused board” print.
It looks like “exit 1” is added by you and original one got commented out, so I believe the script still runs down. Where did it stop if running the original script? or it didn’t run down further?
I mean forget about whether that BOOTLOADER_DIR is present or not. It looks like that is just a print. Not really where the process stops?
The only script modification I made is lines 82 and 83 from the example I shared, the exit on line 85 is the original one that was present in the script. It was already commented out and allows the flow it to continue to the “if [ “${no_flash}” = “0” ]; then” statement which we see the output in the original message.
The script stops within the check_prerequisite() function (line #50 from a few posts back). That is where the failure is taking place.
In the version of the script I’m working in, on line 80 it has the comment # Temporary disable until secureboot rcm boot is fixed - Bug 200727134
What is that referring to? It seems like in the 6.2 SDK manager distribution, this script was modified for this condition. That was part of the reason I was focusing on Secureboot in general as being a possible missing factor.
In January, I started attempting this from multiple hyperV based hosts I set up. I discovered that its impossible to do from virtual ubuntu guests from forums posts here. I then set up a dual boot workstation in early February but had to give back to my coworker, and then finally from a laptop that has ubuntu installed by the manufacturer (dell) before attempting to reach out here for help.