Hi,
The manual states “File system redundancy is disabled by default because only one file system partition (APP) is created. NVIDIA can provide guidance on enabling file system redundancy.” so here I am.
I have created 3 new partitions
<partition name="APP_b" 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> 4096 </align_boundary>
<percent_reserved> 0 </percent_reserved>
<filename> APPFILE </filename>
</partition>
<partition name="overlay" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 8053063680 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> overlay.img </filename>
</partition>
<partition name="overlay_b" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 8053063680 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x808 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> overlay.img </filename>
</partition>
APP_b for the second slot file system image. overlay and overlay_b are used for factory reset and overlaid on top of their respective file system. There’s 2 of them to allow for user settings migration script during the updates.
Where can I assign the partition label to a partition number so that the correct partition number would be set in the boot parameters?
Currently u-boot sets the root partition as
root=/dev/mmcblk${@uboot_var('devnum')}p${@uboot_var('distro_bootpart')}
and even if the second slot is enabled, /dev/mmcblk0p1 still is the root device while it should be in my case /dev/mmcblk0p32
Thanks,