How to perform a bup upgrade for the added custom partition?

I added a new partition in flash.xml

    <partition name="data" type="data">
        <allocation_policy> sequential </allocation_policy>
        <filesystem_type> basic </filesystem_type>
        <size> DATASIZE </size>
        <file_system_attribute> 0 </file_system_attribute>
        <allocation_attribute> 0x8 </allocation_attribute>
        <percent_reserved> 0 </percent_reserved>
        <align_boundary> 4096 </align_boundary>
        <filename> DATAFILE </filename>
        <description> **Required.** system data. </description>
    </partition>
    <partition name="data_b" type="data">
        <allocation_policy> sequential </allocation_policy>
        <filesystem_type> basic </filesystem_type>
        <size> DATASIZE </size>
        <file_system_attribute> 0 </file_system_attribute>
        <allocation_attribute> 0x8 </allocation_attribute>
        <percent_reserved> 0 </percent_reserved>
        <align_boundary> 4096 </align_boundary>
        <filename> DATAFILE </filename>
        <description> **Required.** system data_b. </description>
    </partition>

How do I add a bup upgrade for this data partition?

Hi,

BUP update is only for partitions with bootloader stuff, and is fixed in the script.
I don’t know what you mean with doing BUP update on a data partition.

Hello,

I don’t have enough space to upgrade the app_b partition. I want to update the applications on my board by creating some small partitions.

Can you be more specific about your usecase?

I don’t think we support stuff like this.

I want to upgrade bup through remote upgrade and also upgrade some service programs, configurations, keys.

As I said, what you can done with BUP upgrade is fixed, and it only updates bootloader stuff.
Or do a whole OTA and pack your APP stuff in advance so they are included in the OTA image.

Can I upgrade my newly created data_b partition like I upgraded APP_b?

You may need to go through and modify l4t_update_partitions.sh and l4t_generate_ota_package.sh yourself.

Thank you, I’ll study it

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