mirror of https://github.com/OpenIPC/firmware.git
Update hi3516cv500 project
parent
2711d2b77e
commit
cae49a5283
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,4 +1,8 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Desciption:ir cut enable or disable
|
||||
# Copyright (C) Hisilicon Technologies Co., Ltd. 2012-2019. All rights reserved.
|
||||
|
||||
set -e
|
||||
|
||||
#GPIO3_3 -> GPIO27 (3*8+3 = 27)
|
||||
#GPIO3_4 -> GPIO28 (3*8+4 = 28)
|
||||
|
@ -60,12 +64,12 @@ ir_cut_disable()
|
|||
if [ $# -eq 0 ]; then
|
||||
echo "ir mode : ./demo_config.sh 1";
|
||||
else
|
||||
if [ $1 -eq 0 ]; then
|
||||
if [ "$1" -eq "0" ]; then
|
||||
echo "normal mode, ir_cut on"
|
||||
ir_cut_enable > /dev/null;
|
||||
fi
|
||||
|
||||
if [ $1 -eq 1 ]; then
|
||||
if [ "$1" -eq "1" ]; then
|
||||
echo "ir mode, ir_cut off"
|
||||
ir_cut_disable > /dev/null;
|
||||
fi
|
||||
|
|
|
@ -77,11 +77,11 @@ remove_gyro()
|
|||
|
||||
insert_ko()
|
||||
{
|
||||
# sys config
|
||||
insmod sys_config.ko chip=$CHIP_TYPE sensors=sns0=$SNS_TYPE0,sns1=$SNS_TYPE1, g_cmos_yuv_flag=$YUV_TYPE0
|
||||
|
||||
# driver load
|
||||
insmod hi_osal.ko anony=1 mmz_allocator=hisi mmz=anonymous,0,$mmz_start,$mmz_size || report_error
|
||||
|
||||
# sys config
|
||||
insmod sys_config.ko chip=$CHIP_TYPE sensors=sns0=$SNS_TYPE0,sns1=$SNS_TYPE1, g_cmos_yuv_flag=$YUV_TYPE0
|
||||
# insmod hi_tzasc.ko
|
||||
insmod hi3516cv500_base.ko
|
||||
insmod hi3516cv500_sys.ko
|
||||
|
@ -107,7 +107,7 @@ insert_ko()
|
|||
insmod hi3516cv500_vfmw.ko
|
||||
insmod hi3516cv500_vdec.ko
|
||||
|
||||
insmod hi3516cv500_ive.ko save_power=0
|
||||
insmod hi3516cv500_ive.ko save_power=1
|
||||
# insmod hi_ipcm.ko
|
||||
# nnie_max_tskbuf_num=64
|
||||
insmod hi3516cv500_nnie.ko nnie_save_power=1 nnie_max_tskbuf_num=32
|
||||
|
@ -176,8 +176,8 @@ remove_ko()
|
|||
rmmod hi3516cv500_sys
|
||||
rmmod hi3516cv500_base
|
||||
# rmmod hi_tzasc
|
||||
rmmod hi_osal
|
||||
rmmod sys_config
|
||||
rmmod hi_osal
|
||||
}
|
||||
|
||||
sys_restore()
|
||||
|
|
|
@ -80,11 +80,11 @@ remove_gyro()
|
|||
|
||||
insert_ko()
|
||||
{
|
||||
# driver load
|
||||
insmod hi_osal.ko anony=1 mmz_allocator=hisi mmz=anonymous,0,$mmz_start,$mmz_size || report_error
|
||||
# sys config
|
||||
insmod sys_config.ko chip=$CHIP_TYPE sensors=sns0=$SNS_TYPE0,sns1=$SNS_TYPE1, g_cmos_yuv_flag=$YUV_TYPE0
|
||||
|
||||
# driver load
|
||||
insmod hi_osal.ko anony=1 mmz_allocator=hisi mmz=anonymous,0,$mmz_start,$mmz_size || report_error
|
||||
# insmod hi_tzasc.ko
|
||||
insmod hi3516cv500_base.ko
|
||||
insmod hi3516cv500_sys.ko
|
||||
|
@ -108,9 +108,9 @@ insert_ko()
|
|||
insmod hi3516cv500_jpege.ko
|
||||
|
||||
|
||||
insmod hi3516cv500_ive.ko save_power=0
|
||||
insmod hi3516cv500_ive.ko save_power=1
|
||||
# insmod hi_ipcm.ko
|
||||
insmod hi3516cv500_nnie.ko
|
||||
insmod hi3516cv500_nnie.ko nnie_save_power=1 nnie_max_tskbuf_num=32
|
||||
insmod extdrv/hi_pwm.ko
|
||||
insmod extdrv/hi_piris.ko
|
||||
insmod extdrv/hi_sensor_i2c.ko
|
||||
|
@ -166,8 +166,8 @@ remove_ko()
|
|||
rmmod hi3516cv500_sys
|
||||
rmmod hi3516cv500_base
|
||||
# rmmod hi_tzasc
|
||||
rmmod hi_osal
|
||||
rmmod sys_config
|
||||
rmmod hi_osal
|
||||
}
|
||||
|
||||
sys_restore()
|
||||
|
|
|
@ -77,11 +77,11 @@ remove_gyro()
|
|||
|
||||
insert_ko()
|
||||
{
|
||||
# sys config
|
||||
insmod sys_config.ko chip=$CHIP_TYPE sensors=sns0=$SNS_TYPE0,sns1=$SNS_TYPE1, g_cmos_yuv_flag=$YUV_TYPE0
|
||||
|
||||
# driver load
|
||||
insmod hi_osal.ko anony=1 mmz_allocator=hisi mmz=anonymous,0,$mmz_start,$mmz_size || report_error
|
||||
|
||||
# sys config
|
||||
insmod sys_config.ko chip=$CHIP_TYPE sensors=sns0=$SNS_TYPE0,sns1=$SNS_TYPE1, g_cmos_yuv_flag=$YUV_TYPE0
|
||||
# insmod hi_tzasc.ko
|
||||
insmod hi3516cv500_base.ko
|
||||
insmod hi3516cv500_sys.ko
|
||||
|
@ -107,7 +107,7 @@ insert_ko()
|
|||
insmod hi3516cv500_vfmw.ko
|
||||
insmod hi3516cv500_vdec.ko
|
||||
|
||||
insmod hi3516cv500_ive.ko save_power=0
|
||||
insmod hi3516cv500_ive.ko save_power=1
|
||||
# insmod hi_ipcm.ko
|
||||
# nnie_max_tskbuf_num=64
|
||||
insmod hi3516cv500_nnie.ko nnie_save_power=1 nnie_max_tskbuf_num=32
|
||||
|
@ -176,8 +176,8 @@ remove_ko()
|
|||
rmmod hi3516cv500_sys
|
||||
rmmod hi3516cv500_base
|
||||
# rmmod hi_tzasc
|
||||
rmmod hi_osal
|
||||
rmmod sys_config
|
||||
rmmod hi_osal
|
||||
}
|
||||
|
||||
sys_restore()
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue