I am trying to install JetPack 6.0 on a Jetson Orin Nano 8GB with the A603 carrier board, using this guide.
Earlier, I have successfully installed JetPack 5.1.2 on the same device, using the same host PC.
The host is running Ubuntu 18.04.
But flashing JetPack 6.0 fails.
It looks like nothing is flashed on the device, because everything is still working as it was before.
This is the terminal output of step 3 - 5:
terratroniq@terratroniq-HP-290-G2-MT-Business-PC:~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin$ ls
A603-JP6.0.zip
Jetson_Linux_R36.3.0_aarch64.tbz2
Tegra_Linux_Sample-Root-Filesystem_R36.3.0_aarch64.tbz2
terratroniq@terratroniq-HP-290-G2-MT-Business-PC:~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 011: ID 0955:7523 NVidia Corp.
Bus 001 Device 002: ID 145f:01e7 Trust
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
terratroniq@terratroniq-HP-290-G2-MT-Business-PC:~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin$ tar xf Jetson_Linux_R36.3.0_aarch64.tbz2
terratroniq@terratroniq-HP-290-G2-MT-Business-PC:~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin$ sudo tar xpf Tegra_Linux_Sample-Root-Filesystem_R36.3.0_aarch64.tbz2 -C Linux_for_Tegra/rootfs/
terratroniq@terratroniq-HP-290-G2-MT-Business-PC:~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin$ cd Linux_for_Tegra/
terratroniq@terratroniq-HP-290-G2-MT-Business-PC:~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra$ sudo ./apply_binaries.sh
Using rootfs directory of: /home/terratroniq/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra/rootfs
Installing extlinux.conf into /boot/extlinux in target rootfs
/home/terratroniq/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra/nv_tegra/nv-apply-debs.sh
Root file system directory is /home/terratroniq/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra/rootfs
Copying public debian packages to rootfs
Skipping installation of nvidia-igx-systemd-reboot-hooks_36.3.0-20240506102626_arm64.deb ....
Skipping installation of nvidia-l4t-dgpu-apt-source_36.3.0-20240506102626_arm64.deb ....
Skipping installation of nvidia-l4t-dgpu-config_36.3.0-20240506102626_arm64.deb ....
Skipping installation of nvidia-l4t-dgpu-tools_36.3.0-20240506102626_arm64.deb ....
Skipping installation of nvidia-l4t-dgpu-x11_36.3.0-20240506102626_arm64.deb ....
Skipping installation of nvidia-l4t-factory-service_36.3.0-20240506102626_arm64.deb ....
Skipping installation of nvidia-igx-bootloader_36.3.0-20240506102626_arm64.deb ....
Skipping installation of nvidia-l4t-jetson-orin-nano-qspi-updater_36.3.0-20240506102626_arm64.deb ....
Start L4T BSP package installation
QEMU binary is not available, looking for QEMU from host system
Found /usr/bin/qemu-aarch64-static
Installing QEMU binary in rootfs
~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra/rootfs ~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra
Installing BSP Debian packages in /home/terratroniq/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra/rootfs
qemu: Unsupported syscall: 293
qemu: Unsupported syscall: 293
qemu: Unsupported syscall: 293
qemu: Unsupported syscall: 293
Selecting previously unselected package nvidia-l4t-core.
(Reading database ... 166575 files and directories currently installed.)
Preparing to unpack .../nvidia-l4t-core_36.3.0-20240506102626_arm64.deb ...
qemu: Unsupported syscall: 293
Pre-installing... skip compatibility checking.
Unpacking nvidia-l4t-core (36.3.0-20240506102626) ...
qemu: Unsupported syscall: 293
qemu: Unsupported syscall: 293
Setting up nvidia-l4t-core (36.3.0-20240506102626) ...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
qemu: Unsupported syscall: 293
qemu: Unsupported syscall: 293
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)
qemu: Unsupported syscall: 293
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)
dpkg: error processing package libc-bin (--install):
installed libc-bin package post-installation script subprocess returned error exit status 139
qemu: Unsupported syscall: 293
Errors were encountered while processing:
libc-bin
terratroniq@terratroniq-HP-290-G2-MT-Business-PC:~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra$ sudo ./tools/l4t_flash_prerequisites.sh
Get:1 file:/var/cuda-repo-10-2-local-10.2.89-440.40 InRelease
Ign:1 file:/var/cuda-repo-10-2-local-10.2.89-440.40 InRelease
Get:2 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 InRelease
Ign:2 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 InRelease
Get:3 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local InRelease
Ign:3 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local InRelease
Get:4 file:/var/cuda-repo-ubuntu1804-10-2-local InRelease
Ign:4 file:/var/cuda-repo-ubuntu1804-10-2-local InRelease
Get:5 file:/var/visionworks-repo InRelease
Ign:5 file:/var/visionworks-repo InRelease
Get:6 file:/var/visionworks-sfm-repo InRelease
Ign:6 file:/var/visionworks-sfm-repo InRelease
Get:7 file:/var/visionworks-tracking-repo InRelease
Ign:7 file:/var/visionworks-tracking-repo InRelease
Get:8 file:/var/cuda-repo-10-2-local-10.2.89-440.40 Release [574 B]
Get:8 file:/var/cuda-repo-10-2-local-10.2.89-440.40 Release [574 B]
Get:9 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 Release [574 B]
Get:9 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 Release [574 B]
Get:10 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release [563 B]
Get:10 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release [563 B]
Get:11 file:/var/cuda-repo-ubuntu1804-10-2-local Release [564 B]
Get:11 file:/var/cuda-repo-ubuntu1804-10-2-local Release [564 B]
Hit:12 http://nl.archive.ubuntu.com/ubuntu bionic InRelease
Hit:13 http://security.ubuntu.com/ubuntu bionic-security InRelease
Get:14 file:/var/visionworks-repo Release [1999 B]
Get:14 file:/var/visionworks-repo Release [1999 B]
Get:15 file:/var/visionworks-sfm-repo Release [2003 B]
Get:15 file:/var/visionworks-sfm-repo Release [2003 B]
Hit:16 http://nl.archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:17 file:/var/visionworks-tracking-repo Release [2008 B]
Get:17 file:/var/visionworks-tracking-repo Release [2008 B]
Hit:18 http://nl.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
binfmt-support is already the newest version (2.1.8-2).
device-tree-compiler is already the newest version (1.4.5-3).
dosfstools is already the newest version (4.1-1).
python3-yaml is already the newest version (3.12-1build2).
whois is already the newest version (5.3.0).
abootimg is already the newest version (0.6-1build1).
lbzip2 is already the newest version (2.5-2).
sshpass is already the newest version (1.06-1).
binutils is already the newest version (2.30-21ubuntu1~18.04.9).
cpio is already the newest version (2.12+dfsg-6ubuntu0.18.04.4).
cpp is already the newest version (4:7.4.0-1ubuntu2.3).
libxml2-utils is already the newest version (2.9.4+dfsg1-6.1ubuntu1.9).
nfs-kernel-server is already the newest version (1:1.3.4-2.1ubuntu5.5).
openssl is already the newest version (1.1.1-1ubuntu2.1~18.04.23).
rsync is already the newest version (3.1.2-2.1ubuntu1.6).
udev is already the newest version (237-3ubuntu10.57).
uuid-runtime is already the newest version (2.31.1-0.4ubuntu3.7).
liblz4-tool is already the newest version (0.0~r131-2ubuntu3.1).
qemu-user-static is already the newest version (1:2.11+dfsg-1ubuntu7.42).
zstd is already the newest version (1.3.3+dfsg-2ubuntu1.2).
The following packages were automatically installed and are no longer required:
cuda-sanitizer-api-10-2 gir1.2-goa-1.0 gir1.2-snapd-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
terratroniq@terratroniq-HP-290-G2-MT-Business-PC:~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra$ cd ..
terratroniq@terratroniq-HP-290-G2-MT-Business-PC:~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin$ sudo unzip A603-JP6.0.zip
Archive: A603-JP6.0.zip
replace Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi
inflating: Linux_for_Tegra/bootloader/tegra234-mb1-bct-gpio-p3767-dp-a03.dtsi
inflating: Linux_for_Tegra/kernel/dtb/tegra234-p3768-0000+p3767-0003-nv.dtb
inflating: Linux_for_Tegra/kernel/dtb/tegra234-p3768-0000+p3767-0004-nv.dtb
inflating: Linux_for_Tegra/kernel/dtb/tegra234-p3768-0000+p3767-0000-nv.dtb
inflating: Linux_for_Tegra/kernel/dtb/tegra234-p3768-0000+p3767-0001-nv.dtb
inflating: Linux_for_Tegra/kernel/dtb/tegra234-p3768-0000+p3767-0000-dynamic.dtbo
inflating: Linux_for_Tegra/kernel/Image
creating: Linux_for_Tegra/rootfs/usr/lib/modules/
creating: Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-tegra/
creating: Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-tegra/kernel/
creating: Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-tegra/kernel/drivers/
creating: Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-tegra/kernel/drivers/net/
creating: Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-tegra/kernel/drivers/net/wireless/
creating: Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-tegra/kernel/drivers/net/wireless/intel/
creating: Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-tegra/kernel/drivers/net/wireless/intel/iwlwifi/
inflating: Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-tegra/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
creating: Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-tegra/kernel/drivers/net/wireless/intel/iwlwifi/mvm/
inflating: Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-tegra/kernel/drivers/net/wireless/intel/iwlwifi/mvm/iwlmvm.ko
creating: Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-tegra/kernel/drivers/net/wireless/intel/iwlwifi/dvm/
inflating: Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-tegra/kernel/drivers/net/wireless/intel/iwlwifi/dvm/iwldvm.ko
terratroniq@terratroniq-HP-290-G2-MT-Business-PC:~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 011: ID 0955:7523 NVidia Corp.
Bus 001 Device 002: ID 145f:01e7 Trust
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
terratroniq@terratroniq-HP-290-G2-MT-Business-PC:~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin$ cd Linux_for_Tegra/
terratroniq@terratroniq-HP-290-G2-MT-Business-PC:~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra$ sudo tools/l4t_create_default_user.sh -u nvidia -p nvidia -a -n nvidia-desktop --accept-license
Creating: Username - nvidia, Password - nvidia, Autologin - true
qemu: Unsupported syscall: 293
qemu: Unsupported syscall: 293
qemu: Unsupported syscall: 293
Adding user `nvidia' to group `gdm' ...
qemu: Unsupported syscall: 293
Adding user nvidia to group gdm
Done.
qemu: Unsupported syscall: 293
Adding user `gdm' to group `video' ...
qemu: Unsupported syscall: 293
Adding user gdm to group video
Done.
touch: cannot touch 'etc/nv/nvautoconfig': No such file or directory
There are a couple of things that look strange to me.
At sudo ./apply-binaries
:
qemu: Unsupported syscall: 293
Errors were encountered while processing: libc-bin
At sudo tools/l4t_create_default_user.sh -u nvidia -p nvidia -a -n nvidia-desktop --accept-license
qemu: Unsupported syscall: 293
touch: cannot touch 'etc/nv/nvautoconfig': No such file or directory
And the actual flash command (step 6) ends with (I cannot upload the entire output since it is too long):
done.
*** no-flash flag enabled. Exiting now... ***
User can run above saved command in factory environment without
providing pkc and sbk keys to flash a device
Example:
$ cd bootloader
$ sudo bash ./flashcmd.txt
Save initrd flashing command parameters to /home/terratroniq/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra/tools/kernel_flash/initrdflashparam.txt
/tmp/tmp.3Y2bYnXjW4 ~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra
writing boot image config in bootimg.cfg
extracting kernel in zImage
extracting ramdisk in initrd.img
/tmp/tmp.3Y2bYnXjW4/initrd /tmp/tmp.3Y2bYnXjW4 ~/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra
71297 blocks
cp: cannot stat '/home/terratroniq/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra/rootfs/lib/modules/5.15.136-tegra/kernel/drivers/nvme': No such file or directory
Cleaning up...
In the output (not everything uploaded) I also see:
gzip: /home/terratroniq/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra/kernel/Image: not in gzip format
cp: cannot stat '/home/terratroniq/nvidia/nvidia_sdk/JetPack_6.0_Jetson_Orin/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.136-tegra/kernel/drivers/phy/tegra/phy-tegra194-p2u.ko': No such file or directory
*** no-flash flag enabled. Exiting now... ***
Like I said above, flashing 5.1.2 using that guide on the same wiki worked fine.
Anyone have an idea what might be going wrong?