Hi,
With TX2 I have A/B + redundancy ON.
Here’s my smd_info.cfg
#
# Config 1: Disable A/B support (Default)
#
# slot info order is important!
# <priority> <suffix> <retry_count> <boot_successful>
#15 _a 7 1
#
# Config 2: Enable redundancy support (by removing comments ##)
#
< REDUNDANCY_USER 1 >
# slot info order is important!
# <priority> <suffix> <retry_count> <boot_successful>
15 _a 7 1
14 _b 7 1
I also have rootfs A/B and the same image flashed on APP and APP_B partitions. The rootfs partitions switching is done in u-boot.
Each partition has the same payload file copied at /opt/ota_package/bl_update_payload
I’m now installing the same payload on top of the existing.
At the first boot I can see A/B being configured properly and slot 0 is active
~ # nvbootctrl dump-slots-info
magic:0x43424e00, version: 3 features: 3 num_slots: 2
slot: 0, priority: 15, suffix: _a, retry_count: 7, boot_successful: 1
slot: 1, priority: 14, suffix: _b, retry_count: 7, boot_successful: 1
Then I apply the update
~ # nv_update_engine -i
Nvidia A/B-Redundancy Update tool Version 1.2
current slot 0
Start updating slot 1
…
Update successful
Setting slot 1 as active boot slot
Rebooting system…10.9.8.7.6.5.4.3.2.1
The system reboots on slot 1
~ # nvbootctrl dump-slots-info
magic:0x43424e00, version: 3 features: 3 num_slots: 2
slot: 0, priority: 0, suffix: _a, retry_count: 0, boot_successful: 0
slot: 1, priority: 15, suffix: _b, retry_count: 7, boot_successful: 1
But then the replication fails
~# nv_update_engine -v
Nvidia A/B-Redundancy Update tool Version 1.2
verifying update
The current slot 1 is marked as boot successful
SM: S22
Previous update on slot 0 failed
How can I know why?
Note: I’m using L4T 32.0 but had to use the cboot sources for 28.2 since the sources are missing for 32.2.