[Feature][task-view-1126]add T106EL-M44-A --2.add modem and packaging script

Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: Ib76a190b94eb82fd19e4ccae5317a0e5b0f613f6
diff --git a/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyGgeAmtUser_nvrwo_0x00043C00.bin b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyGgeAmtUser_nvrwo_0x00043C00.bin
new file mode 100755
index 0000000..4c6dd9f
--- /dev/null
+++ b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyGgeAmtUser_nvrwo_0x00043C00.bin
Binary files differ
diff --git a/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyGgeAmtUser_nvrwo_0x0004F000.bin b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyGgeAmtUser_nvrwo_0x0004F000.bin
new file mode 100755
index 0000000..4c6dd9f
--- /dev/null
+++ b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyGgeAmtUser_nvrwo_0x0004F000.bin
Binary files differ
diff --git a/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyLteaAmtUser_nvrwo_0x00048000.bin b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyLteaAmtUser_nvrwo_0x00048000.bin
new file mode 100755
index 0000000..f73808b
--- /dev/null
+++ b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyLteaAmtUser_nvrwo_0x00048000.bin
Binary files differ
diff --git a/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyLteaAmtUser_nvrwo_0x00053800.bin b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyLteaAmtUser_nvrwo_0x00053800.bin
new file mode 100755
index 0000000..f73808b
--- /dev/null
+++ b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyLteaAmtUser_nvrwo_0x00053800.bin
Binary files differ
diff --git a/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyWcdmaAmtUser_nvrwo_0x00045800.bin b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyWcdmaAmtUser_nvrwo_0x00045800.bin
new file mode 100755
index 0000000..2ee682c
--- /dev/null
+++ b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyWcdmaAmtUser_nvrwo_0x00045800.bin
Binary files differ
diff --git a/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyWcdmaAmtUser_nvrwo_0x00051000.bin b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyWcdmaAmtUser_nvrwo_0x00051000.bin
new file mode 100755
index 0000000..2ee682c
--- /dev/null
+++ b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phyWcdmaAmtUser_nvrwo_0x00051000.bin
Binary files differ
diff --git a/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phycom_nvrwo_0x00043400.bin b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phycom_nvrwo_0x00043400.bin
new file mode 100755
index 0000000..836bb04
--- /dev/null
+++ b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phycom_nvrwo_0x00043400.bin
Binary files differ
diff --git a/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phycom_nvrwo_0x0004EC00.bin b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phycom_nvrwo_0x0004EC00.bin
new file mode 100755
index 0000000..836bb04
--- /dev/null
+++ b/allbins/zx297520v3/prj_vehicle/nv_dc_ref/phycom_nvrwo_0x0004EC00.bin
Binary files differ
diff --git a/allbins/zx297520v3/prj_vehicle/scripts_linux/AllInOneImage_dc_ref_EL-A.ini b/allbins/zx297520v3/prj_vehicle/scripts_linux/AllInOneImage_dc_ref_EL-A.ini
new file mode 100755
index 0000000..60a26f2
--- /dev/null
+++ b/allbins/zx297520v3/prj_vehicle/scripts_linux/AllInOneImage_dc_ref_EL-A.ini
@@ -0,0 +1,36 @@
+[GeneralSetting]

+storage_type=1

+is_nv_coalition=1

+TLoaderAddr=0x80000

+

+[Output]

+FilePath=7520V3SC_VEC_DC_REF_EL-A.bin

+

+[TLoader]

+FilePath=../allbins_dc_ref_M22/tloader.bin

+

+[TBoot]

+FilePath=../allbins_dc_ref_M22/tboot.bin

+

+[Partition]

+FilePath=../allbins_dc_ref_M22/partition.bin

+

+[ProductInfo]

+FilePath=../allbins_dc_ref_M22/product.ini

+

+[Image]

+../allbins_dc_ref_M22/ap_imagefs.img

+../allbins_dc_ref_M22/ap_imagefs2.img

+../allbins_dc_ref_M22/ap_userdata.img

+../allbins_dc_ref_M22/ap_capuserdata.img

+../allbins_dc_ref_M22/cap_oemdata.img

+../allbins_dc_ref_M22/ap_rootfs.img

+../allbins_dc_ref_M22/ap_rootfs2.img

+../allbins_dc_ref_M22/ap_caprootfs.img

+../allbins_dc_ref_M22/ap_caprootfs2.img

+../allbins_dc_ref_M22/cap_oem.img

+../allbins_dc_ref_M22/cap_oem2.img

+../allbins_dc_ref_M22/flags.bin

+../allbins_dc_ref_M22/uboot.bin

+../allbins_dc_ref_M22/uboot2.bin

+../allbins_dc_ref_M22/zloader.bin

diff --git a/allbins/zx297520v3/prj_vehicle/scripts_linux/NVRWOInOneImage_dc_ref.ini b/allbins/zx297520v3/prj_vehicle/scripts_linux/NVRWOInOneImage_dc_ref.ini
index f4fe2da..da1591a 100755
--- a/allbins/zx297520v3/prj_vehicle/scripts_linux/NVRWOInOneImage_dc_ref.ini
+++ b/allbins/zx297520v3/prj_vehicle/scripts_linux/NVRWOInOneImage_dc_ref.ini
@@ -13,26 +13,34 @@
 ;xf.li@20230927 add for DRDI start

 ../allbins_dc_ref/phycom_nvrwo_0x0002C400.bin

 ../allbins_dc_ref/phycom_nvrwo_0x00037C00.bin

+../allbins_dc_ref/phycom_nvrwo_0x00043400.bin

+;../allbins_dc_ref/phycom_nvrwo_0x0004EC00.bin

 ;xf.li@20230927 add for DRDI end

 ../allbins_dc_ref/phyGgeAmtUser_nvrwo_0x00003400.bin

 ;xf.li@20230927 add for DRDI start

 ../allbins_dc_ref/phyGgeAmtUser_nvrwo_0x0002CC00.bin

 ../allbins_dc_ref/phyGgeAmtUser_nvrwo_0x00038400.bin

+../allbins_dc_ref/phyGgeAmtUser_nvrwo_0x00043C00.bin

+;../allbins_dc_ref/phyGgeAmtUser_nvrwo_0x0004F000.bin

 ;xf.li@20230927 add for DRDI end

 ../allbins_dc_ref/phyGgeCom_nvrwo_0x0000EC00.bin

 ../allbins_dc_ref/phyLteaAmtUser_nvrwo_0x00007800.bin

 ;xf.li@20230927 add for DRDI start

-../allbins_dc_ref/phyLteaAmtUser_nvrwo_0x0003C800.bin

 ../allbins_dc_ref/phyLteaAmtUser_nvrwo_0x00031000.bin

+../allbins_dc_ref/phyLteaAmtUser_nvrwo_0x0003C800.bin

+../allbins_dc_ref/phyLteaAmtUser_nvrwo_0x00048000.bin

+;../allbins_dc_ref/phyLteaAmtUser_nvrwo_0x00053800.bin

 ;xf.li@20230927 add for DRDI end

 ../allbins_dc_ref/phyLteaCom_nvrwo_0x00012C00.bin

 ../allbins_dc_ref/phyLtetxtable_nvrwo_0x0001BC00.bin

 ../allbins_dc_ref/phyTdsAmtUser_nvrwo_0x00002800.bin

 ../allbins_dc_ref/phyTdsCom_nvrwo_0x0000E400.bin

-../allbins_dc_ref/phyWcdmaAmtUser_nvrwo_0x00005000.bin

+;../allbins_dc_ref/phyWcdmaAmtUser_nvrwo_0x00005000.bin

 ;xf.li@20230927 add for DRDI start

 ../allbins_dc_ref/phyWcdmaAmtUser_nvrwo_0x0002E800.bin

 ../allbins_dc_ref/phyWcdmaAmtUser_nvrwo_0x0003A000.bin

+../allbins_dc_ref/phyWcdmaAmtUser_nvrwo_0x00045800.bin

+;../allbins_dc_ref/phyWcdmaAmtUser_nvrwo_0x00051000.bin

 ;xf.li@20230927 add for DRDI end

 ../allbins_dc_ref/phyWcdmaCom_nvrwo_0x00012400.bin

 ../allbins_dc_ref/zxRfM0_nvrwo_0x00016C00.bin

diff --git a/allbins/zx297520v3/prj_vehicle/scripts_linux/NVRWOInOneImage_dc_ref_M22.ini b/allbins/zx297520v3/prj_vehicle/scripts_linux/NVRWOInOneImage_dc_ref_M22.ini
index 548577c..d05e783 100755
--- a/allbins/zx297520v3/prj_vehicle/scripts_linux/NVRWOInOneImage_dc_ref_M22.ini
+++ b/allbins/zx297520v3/prj_vehicle/scripts_linux/NVRWOInOneImage_dc_ref_M22.ini
@@ -13,26 +13,34 @@
 ;xf.li@20230927 add for DRDI start

 ../allbins_dc_ref_M22/phycom_nvrwo_0x0002C400.bin

 ../allbins_dc_ref_M22/phycom_nvrwo_0x00037C00.bin

+../allbins_dc_ref_M22/phycom_nvrwo_0x00043400.bin

+;../allbins_dc_ref_M22/phycom_nvrwo_0x0004EC00.bin

 ;xf.li@20230927 add for DRDI end

 ../allbins_dc_ref_M22/phyGgeAmtUser_nvrwo_0x00003400.bin

 ;xf.li@20230927 add for DRDI start

 ../allbins_dc_ref_M22/phyGgeAmtUser_nvrwo_0x0002CC00.bin

 ../allbins_dc_ref_M22/phyGgeAmtUser_nvrwo_0x00038400.bin

+../allbins_dc_ref_M22/phyGgeAmtUser_nvrwo_0x00043C00.bin

+;../allbins_dc_ref_M22/phyGgeAmtUser_nvrwo_0x0004F000.bin

 ;xf.li@20230927 add for DRDI end

 ../allbins_dc_ref_M22/phyGgeCom_nvrwo_0x0000EC00.bin

 ../allbins_dc_ref_M22/phyLteaAmtUser_nvrwo_0x00007800.bin

 ;xf.li@20230927 add for DRDI start

-../allbins_dc_ref_M22/phyLteaAmtUser_nvrwo_0x0003C800.bin

 ../allbins_dc_ref_M22/phyLteaAmtUser_nvrwo_0x00031000.bin

+../allbins_dc_ref_M22/phyLteaAmtUser_nvrwo_0x0003C800.bin

+../allbins_dc_ref_M22/phyLteaAmtUser_nvrwo_0x00048000.bin

+;../allbins_dc_ref_M22/phyLteaAmtUser_nvrwo_0x00053800.bin

 ;xf.li@20230927 add for DRDI end

 ../allbins_dc_ref_M22/phyLteaCom_nvrwo_0x00012C00.bin

 ../allbins_dc_ref_M22/phyLtetxtable_nvrwo_0x0001BC00.bin

 ../allbins_dc_ref_M22/phyTdsAmtUser_nvrwo_0x00002800.bin

 ../allbins_dc_ref_M22/phyTdsCom_nvrwo_0x0000E400.bin

-../allbins_dc_ref_M22/phyWcdmaAmtUser_nvrwo_0x00005000.bin

+;../allbins_dc_ref_M22/phyWcdmaAmtUser_nvrwo_0x00005000.bin

 ;xf.li@20230927 add for DRDI start

 ../allbins_dc_ref_M22/phyWcdmaAmtUser_nvrwo_0x0002E800.bin

 ../allbins_dc_ref_M22/phyWcdmaAmtUser_nvrwo_0x0003A000.bin

+../allbins_dc_ref_M22/phyWcdmaAmtUser_nvrwo_0x00045800.bin

+;../allbins_dc_ref_M22/phyWcdmaAmtUser_nvrwo_0x00051000.bin

 ;xf.li@20230927 add for DRDI end

 ../allbins_dc_ref_M22/phyWcdmaCom_nvrwo_0x00012400.bin

 ../allbins_dc_ref_M22/zxRfM0_nvrwo_0x00016C00.bin

diff --git a/allbins/zx297520v3/prj_vehicle/scripts_linux/merge_EL-A.sh b/allbins/zx297520v3/prj_vehicle/scripts_linux/merge_EL-A.sh
new file mode 100755
index 0000000..ce2c3d5
--- /dev/null
+++ b/allbins/zx297520v3/prj_vehicle/scripts_linux/merge_EL-A.sh
@@ -0,0 +1,65 @@
+#!/bin/bash
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_START
+cp ../allbins_dc_ref_M22/ap_caprootfs_M22.img ../allbins_dc_ref_M22/ap_caprootfs.img
+cp ../allbins_dc_ref_M22/ap_capuserdata_M22.img ../allbins_dc_ref_M22/ap_capuserdata.img
+cp ../allbins_dc_ref_M22/ap_cpuap_M22.bin ../allbins_dc_ref_M22/ap_cpuap.bin
+cp ../allbins_dc_ref_M22/ap_rootfs_M22.img ../allbins_dc_ref_M22/ap_rootfs.img
+cp ../allbins_dc_ref_M22/cap_oemdata_M22.img ../allbins_dc_ref_M22/cap_oemdata.img
+cp ../allbins_dc_ref_M22/cap_oem_M22.img ../allbins_dc_ref_M22/cap_oem.img
+cp -rvf ../config_dc_4Gb/partition.ini  ../allbins_dc_ref_M22/partition.ini
+cp -rvf ../config_dc_4Gb/partition.bin  ../allbins_dc_ref_M22/partition.bin
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_END
+CURR_DIR=`pwd`
+TOP_DIR=$CURR_DIR/../../../..
+
+chmod -R a+x $CURR_DIR/*
+chmod a+x $TOP_DIR/tools/SignTool/*
+chmod a+x $TOP_DIR/allbins/tools/squashfskit/*
+chmod a+x $TOP_DIR/allbins/tools/resign_tool/*
+
+#./Image -n  NVRWInOneImage.ini
+#./Image -n  NVRWOInOneImage.ini
+#./Image -n  NVRWInOneImage_dc.ini
+#./Image -n  NVRWOInOneImage_dc.ini
+#./Image -n  NVRWInOneImage_dc_4Gb.ini
+#./Image -n  NVRWOInOneImage_dc_4Gb.ini
+#./Image -n  NVRWInOneImage_dc_ref.ini
+#./Image -n  NVRWOInOneImage_dc_ref.ini
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_START
+./Image -n  NVRWInOneImage_dc_ref_M22.ini
+./Image -n  NVRWOInOneImage_dc_ref_M22.ini
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_END
+#./Image -n  NVRWInOneImage_dc_systemd.ini
+#./Image -n  NVRWOInOneImage_dc_systemd.ini
+#Ç©ÃûÀÏоƬ£¬½öÖ§³ÖRSA 1024£¬ÐèÒª¼ÓµÚÈý¸ö²ÎÊýΪv3t
+#bash  product_resign.sh  ../key/RSA_1024/private.k  ../allbins_dc         v3t
+#bash  product_resign.sh  ../key/RSA_1024/private.k  ../allbins_dc_4Gb     v3t
+#bash  product_resign.sh  ../key/RSA_1024/private.k  ../allbins_dc_ref     v3t
+#bash  product_resign.sh  ../key/RSA_1024/private.k  ../allbins_dc_systemd v3t
+#Ç©ÃûÐÅÏ¢°²È«Ð¾Æ¬£¬Ö§³ÖRSA 2048
+#bash  product_resign.sh  ../key/RSA_2048/private.k  ../allbins_dc
+#bash  product_resign.sh  ../key/RSA_2048/private.k  ../allbins_dc_4Gb
+#bash  product_resign.sh  ../key/RSA_2048/private.k  ../allbins_dc_ref
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_START
+#bash  product_resign.sh  ../key/RSA_2048/private.k  ../allbins_dc_ref_M22
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_END
+#bash  product_resign.sh  ../key/RSA_2048/private.k  ../allbins_dc_systemd
+#./Image -f  FsImage.ini
+#./Image -f  FsImage_dc.ini
+#./Image -f  FsImage_dc_4Gb.ini
+#./Image -f  FsImage_dc_ref.ini
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_START
+./Image -f  FsImage_dc_ref_M22.ini
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_END
+#./Image -f  FsImage_dc_systemd.ini
+bash copybin_a_to_b.sh
+#./Image -m  AllInOneImage.ini
+#./Image -m  AllInOneImage_dc.ini
+#./Image -m  AllInOneImage_dc_4Gb.ini
+#./Image -m  AllInOneImage_dc_ref.ini
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_START
+./Image -m  AllInOneImage_dc_ref_EL-A.ini
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_END
+#./Image -m  AllInOneImage_dc_systemd.ini
+
+
diff --git a/allbins/zx297520v3/prj_vehicle/scripts_linux/merge_M22.sh b/allbins/zx297520v3/prj_vehicle/scripts_linux/merge_M22.sh
index b31d44f..1ec72ef 100755
--- a/allbins/zx297520v3/prj_vehicle/scripts_linux/merge_M22.sh
+++ b/allbins/zx297520v3/prj_vehicle/scripts_linux/merge_M22.sh
@@ -6,6 +6,8 @@
 cp ../allbins_dc_ref_M22/ap_rootfs_M22.img ../allbins_dc_ref_M22/ap_rootfs.img
 cp ../allbins_dc_ref_M22/cap_oemdata_M22.img ../allbins_dc_ref_M22/cap_oemdata.img
 cp ../allbins_dc_ref_M22/cap_oem_M22.img ../allbins_dc_ref_M22/cap_oem.img
+cp -rvf ../config_dc_4Gb/partition_M22.ini  ../allbins_dc_ref_M22/partition.ini
+cp -rvf ../config_dc_4Gb/partition_M22.bin  ../allbins_dc_ref_M22/partition.bin
 #LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_END
 
 CURR_DIR=`pwd`