fix oob128 do release copy 1234/2
authorSnickerSun <snickersun@163.com>
Mon, 21 Oct 2024 09:25:09 +0000 (17:25 +0800)
committerSnickerSun <snickersun@163.com>
Mon, 21 Oct 2024 09:25:09 +0000 (17:25 +0800)
autobuild.sh
code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/mkyaffs2tool.py
tools/scripts/unyaffs2tool_singleuser.py

index f84916b..fe463dd 100755 (executable)
@@ -6,6 +6,7 @@ HOMEDIR=$PWD
 DEFAULT_BUILD_TYPE=release
 DEFAULT_TARGET_PACK_NAME=pack_brandy_native_js
 DEFAULT_APPLICATION_NAME=brandy-native-js
+DEFAULT_SSB_NAME=brandy-ssb
 DEFAULT_TARGET_PACK_NAME_USER=pack_brandy_native_js_user
 DEFAULT_APPLICATION_NAME_USER=brandy-native-js-user
 DEFAULT_CUSTOM_FW_VERSION=1.3.71
@@ -48,6 +49,7 @@ if [ "$1" == "oob128" ]
 then
 TARGET_PACK_NAME=pack_brandy_native_js_oob128
 APPLICATION_NAME=brandy-native-js-oob128
+DEFAULT_SSB_NAME=brandy-ssb-oob128
 BUILD_NAME=_OOB128
 fi
 
@@ -109,9 +111,9 @@ cp_releasepackage()
        recovery_path=$package_dir/brandy-native-js-r/recovery.bin
        recoveryelf_path=$package_dir/brandy-native-js-r/recovery.elf 
        recoverylst_path=$package_dir/brandy-native-js-r/recovery.lst
-       ssb_path=$package_dir/brandy-ssb/ssb.bin
-       ssbelf_path=$package_dir/brandy-ssb/ssb.elf 
-       ssblst_path=$package_dir/brandy-ssb/ssb.lst
+       ssb_path=$package_dir/$DEFAULT_SSB_NAME/ssb.bin
+       ssbelf_path=$package_dir/$DEFAULT_SSB_NAME/ssb.elf 
+       ssblst_path=$package_dir/$DEFAULT_SSB_NAME/ssb.lst
        
        dspmain_path=$HOMEDIR/code/sdk/tools/pkg/bin/brandy/dsp/normal/dsp_main.bin
        dspoverlay_path=$HOMEDIR/code/sdk/tools/pkg/bin/brandy/dsp/normal/dsp_overlay.bin
index 8a6bb3b..d20637d 100644 (file)
@@ -43,10 +43,11 @@ partition_list = [
     [os.path.join(cur_dir, 'fs', 'update'), "0xcc0000"],
     [os.path.join(cur_dir, 'fs', 'music'), "0xcc0000"],
     [os.path.join(cur_dir, 'fs', 'user'), "null"]
-]
+    ]
+
 partition_list_single = [
     [os.path.join(cur_dir, 'fs', 'user'), "null"]
-]
+    ]
 
 # 将生成image文件转换大小端,保存成另外文件
 def convert(src_file, dest_file):
index bf2652a..752c487 100644 (file)
@@ -49,7 +49,7 @@ partition_list = [
     # ["system","0x0", "0xcc0000"],
     # ["update","0xcc0000","0xcc0000"],
     # ["music", "0x1980000","0xcc0000"],
-    ["user", "0x2640000","null"]
+    ["user", "0x0","null"]
 ]
 
 # 将生成image文件转换大小端,保存成另外文件