Unable to upgrade orin from 35.1 to 35.4

0.system info

Filesystem 1K-blocks Used Available Use% Mounted on
none 15497564 0 15497564 0% /dev
tmpfs 15634720 52 15634668 1% /dev/shm
tmpfs 3126944 26700 3100244 1% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 15634720 0 15634720 0% /sys/fs/cgroup
/dev/nvme0n1p1 464293624 72689528 367949596 17% /
tmpfs 3126944 16 3126928 1% /run/user/124
tmpfs 3126944 0 3126944 0% /run/user/0

/etc/nv_boot_control.conf
TNSPEC 3701-500-0004-G.0-1-1-y-c8-agx-orin-351-
COMPATIBLE_SPEC 3701–0004–1–y-c8-agx-orin-351-
TEGRA_LEGACY_UPDATE false
TEGRA_BOOT_STORAGE nvme0n1
TEGRA_EMMC_ONLY false
TEGRA_CHIPID 0x23
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0

1.modify /etc/apt/sources.list.d/nvidia-l4t-apt-source.list
deb https://repo.download.nvidia.com/jetson/common r35.4 main
deb https://repo.download.nvidia.com/jetson/t234 r35.4 main
2.apt update
3.apt dist-update
Setting up nvidia-l4t-bootloader (35.4.1-20230801124926) …
Warning: Cannot get compatible board name.
3701–0004–1–y-c8-agx-orin-351-
Info. Active boot storage: nvme0n1
Info. Legacy mode: false
TNSPEC 3701-500-0004-G.0-1-1-y-c8-agx-orin-351-
COMPATIBLE_SPEC 3701–0004–1–y-c8-agx-orin-351-
TEGRA_LEGACY_UPDATE false
TEGRA_BOOT_STORAGE nvme0n1
TEGRA_EMMC_ONLY false
TEGRA_CHIPID 0x23
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0
Info: Write TegraPlatformCompatSpec with 3701–0004–1–y-c8-agx-orin-351-.
Error: uuid of esp is not found.
ERROR. Mount active boot media’s esp failed.
Cannot install capsule package. Exiting…
dpkg: error processing package nvidia-l4t-bootloader (–configure):
installed nvidia-l4t-bootloader package post-installation script subprocess returned error exit status 1
Setting up nvidia-l4t-kernel (5.10.120-tegra-35.4.1-20230801124926) …
Using the existing boot entry ‘primary’
Warning: Cannot get compatible board name.
3701–0004–1–y-c8-agx-orin-351-
Info. Active boot storage: nvme0n1
Info. Legacy mode: false
TNSPEC 3701-500-0004-G.0-1-1-y-c8-agx-orin-351-
COMPATIBLE_SPEC 3701–0004–1–y-c8-agx-orin-351-
TEGRA_LEGACY_UPDATE false
TEGRA_BOOT_STORAGE nvme0n1
TEGRA_EMMC_ONLY false
TEGRA_CHIPID 0x23
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0
Info: Write TegraPlatformCompatSpec with 3701–0004–1–y-c8-agx-orin-351-.
Starting kernel post-install procedure.
ERROR. Failed to get number of rootfs slots. Exiting…
dpkg: error processing package nvidia-l4t-kernel (–configure):
installed nvidia-l4t-kernel package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of nvidia-l4t-kernel-headers:
nvidia-l4t-kernel-headers depends on nvidia-l4t-kernel (= 5.10.120-tegra-35.4.1-20230801124926); however:
Package nvidia-l4t-kernel is not configured yet.

dpkg: error processing package nvidia-l4t-kernel-headers (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-l4t-jetson-io:
nvidia-l4t-jetson-io depends on nvidia-l4t-kernel (>> 5.10.120-tegra-35.4-0); however:
Package nvidia-l4t-kernel is not configured yet.
nvidia-l4t-jetson-io depends on nvidia-l4t-kernel (<< 5.10.120-tegra-35.5-0); however:
Package nvidia-l4t-kernel is not configured yet.

dpkg: error processing package nvidia-l4t-jetson-io (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-l4t-display-kernel:
nvidia-l4t-display-kernel depends on nvidia-l4t-kernel (= 5.10.120-tegra-35.4.1-20230801124926); however:
Package nvidia-l4t-kernel is not configured yet.

dpkg: error processing package nvidia-l4t-display-kernel (–configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of nvidia-l4t-kernel-dtbs:
nvidia-l4t-kernel-dtbs depends on nvidia-l4t-kernel (= 5.10.120-tegra-35.4.1-20230801124926); however:
Package nvidia-l4t-kernel is not configured yet.

dpkg: error processing package nvidia-l4t-kernel-dtbs (–configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
nvidia-l4t-bootloader
nvidia-l4t-kernel
nvidia-l4t-kernel-headers
nvidia-l4t-jetson-io
nvidia-l4t-display-kernel
nvidia-l4t-kernel-dtbs
E: Sub-process /usr/bin/dpkg returned an error code (1)

nvidia apt-source can only work for NV devkit case. Your board name seems indicating your are using a custom board.

Trying to apt-get upgrade on custom board will just fail or may lead this board fails to boot.

So you cannot use apt-get upgrade on it.

請問對於上面的comment有理解嗎…


Do you understand my previous comment?

Yes, I know, but is there a way to try it? Using sdkmanager will take a lot of time

In current situation, no other way to make apt-get upgrade work.
At least the debian package from NV does not support it.

Also, as I already said, doing this on your board will possibly cause it fail to boot…

OK,thanks

Are you able to check on your boot disk the size of esp partition ? If less than 64 MiB, you might try to boot from another disk (or do that plugging the NVME disk into a recent Linux host) and adjust layout to increase esp partition from gparted, then reboot to NVME and retry the upgrade.

Note that it might sucess in upgrading, but if some other boot partitions have insufficient sizes you may face some problems later. Better save any code/data and perform a brand new flash as advised by @WayneWWW.

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