How to use flash.sh to flash app to new partition

I have add new partition except rootfs partition , And how to use flash.sh to flash app to new partition?

hello 673765403,

you’ll need to customize the partition layouts to add a new partition,
after that, please also update flash.sh to add your new partition into target_partname.
for example,
it’s selection of the APP partition,

if [ "${target_partname}" != "" ]; then
...
        APP)
                if [ ${disk_enc_enable} -eq 0 ]; then
                        target_partfile="${localsysfile}";
                else
                        target_partfile="${localsysbootfile}";
                fi;
                ;;

it is effective

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