mirror of https://github.com/OpenIPC/firmware.git
Add Novatek NT9856x HDAL, init scripts, sensors and configs
parent
214318e412
commit
1138618aa1
|
@ -1975,8 +1975,8 @@ CONFIG_CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK=y
|
|||
#
|
||||
# NovaTek SoC drivers
|
||||
#
|
||||
# CONFIG_NVT_OTP_SUPPORT is not set
|
||||
CONFIG_NVT_HDAL_BUILD_IN=y
|
||||
CONFIG_NVT_OTP_SUPPORT=y
|
||||
# CONFIG_NVT_HDAL_BUILD_IN is not set
|
||||
# CONFIG_NVT_PERF_MEASURE is not set
|
||||
|
||||
#
|
||||
|
@ -1984,9 +1984,9 @@ CONFIG_NVT_HDAL_BUILD_IN=y
|
|||
#
|
||||
CONFIG_NVT_DMA_MONITOR=y
|
||||
CONFIG_NVT_SMALL_HDAL=y
|
||||
CONFIG_NVT_VOS_KWRAP=y
|
||||
CONFIG_NVT_HDAL_KDRV_BUILTIN=y
|
||||
CONFIG_NVT_FAST_ISP_FLOW=y
|
||||
# CONFIG_NVT_VOS_KWRAP is not set
|
||||
# CONFIG_NVT_HDAL_KDRV_BUILTIN is not set
|
||||
# CONFIG_NVT_FAST_ISP_FLOW is not set
|
||||
# CONFIG_PM_DEVFREQ is not set
|
||||
# CONFIG_EXTCON is not set
|
||||
# CONFIG_MEMORY is not set
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -361,7 +361,7 @@ xm550() {
|
|||
# hi3516ev300_dev # OpenIPC development
|
||||
# hi3516ev300_glibc # testing..
|
||||
# hi3516ev300_tehshield # Tehshield
|
||||
hi3516ev300_ultimate # OpenIPC_ultimate version
|
||||
# hi3516ev300_ultimate # OpenIPC_ultimate version
|
||||
# hi3518ev300 # OpenIPC
|
||||
#
|
||||
# hi3516av300 # testing..
|
||||
|
@ -372,7 +372,7 @@ hi3516ev300_ultimate # OpenIPC_ultimate version
|
|||
#
|
||||
#######
|
||||
#
|
||||
# nt98562 # OpenIPC
|
||||
nt98562 # OpenIPC
|
||||
#
|
||||
# nt98566 # OpenIPC
|
||||
#
|
||||
|
|
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.
Binary file not shown.
Binary file not shown.
|
@ -1,2 +1,179 @@
|
|||
#!/bin/sh
|
||||
|
||||
insert_sns() {
|
||||
case $SENSOR in
|
||||
sc401ai | sc501ai)
|
||||
devmem 0xf0220000 32 0x00001473
|
||||
devmem 0xF0220004 32 0x10000000
|
||||
devmem 0xF0220008 32 0x00048100
|
||||
devmem 0xF022000C 32 0x0034003e
|
||||
devmem 0xF0220010 32 0x30123860
|
||||
devmem 0xF0220014 32 0x00000000
|
||||
devmem 0xF0220018 32 0x03ff2001
|
||||
devmem 0xF022001C 32 0x00000003
|
||||
devmem 0xF0220020 32 0x00000000
|
||||
devmem 0xF0220024 32 0x00000000
|
||||
devmem 0xF0220028 32 0x000000e2
|
||||
devmem 0xF022002C 32 0x00000000
|
||||
devmem 0xF0220030 32 0x00000005
|
||||
devmem 0xF0220034 32 0x01000000
|
||||
devmem 0xF0220038 32 0x00000000
|
||||
devmem 0xF022003C 32 0x00000000
|
||||
|
||||
insmod nvt_sen_${SENSOR}.ko sen_cfg_path=/usr/lib/sensors/config/sen_${SENSOR}.cfg
|
||||
;;
|
||||
*)
|
||||
echo "xxxx Invalid sensor type $SENSOR xxxx"
|
||||
report_error
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
insert_ko() {
|
||||
# System Driver Init
|
||||
|
||||
#modprobe ehci-hcd
|
||||
#modprobe xhci_plat_hcd
|
||||
#modprobe nvt_status
|
||||
#modprobe nvt_pstore
|
||||
#insmod /extra/crypto/cryptodev-linux/cryptodev.ko
|
||||
insmod hdal/kwrap.ko
|
||||
insmod hdal/comm/nvtmem/nvtmem.ko
|
||||
insmod hdal/kdrv_builtin/kdrv_builtin.ko
|
||||
|
||||
insmod hdal/comm/kdrv_comm.ko
|
||||
insmod hdal/kdrv_gfx2d/kdrv_gfx2d.ko
|
||||
insmod hdal/kdrv_videocapture/kdrv_videocapture.ko
|
||||
insmod hdal/kdrv_videoprocess/kdrv_videoprocess.ko
|
||||
insmod hdal/kflow_common/kflow_common.ko
|
||||
insmod hdal/kflow_gfx/videosprite/nvt_videosprite.ko
|
||||
insmod hdal/kflow_videocapture/kflow_videocapture.ko
|
||||
insmod hdal/kflow_videoprocess/kflow_videoprocess.ko
|
||||
|
||||
# rpc
|
||||
#insmod hdal/kdrv_rpc/kdrv_rpc.ko
|
||||
|
||||
#SDE
|
||||
|
||||
# kdrv_gfx2d
|
||||
#insmod hdal/kdrv_gfx2d/kdrv_affine/affine_neon/kdrv_afn_neon.ko
|
||||
#insmod hdal/kdrv_gfx2d/kdrv_affine/kdrv_afn.ko
|
||||
insmod hdal/kflow_gfx/nvt_gfx.ko
|
||||
|
||||
# kdrv_vdoout
|
||||
#insmod hdal/kdrv_videoout/ide/nvt_ide.ko
|
||||
#insmod hdal/kdrv_videoout/mi/nvt_mi.ko
|
||||
#insmod hdal/kdrv_videoout/dsi/nvt_dsi.ko
|
||||
#insmod hdal/kdrv_videoout/display_obj/kdrv_videoout.ko
|
||||
|
||||
# kflow_videoout
|
||||
#insmod hdal/kflow_videoout/unit/kflow_videoout.ko
|
||||
|
||||
# panel device
|
||||
#insmod hdal/display_panel/nvt_dispdev_panel.ko
|
||||
#insmod hdal/display_panel/disp_ifpa_lcd1_wm08001_sn75lvds83b/nvt_dispdev_panel_wm08001_sn75lvds83b.ko
|
||||
#insmod hdal/display_panel/disp_if8b_lcd1_pw35p00_hx8238d/disp_if8b_lcd1_pw35p00.ko
|
||||
#insmod hdal/display_panel/disp_if8b_lcd1_aucn01/disp_if8b_lcd1_aucn01.ko
|
||||
#insmod hdal/display_panel/disp_ifdsi_lcd1_nt35510/nvt_dispdev_panel_nt35510.ko
|
||||
#insmod hdal/kdrv_gfx2d/kdrv_rotation/kdrv_rotation.ko
|
||||
#insmod hdal/kflow_gfx/videosprite/nvt_videosprite.ko
|
||||
|
||||
# ipp test
|
||||
#insmod hdal/kdrv_videoprocess/kdrv_ipp_sim/kdrv_ipp_sim.ko
|
||||
|
||||
# nvt_jpg
|
||||
#insmod /extra/vcodec/jpeg/nvt_jpg.ko
|
||||
#insmod hdal/kdrv_videocodec/jpeg/kdrv_jpg.ko
|
||||
|
||||
# nvt_h26x
|
||||
#insmod /extra/vcodec/h26x/nvt_h26x.ko
|
||||
insmod hdal/kdrv_videocodec/kdrv_h26x.ko
|
||||
insmod hdal/nvt_vencrc/nvt_vencrc.ko
|
||||
|
||||
# isf vdoenc
|
||||
insmod hdal/kflow_videoenc/unit/kflow_videoenc.ko
|
||||
|
||||
# isf vdodec
|
||||
#insmod hdal/kflow_videodec/unit/kflow_videodec.ko
|
||||
|
||||
# audio
|
||||
insmod hdal/kdrv_audioio/audio_common/nvt_audio.ko
|
||||
insmod hdal/kdrv_audioio/kdrv_audio/nvt_kdrv_audio.ko
|
||||
insmod hdal/kflow_audiocapture/unit/kflow_audiocap.ko
|
||||
insmod hdal/kflow_audioout/unit/kflow_audioout.ko
|
||||
insmod hdal/kdrv_audioio/audlib_aac/nvt_audlib_aac.ko
|
||||
insmod hdal/kdrv_audioio/audlib_g711/nvt_audlib_g711.ko
|
||||
|
||||
# isf audenc
|
||||
insmod hdal/kflow_audioenc/unit/kflow_audioenc.ko
|
||||
|
||||
# isf auddec
|
||||
insmod hdal/kflow_audiodec/unit/kflow_audiodec.ko
|
||||
|
||||
# iq, 3a
|
||||
insmod hdal/isp/nvt_isp.ko
|
||||
insmod hdal/ae/nvt_ae.ko
|
||||
insmod hdal/awb/nvt_awb.ko
|
||||
insmod hdal/iq/nvt_iq.ko
|
||||
#insmod hdal/af/nvt_af.ko
|
||||
|
||||
# iq, 3a sample
|
||||
#insmod hdal/samples/sample_nvt_ae.ko
|
||||
#insmod hdal/samples/sample_nvt_af.ko
|
||||
#insmod hdal/samples/sample_nvt_awb.ko
|
||||
#insmod hdal/samples/sample_nvt_iq.ko
|
||||
|
||||
#uvac module
|
||||
#modprobe nvt_usb2dev
|
||||
#modprobe nvt_usb2dev8
|
||||
|
||||
# dsp
|
||||
#insmod hdal/kflow_rpc/nvt_ipc.ko
|
||||
#insmod hdal/dsp/nvt_dsp.ko
|
||||
|
||||
#cv
|
||||
#insmod hdal/kdrv_ive/kdrv_ive.ko
|
||||
#insmod hdal/kdrv_md/kdrv_md.ko
|
||||
#insmod hdal/kdrv_dis/kdrv_dis.ko
|
||||
|
||||
#ai
|
||||
#insmod hdal/kdrv_ai/kdrv_ai.ko
|
||||
#insmod hdal/kdrv_ai/kdrv_ai.ko ai_net_supported_num=1;
|
||||
#insmod hdal/kflow_cnn/kflow_cnn.ko;
|
||||
#insmod hdal/kflow_nue/kflow_nue.ko;
|
||||
#insmod hdal/kflow_nue2/kflow_nue2.ko;
|
||||
#insmod hdal/kflow_cpu/kflow_cpu.ko;
|
||||
#insmod hdal/kflow_dsp/kflow_dsp.ko;
|
||||
#insmod hdal/kflow_ai_net/kflow_ai_net.ko
|
||||
#fb
|
||||
#insmod /kernel/drivers/video/fbdev/core/fb.ko
|
||||
#insmod /kernel/drivers/video/fbdev/core/cfbcopyarea.ko
|
||||
#insmod /kernel/drivers/video/fbdev/core/cfbfillrect.ko
|
||||
#insmod /kernel/drivers/video/fbdev/core/cfbimgblt.ko
|
||||
#insmod hdal/kdrv_videoout/fbdev/nvt_fb.ko
|
||||
}
|
||||
|
||||
cd /lib/modules/4.19.91/novatek
|
||||
insert_ko
|
||||
|
||||
# Sensor config
|
||||
# SENSOR=${SENSOR:=imx307}
|
||||
#
|
||||
|
||||
if [ -n "$SENSOR" ]; then
|
||||
logger -s -p daemon.info -t novatek "Manualy set SENSOR as ${SENSOR}"
|
||||
else
|
||||
if fw_printenv -n sensor >/dev/null; then
|
||||
SENSOR_ENV=$(fw_printenv -n sensor)
|
||||
export SENSOR=${SENSOR_ENV}
|
||||
logger -s -p daemon.info -t novatek "Get data from environment and set SENSOR as ${SENSOR}"
|
||||
else
|
||||
#insert_ko
|
||||
SENSOR_DETECT=$(ipcinfo -s)
|
||||
export SENSOR=${SENSOR_DETECT:=unknown}
|
||||
logger -s -p daemon.info -t novatek "Get data from ipcinfo and set SENSOR as ${SENSOR}"
|
||||
fw_setenv sensor $SENSOR && logger -s -p daemon.info -t novatek "Write detected ${SENSOR} to U-Boot ENV"
|
||||
fi
|
||||
fi
|
||||
|
||||
insert_sns
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
[MAP]
|
||||
path_1 = 1 #Path 1 Enable
|
||||
path_2 = 0 #Path 2 Disable
|
||||
path_3 = 0 #Path 3 Disable
|
||||
path_4 = 0 #Path 4 Disable
|
||||
path_5 = 0 #Path 5 Disable
|
||||
path_6 = 0 #Path 6 Disable
|
||||
path_7 = 0 #Path 7 Disable
|
||||
path_8 = 0 #Path 8 Disable
|
||||
|
||||
[PRESET]
|
||||
id_0_expt_time = 10000 #10000us
|
||||
id_0_gain_ratio = 1000 #1x gain
|
||||
|
||||
[DIRECTION]
|
||||
id_0_mirror = 0 #no mirror
|
||||
id_0_flip = 0 #no flip
|
||||
|
||||
[POWER]
|
||||
id_0_mclk = 0 #CTL_SEN_CLK_SEL_SIEMCLK
|
||||
id_0_pwdn_pin = 0xFFFFFFFF #no pwdn pin, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_pin = 0x44 #S_GPIO_4, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_time = 1 #1ms
|
||||
id_0_stable_time = 1 #1ms
|
||||
|
||||
[I2C]
|
||||
id_0_i2c_id = 1 #SEN_I2C_ID_2
|
||||
id_0_i2c_addr = 0x10 #0x20 >> 1
|
|
@ -0,0 +1,28 @@
|
|||
[MAP]
|
||||
path_1 = 1 #Path 1 Enable
|
||||
path_2 = 0 #Path 2 Disable
|
||||
path_3 = 0 #Path 3 Disable
|
||||
path_4 = 0 #Path 4 Disable
|
||||
path_5 = 0 #Path 5 Disable
|
||||
path_6 = 0 #Path 6 Disable
|
||||
path_7 = 0 #Path 7 Disable
|
||||
path_8 = 0 #Path 8 Disable
|
||||
|
||||
[PRESET]
|
||||
id_0_expt_time = 10000 #10000us
|
||||
id_0_gain_ratio = 1000 #1x gain
|
||||
|
||||
[DIRECTION]
|
||||
id_0_mirror = 0 #no mirror
|
||||
id_0_flip = 0 #no flip
|
||||
|
||||
[POWER]
|
||||
id_0_mclk = 0 #CTL_SEN_CLK_SEL_SIEMCLK
|
||||
id_0_pwdn_pin = 0x49 #S_GPIO_9, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_pin = 0x44 #S_GPIO_4, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_time = 10 #10ms
|
||||
id_0_stable_time = 1 #1ms
|
||||
|
||||
[I2C]
|
||||
id_0_i2c_id = 1 #SEN_I2C_ID_2
|
||||
id_0_i2c_addr = 0x40 #0x80 >> 1
|
|
@ -0,0 +1,28 @@
|
|||
[MAP]
|
||||
path_1 = 1 #Path 1 Enable
|
||||
path_2 = 0 #Path 2 Disable
|
||||
path_3 = 0 #Path 3 Disable
|
||||
path_4 = 0 #Path 4 Disable
|
||||
path_5 = 0 #Path 5 Disable
|
||||
path_6 = 0 #Path 6 Disable
|
||||
path_7 = 0 #Path 7 Disable
|
||||
path_8 = 0 #Path 8 Disable
|
||||
|
||||
[PRESET]
|
||||
id_0_expt_time = 10000 #10000us
|
||||
id_0_gain_ratio = 1000 #1x gain
|
||||
|
||||
[DIRECTION]
|
||||
id_0_mirror = 0 #no mirror
|
||||
id_0_flip = 0 #no flip
|
||||
|
||||
[POWER]
|
||||
id_0_mclk = 0 #CTL_SEN_CLK_SEL_SIEMCLK
|
||||
id_0_pwdn_pin = 0x49 #S_GPIO_9, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_pin = 0x44 #S_GPIO_4, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_time = 10 #10ms
|
||||
id_0_stable_time = 1 #1ms
|
||||
|
||||
[I2C]
|
||||
id_0_i2c_id = 1 #SEN_I2C_ID_2
|
||||
id_0_i2c_addr = 0x40 #0x80 >> 1
|
|
@ -0,0 +1,28 @@
|
|||
[MAP]
|
||||
path_1 = 1 #Path 1 Enable
|
||||
path_2 = 0 #Path 2 Disable
|
||||
path_3 = 0 #Path 3 Disable
|
||||
path_4 = 0 #Path 4 Disable
|
||||
path_5 = 0 #Path 5 Disable
|
||||
path_6 = 0 #Path 6 Disable
|
||||
path_7 = 0 #Path 7 Disable
|
||||
path_8 = 0 #Path 8 Disable
|
||||
|
||||
[PRESET]
|
||||
id_0_expt_time = 10000 #10000us
|
||||
id_0_gain_ratio = 1000 #1x gain
|
||||
|
||||
[DIRECTION]
|
||||
id_0_mirror = 0 #no mirror
|
||||
id_0_flip = 0 #no flip
|
||||
|
||||
[POWER]
|
||||
id_0_mclk = 0 #CTL_SEN_CLK_SEL_SIEMCLK
|
||||
id_0_pwdn_pin = 0x49 #S_GPIO_9, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_pin = 0x44 #S_GPIO_4, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_time = 10 #10ms
|
||||
id_0_stable_time = 1 #1ms
|
||||
|
||||
[I2C]
|
||||
id_0_i2c_id = 1 #SEN_I2C_ID_2
|
||||
id_0_i2c_addr = 0x40 #0x80 >> 1
|
|
@ -0,0 +1,28 @@
|
|||
[MAP]
|
||||
path_1 = 1 #Path 1 Enable
|
||||
path_2 = 0 #Path 2 Disable
|
||||
path_3 = 0 #Path 3 Disable
|
||||
path_4 = 0 #Path 4 Disable
|
||||
path_5 = 0 #Path 5 Disable
|
||||
path_6 = 0 #Path 6 Disable
|
||||
path_7 = 0 #Path 7 Disable
|
||||
path_8 = 0 #Path 8 Disable
|
||||
|
||||
[PRESET]
|
||||
id_0_expt_time = 10000 #10000us
|
||||
id_0_gain_ratio = 1000 #1x gain
|
||||
|
||||
[DIRECTION]
|
||||
id_0_mirror = 0 #no mirror
|
||||
id_0_flip = 0 #no flip
|
||||
|
||||
[POWER]
|
||||
id_0_mclk = 0 #CTL_SEN_CLK_SEL_SIEMCLK
|
||||
id_0_pwdn_pin = 0xFFFFFFFF #S_GPIO_9, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_pin = 0x44 #S_GPIO_4, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_time = 2 #2ms
|
||||
id_0_stable_time = 2 #2ms
|
||||
|
||||
[I2C]
|
||||
id_0_i2c_id = 1 #SEN_I2C_ID_2
|
||||
id_0_i2c_addr = 0x29 #0x52 >> 1
|
|
@ -0,0 +1,28 @@
|
|||
[MAP]
|
||||
path_1 = 1 #Path 1 Enable
|
||||
path_2 = 0 #Path 2 Disable
|
||||
path_3 = 0 #Path 3 Disable
|
||||
path_4 = 0 #Path 4 Disable
|
||||
path_5 = 0 #Path 5 Disable
|
||||
path_6 = 0 #Path 6 Disable
|
||||
path_7 = 0 #Path 7 Disable
|
||||
path_8 = 0 #Path 8 Disable
|
||||
|
||||
[PRESET]
|
||||
id_0_expt_time = 10000 #10000us
|
||||
id_0_gain_ratio = 1000 #1x gain
|
||||
|
||||
[DIRECTION]
|
||||
id_0_mirror = 0 #no mirror
|
||||
id_0_flip = 0 #no flip
|
||||
|
||||
[POWER]
|
||||
id_0_mclk = 0 #CTL_SEN_CLK_SEL_SIEMCLK
|
||||
id_0_pwdn_pin = 0xFFFFFFFF #S_GPIO_9, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_pin = 0x44 #S_GPIO_4, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_time = 2 #2ms
|
||||
id_0_stable_time = 2 #2ms
|
||||
|
||||
[I2C]
|
||||
id_0_i2c_id = 1 #SEN_I2C_ID_2
|
||||
id_0_i2c_addr = 0x29 #0x52 >> 1
|
|
@ -0,0 +1,28 @@
|
|||
[MAP]
|
||||
path_1 = 1 #Path 1 Enable
|
||||
path_2 = 0 #Path 2 Disable
|
||||
path_3 = 0 #Path 3 Disable
|
||||
path_4 = 0 #Path 4 Disable
|
||||
path_5 = 0 #Path 5 Disable
|
||||
path_6 = 0 #Path 6 Disable
|
||||
path_7 = 0 #Path 7 Disable
|
||||
path_8 = 0 #Path 8 Disable
|
||||
|
||||
[PRESET]
|
||||
id_0_expt_time = 10000 #10000us
|
||||
id_0_gain_ratio = 1000 #1x gain
|
||||
|
||||
[DIRECTION]
|
||||
id_0_mirror = 0 #no mirror
|
||||
id_0_flip = 0 #no flip
|
||||
|
||||
[POWER]
|
||||
id_0_mclk = 0 #CTL_SEN_CLK_SEL_SIEMCLK
|
||||
id_0_pwdn_pin = 0xFFFFFFFF #no pwdn pin, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_pin = 0x44 #S_GPIO_4, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_time = 1 #1ms
|
||||
id_0_stable_time = 1 #1ms
|
||||
|
||||
[I2C]
|
||||
id_0_i2c_id = 1 #SEN_I2C_ID_2
|
||||
id_0_i2c_addr = 0x10 #0x20 >> 1 = 0x10
|
|
@ -0,0 +1,28 @@
|
|||
[MAP]
|
||||
path_1 = 1 #Path 1 Enable
|
||||
path_2 = 0 #Path 2 Disable
|
||||
path_3 = 0 #Path 3 Disable
|
||||
path_4 = 0 #Path 4 Disable
|
||||
path_5 = 0 #Path 5 Disable
|
||||
path_6 = 0 #Path 6 Disable
|
||||
path_7 = 0 #Path 7 Disable
|
||||
path_8 = 0 #Path 8 Disable
|
||||
|
||||
[PRESET]
|
||||
id_0_expt_time = 10000 #10000us
|
||||
id_0_gain_ratio = 1000 #1x gain
|
||||
|
||||
[DIRECTION]
|
||||
id_0_mirror = 0 #no mirror
|
||||
id_0_flip = 0 #no flip
|
||||
|
||||
[POWER]
|
||||
id_0_mclk = 0 #CTL_SEN_CLK_SEL_SIEMCLK
|
||||
id_0_pwdn_pin = 0xFFFFFFFF #no pwdn pin, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_pin = 0x44 #S_GPIO_4, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_time = 1 #1ms
|
||||
id_0_stable_time = 1 #1ms
|
||||
|
||||
[I2C]
|
||||
id_0_i2c_id = 1 #SEN_I2C_ID_2
|
||||
id_0_i2c_addr = 0x37 #0x6E >> 1 = 0x37
|
|
@ -0,0 +1,28 @@
|
|||
[MAP]
|
||||
path_1 = 1 #Path 1 Enable
|
||||
path_2 = 0 #Path 2 Disable
|
||||
path_3 = 0 #Path 3 Disable
|
||||
path_4 = 0 #Path 4 Disable
|
||||
path_5 = 0 #Path 5 Disable
|
||||
path_6 = 0 #Path 6 Disable
|
||||
path_7 = 0 #Path 7 Disable
|
||||
path_8 = 0 #Path 8 Disable
|
||||
|
||||
[PRESET]
|
||||
id_0_expt_time = 10000 #10000us
|
||||
id_0_gain_ratio = 1000 #1x gain
|
||||
|
||||
[DIRECTION]
|
||||
id_0_mirror = 0 #no mirror
|
||||
id_0_flip = 0 #no flip
|
||||
|
||||
[POWER]
|
||||
id_0_mclk = 0 #CTL_SEN_CLK_SEL_SIEMCLK
|
||||
id_0_pwdn_pin = 0xFFFFFFFF #no pwdn pin, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_pin = 0x46 #S_GPIO_6, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_time = 1 #1ms
|
||||
id_0_stable_time = 1 #1ms
|
||||
|
||||
[I2C]
|
||||
id_0_i2c_id = 1 #SEN_I2C_ID_2
|
||||
id_0_i2c_addr = 26 #0x34 >> 1 = 0x1A
|
|
@ -0,0 +1,44 @@
|
|||
[MAP]
|
||||
path_1 = 1 #Path 1 Enable
|
||||
path_2 = 1 #Path 2 Enable
|
||||
path_3 = 0 #Path 3 Disable
|
||||
path_4 = 0 #Path 4 Disable
|
||||
path_5 = 0 #Path 5 Disable
|
||||
path_6 = 0 #Path 6 Disable
|
||||
path_7 = 0 #Path 7 Disable
|
||||
path_8 = 0 #Path 8 Disable
|
||||
|
||||
[PRESET]
|
||||
id_0_expt_time = 10000 #10000us
|
||||
id_0_gain_ratio = 1000 #1x gain
|
||||
|
||||
id_1_expt_time = 10000 #10000us
|
||||
id_1_gain_ratio = 1000 #1x gain
|
||||
|
||||
[DIRECTION]
|
||||
id_0_mirror = 0 #no mirror
|
||||
id_0_flip = 0 #no flip
|
||||
|
||||
id_1_mirror = 0 #no mirror
|
||||
id_1_flip = 0 #no flip
|
||||
|
||||
[POWER]
|
||||
id_0_mclk = 0 #CTL_SEN_CLK_SEL_SIEMCLK
|
||||
id_0_pwdn_pin = 0xFFFFFFFF #no pwdn pin, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_pin = 0x44 #S_GPIO_4, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_time = 1 #1ms
|
||||
id_0_stable_time = 1 #1ms
|
||||
|
||||
id_1_mclk = 0 #CTL_SEN_CLK_SEL_SIEMCLK
|
||||
id_1_pwdn_pin = 0xFFFFFFFF #no pwdn pin, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_1_rst_pin = 0x44 #S_GPIO_4, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_1_rst_time = 1 #1ms
|
||||
id_1_stable_time = 1 #1ms
|
||||
|
||||
[I2C]
|
||||
id_0_i2c_id = 1 #SEN_I2C_ID_2
|
||||
id_0_i2c_addr = 0x1A #0x34 >> 1 = 0x1A
|
||||
|
||||
id_1_i2c_id = 0 #SEN_I2C_ID_1
|
||||
id_1_i2c_addr = 0x1A #0x34 >> 1 = 0x1A
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
[MAP]
|
||||
path_1 = 1 #Path 1 Enable
|
||||
path_2 = 1 #Path 2 Enable
|
||||
path_3 = 0 #Path 3 Disable
|
||||
path_4 = 0 #Path 4 Disable
|
||||
path_5 = 0 #Path 5 Disable
|
||||
path_6 = 0 #Path 6 Disable
|
||||
path_7 = 0 #Path 7 Disable
|
||||
path_8 = 0 #Path 8 Disable
|
||||
|
||||
[PRESET]
|
||||
id_0_expt_time = 10000 #10000us
|
||||
id_0_gain_ratio = 1000 #1x gain
|
||||
|
||||
id_1_expt_time = 10000 #10000us
|
||||
id_1_gain_ratio = 1000 #1x gain
|
||||
|
||||
[DIRECTION]
|
||||
id_0_mirror = 0 #no mirror
|
||||
id_0_flip = 0 #no flip
|
||||
|
||||
id_1_mirror = 0 #no mirror
|
||||
id_1_flip = 0 #no flip
|
||||
|
||||
[POWER]
|
||||
id_0_mclk = 0xFFFFFFFF #no CTL_SEN_CLK_SEL_SIEMCLK
|
||||
id_0_pwdn_pin = 0xFFFFFFFF #no pwdn pin, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_pin = 0x23 #P_GPIO_3, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_0_rst_time = 1 #1ms
|
||||
id_0_stable_time = 1 #1ms
|
||||
|
||||
id_1_mclk = 0 #CTL_SEN_CLK_SEL_SIEMCLK
|
||||
id_1_pwdn_pin = 0xFFFFFFFF #no pwdn pin, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_1_rst_pin = 0x44 #S_GPIO_4, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
|
||||
id_1_rst_time = 1 #1ms
|
||||
id_1_stable_time = 1 #1ms
|
||||
|
||||
[I2C]
|
||||
id_0_i2c_id = 0 #SEN_I2C_ID_1
|
||||
id_0_i2c_addr = 0x1A #0x34 >> 1 = 0x1A
|
||||
|
||||
id_1_i2c_id = 0 #SEN_I2C_ID_1
|
||||
id_1_i2c_addr = 0x1A #0x34 >> 1 = 0x1A
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue