Nv-l4t-bootloader-config systemd service fails

Hi,

According to the log, the OTA updated successfully.

Does that nv-l4t-bootloader-config service always fail after reboot?

Yes.

Hi Honey_Patouceul,

Looks like we’ve found the reason.

Actually the service run successful. This service is used to update QSPI images, but your device is Xavier, no QSPI, so the service will exit directly. But our code issues “exit 1” for it, then the system supposed it as a failure.

We’ve pushed a new patch in nv-l4t-bootloader-config.sh to set the exit 1 to “exit 0”.

--- a/rfs/opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh
+++ b/rfs/opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh
@@ -92,7 +92,7 @@
 	# installed_deb_ver=32.2.0-20190514154120
 	installed_deb_ver="$(dpkg -l | grep "${PACKAGE_NAME}" | awk '/'${PACKAGE_NAME}'/ {print $3}')"
 	if [ "${installed_deb_ver}" == "" ]; then
-		exit 1
+		exit 0
 	fi
 
 	# 2. get main deb_version
@@ -205,7 +205,7 @@
 		-x "${T186REF_UPDATER}" ]]; then
 		read_t186ref_qspi_ver_info
 	else
-		exit 1
+		exit 0
 	fi
 
 	if update_qspi_check; then
1 Like

Hi Wayne,

Thanks, it worked.
Not sure if this affects all Xavier or only a particular hw version.

Thanks anyway for the fix not requiring a reflash.

It should only affect Nano and NX.