How to set the APP_b partition of Jetson TX2 NX to a different size from the APP partition

I have customized a smaller root file system to be used as the redundant root file system, so I want to reduce the size of the APP_b partition and increase the size of the APP partition, but in flash_l4t_t186_rootfs_ab.xml the APP and APP_b partitions are defined to be the same size.

Blockquote

<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
APPSIZE
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<align_boundary> 4096 </align_boundary>
<unique_guid> APPUUID </unique_guid>
APPFILE
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/mmcblk0p1.


<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
APPSIZE
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<align_boundary> 4096 </align_boundary>
<unique_guid> APPUUID_b </unique_guid>
APPFILE_b
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/mmcblk0p2.

I can only increase or decrease them both in p3636.conf.common.I tried to change it directly to the following, but this did not succeed in burning the image

Blockquote

<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
0X280000000
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<align_boundary> 4096 </align_boundary>
<unique_guid> APPUUID </unique_guid>
APPFILE
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/mmcblk0p1.


<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
0X100000000
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<align_boundary> 4096 </align_boundary>
<unique_guid> APPUUID_b </unique_guid>
APPFILE_b
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/mmcblk0p2.

What should I do?

hello 17679339172,

may I know what’s the actual use-case? ideally, the size of APP and APP_b should be identical.

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