Hi,
I’ve solved my problem by changing the configuration file. There is no configuration file that exists for AB partition on the orin nano devkit with nvme SSD. the nvme SSD is the only medium I can install images on because there’s no SD card slot on the devkit.
I changed flash_t234_qspi_nvme.xml
which is the configuration file used for the devkit-nvme.
I added this before the secondary_gpt
partition tag and everything works as intended. OTA update AB works.
<partition name="APP_b" id="17" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> APPSIZE </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<align_boundary> 16384 </align_boundary>
<percent_reserved> 0 </percent_reserved>
<unique_guid> APPUUID_b </unique_guid>
<filename> APPFILE_b </filename>
<description> **Required.** Contains the rootfs. This partition must be defined
after `primary_GPT` so that it can be accessed as the fixed known special device
`/dev/mmcblk1p2`. </description>
</partition>