【Reproduction】
- Write nv-jetson-nano-sd-card-image-r32.3.1/sd-blob-b01.img into 32GB sd card.
- OTA update.
Tegra Linux Driver - Error occurs.
after ubuntu launched,
sudo apt update
apt list --upgradable
sudo apt upgrade
sudo reboot
sudo vi /etc/apt/sources.list.d/nvidia-l4t-apt-source.list
sudo apt update
sudo apt dist-upgrade
terminal log:
Setting up nvidia-l4t-apt-source (32.4.2-20200408182156) ...
Configuration file '/etc/apt/sources.list.d/nvidia-l4t-apt-source.list'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** nvidia-l4t-apt-source.list (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/apt/sources.list.d/nvidia-l4t-apt-source.list ...
Setting up nvidia-container-csv-cudnn (8.0.0.145-1+cuda10.2) ...
Installing new version of config file /etc/nvidia-container-runtime/host-files-for-container.d/cudnn.csv ...
Setting up jetson-gpio-common (2.0.8) ...
Setting up uff-converter-tf (7.1.0-1+cuda10.2) ...
Setting up nvidia-l4t-kernel (4.9.140-tegra-32.4.2-20200408182156) ...
Setting up fwupd (1.2.10-1ubuntu2~ubuntu18.04.3) ...
Installing new version of config file /etc/fwupd/daemon.conf ...
Installing new version of config file /etc/fwupd/remotes.d/lvfs-testing.conf ...
Installing new version of config file /etc/fwupd/remotes.d/lvfs.conf ...
Installing new version of config file /etc/fwupd/remotes.d/vendor.conf ...
Installing new version of config file /etc/fwupd/uefi.conf ...
fwupd-offline-update.service is a disabled or a static unit not running, not starting it.
Setting up libcudnn8-dev (8.0.0.145-1+cuda10.2) ...
update-alternatives: using /usr/include/aarch64-linux-gnu/cudnn_v8.h to provide /usr/include/cudnn.h (libcudnn) in manual mode
Setting up cuda-cusparse-10-2 (10.2.89-1) ...
Setting up cuda-cuobjdump-10-2 (10.2.89-1) ...
Setting up cuda-cusolver-10-2 (10.2.89-1) ...
Setting up nvidia-l4t-oem-config (32.4.2-20200408182156) ...
Setting up cuda-misc-headers-10-2 (10.2.89-1) ...
Setting up nvidia-l4t-weston (32.4.2-20200408182156) ...
Installing new version of config file /etc/xdg/weston/weston.ini ...
Setting up cuda-curand-10-2 (10.2.89-1) ...
Setting up cuda-cudart-10-2 (10.2.89-1) ...
Setting up cuda-npp-10-2 (10.2.89-1) ...
Setting up nvidia-l4t-jetson-io (32.4.2-20200408182156) ...
Setting up cuda-cufft-dev-10-2 (10.2.89-1) ...
Setting up fwupdate (12-7~ubuntu18.04.3) ...
Setting up nvidia-l4t-kernel-dtbs (4.9.140-tegra-32.4.2-20200408182156) ...
Setting up nvidia-l4t-bootloader (32.4.2-20200408182156) ...
3448-300---1--jetson-nano-qspi-sd-mmcblk0p1
Starting bootloader post-install procedure.
ERROR. Procedure for bootloader update FAILED.
Cannot install 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 cuda-libraries-10-2 (10.2.89-1) ...
Setting up cuda-memcheck-10-2 (10.2.89-1) ...
Setting up python3-jetson-gpio (2.0.8) ...
Setting up vpi (0.2.0) ...
update-alternatives: warning: alternative /opt/nvidia/vpi/vpi-0.1/lib/libnvvpi.so.0.1.0 (part of link group vpi) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/vpi is dangling; it will be updated with best choice
update-alternatives: using /opt/nvidia/vpi-0.2 to provide /opt/nvidia/vpi (vpi) in auto mode
Setting up cuda-nvrtc-dev-10-2 (10.2.89-1) ...
Setting up cuda-driver-dev-10-2 (10.2.89-1) ...
Setting up cuda-npp-dev-10-2 (10.2.89-1) ...
Setting up cuda-nvdisasm-10-2 (10.2.89-1) ...
Setting up cuda-nvml-dev-10-2 (10.2.89-1) ...
Setting up cuda-nvgraph-dev-10-2 (10.2.89-1) ...
Setting up nvidia-l4t-3d-core (32.4.2-20200408182156) ...
Setting up cuda-nvcc-10-2 (10.2.89-1) ...
Setting up python-jetson-gpio (2.0.8) ...
Setting up cuda-nvprof-10-2 (10.2.89-1) ...
Setting up cuda-cusparse-dev-10-2 (10.2.89-1) ...
Setting up cuda-compiler-10-2 (10.2.89-1) ...
Setting up fwupd-signed (1.10~ubuntu18.04.3+1.2.10-1ubuntu2~ubuntu18.04.3) ...
Setting up nvidia-l4t-kernel-headers (4.9.140-tegra-32.4.2-20200408182156) ...
Unpacking kernel headers...
Setting up cuda-curand-dev-10-2 (10.2.89-1) ...
Setting up nvidia-l4t-cuda (32.4.2-20200408182156) ...
Setting up nvidia-l4t-multimedia (32.4.2-20200408182156) ...
Setting up cuda-cusolver-dev-10-2 (10.2.89-1) ...
Setting up nvidia-l4t-camera (32.4.2-20200408182156) ...
Setting up vpi-dev (0.2.0) ...
update-alternatives: warning: alternative /opt/nvidia/vpi/vpi-0.1/include/vpi (part of link group vpi-dev) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/vpi-dev is dangling; it will be updated with best choice
update-alternatives: using /opt/nvidia/vpi-0.2/include/vpi to provide /usr/include/vpi (vpi-dev) in auto mode
Setting up libvisionworks (1.6.0.501) ...
Setting up cuda-gdb-10-2 (10.2.89-1) ...
Setting up libnvinfer7 (7.1.0-1+cuda10.2) ...
Setting up cuda-cudart-dev-10-2 (10.2.89-1) ...
Setting up nvidia-l4t-graphics-demos (32.4.2-20200408182156) ...
Setting up libvisionworks-sfm (0.90.4.501) ...
Setting up libvisionworks-dev (1.6.0.501) ...
Setting up libnvinfer-plugin7 (7.1.0-1+cuda10.2) ...
Setting up libvisionworks-tracking (0.88.2.501) ...
Setting up fwupdate-signed (12-7~ubuntu18.04.3) ...
Setting up libnvparsers7 (7.1.0-1+cuda10.2) ...
Setting up nvidia-l4t-gstreamer (32.4.2-20200408182156) ...
Setting up libnvonnxparsers7 (7.1.0-1+cuda10.2) ...
Setting up cuda-libraries-dev-10-2 (10.2.89-1) ...
Setting up python-libnvinfer (7.1.0-1+cuda10.2) ...
Setting up libnvinfer-doc (7.1.0-1+cuda10.2) ...
Setting up vpi-samples (0.2.0) ...
Setting up libnvinfer-bin (7.1.0-1+cuda10.2) ...
Setting up nvidia-container-csv-visionworks (1.6.0.501) ...
Installing new version of config file /etc/nvidia-container-runtime/host-files-for-container.d/visionworks.csv ...
Setting up cuda-samples-10-2 (10.2.89-1) ...
Setting up python3-libnvinfer (7.1.0-1+cuda10.2) ...
Setting up cuda-cupti-10-2 (10.2.89-1) ...
Setting up libvisionworks-samples (1.6.0.501) ...
Setting up libnvinfer-dev (7.1.0-1+cuda10.2) ...
Setting up cuda-documentation-10-2 (10.2.89-1) ...
Setting up libvisionworks-sfm-dev (0.90.4.501) ...
Setting up libnvinfer-plugin-dev (7.1.0-1+cuda10.2) ...
Setting up cuda-cupti-dev-10-2 (10.2.89-1) ...
Setting up libnvparsers-dev (7.1.0-1+cuda10.2) ...
Setting up cuda-command-line-tools-10-2 (10.2.89-1) ...
Setting up libnvonnxparsers-dev (7.1.0-1+cuda10.2) ...
Setting up libvisionworks-tracking-dev (0.88.2.501) ...
Setting up python3-libnvinfer-dev (7.1.0-1+cuda10.2) ...
Setting up python-libnvinfer-dev (7.1.0-1+cuda10.2) ...
Setting up cuda-tools-10-2 (10.2.89-1) ...
Setting up libnvinfer-samples (7.1.0-1+cuda10.2) ...
Setting up tensorrt (7.1.0.16-1+cuda10.2) ...
Setting up cuda-toolkit-10-2 (10.2.89-1) ...
Setting up nvidia-l4t-jetson-multimedia-api (32.4.2-20200408182156) ...
Setting up nvidia-container-csv-tensorrt (7.1.0.16-1+cuda10.2) ...
Installing new version of config file /etc/nvidia-container-runtime/host-files-for-container.d/tensorrt.csv ...
Setting up nvidia-container-csv-cuda (10.2.89-1) ...
Installing new version of config file /etc/nvidia-container-runtime/host-files-for-container.d/cuda.csv ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for nvidia-l4t-kernel (4.9.140-tegra-32.4.2-20200408182156) ...
Errors were encountered while processing:
nvidia-l4t-bootloader
E: Sub-process /usr/bin/dpkg returned an error code (1)
【log】
cat /opt/ota_package/bl_update_payload.log
Error. Version number is corrupted. Exiting...
BLOB PATH:
/opt/ota_package/t21x/bl_update_payload
SPEC: 3448-300---1-0-jetson-nano-qspi-sd-mmcblk0p1
Compatible SPEC: 3448-300---1--jetson-nano-qspi-sd-mmcblk0p1
[R]eading 65,536 bytes of /dev/mtdblock0 at offset 4,128,768
[R]eading 65,536 bytes of /dev/mtdblock0 at offset 4,128,768
[R]eading 65,536 bytes of /dev/mtdblock0 at offset 4,128,768
VER number: 0
[R]eading 65,536 bytes of /dev/mtdblock0 at offset 4,128,768
[R]eading 65,536 bytes of /dev/mtdblock0 at offset 4,063,232
VER_b number: 0
[R]eading 65,536 bytes of /dev/mtdblock0 at offset 4,063,232
blob ver number: 320402
cat /etc/nv_boot_control.conf
TNSPEC 3448-300---1-0-jetson-nano-qspi-sd-mmcblk0p1
COMPATIBLE_SPEC 3448-300---1--jetson-nano-qspi-sd-mmcblk0p1
TEGRA_CHIPID 0x21
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0
md5sum result:
md5sum /usr/sbin/l4t_payload_updater_t210
166db10942db4df38311edfe28cc282e /usr/sbin/l4t_payload_updater_t210
md5sum /opt/ota_package/t21x/bl_update_payload
aaacb4404caf5f5b126fc2569dccb5cd /opt/ota_package/t21x/bl_update_payload
【Question】
I don’t understand what I made a mistake.
Does anyone know what I did wrong?