Post OTA update jetson is failing to update bootloader or switch partitions

Greetings,

I am working Jetson AGX Xavier controller with two partitions. After the OTA update is successful I manually power off the unit and turn it on after 1 minute. With some of our new boards we are noticing the bootloader is not getting enough time update the bootloader after the OTA update is performed, and eventually failing to automatically switch to the updated boot slot.

Can you please help us understand the following:

  • expected boot sequence after power on.
  • are there any firmware resets that occur during bootloader update after OTA.
  • If these resets are caused by power controller on the board, can you help us understand the hardware pin that controls the reset or the configuration that controls the reset on boot up.

I am attaching the serial logs from when the bootloader update failed.
DV Unit reboot log

allspark@tegra-allspark:~$ ▒▒
▒▒▒▒main enter
SPE VERSION #: R01.00.18 Created: Jan 29 2021 @ 14:18:27
HW Function test
Start Scheduler.
in late init
▒▒
▒▒I/TC: Physical secure memory base 0x74b040000 size 0xf00000
I/TC:▒▒
▒▒388201] : [ LOG ] : L4T Sce Booted : 1.4.6▒▒
[9388820] : [ LOG ] : NvHsm Initialized
▒▒
▒▒
[9389135] : [ LOG ] : dram_ecc enabled
▒▒▒▒

[9389501] : [ LOG ] : dram ecc init success▒▒I/TC: Non-secure external DT found
I/TC: OP-TEE version: 3.22 (gcc version 9.3.0 (Buildroot 2020.08)) #2 Fri Oct 18 20:01:21 UTC 2024 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check Porting guidelines — OP-TEE documentation documentation
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
▒▒
Jetson UEFI firmware (version 202210.4-a5ac12d7-dirty built on 2024-06-28T10:05:17+00:00)

▒▒I/TC: Reserved shared memory is disabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are disabled
▒▒

Jetson UEFI firmware (version 202210.4-a5ac12d7-dirty built on 2024-06-28T10:05:
17+00:00)
ESC to enter Setup.
F11 to enter Boot Manager Menu.
Enter to continue boot.
▒▒

▒▒▒▒main enter
SPE VERSION #: R01.00.18 Created: Jan 29 2021 @ 14:18:27
HW Function test
Start Scheduler.
in late init
▒▒
▒▒I/TC: Physical secure memory base 0x74b040000 size 0xf00000
I/TC▒▒
[9386787] : [ LOG ] : L4T Sce Booted : 1.4.6▒▒: ▒▒
[9387409] : [ LOG ] : NvHsm Initialized
▒▒ ▒▒
[9387727] : [ LOG ] : dram_ecc enabled
▒▒
▒▒
[9388095] : [ LOG ] : dram ecc init success▒▒I/TC: Non-secure external DT found
I/TC: OP-TEE version: 3.22 (gcc version 9.3.0 (Buildroot 2020.08)) #2 Fri Oct 18 20:01:21 UTC 2024 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check Porting guidelines — OP-TEE documentation documentation
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
▒▒
Jetson UEFI firmware (version 202210.4-a5ac12d7-dirty built on 2024-06-28T10:05:17+00:00)

▒▒I/TC: Reserved shared memory is disabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are disabled
▒▒

Jetson UEFI firmware (version 202210.4-a5ac12d7-dirty built on 2024-06-28T10:05:
17+00:00)
ESC to enter Setup.
F11 to enter Boot Manager Menu.
Enter to continue boot.
** WARNING: Test Key is used. **

L4TLauncher: Attempting Direct Boot
▒▒I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
I/TC: Secondary CPU 4 initializing
I/TC: Secondary CPU 4 switching to normal world boot
I/TC: Secondary CPU 5 initializing
I/TC: Secondary CPU 5 switching to normal world boot
I/TC: Secondary CPU 6 initializing
I/TC: Secondary CPU 6 switching to normal world boot
I/TC: Secondary CPU 7 initializing
I/TC: Secondary CPU 7 switching to normal world boot
▒▒[ 26.173775] Camera-FW on t194-rce-safe started
TCU early console enabled.
[ 26.240048] Camera-FW on t194-rce-safe ready SHA1=571b1d9f (crt 0.776 ms, total boot 67.080 ms)
▒▒I/TC: Reserved shared memory is disabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are disabled
▒▒[ 33.004788] using random self ethernet address
[ 33.004935] using random host ethernet address
[ 33.363759] compat: module verification failed: signature and/or required key missing - tainting kernel
[ 33.389140] using random self ethernet address
[ 33.389307] using random host ethernet address
[ 34.317334] lrdmwl_usb: probe of 1-4:1.0 failed with error -115
[ 40.881638] ieee80211 phy1: Setting 20/40 coex cap

Ubuntu 20.04.6 LTS tegra-allspark ttyTCU0

tegra-allspark login: allspark (automatic login)

Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.10.192-tegra aarch64)

please see-also Topic 306475 for the difference between cold boot and warm reboot.

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