[Feature][YUKUAI_patch]18.02 to 18.02_sp02 --patch
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: I00a21dc8b74cc583261fc37b443fe74fc0ed4cde
diff --git a/patch/ST_SDK_V4.9_W_SP1/code/ST_SDK_V4.9_W_SP1.diff b/patch/ST_SDK_V4.9_W_SP1/code/ST_SDK_V4.9_W_SP1.diff
new file mode 100644
index 0000000..52fd3e8
--- /dev/null
+++ b/patch/ST_SDK_V4.9_W_SP1/code/ST_SDK_V4.9_W_SP1.diff
@@ -0,0 +1,24 @@
+diff --git a/esdk/layers/meta-zxic-custom/conf/distro/vehicle_dc_ref.conf b/esdk/layers/meta-zxic-custom/conf/distro/vehicle_dc_ref.conf
+index d0b3009..0ab471e 100755
+--- a/esdk/layers/meta-zxic-custom/conf/distro/vehicle_dc_ref.conf
++++ b/esdk/layers/meta-zxic-custom/conf/distro/vehicle_dc_ref.conf
+@@ -475,5 +475,5 @@ MOBILETEK_LOG_ENCRYPT = "disable"
+ MOBILETEK_NAND_TYPE = "M22"
+
+ LYNQ_CONFIG_COMMITID = "e2a3410390ff0ad762462ccb6af8faa5e16dcd61"
+-LYNQ_CONFIG_VERSION = "T106-MXX-PLXXXX-P56U10.AP.18.02_CAP.18.02"
++LYNQ_CONFIG_VERSION = "T106-M42-YUKUAI-P56U10.AP.18.02_CAP.18.02_SP02"
+ LYNQ_CONFIG_SW_VERSION = "T106-MXX-PLXXXX-P56U10.AP.18.02_CAP.18.02"
+diff --git a/esdk/layers/meta-zxic-custom/conf/lynq_base.conf b/esdk/layers/meta-zxic-custom/conf/lynq_base.conf
+index 9520b96..9614ef3 100755
+--- a/esdk/layers/meta-zxic-custom/conf/lynq_base.conf
++++ b/esdk/layers/meta-zxic-custom/conf/lynq_base.conf
+@@ -67,6 +67,6 @@ MOBILETEK_OPENSSH_CFG = "PLATFORM"
+ #OEMAPP_CFG value:"PLATFORM","GSW"
+ MOBILETEK_OEMAPP_CFG = "PLATFORM"
+
+-LYNQ_CONFIG_COMMITID = "0c2debfe031411e8f3183d8c60032778b6210484"
+-LYNQ_CONFIG_VERSION = "T106-MXX-PLXXXX-P56U10.AP.18.02_CAP.18.02"
++LYNQ_CONFIG_COMMITID = "08f1298b33e079b5ca9b89e1239d9b060087ce04"
++LYNQ_CONFIG_VERSION = "T106-M42-YUKUAI-P56U10.AP.18.02_CAP.18.02_SP02"
+ LYNQ_CONFIG_SW_VERSION = "T106-MXX-PLXXXX-P56U10.AP.18.02_CAP.18.02"
diff --git a/patch/ST_SDK_V4.9_W_SP1/code/new/esdk/layers/meta-zxic-custom/conf/distro/vehicle_dc_ref.conf b/patch/ST_SDK_V4.9_W_SP1/code/new/esdk/layers/meta-zxic-custom/conf/distro/vehicle_dc_ref.conf
new file mode 100755
index 0000000..0ab471e
--- /dev/null
+++ b/patch/ST_SDK_V4.9_W_SP1/code/new/esdk/layers/meta-zxic-custom/conf/distro/vehicle_dc_ref.conf
@@ -0,0 +1,479 @@
+require conf/distro/include/cpe-base.inc
+
+DISTRO = "vehicle_dc_ref"
+DISTRO_NAME = "zxic Distro vehicle_dc_ref"
+DISTRO_VERSION = "1.0"
+SDK_VENDOR = "-zxic"
+MAINTAINER = "Sanechips Co.,Ltd."
+TARGET_VENDOR = "-zxic"
+
+## OPTEE
+DISTRO_FEATURES += "OPTEE"
+meta_optee += " ${@bb.utils.contains("DISTRO_FEATURES", "OPTEE", " optee-client optee-example ", "", d)} "
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-zxic"
+PREFERRED_VERSION_linux-zxic = "5.10.156"
+PREFERRED_VERSION_busybox = "1.33.1"
+#PREFERRED_VERSION_openssl = "1.1.1l"
+
+TCLIBC = "glibc"
+VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
+VIRTUAL-RUNTIME_login_manager = "busybox"
+VIRTUAL-RUNTIME_init_manager = "busybox"
+VIRTUAL-RUNTIME_initscripts = "initscripts"
+
+# #
+# # Use systemd for system initialization
+# #
+# VIRTUAL-RUNTIME_init_manager = "systemd"
+# PREFERRED_PROVIDER_udev = "systemd"
+# PREFERRED_PROVIDER_udev-utils = "systemd"
+# DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
+# VIRTUAL-RUNTIME_initscripts = ""
+# DEFAULT_DISTRO_FEATURES += "systemd"
+# DISTRO_FEATURES_append = " systemd"
+# DISTRO_FEATURES_remove = "sysvinit"
+
+KERNEL_DEVICETREE = " \
+ zx297520v3-vehicle_dc_ref.dtb \
+"
+# selinux 配置
+DISTRO_FEATURES_append=" selinux "
+
+# 默认是强制模式 enforcing ,调试建议采用宽容模式 permissive
+DEFAULT_ENFORCING = "permissive"
+
+# selinux 策略
+PREFERRED_PROVIDER_virtual/refpolicy ?= "refpolicy-mls"
+
+## adb login
+DISTRO_FEATURES += "adb_login"
+
+# storage type: nand or emmc
+STRORAGE_TYPE = "nand"
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_START
+STRORAGE_CONF = "nand-config-default"
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_END
+require conf/distro/include/${STRORAGE_CONF}.inc
+
+#rootfs文件系统类型
+IMAGE_FSTYPES = "squashfs"
+#IMAGE_FSTYPES = "cpio.gz"
+
+
+#rootfs文件系统squashfs参数配置,压缩方式和块大小可以更改
+#squashfs_xz squashfs_zstd
+DISTRO_FEATURES_append = " squashfs_zstd "
+ROOTFS_SQUASHFS_ARGS = "-nopad -noappend -root-owned -b 256k -p '/dev d 755 0 0' -p '/dev/console c 600 0 0 5 1' -processors 1"
+ROOTFS_SQUASHFS_ARGS += " ${@bb.utils.contains("DISTRO_FEATURES", "selinux", "-xattrs", "", d)} "
+ROOTFS_SQUASHFS_ARGS += "${@bb.utils.contains("DISTRO_FEATURES", "squashfs_zstd", " -comp zstd ","", d)}"
+ROOTFS_SQUASHFS_ARGS += "${@bb.utils.contains("DISTRO_FEATURES", "squashfs_xz", " -comp xz -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2 ","", d)}"
+
+#userdata文件系统类型
+USERDATA_FSTYPE = "ubi"
+USERDATA_UBINIZE_CFG = "userdata-ubi-default.cfg"
+OEMDATA_UBINIZE_CFG = "oemdata-ubi-default.cfg"
+
+#userdata ext4 文件系统大小
+USERDATA_EXT4SIZE = "194018"
+
+#
+# system initialization
+#
+DISTRO_FEATURES_append = " sysvinit "
+
+
+#是否支持MMI LCD功能
+#DISTRO_FEATURES += "MMI_LCD"
+#语音控制
+DISTRO_FEATURES += "voice_alsa"
+DISTRO_FEATURES += "use_voice_buffer"
+#DISTRO_FEATURES += "voice_at"
+
+#cap_oem.img
+DISTRO_FEATURES += " oemfs "
+
+#dm-verity for squashfs
+DISTRO_FEATURES += " dm-verity "
+
+
+#CUSTOM_MACRO在各个产品不变的宏放到cpe-base.inc文件,变化的宏放在产品发布文件。
+CUSTOM_MACRO += " -D_GNU_SOURCE "
+
+#产品linux kernel配置,主要区分cpe、v2x、mdl,fpga文件在./meta-zxic/recipes-kernel/linux/files目录下
+#BOOT_CTL:版本的启动方式,normal/recovery,如:linux-5_4-fpga-normal.defconfig
+LINUX_BASE_CONFIG = "linux-5_10-${DISTRO}-${BOOT_CTL}-defconfig"
+
+#型号机linux kernel配置,主要区分mdlxx、mdlyy等型号机,文件在./meta-zxic-custom/recipes-kernel/linux/files目录下
+#BOOT_CTL:版本的启动方式,normal/recovery,如:linux-5_4-mdl-normal.cfg
+LINUX_CONFIG = "linux-5_10-${DISTRO}-${BOOT_CTL}.cfg"
+
+#busybox 配置 文件在./meta-zxic/recipes-core/busybox/files目录下
+BUSYBOX_CONFIG = "${DISTRO}-${BOOT_CTL}-busybox.cfg"
+
+##############################################################################
+# custom macro for lib and app
+CUSTOM_MACRO += " -DAPP_OS_LINUX=1 "
+CUSTOM_MACRO += " -DAPP_OS_TYPE=APP_OS_LINUX "
+
+ENABLE_TESTBENCH_TTY = "no"
+##testbench macro for mode,notty=0 single=1 uchm=2
+CUSTOM_MACRO += " -DTTY_MODE_NO=0 "
+CUSTOM_MACRO += " -DTTY_MODE_SINGLE=1 "
+CUSTOM_MACRO += " -DTTY_MODE_MUX=2 "
+CUSTOM_MACRO += " -DUSE_UBIFS "
+CUSTOM_MACRO += " -DUSE_CAP_SUPPORT "
+CUSTOM_MACRO += " -DFOTA_AB "
+CUSTOM_MACRO += "${@bb.utils.contains('ENABLE_TESTBENCH_TTY', 'yes', '-DTESTBENCH_TTY_MODE=TTY_MODE_SINGLE', '-DTESTBENCH_TTY_MODE=TTY_MODE_NO', d)}"
+CONFIG_MMI_LCD = "${@bb.utils.contains("DISTRO_FEATURES", "MMI_LCD", "yes","no", d)}"
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_MMI_LCD', 'yes', '', '-DDISABLE_LCD', d)}"
+USE_ZXIC_WEBUI = "no"
+CONFIG_USE_WEBUI_SSL="yes"
+CONFIG_USE_WEBUI_SECURITY="yes"
+#security compile options
+CFLAGS_append = " -Wl,-z,noexecstack"
+SECURITY_PIE_CFLAGS = " -pie -fPIE"
+SECURITY_STACK_PROTECTOR = " -fstack-protector-all"
+#CUSTOM_MACRO += " -D_USE_CODEC_TI3100 "
+#CUSTOM_MACRO += " -D_USE_CODEC_NAU8810 "
+#CUSTOM_MACRO += " -D_USE_CODEC_TI3104 "
+#CUSTOM_MACRO += " -D_USE_CODEC_MAX9867 "
+CUSTOM_MACRO += " -D_USE_CODEC_ES8311 "
+CUSTOM_MACRO += "${@bb.utils.contains('DISTRO_FEATURES', 'voice_alsa', '-D_USE_VOICE_ALSA', '', d)}"
+CUSTOM_MACRO += "${@bb.utils.contains('DISTRO_FEATURES', 'use_voice_buffer', '-D_USE_VOICE_BUFFER', '', d)}"
+CUSTOM_MACRO += "${@bb.utils.contains('DISTRO_FEATURES', 'voice_at', '-D_USE_VOICE_AT', '', d)}"
+#CONFIG_VB_TRANSMIT_INTF = "RTP"
+#CONFIG_VB_TRANSMIT_INTF = "USB"
+CONFIG_VB_TRANSMIT_INTF = "NULL"
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_VB_TRANSMIT_INTF', 'RTP', '-D_VB_TRANSMIT_INTF_RTP', '', d)}"
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_VB_TRANSMIT_INTF', 'USB', '-D_VB_TRANSMIT_INTF_USB', '', d)}"
+#wifi 配置
+#"mt7916" "" "" ""
+CONFIG_WIFI_MODULE = "mt7916"
+#"apsta" "sta" "ap"
+CONFIG_WIFI_FUNCTION = "ap"
+#wificfg = "${@bb.utils.contains('CONFIG_WIFI_FUNCTION', 'ap', bb.utils.contains('CONFIG_WIFI_MODULE', 'esp8089', 'lib32-hostapd-2.6', '', d), '', d)}"
+
+#BL接口支持("BL"),RIL接口支持("RIL")
+CONFIG_TEL_API_SUPPORT = "RIL"
+
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_TEL_API_SUPPORT', 'BL', '-D_USE_BL', '', d)}"
+
+#RIL AT通道支持RPMSG模式
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_TEL_API_SUPPORT', 'RIL', '-DZXIC_ATCHN_RPMSG_MODE', '', d)}"
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_TEL_API_SUPPORT', 'RIL', '-DUSE_CUSTOM_YK', '', d)}"
+
+DISTRO_FEATURES += " vehicle_dc_ref "
+CUSTOM_MACRO += "${@bb.utils.contains('DISTRO_FEATURES', 'vehicle_dc_ref', '-D_USE_VEHICLE_DC_REF', '', d)}"
+
+#多媒体编解码库支持类型"FFMPEG","NONE"
+CONFIG_MSMSVR_CODEC_TYPE = "NONE"
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_MSMSVR_CODEC_TYPE', 'FFMPEG', '-D_USE_FFMPEG', '', d)}"
+
+#是否使用新的信号强度命令
+CONFIG_USE_NEW_SIGNAL_STRENGTH = "yes"
+
+# app and libs 配置
+#normal的版本应用及库
+zxic_lib += "\
+ libnvram \
+ libatchn \
+ libsofttimer \
+ libzxic-pbm \
+ libsoftap \
+ libatutils \
+ libsqlite \
+ libscipc \
+ libsctel \
+ libbsp \
+ libtinyalsa\
+ libvoice \
+ libmedia \
+ libdebug-info \
+ libmtd \
+ libsclog \
+ libupi-ab \
+ libbinder \
+ libflags \
+ libmsmsvr \
+ libscrtc \
+ liblynq-uci \
+ liblynq-shm \
+ liblynq-log \
+ libapn \
+ libpal \
+ libvendor-ril \
+ liblynq-call \
+ liblynq-sim \
+ liblynq-network \
+ liblynq-sms \
+ liblynq-data \
+ liblynq-qser-voice \
+ liblynq-qser-sim \
+ liblynq-qser-sms \
+ liblynq-qser-thermal \
+ liblynq-qser-data \
+ liblynq-qser-network \
+ liblynq-qser-gnss \
+ liblynq-qser-fota \
+ liblynq-qser-audio \
+ liblynq-qser-usb \
+ liblynq-qser-wifi \
+ libpoweralarm \
+ liblynq-systime \
+ liblynq-autosuspend \
+ liblynq-qser-autosuspend \
+ liblynq-at-factory \
+ liblynq-gpio \
+ liblynq-irq \
+ liblynq-at-common \
+ liblynq-led \
+ liblynq-adc \
+ liblynq-monitor \
+ "
+
+zxic_lib += "${@bb.utils.contains('CONFIG_TEL_API_SUPPORT', 'RIL', 'libril', 'libtelsvr', d)}"
+zxic_lib += "${@bb.utils.contains('CONFIG_VB_TRANSMIT_INTF', 'RTP', 'librtp', '', d)}"
+#zxic自研应用
+zxic_app_open += "\
+ nvserver cfg-tool adb ab-bootinfo \
+ at-ctl \
+ atchn-test \
+ zxic-mainctrl \
+ zxic-mmi \
+ zxic-script \
+ zxic-hotplug \
+ zxic-ramdump \
+ sntp \
+ zxic-ipv6-slaac \
+ zxic-ipv6-addr-conver \
+ zxic-ndp \
+ rtc-service \
+ dhcp6 \
+ fscheck \
+ nv-rpc-daemon \
+ zlog-agent \
+ cc-demo \
+ sim-demo \
+ sms-demo \
+ socket-demo \
+ i2ctest \
+ spitest \
+ uarttest \
+ bsp-test \
+ zxic-debug \
+ crc \
+ crc-api \
+ voiceipc-mainctrl \
+ voice-demo \
+ fsmonitor \
+ ethtest \
+ sc-at-test \
+ dialtest \
+ sc-nw-mgr-test \
+ sc-cfg-test \
+ sc-softtimer-test \
+ sc-log-test \
+ sc-shm-test \
+ sc-msg-test \
+ adctest \
+ rtc-timer-demo \
+ tsctest \
+ fota-upi-ab \
+ sc-net-test \
+ usbtest \
+ zxic-amt \
+ wlan-proxy \
+ wifi-demo \
+ mnet-whitelist \
+ mnet-whitelist-proxy \
+ flags-tool \
+ msm-svr \
+ phymiitest \
+ player-demo \
+ servicemanager \
+ service \
+ service-test \
+ i2cslavetest \
+ fota-auto-sync \
+ softap-demo \
+ lynq-ril-service \
+ lynq-sdk-ready \
+ lynq-led-demo \
+ lynq-led-sev \
+ uci \
+ gdb \
+ mobiletek-tester-rdit \
+ lynq-qser-voice-demo \
+ lynq-qser-fota-demo \
+ lynq-qser-gnss-demo \
+ lynq-qser-network-demo \
+ poweralarm-demo \
+ lynq-systime-demo \
+ lynq-fota-backup \
+ lynq-qser-sim-demo \
+ lynq-qser-sms-demo \
+ lynq-qser-data-demo \
+ lynq-qser-thermal-demo \
+ lynq-autosuspend \
+ lynq-atcid \
+ lynq-qser-autosuspend-demo \
+ lynq-gpio-demo \
+ lynq-irq-demo \
+ lynq-gnss-update \
+ lynq-audio-demo \
+ lynq-usb-demo \
+ lynq-wifi-demo \
+ lynq-adc-demo \
+ lynq-at-test \
+ lynq-monitor-demo \
+ lynq-vb-demo \
+ "
+
+zxic_app_open += "${@bb.utils.contains('CONFIG_TEL_API_SUPPORT', 'RIL', 'rild', '', d)}"
+zxic_app_open += "${@bb.utils.contains('CONFIG_TEL_API_SUPPORT', 'BL', 'tel-svr', '', d)}"
+zxic_app_open += "${@bb.utils.contains('CONFIG_VB_TRANSMIT_INTF', 'NULL', 'vb-demo', '', d)}"
+
+#开源应用及库
+meta_app_open += "\
+ dropbear \
+ dbus \
+ e2fsprogs \
+ iptables \
+ curl \
+ dnsmasq \
+ dhcp6 \
+ radvd \
+ iproute2 \
+ busybox-syslog \
+ ethtool \
+ sqlcipher \
+ iperf3 \
+ tcpdump \
+ python3 \
+ openssl-bin \
+ mtd-utils-ubifs \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'dm-verity', 'cryptsetup', '', d)} \
+ ${meta_optee} \
+ tzdata \
+ fdk-aac-master \
+ opencore-amr \
+ vo-amrwbenc \
+ ffmpeg \
+ python3 \
+ lrzsz \
+ "
+meta_app_open += "${@bb.utils.contains('CONFIG_MSMSVR_CODEC_TYPE', 'FFMPEG', 'fdk-aac-master opencore-amr vo-amrwbenc ffmpeg', '', d)}"
+
+#normal的版本应用及库
+zxic_app += "\
+ ${zxic_lib} \
+ ${zxic_app_open} \
+ ${meta_app_open} \
+ "
+
+#zxic自研recovery版本的应用
+zxic_app_open_recovery += "\
+ "
+#recovery版本的开源应用及库
+meta_app_open_recovery += "\
+ "
+#recovery的版本应用及库
+zxic_app_recovery += "\
+ ${zxic_app_open_recovery} \
+ ${meta_app_open_recovery} "
+
+IMAGE_INSTALL +="\
+ ${@bb.utils.contains("BOOT_CTL", "recovery", "${zxic_app_recovery}", "${zxic_app}", d)} \
+ "
+
+PACKAGE_EXCLUDE = "eudev eudev-dev eudev-dbg"
+PACKAGE_EXCLUDE = "eudev"
+
+#DISTRO = "lynq_vehicle_dc"
+#DISTRO_NAME = "lynq distro vehicle_dc"
+RAT_CONFIG_C2K_SUPPORT = "no"
+MTK_MULTI_SIM_SUPPORT = "dsds"
+TARGET_PLATFORM = "T106"
+MTK_LED_SUPPORT = "yes"
+#support lynq_atsvc [hong.liu add for lynq atsvc on 2022.12.1]
+LYNQ_ATSVC_SUPPORT = "yes"
+
+#GPIO_CFG value:"PLATFORM" , "GENVICT" ,"GSW"
+MOBILETEK_GPIO_CFG = "PLATFORM"
+
+#PLL_CFG value:"PLATFORM","GSW"
+MOBILETEK_PLL_CFG = "PLATFORM"
+
+#RTP_CFG value:"PLATFORM","GSW"
+MOBILETEK_RTP_CFG = "PLATFORM"
+
+#MEDIA_CFG value:"PLATFORM","GSW"
+MOBILETEK_MEDIA_CFG = "PLATFORM"
+
+#LOG_CFG value:"PLATFORM","GSW"
+MOBILETEK_LOG_CFG = "PLATFORM"
+
+#FOTA_CFG value:"PLATFORM","GSW"
+MOBILETEK_FOTA_CFG = "PLATFORM"
+
+#RIL_CFG value:"PLATFORM","GSW"
+MOBILETEK_RIL_CFG = "PLATFORM"
+
+#UART_CFG value:"PLATFORM","GSW"
+MOBILETEK_UART_CFG = "PLATFORM"
+
+#USB_CFG value:"PLATFORM","GSW"
+MOBILETEK_USB_CFG = "PLATFORM"
+
+#ndis_CFG value:"PLATFORM","GSW"
+MOBILETEK_NDIS_CFG = "PLATFORM"
+
+#SUSPEND_CFG value:"PLATFORM","GSW"
+MOBILETEK_SUSPEND_CFG = "PLATFORM"
+
+#MNLDLOG_CFG value:"PLATFORM","GSW"
+MOBILETEK_MNLDLOG_CFG = "PLATFORM"
+
+#OPTEE_CFG value:"PLATFORM","GSW"
+MOBILETEK_OPTEE_CFG = "PLATFORM"
+
+#EMMC_CFG value:"PLATFORM","GSW"
+MOBILETEK_EMMC_CFG = "PLATFORM"
+
+#WIFIKERNELCODE_CFG value:"PLATFORM","GSW"
+MOBILETEK_WIFIKERNELCODE_CFG = "PLATFORM"
+
+#SYSTEMD_CFG value:"PLATFORM","GSW"
+MOBILETEK_SYSTEMD_CFG = "PLATFORM"
+
+#GSTREAMER_CFG value:"PLATFORM","GSW"
+MOBILETEK_GSTREAMER_CFG = "PLATFORM"
+
+#BUSYBOX_CFG value:"PLATFORM","GSW"
+MOBILETEK_BUSYBOX_CFG = "PLATFORM"
+
+#OPENSSH_CFG value:"PLATFORM","GSW"
+MOBILETEK_OPENSSH_CFG = "PLATFORM"
+
+#OEMAPP_CFG value:"PLATFORM","GSW"
+MOBILETEK_OEMAPP_CFG = "PLATFORM"
+
+#cz.li@20240221 add for choosing GNSS's chip: "HD","HX"
+MOBILETEK_GNSS_TYPE = "HD"
+
+#MOBILETEK_ADB_LOGIN value:"YES","NO"
+MOBILETEK_ADB_LOGIN = "NO"
+
+#cz.li@20240221 add for MOBILETEK_GNSS_UPDATE_ENABLE value: "yes","no"
+MOBILETEK_GNSS_UPDATE_ENABLE = "yes"
+
+#xf.li@20240716 add for MOBILETEK_LOG_ENCRYPT value: "enable","disable"
+MOBILETEK_LOG_ENCRYPT = "disable"
+
+#xf.li@20250123 add for M22 SDK value (support M22 or not): "M22", "default"
+MOBILETEK_NAND_TYPE = "M22"
+
+LYNQ_CONFIG_COMMITID = "e2a3410390ff0ad762462ccb6af8faa5e16dcd61"
+LYNQ_CONFIG_VERSION = "T106-M42-YUKUAI-P56U10.AP.18.02_CAP.18.02_SP02"
+LYNQ_CONFIG_SW_VERSION = "T106-MXX-PLXXXX-P56U10.AP.18.02_CAP.18.02"
diff --git a/patch/ST_SDK_V4.9_W_SP1/code/new/esdk/layers/meta-zxic-custom/conf/lynq_base.conf b/patch/ST_SDK_V4.9_W_SP1/code/new/esdk/layers/meta-zxic-custom/conf/lynq_base.conf
new file mode 100755
index 0000000..9614ef3
--- /dev/null
+++ b/patch/ST_SDK_V4.9_W_SP1/code/new/esdk/layers/meta-zxic-custom/conf/lynq_base.conf
@@ -0,0 +1,72 @@
+#DISTRO = "lynq_vehicle_dc"
+#DISTRO_NAME = "lynq distro vehicle_dc"
+RAT_CONFIG_C2K_SUPPORT = "no"
+MTK_MULTI_SIM_SUPPORT = "dsds"
+TARGET_PLATFORM = "T106"
+MTK_LED_SUPPORT = "yes"
+#support lynq_atsvc [hong.liu add for lynq atsvc on 2022.12.1]
+LYNQ_ATSVC_SUPPORT = "yes"
+
+#GPIO_CFG value:"PLATFORM" , "GENVICT" ,"GSW"
+MOBILETEK_GPIO_CFG = "PLATFORM"
+
+#PLL_CFG value:"PLATFORM","GSW"
+MOBILETEK_PLL_CFG = "PLATFORM"
+
+#RTP_CFG value:"PLATFORM","GSW"
+MOBILETEK_RTP_CFG = "PLATFORM"
+
+#MEDIA_CFG value:"PLATFORM","GSW"
+MOBILETEK_MEDIA_CFG = "PLATFORM"
+
+#LOG_CFG value:"PLATFORM","GSW"
+MOBILETEK_LOG_CFG = "PLATFORM"
+
+#FOTA_CFG value:"PLATFORM","GSW"
+MOBILETEK_FOTA_CFG = "PLATFORM"
+
+#RIL_CFG value:"PLATFORM","GSW"
+MOBILETEK_RIL_CFG = "PLATFORM"
+
+#UART_CFG value:"PLATFORM","GSW"
+MOBILETEK_UART_CFG = "PLATFORM"
+
+#USB_CFG value:"PLATFORM","GSW"
+MOBILETEK_USB_CFG = "PLATFORM"
+
+#ndis_CFG value:"PLATFORM","GSW"
+MOBILETEK_NDIS_CFG = "PLATFORM"
+
+#SUSPEND_CFG value:"PLATFORM","GSW"
+MOBILETEK_SUSPEND_CFG = "PLATFORM"
+
+#MNLDLOG_CFG value:"PLATFORM","GSW"
+MOBILETEK_MNLDLOG_CFG = "PLATFORM"
+
+#OPTEE_CFG value:"PLATFORM","GSW"
+MOBILETEK_OPTEE_CFG = "PLATFORM"
+
+#EMMC_CFG value:"PLATFORM","GSW"
+MOBILETEK_EMMC_CFG = "PLATFORM"
+
+#WIFIKERNELCODE_CFG value:"PLATFORM","GSW"
+MOBILETEK_WIFIKERNELCODE_CFG = "PLATFORM"
+
+#SYSTEMD_CFG value:"PLATFORM","GSW"
+MOBILETEK_SYSTEMD_CFG = "PLATFORM"
+
+#GSTREAMER_CFG value:"PLATFORM","GSW"
+MOBILETEK_GSTREAMER_CFG = "PLATFORM"
+
+#BUSYBOX_CFG value:"PLATFORM","GSW"
+MOBILETEK_BUSYBOX_CFG = "PLATFORM"
+
+#OPENSSH_CFG value:"PLATFORM","GSW"
+MOBILETEK_OPENSSH_CFG = "PLATFORM"
+
+#OEMAPP_CFG value:"PLATFORM","GSW"
+MOBILETEK_OEMAPP_CFG = "PLATFORM"
+
+LYNQ_CONFIG_COMMITID = "08f1298b33e079b5ca9b89e1239d9b060087ce04"
+LYNQ_CONFIG_VERSION = "T106-M42-YUKUAI-P56U10.AP.18.02_CAP.18.02_SP02"
+LYNQ_CONFIG_SW_VERSION = "T106-MXX-PLXXXX-P56U10.AP.18.02_CAP.18.02"
diff --git a/patch/ST_SDK_V4.9_W_SP1/code/old/esdk/meta-zxic-custom/conf/distro/vehicle_dc_ref.conf b/patch/ST_SDK_V4.9_W_SP1/code/old/esdk/meta-zxic-custom/conf/distro/vehicle_dc_ref.conf
new file mode 100755
index 0000000..d0b3009
--- /dev/null
+++ b/patch/ST_SDK_V4.9_W_SP1/code/old/esdk/meta-zxic-custom/conf/distro/vehicle_dc_ref.conf
@@ -0,0 +1,479 @@
+require conf/distro/include/cpe-base.inc
+
+DISTRO = "vehicle_dc_ref"
+DISTRO_NAME = "zxic Distro vehicle_dc_ref"
+DISTRO_VERSION = "1.0"
+SDK_VENDOR = "-zxic"
+MAINTAINER = "Sanechips Co.,Ltd."
+TARGET_VENDOR = "-zxic"
+
+## OPTEE
+DISTRO_FEATURES += "OPTEE"
+meta_optee += " ${@bb.utils.contains("DISTRO_FEATURES", "OPTEE", " optee-client optee-example ", "", d)} "
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-zxic"
+PREFERRED_VERSION_linux-zxic = "5.10.156"
+PREFERRED_VERSION_busybox = "1.33.1"
+#PREFERRED_VERSION_openssl = "1.1.1l"
+
+TCLIBC = "glibc"
+VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
+VIRTUAL-RUNTIME_login_manager = "busybox"
+VIRTUAL-RUNTIME_init_manager = "busybox"
+VIRTUAL-RUNTIME_initscripts = "initscripts"
+
+# #
+# # Use systemd for system initialization
+# #
+# VIRTUAL-RUNTIME_init_manager = "systemd"
+# PREFERRED_PROVIDER_udev = "systemd"
+# PREFERRED_PROVIDER_udev-utils = "systemd"
+# DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
+# VIRTUAL-RUNTIME_initscripts = ""
+# DEFAULT_DISTRO_FEATURES += "systemd"
+# DISTRO_FEATURES_append = " systemd"
+# DISTRO_FEATURES_remove = "sysvinit"
+
+KERNEL_DEVICETREE = " \
+ zx297520v3-vehicle_dc_ref.dtb \
+"
+# selinux 配置
+DISTRO_FEATURES_append=" selinux "
+
+# 默认是强制模式 enforcing ,调试建议采用宽容模式 permissive
+DEFAULT_ENFORCING = "permissive"
+
+# selinux 策略
+PREFERRED_PROVIDER_virtual/refpolicy ?= "refpolicy-mls"
+
+## adb login
+DISTRO_FEATURES += "adb_login"
+
+# storage type: nand or emmc
+STRORAGE_TYPE = "nand"
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_START
+STRORAGE_CONF = "nand-config-default"
+#LYNQ_MODIFY_ZXW_TASK944_XF.Li_20250123_END
+require conf/distro/include/${STRORAGE_CONF}.inc
+
+#rootfs文件系统类型
+IMAGE_FSTYPES = "squashfs"
+#IMAGE_FSTYPES = "cpio.gz"
+
+
+#rootfs文件系统squashfs参数配置,压缩方式和块大小可以更改
+#squashfs_xz squashfs_zstd
+DISTRO_FEATURES_append = " squashfs_zstd "
+ROOTFS_SQUASHFS_ARGS = "-nopad -noappend -root-owned -b 256k -p '/dev d 755 0 0' -p '/dev/console c 600 0 0 5 1' -processors 1"
+ROOTFS_SQUASHFS_ARGS += " ${@bb.utils.contains("DISTRO_FEATURES", "selinux", "-xattrs", "", d)} "
+ROOTFS_SQUASHFS_ARGS += "${@bb.utils.contains("DISTRO_FEATURES", "squashfs_zstd", " -comp zstd ","", d)}"
+ROOTFS_SQUASHFS_ARGS += "${@bb.utils.contains("DISTRO_FEATURES", "squashfs_xz", " -comp xz -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2 ","", d)}"
+
+#userdata文件系统类型
+USERDATA_FSTYPE = "ubi"
+USERDATA_UBINIZE_CFG = "userdata-ubi-default.cfg"
+OEMDATA_UBINIZE_CFG = "oemdata-ubi-default.cfg"
+
+#userdata ext4 文件系统大小
+USERDATA_EXT4SIZE = "194018"
+
+#
+# system initialization
+#
+DISTRO_FEATURES_append = " sysvinit "
+
+
+#是否支持MMI LCD功能
+#DISTRO_FEATURES += "MMI_LCD"
+#语音控制
+DISTRO_FEATURES += "voice_alsa"
+DISTRO_FEATURES += "use_voice_buffer"
+#DISTRO_FEATURES += "voice_at"
+
+#cap_oem.img
+DISTRO_FEATURES += " oemfs "
+
+#dm-verity for squashfs
+DISTRO_FEATURES += " dm-verity "
+
+
+#CUSTOM_MACRO在各个产品不变的宏放到cpe-base.inc文件,变化的宏放在产品发布文件。
+CUSTOM_MACRO += " -D_GNU_SOURCE "
+
+#产品linux kernel配置,主要区分cpe、v2x、mdl,fpga文件在./meta-zxic/recipes-kernel/linux/files目录下
+#BOOT_CTL:版本的启动方式,normal/recovery,如:linux-5_4-fpga-normal.defconfig
+LINUX_BASE_CONFIG = "linux-5_10-${DISTRO}-${BOOT_CTL}-defconfig"
+
+#型号机linux kernel配置,主要区分mdlxx、mdlyy等型号机,文件在./meta-zxic-custom/recipes-kernel/linux/files目录下
+#BOOT_CTL:版本的启动方式,normal/recovery,如:linux-5_4-mdl-normal.cfg
+LINUX_CONFIG = "linux-5_10-${DISTRO}-${BOOT_CTL}.cfg"
+
+#busybox 配置 文件在./meta-zxic/recipes-core/busybox/files目录下
+BUSYBOX_CONFIG = "${DISTRO}-${BOOT_CTL}-busybox.cfg"
+
+##############################################################################
+# custom macro for lib and app
+CUSTOM_MACRO += " -DAPP_OS_LINUX=1 "
+CUSTOM_MACRO += " -DAPP_OS_TYPE=APP_OS_LINUX "
+
+ENABLE_TESTBENCH_TTY = "no"
+##testbench macro for mode,notty=0 single=1 uchm=2
+CUSTOM_MACRO += " -DTTY_MODE_NO=0 "
+CUSTOM_MACRO += " -DTTY_MODE_SINGLE=1 "
+CUSTOM_MACRO += " -DTTY_MODE_MUX=2 "
+CUSTOM_MACRO += " -DUSE_UBIFS "
+CUSTOM_MACRO += " -DUSE_CAP_SUPPORT "
+CUSTOM_MACRO += " -DFOTA_AB "
+CUSTOM_MACRO += "${@bb.utils.contains('ENABLE_TESTBENCH_TTY', 'yes', '-DTESTBENCH_TTY_MODE=TTY_MODE_SINGLE', '-DTESTBENCH_TTY_MODE=TTY_MODE_NO', d)}"
+CONFIG_MMI_LCD = "${@bb.utils.contains("DISTRO_FEATURES", "MMI_LCD", "yes","no", d)}"
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_MMI_LCD', 'yes', '', '-DDISABLE_LCD', d)}"
+USE_ZXIC_WEBUI = "no"
+CONFIG_USE_WEBUI_SSL="yes"
+CONFIG_USE_WEBUI_SECURITY="yes"
+#security compile options
+CFLAGS_append = " -Wl,-z,noexecstack"
+SECURITY_PIE_CFLAGS = " -pie -fPIE"
+SECURITY_STACK_PROTECTOR = " -fstack-protector-all"
+#CUSTOM_MACRO += " -D_USE_CODEC_TI3100 "
+#CUSTOM_MACRO += " -D_USE_CODEC_NAU8810 "
+#CUSTOM_MACRO += " -D_USE_CODEC_TI3104 "
+#CUSTOM_MACRO += " -D_USE_CODEC_MAX9867 "
+CUSTOM_MACRO += " -D_USE_CODEC_ES8311 "
+CUSTOM_MACRO += "${@bb.utils.contains('DISTRO_FEATURES', 'voice_alsa', '-D_USE_VOICE_ALSA', '', d)}"
+CUSTOM_MACRO += "${@bb.utils.contains('DISTRO_FEATURES', 'use_voice_buffer', '-D_USE_VOICE_BUFFER', '', d)}"
+CUSTOM_MACRO += "${@bb.utils.contains('DISTRO_FEATURES', 'voice_at', '-D_USE_VOICE_AT', '', d)}"
+#CONFIG_VB_TRANSMIT_INTF = "RTP"
+#CONFIG_VB_TRANSMIT_INTF = "USB"
+CONFIG_VB_TRANSMIT_INTF = "NULL"
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_VB_TRANSMIT_INTF', 'RTP', '-D_VB_TRANSMIT_INTF_RTP', '', d)}"
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_VB_TRANSMIT_INTF', 'USB', '-D_VB_TRANSMIT_INTF_USB', '', d)}"
+#wifi 配置
+#"mt7916" "" "" ""
+CONFIG_WIFI_MODULE = "mt7916"
+#"apsta" "sta" "ap"
+CONFIG_WIFI_FUNCTION = "ap"
+#wificfg = "${@bb.utils.contains('CONFIG_WIFI_FUNCTION', 'ap', bb.utils.contains('CONFIG_WIFI_MODULE', 'esp8089', 'lib32-hostapd-2.6', '', d), '', d)}"
+
+#BL接口支持("BL"),RIL接口支持("RIL")
+CONFIG_TEL_API_SUPPORT = "RIL"
+
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_TEL_API_SUPPORT', 'BL', '-D_USE_BL', '', d)}"
+
+#RIL AT通道支持RPMSG模式
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_TEL_API_SUPPORT', 'RIL', '-DZXIC_ATCHN_RPMSG_MODE', '', d)}"
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_TEL_API_SUPPORT', 'RIL', '-DUSE_CUSTOM_YK', '', d)}"
+
+DISTRO_FEATURES += " vehicle_dc_ref "
+CUSTOM_MACRO += "${@bb.utils.contains('DISTRO_FEATURES', 'vehicle_dc_ref', '-D_USE_VEHICLE_DC_REF', '', d)}"
+
+#多媒体编解码库支持类型"FFMPEG","NONE"
+CONFIG_MSMSVR_CODEC_TYPE = "NONE"
+CUSTOM_MACRO += "${@bb.utils.contains('CONFIG_MSMSVR_CODEC_TYPE', 'FFMPEG', '-D_USE_FFMPEG', '', d)}"
+
+#是否使用新的信号强度命令
+CONFIG_USE_NEW_SIGNAL_STRENGTH = "yes"
+
+# app and libs 配置
+#normal的版本应用及库
+zxic_lib += "\
+ libnvram \
+ libatchn \
+ libsofttimer \
+ libzxic-pbm \
+ libsoftap \
+ libatutils \
+ libsqlite \
+ libscipc \
+ libsctel \
+ libbsp \
+ libtinyalsa\
+ libvoice \
+ libmedia \
+ libdebug-info \
+ libmtd \
+ libsclog \
+ libupi-ab \
+ libbinder \
+ libflags \
+ libmsmsvr \
+ libscrtc \
+ liblynq-uci \
+ liblynq-shm \
+ liblynq-log \
+ libapn \
+ libpal \
+ libvendor-ril \
+ liblynq-call \
+ liblynq-sim \
+ liblynq-network \
+ liblynq-sms \
+ liblynq-data \
+ liblynq-qser-voice \
+ liblynq-qser-sim \
+ liblynq-qser-sms \
+ liblynq-qser-thermal \
+ liblynq-qser-data \
+ liblynq-qser-network \
+ liblynq-qser-gnss \
+ liblynq-qser-fota \
+ liblynq-qser-audio \
+ liblynq-qser-usb \
+ liblynq-qser-wifi \
+ libpoweralarm \
+ liblynq-systime \
+ liblynq-autosuspend \
+ liblynq-qser-autosuspend \
+ liblynq-at-factory \
+ liblynq-gpio \
+ liblynq-irq \
+ liblynq-at-common \
+ liblynq-led \
+ liblynq-adc \
+ liblynq-monitor \
+ "
+
+zxic_lib += "${@bb.utils.contains('CONFIG_TEL_API_SUPPORT', 'RIL', 'libril', 'libtelsvr', d)}"
+zxic_lib += "${@bb.utils.contains('CONFIG_VB_TRANSMIT_INTF', 'RTP', 'librtp', '', d)}"
+#zxic自研应用
+zxic_app_open += "\
+ nvserver cfg-tool adb ab-bootinfo \
+ at-ctl \
+ atchn-test \
+ zxic-mainctrl \
+ zxic-mmi \
+ zxic-script \
+ zxic-hotplug \
+ zxic-ramdump \
+ sntp \
+ zxic-ipv6-slaac \
+ zxic-ipv6-addr-conver \
+ zxic-ndp \
+ rtc-service \
+ dhcp6 \
+ fscheck \
+ nv-rpc-daemon \
+ zlog-agent \
+ cc-demo \
+ sim-demo \
+ sms-demo \
+ socket-demo \
+ i2ctest \
+ spitest \
+ uarttest \
+ bsp-test \
+ zxic-debug \
+ crc \
+ crc-api \
+ voiceipc-mainctrl \
+ voice-demo \
+ fsmonitor \
+ ethtest \
+ sc-at-test \
+ dialtest \
+ sc-nw-mgr-test \
+ sc-cfg-test \
+ sc-softtimer-test \
+ sc-log-test \
+ sc-shm-test \
+ sc-msg-test \
+ adctest \
+ rtc-timer-demo \
+ tsctest \
+ fota-upi-ab \
+ sc-net-test \
+ usbtest \
+ zxic-amt \
+ wlan-proxy \
+ wifi-demo \
+ mnet-whitelist \
+ mnet-whitelist-proxy \
+ flags-tool \
+ msm-svr \
+ phymiitest \
+ player-demo \
+ servicemanager \
+ service \
+ service-test \
+ i2cslavetest \
+ fota-auto-sync \
+ softap-demo \
+ lynq-ril-service \
+ lynq-sdk-ready \
+ lynq-led-demo \
+ lynq-led-sev \
+ uci \
+ gdb \
+ mobiletek-tester-rdit \
+ lynq-qser-voice-demo \
+ lynq-qser-fota-demo \
+ lynq-qser-gnss-demo \
+ lynq-qser-network-demo \
+ poweralarm-demo \
+ lynq-systime-demo \
+ lynq-fota-backup \
+ lynq-qser-sim-demo \
+ lynq-qser-sms-demo \
+ lynq-qser-data-demo \
+ lynq-qser-thermal-demo \
+ lynq-autosuspend \
+ lynq-atcid \
+ lynq-qser-autosuspend-demo \
+ lynq-gpio-demo \
+ lynq-irq-demo \
+ lynq-gnss-update \
+ lynq-audio-demo \
+ lynq-usb-demo \
+ lynq-wifi-demo \
+ lynq-adc-demo \
+ lynq-at-test \
+ lynq-monitor-demo \
+ lynq-vb-demo \
+ "
+
+zxic_app_open += "${@bb.utils.contains('CONFIG_TEL_API_SUPPORT', 'RIL', 'rild', '', d)}"
+zxic_app_open += "${@bb.utils.contains('CONFIG_TEL_API_SUPPORT', 'BL', 'tel-svr', '', d)}"
+zxic_app_open += "${@bb.utils.contains('CONFIG_VB_TRANSMIT_INTF', 'NULL', 'vb-demo', '', d)}"
+
+#开源应用及库
+meta_app_open += "\
+ dropbear \
+ dbus \
+ e2fsprogs \
+ iptables \
+ curl \
+ dnsmasq \
+ dhcp6 \
+ radvd \
+ iproute2 \
+ busybox-syslog \
+ ethtool \
+ sqlcipher \
+ iperf3 \
+ tcpdump \
+ python3 \
+ openssl-bin \
+ mtd-utils-ubifs \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'dm-verity', 'cryptsetup', '', d)} \
+ ${meta_optee} \
+ tzdata \
+ fdk-aac-master \
+ opencore-amr \
+ vo-amrwbenc \
+ ffmpeg \
+ python3 \
+ lrzsz \
+ "
+meta_app_open += "${@bb.utils.contains('CONFIG_MSMSVR_CODEC_TYPE', 'FFMPEG', 'fdk-aac-master opencore-amr vo-amrwbenc ffmpeg', '', d)}"
+
+#normal的版本应用及库
+zxic_app += "\
+ ${zxic_lib} \
+ ${zxic_app_open} \
+ ${meta_app_open} \
+ "
+
+#zxic自研recovery版本的应用
+zxic_app_open_recovery += "\
+ "
+#recovery版本的开源应用及库
+meta_app_open_recovery += "\
+ "
+#recovery的版本应用及库
+zxic_app_recovery += "\
+ ${zxic_app_open_recovery} \
+ ${meta_app_open_recovery} "
+
+IMAGE_INSTALL +="\
+ ${@bb.utils.contains("BOOT_CTL", "recovery", "${zxic_app_recovery}", "${zxic_app}", d)} \
+ "
+
+PACKAGE_EXCLUDE = "eudev eudev-dev eudev-dbg"
+PACKAGE_EXCLUDE = "eudev"
+
+#DISTRO = "lynq_vehicle_dc"
+#DISTRO_NAME = "lynq distro vehicle_dc"
+RAT_CONFIG_C2K_SUPPORT = "no"
+MTK_MULTI_SIM_SUPPORT = "dsds"
+TARGET_PLATFORM = "T106"
+MTK_LED_SUPPORT = "yes"
+#support lynq_atsvc [hong.liu add for lynq atsvc on 2022.12.1]
+LYNQ_ATSVC_SUPPORT = "yes"
+
+#GPIO_CFG value:"PLATFORM" , "GENVICT" ,"GSW"
+MOBILETEK_GPIO_CFG = "PLATFORM"
+
+#PLL_CFG value:"PLATFORM","GSW"
+MOBILETEK_PLL_CFG = "PLATFORM"
+
+#RTP_CFG value:"PLATFORM","GSW"
+MOBILETEK_RTP_CFG = "PLATFORM"
+
+#MEDIA_CFG value:"PLATFORM","GSW"
+MOBILETEK_MEDIA_CFG = "PLATFORM"
+
+#LOG_CFG value:"PLATFORM","GSW"
+MOBILETEK_LOG_CFG = "PLATFORM"
+
+#FOTA_CFG value:"PLATFORM","GSW"
+MOBILETEK_FOTA_CFG = "PLATFORM"
+
+#RIL_CFG value:"PLATFORM","GSW"
+MOBILETEK_RIL_CFG = "PLATFORM"
+
+#UART_CFG value:"PLATFORM","GSW"
+MOBILETEK_UART_CFG = "PLATFORM"
+
+#USB_CFG value:"PLATFORM","GSW"
+MOBILETEK_USB_CFG = "PLATFORM"
+
+#ndis_CFG value:"PLATFORM","GSW"
+MOBILETEK_NDIS_CFG = "PLATFORM"
+
+#SUSPEND_CFG value:"PLATFORM","GSW"
+MOBILETEK_SUSPEND_CFG = "PLATFORM"
+
+#MNLDLOG_CFG value:"PLATFORM","GSW"
+MOBILETEK_MNLDLOG_CFG = "PLATFORM"
+
+#OPTEE_CFG value:"PLATFORM","GSW"
+MOBILETEK_OPTEE_CFG = "PLATFORM"
+
+#EMMC_CFG value:"PLATFORM","GSW"
+MOBILETEK_EMMC_CFG = "PLATFORM"
+
+#WIFIKERNELCODE_CFG value:"PLATFORM","GSW"
+MOBILETEK_WIFIKERNELCODE_CFG = "PLATFORM"
+
+#SYSTEMD_CFG value:"PLATFORM","GSW"
+MOBILETEK_SYSTEMD_CFG = "PLATFORM"
+
+#GSTREAMER_CFG value:"PLATFORM","GSW"
+MOBILETEK_GSTREAMER_CFG = "PLATFORM"
+
+#BUSYBOX_CFG value:"PLATFORM","GSW"
+MOBILETEK_BUSYBOX_CFG = "PLATFORM"
+
+#OPENSSH_CFG value:"PLATFORM","GSW"
+MOBILETEK_OPENSSH_CFG = "PLATFORM"
+
+#OEMAPP_CFG value:"PLATFORM","GSW"
+MOBILETEK_OEMAPP_CFG = "PLATFORM"
+
+#cz.li@20240221 add for choosing GNSS's chip: "HD","HX"
+MOBILETEK_GNSS_TYPE = "HD"
+
+#MOBILETEK_ADB_LOGIN value:"YES","NO"
+MOBILETEK_ADB_LOGIN = "NO"
+
+#cz.li@20240221 add for MOBILETEK_GNSS_UPDATE_ENABLE value: "yes","no"
+MOBILETEK_GNSS_UPDATE_ENABLE = "yes"
+
+#xf.li@20240716 add for MOBILETEK_LOG_ENCRYPT value: "enable","disable"
+MOBILETEK_LOG_ENCRYPT = "disable"
+
+#xf.li@20250123 add for M22 SDK value (support M22 or not): "M22", "default"
+MOBILETEK_NAND_TYPE = "M22"
+
+LYNQ_CONFIG_COMMITID = "e2a3410390ff0ad762462ccb6af8faa5e16dcd61"
+LYNQ_CONFIG_VERSION = "T106-MXX-PLXXXX-P56U10.AP.18.02_CAP.18.02"
+LYNQ_CONFIG_SW_VERSION = "T106-MXX-PLXXXX-P56U10.AP.18.02_CAP.18.02"
diff --git a/patch/ST_SDK_V4.9_W_SP1/code/old/esdk/meta-zxic-custom/conf/lynq_base.conf b/patch/ST_SDK_V4.9_W_SP1/code/old/esdk/meta-zxic-custom/conf/lynq_base.conf
new file mode 100755
index 0000000..9520b96
--- /dev/null
+++ b/patch/ST_SDK_V4.9_W_SP1/code/old/esdk/meta-zxic-custom/conf/lynq_base.conf
@@ -0,0 +1,72 @@
+#DISTRO = "lynq_vehicle_dc"
+#DISTRO_NAME = "lynq distro vehicle_dc"
+RAT_CONFIG_C2K_SUPPORT = "no"
+MTK_MULTI_SIM_SUPPORT = "dsds"
+TARGET_PLATFORM = "T106"
+MTK_LED_SUPPORT = "yes"
+#support lynq_atsvc [hong.liu add for lynq atsvc on 2022.12.1]
+LYNQ_ATSVC_SUPPORT = "yes"
+
+#GPIO_CFG value:"PLATFORM" , "GENVICT" ,"GSW"
+MOBILETEK_GPIO_CFG = "PLATFORM"
+
+#PLL_CFG value:"PLATFORM","GSW"
+MOBILETEK_PLL_CFG = "PLATFORM"
+
+#RTP_CFG value:"PLATFORM","GSW"
+MOBILETEK_RTP_CFG = "PLATFORM"
+
+#MEDIA_CFG value:"PLATFORM","GSW"
+MOBILETEK_MEDIA_CFG = "PLATFORM"
+
+#LOG_CFG value:"PLATFORM","GSW"
+MOBILETEK_LOG_CFG = "PLATFORM"
+
+#FOTA_CFG value:"PLATFORM","GSW"
+MOBILETEK_FOTA_CFG = "PLATFORM"
+
+#RIL_CFG value:"PLATFORM","GSW"
+MOBILETEK_RIL_CFG = "PLATFORM"
+
+#UART_CFG value:"PLATFORM","GSW"
+MOBILETEK_UART_CFG = "PLATFORM"
+
+#USB_CFG value:"PLATFORM","GSW"
+MOBILETEK_USB_CFG = "PLATFORM"
+
+#ndis_CFG value:"PLATFORM","GSW"
+MOBILETEK_NDIS_CFG = "PLATFORM"
+
+#SUSPEND_CFG value:"PLATFORM","GSW"
+MOBILETEK_SUSPEND_CFG = "PLATFORM"
+
+#MNLDLOG_CFG value:"PLATFORM","GSW"
+MOBILETEK_MNLDLOG_CFG = "PLATFORM"
+
+#OPTEE_CFG value:"PLATFORM","GSW"
+MOBILETEK_OPTEE_CFG = "PLATFORM"
+
+#EMMC_CFG value:"PLATFORM","GSW"
+MOBILETEK_EMMC_CFG = "PLATFORM"
+
+#WIFIKERNELCODE_CFG value:"PLATFORM","GSW"
+MOBILETEK_WIFIKERNELCODE_CFG = "PLATFORM"
+
+#SYSTEMD_CFG value:"PLATFORM","GSW"
+MOBILETEK_SYSTEMD_CFG = "PLATFORM"
+
+#GSTREAMER_CFG value:"PLATFORM","GSW"
+MOBILETEK_GSTREAMER_CFG = "PLATFORM"
+
+#BUSYBOX_CFG value:"PLATFORM","GSW"
+MOBILETEK_BUSYBOX_CFG = "PLATFORM"
+
+#OPENSSH_CFG value:"PLATFORM","GSW"
+MOBILETEK_OPENSSH_CFG = "PLATFORM"
+
+#OEMAPP_CFG value:"PLATFORM","GSW"
+MOBILETEK_OEMAPP_CFG = "PLATFORM"
+
+LYNQ_CONFIG_COMMITID = "0c2debfe031411e8f3183d8c60032778b6210484"
+LYNQ_CONFIG_VERSION = "T106-MXX-PLXXXX-P56U10.AP.18.02_CAP.18.02"
+LYNQ_CONFIG_SW_VERSION = "T106-MXX-PLXXXX-P56U10.AP.18.02_CAP.18.02"
diff --git a/patch/ST_SDK_V4.9_W_SP1/rootfs/lib/liblynq-sim.so b/patch/ST_SDK_V4.9_W_SP1/rootfs/lib/liblynq-sim.so
new file mode 100755
index 0000000..b776ec0
--- /dev/null
+++ b/patch/ST_SDK_V4.9_W_SP1/rootfs/lib/liblynq-sim.so
Binary files differ
diff --git a/patch/ST_SDK_V4.9_W_SP1/rootfs/lib/libpoweralarm.so b/patch/ST_SDK_V4.9_W_SP1/rootfs/lib/libpoweralarm.so
new file mode 100755
index 0000000..cb89af9
--- /dev/null
+++ b/patch/ST_SDK_V4.9_W_SP1/rootfs/lib/libpoweralarm.so
Binary files differ
diff --git a/patch/ST_SDK_V4.9_W_SP1/rootfs/lib/libvendor-ril.so b/patch/ST_SDK_V4.9_W_SP1/rootfs/lib/libvendor-ril.so
new file mode 100755
index 0000000..5f17375
--- /dev/null
+++ b/patch/ST_SDK_V4.9_W_SP1/rootfs/lib/libvendor-ril.so
Binary files differ
diff --git a/patch/ST_SDK_V4.9_W_SP1/rootfs/usr/lib/libreference-ril.so b/patch/ST_SDK_V4.9_W_SP1/rootfs/usr/lib/libreference-ril.so
new file mode 100755
index 0000000..5c91935
--- /dev/null
+++ b/patch/ST_SDK_V4.9_W_SP1/rootfs/usr/lib/libreference-ril.so
Binary files differ