How to set partition config xml file to auto format the UDA partition

I have data partition as below, and I want format/erase the data partition every time programming.
may I know any attribute or setting can be done to format data partition to ext4 reprogramming, currently when reprogram, data partition is not erased.
thanks

        <partition name="UDA" type="data">
            <allocation_policy> sequential </allocation_policy>
            <filesystem_type> basic </filesystem_type>
            <size> 1825361100800 </size>
            <file_system_attribute> 0 </file_system_attribute>
           <allocation_attribute> 0x808 </allocation_attribute>
            <percent_reserved> 0 </percent_reserved>
            <align_boundary> 16384 </align_boundary>
            <description> **Required.** This partition may be mounted and used to store user
              data. </description>
        </partition>

Hi jiangpen,

Are you using the devkit or custom board for AGX Orin?
What’s the Jetpack version in use?

What do you mean about “every time programming”?
Do you mean that you want to erase this partition after reflashing?

@KevinFFF I am using the custom board for Orin, and Jetpack is Jetson Linux 32.7.1 .
Now when I reprogram the board, the UDA (data partition ) is not erased and keep untouched.
I want reflash the board, the data partition also erase and clear . thanks

It is not the expected result to me since AGX Orin may not work with R32.7.1.
Please share the result of the following command on your board.

$ cat /etc/nv_boot_control.conf
$ cat /etc/nv_tegra_release

How did you flash the board?
As my understanding, the current flash process will erase/format the disk so that your custom data in UDA would not be preserved.

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