Hi,
We want new partition for log with 400MB(419430400),
add the item log ater the APP at the file: bootloader/t186ref/cfg/flash_t194_sdmmc.xml
<partition name="APP" 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>
<unique_guid> APPUUID </unique_guid>
<filename> APPFILE </filename>
<description> **Required.** Contains the rootfs. This partition must be defined after
`primary_gpt` so it can be accessed as the fixed known special device
`/dev/mmcblk0p1`. </description>
</partition>
<partition name="log" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 419430400 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<align_boundary> 4096 </align_boundary>
<percent_reserved> 0 </percent_reserved>
<description> /dev/mmcblk0p2 </description>
</partition>
flash.sh sudo ./flash.sh -r jetson-xavier mmcblk0p1
[ 13.2913 ] tegradevflash_v2 --oem platformdetails storage storage_info.bin
[ 13.2942 ] Bootloader version 01.00.0000
[ 13.2978 ] Saved platform info in storage_info.bin
[ 13.2994 ]
[ 13.2995 ] Flashing the device
[ 13.3040 ] tegraparser_v2 --storageinfo storage_info.bin --generategpt --pt flash.xml.bin
[ 13.3069 ] End sector for RECROOTFS, expected at: 61079518, actual: 61233839
[ 13.3078 ]
Error: Return value 4
Command tegraparser_v2 --storageinfo storage_info.bin --generategpt --pt flash.xml.bin
Failed flashing t186ref.
but we change the partition log size from 400MB to 200MB(209715200), no any errors.
thanks,