Hi,
in the flash_l4t_t194_spi_emmc_p3668_rootfs_ab.xml
, the secure-os_b
and RECNAME
partitions have the start_location
parameter set which is aligned to 0x100000
:
<partition name="secure-os_b" type="tos" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x386100000 </start_location> <!-- aligned to 0x100000 -->
<size> 2621440 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> TOSFILE </filename>
<description> **Required.** Chain B; contains the trusted OS. </description>
</partition>
...
<partition name="RECNAME" type="kernel">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x38CA00000 </start_location> <!-- aligned to 0x100000 -->
<size> RECSIZE </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Contains recovery image. </description>
<filename> RECFILE </filename>
</partition>
I have a huge gap in front of the secure-os_b
and would like to reduce this gap to gain more space for the UDA partition. Is it safe to remove the start_location
elements so that they start right after the previous partitions? Or is a gap and/or the alignement necessary?