Update Jetson Xavier NX developer Kit A/B Redundancy Issue with Jetpack Linux 34.1.1

I am working with Jetson Xavier NX Developer Kit. My goal is to test A/B Filesystem Redundancy feature.
So, I try to flash the device with command below:
sudo ROOTFS_AB=1 ./flash.sh jetson-xavier-nx-devkit mmcblk0p1
But I get error below:
[ 250.3766 ] Writing partition cpu-bootloader with uefi_jetson_sigheader.bin.encrypt [ 2756608 bytes ]
[ 252.1613 ] 0000000074740204: E> NV3P_SERVER: Accessing offset 2756608 after boundary partition size 1441792
*[ 252.1977 ] *
*[ 252.1977 ] *
Error: Return value 4
Command tegradevflash_v2 --pt flash.xml.bin --create
Failed flashing t186ref.
This error makes sense because on /Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668_rootfs_ab.xml
We have:

<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
Required. Slot A; contains CBoot, the final boot stage CPU Bootloader
binary that loads the binary in the kernel partition.

And when I check /Linux_for_Tegra/bootloader/flash.xml I notice that TBCFILE is uefi_jetson.bin and its size is 2752512 > 1441792
As a fix I increase cpu-bootloader and cpu-bootloader_b size to 2752512
Then I try to flash the Jetson but I get error below
[ 14.8774 ] Flashing the device
[ 14.8809 ] tegraparser_v2 --storageinfo storage_info.bin --generategpt --pt flash.xml.bin
[ 14.8823 ] End sector for bpmp-fw_b, expected at: 65502, actual: 0
*[ 14.8825 ] *
Error: Return value 4
Command tegraparser_v2 --storageinfo storage_info.bin --generategpt --pt flash.xml.bin
Failed flashing t186ref.
I don’t know how to fix this. Welcome any help.
I see under partition name=“cpu-bootloader” description that Slot A; contains CBoot so I update /Linux_for_Tegra/p3668.conf.common hard coded TBCFILE to TBCFILE=“bootloader/cboot_t194.bin”;
Recall cboot_t194.bin is 442464 < 1441792. Unfortunately after a successful flash the system does not boot at all.
Welcome any help please

This is not support in rel-34. Will be supported in next release.

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