Commit 244e8e3d authored by luo's avatar luo

[UPDATE]SDK 2.5.0.4.6

parent 28d540f6
6920_bsp_release/linux/rootfs/
6920_bsp_release/out_images/
6920_bsp_release/pack_tool/key/
6920_bsp_release/rt-thread-nano/bsp/sa692x/star/.config
6920_bsp_release/rt-thread-nano/bsp/sa692x/star/.sconsign.dblite
burn_img_emmc/
burn_img_nor/
system_temp/
6920_bsp_release/rt-thread-nano/bsp/sa692x/star/build/
system.squashfs.bin
*.o
.config
6920_bsp_release/rt-thread-nano/bsp/sa692x/star/rtconfig.h
sdk/opensource/conf/
sdk/opensource/source/hapi/*.so
sdk/opensource/source/hapi/*.a
...@@ -249,6 +249,16 @@ ...@@ -249,6 +249,16 @@
bias-pull-up; bias-pull-up;
}; };
}; };
pinctrl_gpioa3_pmux: gpioa3-pmux {
mux {
groups = "gpioa_3_grp";
function = "gpioa_3";
};
conf {
pins = "PORTA3";
bias-pull-up;
};
};
pinctrl_gpiod5_pmux: gpiod5-pmux { pinctrl_gpiod5_pmux: gpiod5-pmux {
mux { mux {
groups = "gpiod_5_grp"; groups = "gpiod_5_grp";
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
}; };
chosen { chosen {
bootargs = "console=ttyS2,115200 mem=96M quiet"; bootargs = "console=ttyS2,115200 mem=64M quiet";
stdout-path = "serial2:115200n8"; stdout-path = "serial2:115200n8";
}; };
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
cap-sdio-irq; cap-sdio-irq;
supports-sdio; supports-sdio;
keep-power-in-suspend; keep-power-in-suspend;
pinctrl-0 = <&pinctrl_sdio0_pmux_single_line &pinctrl_gpioh3_pmux &pinctrl_gpioh4_pmux &pinctrl_gpioh5_pmux>; pinctrl-0 = <&pinctrl_sdio0_pmux_single_line &pinctrl_gpioa3_pmux &pinctrl_gpioh3_pmux &pinctrl_gpioh4_pmux &pinctrl_gpioh5_pmux>;
status = "ok"; status = "ok";
}; };
...@@ -100,6 +100,7 @@ ...@@ -100,6 +100,7 @@
//vqmmc-supply = <&reg_ldo3>; //vqmmc-supply = <&reg_ldo3>;
cap-sd-highspeed; cap-sd-highspeed;
cd-inverted; cd-inverted;
keep-power-in-suspend;
cd-gpios = <&portc 0 0>; cd-gpios = <&portc 0 0>;
pinctrl-0 = <&pinctrl_sdio_pmux &pinctrl_gpioc0_pmux &pinctrl_gpiof3_pmux>; pinctrl-0 = <&pinctrl_sdio_pmux &pinctrl_gpioc0_pmux &pinctrl_gpiof3_pmux>;
status = "ok"; status = "ok";
......
...@@ -503,6 +503,10 @@ void device_init(void) ...@@ -503,6 +503,10 @@ void device_init(void)
SA_REG_WRITEL(0x1, CRG_ALWAYSON_RESET_CTRL); SA_REG_WRITEL(0x1, CRG_ALWAYSON_RESET_CTRL);
SA_PMIC_Init("i2c0", GPIO_PORT_A_PIN_3); SA_PMIC_Init("i2c0", GPIO_PORT_A_PIN_3);
#endif #endif
#if defined(YJW_OUTDOOR_IPC)
/* enable watchdog reset output */
SA_REG_WRITEL(0x3, CRG_ALWAYSON_RESET_CTRL);
#endif
} }
......
...@@ -484,7 +484,9 @@ void shutdown_filter_powerup_procee(void) ...@@ -484,7 +484,9 @@ void shutdown_filter_powerup_procee(void)
sa_set_padcfs(PADCONF_GPIO_D5,PADC_FS_GPIO_D5); sa_set_padcfs(PADCONF_GPIO_D5,PADC_FS_GPIO_D5);
rt_pin_mode(GPIO_PORT_D_PIN_5, PIN_MODE_OUTPUT); rt_pin_mode(GPIO_PORT_D_PIN_5, PIN_MODE_OUTPUT);
rt_pin_write(GPIO_PORT_D_PIN_5, PIN_HIGH); rt_pin_write(GPIO_PORT_D_PIN_5, PIN_HIGH);
rt_thread_mdelay(100); sa_set_padcfs(PADCONF_GPIO_A3,PADC_FS_GPIO_A3);
rt_pin_mode(GPIO_PORT_A_PIN_3, PIN_MODE_OUTPUT);
rt_pin_write(GPIO_PORT_A_PIN_3, PIN_HIGH);
#endif #endif
open_peripheral_power(); open_peripheral_power();
rt_thread_mdelay(5);//must keep delay between peripheral-powerup and pmu-powerup, or filter/shutdown regoin power up will crash, 2023.11.29 rt_thread_mdelay(5);//must keep delay between peripheral-powerup and pmu-powerup, or filter/shutdown regoin power up will crash, 2023.11.29
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "rpmsg_rpc_app.h" #include "rpmsg_rpc_app.h"
#define BUTTON_PIN GPIO_PORT_A_PIN_4 // GPIO_A4 引脚 #define BUTTON_PIN GPIO_PORT_A_PIN_4 // GPIO_A4 引脚
#define LONG_PRESS_TIME 8000 // 长按时间阈值,单位为毫秒 #define LONG_PRESS_TIME 3000 // 长按时间阈值,单位为毫秒
#define DEBOUNCE_TIME 20 // 消抖时间,单位为毫秒 #define DEBOUNCE_TIME 20 // 消抖时间,单位为毫秒
static struct rt_timer debounce_timer; static struct rt_timer debounce_timer;
...@@ -53,13 +53,13 @@ static void button_irq_handler(void *args) ...@@ -53,13 +53,13 @@ static void button_irq_handler(void *args)
rt_uint32_t press_duration = rt_tick_get() - press_start_time; rt_uint32_t press_duration = rt_tick_get() - press_start_time;
if (press_duration >= rt_tick_from_millisecond(LONG_PRESS_TIME)) if (press_duration >= rt_tick_from_millisecond(LONG_PRESS_TIME))
{ {
// rt_kprintf("long, press_duration = %d, press_start_time = %d\n", press_duration, press_start_time); rt_kprintf("long, press_duration = %d, press_start_time = %d\n", press_duration, press_start_time);
rpmsg_rpc_app_send_button_event(E_RPC_EVENT_SRC_RESET); rpmsg_rpc_app_send_button_event(E_RPC_EVENT_SRC_RESET);
} }
else else
{ {
// rt_kprintf("short\n"); // rt_kprintf("short\n");
system_resetall(); // system_resetall();
// rpmsg_rpc_app_send_button_event(__LINE__); // rpmsg_rpc_app_send_button_event(__LINE__);
} }
} }
......
...@@ -4,10 +4,8 @@ ...@@ -4,10 +4,8 @@
## 2. 编译 ## 2. 编译
### 2.1 配置mcu与A55工具链的环境变量 ### 2.1 配置mcu与A55工具链的环境变量
例如: 例如:
export PATH=$PATH:/opt/uclibc-ng/v1.2/arm-microbt-linux-uclibcgnueabihf/bin/ export PATH=$PATH:/opt/uclibc-ng/v1.2/arm-microbt-linux-uclibcgnueabihf/bin/; export CROSS_COMPILE=/opt/uclibc-ng/v1.2/arm-microbt-linux-uclibcgnueabihf/bin/arm-microbt-linux-uclibcgnueabihf-; export RTT_EXEC_PATH=/opt/gcc-arm-none-eabi-10.3-2021.10/bin
export CROSS_COMPILE=/opt/uclibc-ng/v1.2/arm-microbt-linux-uclibcgnueabihf/bin/arm-microbt-linux-uclibcgnueabihf-
export RTT_EXEC_PATH=/opt/gcc-arm-none-eabi-10.3-2021.10/bin
### 2.2 编译 ### 2.2 编译
a、编译普通版本 a、编译普通版本
...@@ -16,13 +14,13 @@ a、编译普通版本 ...@@ -16,13 +14,13 @@ a、编译普通版本
./run.sh clean 清除所有版本 ./run.sh clean 清除所有版本
./run.sh emmc 编译所有emmc版本 ./run.sh emmc 编译所有emmc版本
./run.sh nor 编译所有norflash版本 ./run.sh nor 编译所有norflash版本
./run.sh outdoor-ipc 编译IPC类版本 ./run.sh outdoor-ipc 编译IPC类版本
./run.sh glasses 编译眼镜类版本 ./run.sh glasses 编译眼镜类版本
b、编译ota版本 b、编译ota版本
......
{
"doc": "lite",
"version": "1.0.1.1",
"#note": [
"workmode: trigger, deepsleep, aor, normal, hibernate",
"scene: record, play, talk, record_play, trigger",
"soundmode: mono, stereo",
"encoder/decoder: aac, g711a, g711u, pcm",
"sensor: 4d10, 4a10, 2n10, imx681j, imx681v, sc535, 5l10, 4j10, 4l10",
"imgmode: linear, hdr, spi, dvp, binning, ext1",
"format: h264, h265, jpeg",
"rcmode: cqp, cbr, vbr, avbr, fqp",
"osd: image, time"
],
"workmode": "normal",
"dual": 0,
"audio": {
"enable": 0,
"scene": "record",
"input": { "samplerate": 16000, "soundmode": "mono", "encoder": "aac", "vqe": { "enable": 0, "paramfile": "" } },
"output": { "samplerate": 16000, "soundmode": "mono", "decoder": "aac", "vqe": { "enable": 0, "paramfile": "" } },
"sap": { "enable": 0, "samplerate": 16000, "abnormal": { "enable": 0, "sensitivity": 1 } }
},
"video": {
"enable": 1,
"vin": [
{
"enable": 1, "devid": 0, "sensor": "imx681j", "imgmode": "linear", "smartae": 0, "mirror": 0, "flip": 0, "dumpyuv": 0, "dumpraw": 0,
"maxfps": 15.0, "minfps": 5.0, "maxexptime": 200000, "sd": 0, "flickerEnable": 0, "flickerFrequency": 50, "rotation": 0,
"eisMode": 0,
"ispfile": [ "/acme/bin/imx681_indoor.bin" ],
"algfile": "/acme/conf/4d10/aisp_4M.bin"
}
],
"venc": [
{
"enable": 1, "devid": 0, "channel": 0, "smartrc": 0, "smartsei": 0,
"format": "jpeg", "width": 4032, "height": 3024, "rcmode": "vbr", "bitrate": 1024000,
"region": [
{
"enable": 0, "osd": "image",
"rect": { "x": 32, "y": 32, "width": 256, "height": 128 },
"color": [ 16777215, 6171602, 16745541 ],
"file": "/acme/bin/logo256x128.2bpp"
},
{
"enable": 0, "osd": "time",
"rect": { "x": 3200, "y": 2928, "width": 800, "height": 64 },
"color": [ 16777215, 6171602, 16745541 ]
}
]
},
{
"enable": 0, "devid": 0, "channel": 1, "smartrc": 1, "smartsei": 1,
"format": "h265", "width": 1280, "height": 720, "rcmode": "cbr", "bitrate": 1024000,
"region": [
{
"enable": 1, "osd": "image",
"rect": { "x": 32, "y": 32, "width": 256, "height": 128 },
"color": [ 16777215, 6171602, 16745541 ],
"file": "/acme/bin/logo256x128.2bpp"
},
{
"enable": 1, "osd": "time",
"rect": { "x": 448, "y": 624, "width": 800, "height": 64 },
"color": [ 16777215, 6171602, 16745541 ]
}
]
}
],
"svp": [
{
"enable": 0, "devid": 0, "detectfps": 15, "structfps": 1, "threshold": 0.65, "rows": 5, "cols": 5,
"modelfile": "/acme/conf/yolox_nano_PersonVehicleNonvehicle_800x480.hir",
"motordetect": { "enable": 1, "threshold": 0.25 },
"nonmotordetect": { "enable": 0, "threshold": 0.25 },
"peopledetect": { "enable": 1, "threshold": 0.25 },
"facedetect": { "enable": 1, "threshold": 0.25 },
"facestruct": { "enable": 0, "modelfile": "" },
"motiondetect": { "enable": 1, "threshold": 0.5 }
}
],
"trigger": [
{
"enable": 1,
"crop": { "x": 0, "y": 0, "width": 4032, "height": 3024 },
"binning": { "width": 672, "height": 504 },
"scale": { "width": 416, "height": 416 },
"memlen": 0, "totaltime": 1000, "maxwaittime": 1000, "tolerance": 5,
"nightMode":0, "sensitivity":1, "firstlevel": 0, "secondlevel": 0,
"exptime": 20000, "again": 1024, "dgain": 1024, "ispgain": 1024,
"autotarget": 1, "target": 64, "range": 10,
"isotarget": [ 64, 64, 64, 64, 65, 66, 69, 72, 75, 75, 75, 75, 75, 75, 75, 75 ]
}
]
}
}
{
"doc": "lite",
"version": "1.0.1.1",
"#note": [
"workmode: trigger, deepsleep, aor, normal, hibernate",
"scene: record, play, talk, record_play, trigger",
"soundmode: mono, stereo",
"encoder/decoder: aac, g711a, g711u, pcm",
"sensor: 4d10, 4a10, 2n10, imx681j, imx681v, sc535, 5l10, 4j10, 4l10",
"imgmode: linear, hdr, spi, dvp, binning, ext1",
"format: h264, h265, jpeg",
"rcmode: cqp, cbr, vbr, avbr, fqp",
"osd: image, time"
],
"workmode": "normal",
"dual": 0,
"audio": {
"enable": 0,
"scene": "record",
"input": { "samplerate": 16000, "soundmode": "mono", "encoder": "aac", "vqe": { "enable": 0, "paramfile": "" } },
"output": { "samplerate": 16000, "soundmode": "mono", "decoder": "aac", "vqe": { "enable": 0, "paramfile": "" } },
"sap": { "enable": 0, "samplerate": 16000, "abnormal": { "enable": 0, "sensitivity": 1 } }
},
"video": {
"enable": 1,
"vin": [
{
"enable": 1, "devid": 0, "sensor": "imx681v", "imgmode": "binning", "smartae": 0, "mirror": 0, "flip": 0, "dumpyuv": 0, "dumpraw": 0,
"maxfps": 15.0, "minfps": 5.0, "maxexptime": 200000, "sd": 1, "flickerEnable": 0, "flickerFrequency": 50, "rotation": 0,
"eisMode": 0,
"ispfile": [ "/acme/conf/681/imx681_12M_Color_Outdoor.bin", "/acme/conf/681/imx681_12M_Color_Outdoor_diff.bin", "/acme/conf/681/imx681_12M_Color_Indoor_diff.bin"],
"algfile": "/acme/conf/4d10/aisp_4M.bin"
}
],
"venc": [
{
"enable": 1, "devid": 0, "channel": 0, "smartrc": 0, "smartsei": 0,
"format": "h265", "width": 1920, "height": 1080, "rcmode": "vbr", "bitrate": 1024000,
"region": [
{
"enable": 0, "osd": "image",
"rect": { "x": 32, "y": 32, "width": 256, "height": 128 },
"color": [ 16777215, 6171602, 16745541 ],
"file": "/acme/bin/logo256x128.2bpp"
},
{
"enable": 0, "osd": "time",
"rect": { "x": 1088, "y": 984, "width": 800, "height": 64 },
"color": [ 16777215, 6171602, 16745541 ]
}
]
},
{
"enable": 1, "devid": 0, "channel": 1, "smartrc": 0, "smartsei": 0,
"format": "h265", "width": 1280, "height": 720, "rcmode": "cbr", "bitrate": 1024000,
"region": [
{
"enable": 1, "osd": "image",
"rect": { "x": 32, "y": 32, "width": 256, "height": 128 },
"color": [ 16777215, 6171602, 16745541 ],
"file": "/acme/bin/logo256x128.2bpp"
},
{
"enable": 1, "osd": "time",
"rect": { "x": 448, "y": 624, "width": 800, "height": 64 },
"color": [ 16777215, 6171602, 16745541 ]
}
]
}
],
"svp": [
{
"enable": 0, "devid": 0, "detectfps": 15, "structfps": 1, "threshold": 0.65, "rows": 5, "cols": 5,
"modelfile": "/acme/conf/yolox_nano_PersonVehicleNonvehicle_800x480.hir",
"motordetect": { "enable": 1, "threshold": 0.25 },
"nonmotordetect": { "enable": 0, "threshold": 0.25 },
"peopledetect": { "enable": 1, "threshold": 0.25 },
"facedetect": { "enable": 1, "threshold": 0.25 },
"facestruct": { "enable": 0, "modelfile": "" },
"motiondetect": { "enable": 1, "threshold": 0.5 }
}
],
"trigger": [
{
"enable": 1,
"crop": { "x": 0, "y": 0, "width": 2016, "height": 1512 },
"binning": { "width": 672, "height": 504 },
"scale": { "width": 416, "height": 416 },
"memlen": 45000000, "totaltime": 1000, "maxwaittime": 1000, "tolerance": 5,
"nightMode":0, "sensitivity":1, "firstlevel": 0, "secondlevel": 0,
"exptime": 20000, "again": 1024, "dgain": 1024, "ispgain": 1024,
"autotarget": 1, "target": 64, "range": 10,
"isotarget": [ 64, 64, 64, 64, 65, 66, 69, 72, 75, 75, 75, 75, 75, 75, 75, 75 ]
}
]
}
}
...@@ -72,9 +72,18 @@ parse_and_upgrade() { ...@@ -72,9 +72,18 @@ parse_and_upgrade() {
current_dir=$(pwd) current_dir=$(pwd)
echo "Current directory: $current_dir" echo "Current directory: $current_dir"
ota_version=$(echo "$content" | grep -o 'OTA_VERSION=VSALW01_SV_V[0-9]\+\.[0-9]\+\.[0-9]\+_[0-9]\+' | sed 's/.*_SV_\(V[0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/') # Step 1: Extract the full OTA version string
ota_version_full=$(echo "$content" | grep -o 'OTA_VERSION=[^ ]*' | sed 's/OTA_VERSION=//' | tr -d ';') ota_version_str=$(echo "$content" | grep -o 'OTA_VERSION=S04_16NRALXSW1Y1_V[0-9]\+\.[0-9]\+\.[0-9]\+_[0-9]\+')
current_ota_version=$(grep -o 'OTA_VERSION=VSALW01_SV_V[0-9]\+\.[0-9]\+\.[0-9]\+_[0-9]\+' /dev/mtdblock7 | sed 's/.*_SV_\(V[0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/') echo "Extracted OTA version string: $ota_version_str"
# Step 2: Extract the version number part from the full OTA version string
ota_version=$(echo "$ota_version_str" | sed 's/.*_V\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/')
echo "Extracted OTA version: $ota_version"
# Step 3: Extract the full OTA version without the prefix
ota_version_full=$(echo "$ota_version_str" | sed 's/OTA_VERSION=//' | tr -d ';')
echo "Full OTA version: $ota_version_full"
if [ -z "$current_ota_version" ]; then if [ -z "$current_ota_version" ]; then
current_ota_version="V0.0.0" current_ota_version="V0.0.0"
first=true first=true
......
...@@ -93,7 +93,7 @@ else ...@@ -93,7 +93,7 @@ else
fi fi
output_text="{ output_text="{
OTA_VERSION=V$ota_version; OTA_VERSION=$ota_version;
$( [ -n "$sh_file_run" ] && echo "{ $( [ -n "$sh_file_run" ] && echo "{
img_type=ota; img_type=ota;
img_version=0; img_version=0;
......
...@@ -45,11 +45,17 @@ rootfs_copy_file() { ...@@ -45,11 +45,17 @@ rootfs_copy_file() {
mkdir system_temp/conf/681/ -p mkdir system_temp/conf/681/ -p
cp common/modules/sa6920-i2c.dtbo system_temp/lib/modules/ cp common/modules/sa6920-i2c.dtbo system_temp/lib/modules/
cp common/conf/681/imx681_12M* system_temp/conf/681/ cp common/conf/681/imx681_12M* system_temp/conf/681/
cp sdk/bin/lite_imx681j_normal.json system_temp/bin/ cp common/bin/lite_imx681j_normal.json system_temp/bin/
cp sdk/bin/lite_imx681v_normal.json system_temp/bin/ cp common/bin/lite_imx681v_normal.json system_temp/bin/
cp common/script/load_glasses_all.sh system_temp/scripts/ cp common/script/load_glasses_all.sh system_temp/scripts/
cp sdk/lib/modules/isp_all.ko system_temp/lib/modules/ cp sdk/lib/modules/isp_all.ko system_temp/lib/modules/
fi fi
if [ "$type" == "emmc" ];then
mkdir system_temp/conf/681/ -p
cp common/conf/681/* system_temp/conf/681/
cp sdk/bin/sample_hapi_media system_temp/bin/
fi
} }
check_file_size() { check_file_size() {
...@@ -135,6 +141,31 @@ copy_files "$1" ...@@ -135,6 +141,31 @@ copy_files "$1"
cp sdk/opensource/lib/libsns_imx681_soc.so* system_temp/lib/ cp sdk/opensource/lib/libsns_imx681_soc.so* system_temp/lib/
cp sdk/opensource/lib/libsns_os04d10_soc30.so* system_temp/lib/ cp sdk/opensource/lib/libsns_os04d10_soc30.so* system_temp/lib/
# Get new lib*.so/a
cd sdk/opensource/source/
source export.sh
sed -i 's|CROSS_COMPILE=arm-microbt-linux-uclibcgnueabihf-|#CROSS_COMPILE=arm-microbt-linux-uclibcgnueabihf-|g' mkconfig
cd -
cd sdk/opensource/source/hapi/
make clean
make
cd -
cd sdk/opensource/source/sensor/
make clean
make
cd -
git checkout sdk/opensource/source/mkconfig
cp sdk/opensource/source/hapi/libhapi_open.so system_temp/lib/libhapi_open.so.$(ls sdk/opensource/lib/libhapi_open.so.* | sed -n 's/.*\.so\.\(.*\)/\1/p' | head -n 1)
cp sdk/opensource/source/hapi/libhapi_open.so system_temp/lib/libhapi_open.so
cp sdk/opensource/source/hapi/libhapi_open.so sdk/opensource/lib/libhapi_open.so.$(ls sdk/opensource/lib/libhapi_open.so.* | sed -n 's/.*\.so\.\(.*\)/\1/p' | head -n 1)
cp sdk/opensource/source/hapi/libhapi_open.so sdk/opensource/lib/libhapi_open.so
cp sdk/opensource/source/hapi/libhapi_open.a system_temp/lib/libhapi_open_static.a
cp sdk/opensource/source/sensor/libsns_os04d10_soc30.so system_temp/lib/libsns_os04d10_soc30.so.$(ls sdk/opensource/lib/libsns_os04d10_soc30.so.* | sed -n 's/.*\.so\.\(.*\)/\1/p' | head -n 1)
cp sdk/opensource/source/sensor/libsns_os04d10_soc30.so system_temp/lib/libsns_os04d10_soc30.so
cp sdk/opensource/source/sensor/libsns_imx681_soc.so system_temp/lib/libsns_imx681_soc.so.$(ls sdk/opensource/lib/libsns_imx681_soc.so.* | sed -n 's/.*\.so\.\(.*\)/\1/p' | head -n 1)
cp sdk/opensource/source/sensor/libsns_imx681_soc.so system_temp/lib/libsns_imx681_soc.so
cp sdk/lib/modules/usb system_temp/lib/modules -rf cp sdk/lib/modules/usb system_temp/lib/modules -rf
cp sdk/lib/modules/designware_i2s.ko system_temp/lib/modules/ cp sdk/lib/modules/designware_i2s.ko system_temp/lib/modules/
...@@ -213,11 +244,21 @@ copy_files "$1" ...@@ -213,11 +244,21 @@ copy_files "$1"
cp sdk/bin/sample_cli system_temp/bin/ cp sdk/bin/sample_cli system_temp/bin/
cp sdk/bin/simhei.ttf system_temp/bin/ cp sdk/bin/simhei.ttf system_temp/bin/
cp sdk/bin/tzc400 system_temp/bin/ cp sdk/bin/tzc400 system_temp/bin/
cp sdk/bin/streamerlite system_temp/bin/ # cp sdk/bin/streamerlite system_temp/bin/
cp sdk/bin/vlink_socchannel_main system_temp/bin/ cp sdk/bin/vlink_socchannel_main system_temp/bin/
cp sdk/bin/x_venc_logo_256_128.bgra system_temp/bin/ cp sdk/bin/x_venc_logo_256_128.bgra system_temp/bin/
cp sdk/sample/source/sample_sys/sample_sys_mode system_temp/bin/ # Get new streamerlite
cd sdk/sample/source/
source export.sh
sed -i 's|CROSS_COMPILE=arm-microbt-linux-uclibcgnueabihf-|#CROSS_COMPILE=arm-microbt-linux-uclibcgnueabihf-|g' mkconfig
cd -
cd sdk/sample/source/sample_hapi_streamer/
make clean
make
cd -
git checkout sdk/sample/source/mkconfig
mv sdk/sample/source/sample_hapi_streamer/sample_hapi_streamer system_temp/bin/streamerlite_sample
cp system/configs system_temp/ -r cp system/configs system_temp/ -r
cp system/usr/* system_temp/usr/ -rf cp system/usr/* system_temp/usr/ -rf
......
#!/bin/bash #!/bin/bash
#notice follows path in ota_pack #notice follows path in ota_pack
bootinfo_version="2.5.5" bootinfo_version="2.5.6"
OTA_VERSION="SALW01_SV_V0.0.8_241230" OTA_VERSION="S04_16NRALXSW1Y1_V1.0.4_250121"
OTA_KERNEL_PATH="../burn_img_nor/bootimg-XIP-6920E-0P55-outdoor-ipc-linux.bin" OTA_KERNEL_PATH="../burn_img_nor/bootimg-XIP-6920E-0P55-outdoor-ipc-linux.bin"
OTA_SYSTEM_PATH="../burn_img_nor/system.squashfs.bin" OTA_SYSTEM_PATH="../burn_img_nor/system.squashfs.bin"
OTA_SDK_VERSION="V2.5.0.2.5" OTA_SDK_VERSION="V2.5.0.2.8"
OTA_WIFI_FW_PATH="../third_party/longse/wifi/AiW4211L_demo_ota_V2024.12.26.bin" OTA_WIFI_FW_PATH="../third_party/longse/wifi/AiW4211L_demo_ota_V2025.1.15.bin"
OTA_BURN_SH_PATH="./device_ota_pack/ota_burn.sh" OTA_BURN_SH_PATH="./device_ota_pack/ota_burn.sh"
OTA_EXT_SH_PATH="./device_ota_pack/sample_ota.sh" OTA_EXT_SH_PATH="./device_ota_pack/sample_ota.sh"
OTA_EXT_CMD="" OTA_EXT_CMD=""
...@@ -95,6 +95,7 @@ if [ "$1" == "nor" ] || [ -z "$1" ]; then ...@@ -95,6 +95,7 @@ if [ "$1" == "nor" ] || [ -z "$1" ]; then
#SDK library #SDK library
cp -d sdk/bin/sample_cli system_temp/bin cp -d sdk/bin/sample_cli system_temp/bin
cp -d sdk/bin/simhei.ttf system_temp/bin cp -d sdk/bin/simhei.ttf system_temp/bin
cp -d sdk/bin/controller system_temp/bin
cp -d sdk/usr/lib/libfreetype.so* system_temp/lib/ cp -d sdk/usr/lib/libfreetype.so* system_temp/lib/
cp -d sdk/usr/lib/libfdk-aac.so* system_temp/lib/ cp -d sdk/usr/lib/libfdk-aac.so* system_temp/lib/
...@@ -119,8 +120,8 @@ if [ "$1" == "nor" ] || [ -z "$1" ]; then ...@@ -119,8 +120,8 @@ if [ "$1" == "nor" ] || [ -z "$1" ]; then
cp -d sdk/lib/libsvp_vnne.so system_temp/lib/ cp -d sdk/lib/libsvp_vnne.so system_temp/lib/
cp -d sdk/lib/libsvp_yolox.so system_temp/lib/ cp -d sdk/lib/libsvp_yolox.so system_temp/lib/
# cp sdk/opensource/lib/libhapi_open.so* system_temp/lib/ cp sdk/opensource/lib/libhapi_open.so* system_temp/lib/
# cp sdk/opensource/lib/libimu_open.so* system_temp/lib/ cp sdk/opensource/lib/libimu_open.so* system_temp/lib/
cp -d sdk/opensource/lib/libjson_open.so* system_temp/lib/ cp -d sdk/opensource/lib/libjson_open.so* system_temp/lib/
cp -d sdk/opensource/lib/liblens_open.so* system_temp/lib/ cp -d sdk/opensource/lib/liblens_open.so* system_temp/lib/
cp -d sdk/opensource/lib/librtsp_open.so* system_temp/lib/ cp -d sdk/opensource/lib/librtsp_open.so* system_temp/lib/
...@@ -189,6 +190,9 @@ if [ "$1" == "nor" ] || [ -z "$1" ]; then ...@@ -189,6 +190,9 @@ if [ "$1" == "nor" ] || [ -z "$1" ]; then
cp sdk/sample/source/lib/libsd_algo.so system_temp/lib/ cp sdk/sample/source/lib/libsd_algo.so system_temp/lib/
cp sdk/sample/source/lib/libsmartLamp.so system_temp/lib/ cp sdk/sample/source/lib/libsmartLamp.so system_temp/lib/
#cp common/bin/sample_sys_mode.bin system_temp/bin/ -f
#cp common/script/S99TestTrigger.sh system_temp/scripts/sdk_script/
# Replace "/acme/scripts/" with "/scripts/" in specified files # Replace "/acme/scripts/" with "/scripts/" in specified files
sed -i 's|ko_dir=/lib/modules/usb|ko_dir=/acme/lib/modules/usb|g' system_temp/scripts/enable_usb_func.sh sed -i 's|ko_dir=/lib/modules/usb|ko_dir=/acme/lib/modules/usb|g' system_temp/scripts/enable_usb_func.sh
sed -i 's|ko_dir=/lib/modules|ko_dir=/acme/lib/modules|g' system_temp/scripts/load_*.sh sed -i 's|ko_dir=/lib/modules|ko_dir=/acme/lib/modules|g' system_temp/scripts/load_*.sh
...@@ -212,15 +216,11 @@ if [ "$1" == "nor" ] || [ -z "$1" ]; then ...@@ -212,15 +216,11 @@ if [ "$1" == "nor" ] || [ -z "$1" ]; then
rm ./system_temp/bin/cameravpu rm ./system_temp/bin/cameravpu
rm ./system_temp/bin/x_venc_logo_256_128.bgra rm ./system_temp/bin/x_venc_logo_256_128.bgra
rm ./system_temp/bin/HeronTest rm ./system_temp/bin/HeronTest
rm ./system_temp/bin/controller
rm ./system_temp/conf/os04d10_720P* rm ./system_temp/conf/os04d10_720P*
rm ./system_temp/conf/object-detection* rm ./system_temp/conf/object-detection*
rm ./system_temp/conf/aisp_720P.bin rm ./system_temp/conf/aisp_720P.bin
rm ./system_temp/conf/os04d10_Linear_Color_Outdoor.bin rm ./system_temp/conf/os04d10_Linear_Color_Outdoor.bin
rm ./system_temp/conf/imx681_12M* rm ./system_temp/conf/imx681_12M*
rm ./system_temp/lib/libhapi*
rm ./system_temp/lib/libimu*
rm ./system_temp/lib/libsns*
#add longse files #add longse files
cp -r ./third_party/longse/bin/* ./system_temp/bin/ cp -r ./third_party/longse/bin/* ./system_temp/bin/
...@@ -232,13 +232,10 @@ if [ "$1" == "nor" ] || [ -z "$1" ]; then ...@@ -232,13 +232,10 @@ if [ "$1" == "nor" ] || [ -z "$1" ]; then
cp -rd ./third_party/longse/usr/lib/* ./system_temp/usr/lib/ cp -rd ./third_party/longse/usr/lib/* ./system_temp/usr/lib/
cp -rd ./third_party/longse/conf/* ./system_temp/conf/ cp -rd ./third_party/longse/conf/* ./system_temp/conf/
cp ./ota_pack/device_ota_pack/* ./system_temp/bin/ cp ./ota_pack/device_ota_pack/* ./system_temp/bin/
cp ./third_party/longse/key/public_key.pem ./system_temp/bin/
echo "OTA_SDK_VERSION=$OTA_SDK_VERSION" > ./system_temp/bin/OTA_SDK_VERSION echo "OTA_SDK_VERSION=$OTA_SDK_VERSION" > ./system_temp/bin/OTA_SDK_VERSION
#copy opensource (hapi/sensor/imu)
cp ./sdk/opensource/source/hapi/libhapi_open.so ./system_temp/lib/
cp ./sdk/opensource/source/sensor/libsns_os04d10_soc30.so ./system_temp/lib/
cp ./sdk/opensource/source/imu/libimu_open.so ./system_temp/lib/
cp common/lib/libmapi.so.2.5.0.3.5 system_temp/lib/libmapi.so.2.5.0.3.4 -rf #cp common/lib/libmapi.so.2.5.0.3.5 system_temp/lib/libmapi.so.2.5.0.3.4 -rf
#strip bin/lib #strip bin/lib
arm-microbt-linux-uclibcgnueabihf-strip ./system_temp/bin/* arm-microbt-linux-uclibcgnueabihf-strip ./system_temp/bin/*
arm-microbt-linux-uclibcgnueabihf-strip ./system_temp/lib/* arm-microbt-linux-uclibcgnueabihf-strip ./system_temp/lib/*
...@@ -266,4 +263,21 @@ if [ "$1" == "nor" ] || [ -z "$1" ]; then ...@@ -266,4 +263,21 @@ if [ "$1" == "nor" ] || [ -z "$1" ]; then
eval $ota_cmd eval $ota_cmd
cp ota_$OTA_VERSION.bin ../burn_img_nor/ cp ota_$OTA_VERSION.bin ../burn_img_nor/
cd - cd -
private_key_file="./third_party/longse/key/private_key.pem"
if [ -f "$private_key_file" ]; then
echo "私钥文件 $private_key_file 存在,开始签名操作。"
cp $private_key_file burn_img_nor/
cd burn_img_nor/
# 使用 openssl 命令进行签名
openssl dgst -sha256 -sign private_key.pem -out signature.bin ota_$OTA_VERSION.bin
if [ $? -eq 0 ]; then
echo "签名成功"
else
echo "签名操作失败。"
fi
rm private_key.pem
else
echo "私钥文件 $private_key_file 不存在,不需要签名"
fi
fi fi
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -83,6 +83,12 @@ ...@@ -83,6 +83,12 @@
"trigger": [ "trigger": [
{ {
"enable": 1, "enable": 1,
"poweronmode": 0,
"updatestaticattr": 0,
"updatedynamicattr": 1,
"devname": "/dev/mtd4",
"offsetstatic": 0,
"offsetdynamic": 65536,
"crop": { "x": 0, "y": 0, "width": 4032, "height": 3024 }, "crop": { "x": 0, "y": 0, "width": 4032, "height": 3024 },
"binning": { "width": 672, "height": 504 }, "binning": { "width": 672, "height": 504 },
"scale": { "width": 416, "height": 416 }, "scale": { "width": 416, "height": 416 },
......
...@@ -83,6 +83,12 @@ ...@@ -83,6 +83,12 @@
"trigger": [ "trigger": [
{ {
"enable": 1, "enable": 1,
"poweronmode": 0,
"updatestaticattr": 0,
"updatedynamicattr": 1,
"devname": "/dev/mtd4",
"offsetstatic": 0,
"offsetdynamic": 65536,
"crop": { "x": 0, "y": 0, "width": 2016, "height": 1512 }, "crop": { "x": 0, "y": 0, "width": 2016, "height": 1512 },
"binning": { "width": 672, "height": 504 }, "binning": { "width": 672, "height": 504 },
"scale": { "width": 416, "height": 416 }, "scale": { "width": 416, "height": 416 },
......
...@@ -83,6 +83,12 @@ ...@@ -83,6 +83,12 @@
"trigger": [ "trigger": [
{ {
"enable": 1, "enable": 1,
"poweronmode": 0,
"updatestaticattr": 0,
"updatedynamicattr": 1,
"devname": "/dev/mtd4",
"offsetstatic": 0,
"offsetdynamic": 65536,
"crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 }, "crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 },
"binning": { "width": 640, "height": 480 }, "binning": { "width": 640, "height": 480 },
"scale": { "width": 416, "height": 416 }, "scale": { "width": 416, "height": 416 },
......
...@@ -83,6 +83,12 @@ ...@@ -83,6 +83,12 @@
"trigger": [ "trigger": [
{ {
"enable": 1, "enable": 1,
"poweronmode": 0,
"updatestaticattr": 0,
"updatedynamicattr": 1,
"devname": "/dev/mtd4",
"offsetstatic": 0,
"offsetdynamic": 65536,
"crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 }, "crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 },
"binning": { "width": 640, "height": 480 }, "binning": { "width": 640, "height": 480 },
"scale": { "width": 416, "height": 416 }, "scale": { "width": 416, "height": 416 },
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"workmode": "normal", "workmode": "normal",
"dual": 0, "dual": 0,
"audio": { "audio": {
"enable": 1, "enable": 0,
"scene": "record", "scene": "record",
"input": { "samplerate": 16000, "soundmode": "mono", "encoder": "aac", "vqe": { "enable": 0, "paramfile": "" } }, "input": { "samplerate": 16000, "soundmode": "mono", "encoder": "aac", "vqe": { "enable": 0, "paramfile": "" } },
"output": { "samplerate": 16000, "soundmode": "mono", "decoder": "aac", "vqe": { "enable": 0, "paramfile": "" } }, "output": { "samplerate": 16000, "soundmode": "mono", "decoder": "aac", "vqe": { "enable": 0, "paramfile": "" } },
...@@ -28,13 +28,13 @@ ...@@ -28,13 +28,13 @@
"enable": 1, "devid": 0, "sensor": "4l10", "imgmode": "linear", "smartae": 1, "mirror": 0, "flip": 0, "dumpyuv": 0, "dumpraw": 0, "enable": 1, "devid": 0, "sensor": "4l10", "imgmode": "linear", "smartae": 1, "mirror": 0, "flip": 0, "dumpyuv": 0, "dumpraw": 0,
"maxfps": 15.0, "minfps": 5.0, "maxexptime": 200000, "sd": 1, "flickerEnable": 0, "flickerFrequency": 50, "rotation": 0, "maxfps": 15.0, "minfps": 5.0, "maxexptime": 200000, "sd": 1, "flickerEnable": 0, "flickerFrequency": 50, "rotation": 0,
"eisMode": 0, "eisMode": 0,
"ispfile": [ "/acme/conf/4d10/os04d10_base_Color.bin","/acme/conf/4d10/os04d10_4M_Color_Outdoor_diff.bin", "/acme/conf/4d10/os04d10_4M_Color_Indoor_diff.bin", "/acme/conf/4d10/os04d10_4M_Color_Aisp_diff.bin", "/acme/conf/4d10/os04d10_4M_Black_diff.bin","/acme/conf/4d10/os04d10_4M_Color_Aisp_diff_Light.bin" ], "ispfile": [ "/acme/conf/4l10/os04l10_4M_Color_Outdoor.bin","/acme/conf/4l10/os04l10_4M_Color_Outdoor_diff.bin", "/acme/conf/4l10/os04l10_4M_Color_Indoor_diff.bin", "/acme/conf/4l10/os04l10_4M_Color_Aisp_diff.bin", "/acme/conf/4l10/os04l10_4M_Black_diff.bin","/acme/conf/4l10/os04l10_4M_Color_Aisp_diff_Light.bin" ],
"algfile": "/acme/conf/4d10/aisp_4M.bin" "algfile": "/acme/conf/4l10/aisp_4M.bin"
} }
], ],
"venc": [ "venc": [
{ {
"enable": 1, "devid": 0, "channel": 0, "smartrc": 1, "smartsei": 1, "enable": 1, "devid": 0, "channel": 0, "smartrc": 0, "smartsei": 1,
"format": "h265", "width": 2560, "height": 1440, "rcmode": "vbr", "bitrate": 1024000, "format": "h265", "width": 2560, "height": 1440, "rcmode": "vbr", "bitrate": 1024000,
"region": [ "region": [
{ {
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
] ]
}, },
{ {
"enable": 1, "devid": 0, "channel": 1, "smartrc": 1, "smartsei": 1, "enable": 0, "devid": 0, "channel": 1, "smartrc": 1, "smartsei": 1,
"format": "h265", "width": 1280, "height": 720, "rcmode": "cbr", "bitrate": 1024000, "format": "h265", "width": 1280, "height": 720, "rcmode": "cbr", "bitrate": 1024000,
"region": [ "region": [
{ {
...@@ -83,6 +83,12 @@ ...@@ -83,6 +83,12 @@
"trigger": [ "trigger": [
{ {
"enable": 1, "enable": 1,
"poweronmode": 1,
"updatestaticattr": 0,
"updatedynamicattr": 1,
"devname": "/dev/mtd4",
"offsetstatic": 0,
"offsetdynamic": 65536,
"crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 }, "crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 },
"binning": { "width": 640, "height": 480 }, "binning": { "width": 640, "height": 480 },
"scale": { "width": 416, "height": 416 }, "scale": { "width": 416, "height": 416 },
......
...@@ -66,6 +66,12 @@ ...@@ -66,6 +66,12 @@
"trigger": [ "trigger": [
{ {
"enable": 1, "enable": 1,
"poweronmode": 0,
"updatestaticattr": 0,
"updatedynamicattr": 1,
"devname": "/dev/mtd4",
"offsetstatic": 0,
"offsetdynamic": 65536,
"crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 }, "crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 },
"binning": { "width": 640, "height": 480 }, "binning": { "width": 640, "height": 480 },
"scale": { "width": 416, "height": 416 }, "scale": { "width": 416, "height": 416 },
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -139,8 +139,8 @@ ...@@ -139,8 +139,8 @@
"h265": [ "h265": [
{ {
"enable": 1, "rtsp": 1, "sei": 0, "ps": 0, "enable": 1, "rtsp": 1, "sei": 0, "ps": 0,
"source": { "mode": 0, "channel": 1, "sync": 1 }, "#source/mode": "0 - online, 1 - manual, 2 - offline", "source": { "mode": 1, "channel": 1, "sync": 1 }, "#source/mode": "0 - online, 1 - manual, 2 - offline",
"encode": { "profile": 0, "width": 2560, "height": 1440, "skip_enable": 1, "forceIDR": 0 }, "#encode/profile": "0 - MP", "encode": { "profile": 0, "width": 2560, "height": 1440, "skip_enable": 0, "forceIDR": 0 }, "#encode/profile": "0 - MP",
"gop": { "mode": 0, "numb": 0, "length": 60, "layer": 2, "drop": 2, "ltrc": 0 }, "#gop/mode": "0 - default, 1 - pyramidal, 2 - lowdelayP, 3 - lowdelayB, 4 - adaptive, 5 - svc-t(effect on layer & drop)", "gop": { "mode": 0, "numb": 0, "length": 60, "layer": 2, "drop": 2, "ltrc": 0 }, "#gop/mode": "0 - default, 1 - pyramidal, 2 - lowdelayP, 3 - lowdelayB, 4 - adaptive, 5 - svc-t(effect on layer & drop)",
"#bitrate/mode": "0 - constQP, 1 - CBR, 2 - VBR, 5 - AVBR", "#bitrate/mode": "0 - constQP, 1 - CBR, 2 - VBR, 5 - AVBR",
"bitrate": { "bitrate": {
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
"initQP": 30, "minPQP": 10, "maxPQP": 45, "minIQP": 10, "maxIQP": 45, "initQP": 30, "minPQP": 10, "maxPQP": 45, "minIQP": 10, "maxIQP": 45,
"maxPicBits": 0, "maxIPicBits": 0, "mvPercent": [ 2, 6, 30 ], "brCoef": [ 50, 70, 100, 120 ] "maxPicBits": 0, "maxIPicBits": 0, "mvPercent": [ 2, 6, 30 ], "brCoef": [ 50, 70, 100, 120 ]
}, },
"record": { "enable": 0, "frames": 0, "size": 100 , "segment": 0 } "record": { "enable": 1, "frames": 100, "size": 100 , "segment": 0 }
} }
], ],
"vpss": [ "vpss": [
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
This diff is collapsed.
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
...@@ -197,6 +197,10 @@ ...@@ -197,6 +197,10 @@
"s32NearDistanceThresh":500, "s32NearDistanceThresh":500,
"s32TempLowThresh":500, "s32TempLowThresh":500,
"s32TempHighThresh":500, "s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10, "u16TFrame":10,
"u8InitCount":7, "u8InitCount":7,
"u8InitScene":4, "u8InitScene":4,
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment