rv1126_rv1109: uvc: add isp line config
Change-Id: Iad092d5275f661bb41b1e30834ccd0be94dbf580 Signed-off-by: Mark Huang <huangjc@rock-chips.com>
This commit is contained in:
@ -48,8 +48,18 @@ echo "camera_max_height= ${camera_max_height}"
|
|||||||
export CAMERA_MAX_WIDTH=${camera_max_width}
|
export CAMERA_MAX_WIDTH=${camera_max_width}
|
||||||
export CAMERA_MAX_HEIGHT=${camera_max_height}
|
export CAMERA_MAX_HEIGHT=${camera_max_height}
|
||||||
|
|
||||||
|
#line config
|
||||||
|
isp_line=$((${camera_max_height} / 2))
|
||||||
|
ispp_line=0 #$((${camera_max_height} / 4 * 3 )) #no fec
|
||||||
|
cif_line=$((${camera_max_height} / 4 * 3 ))
|
||||||
|
echo "isp_line= $isp_line , ispp_line= $isp_line, cif_line= $cif_line"
|
||||||
|
echo $isp_line > /sys/module/video_rkisp/parameters/wait_line
|
||||||
|
echo $ispp_line > /sys/module/video_rkispp/parameters/wait_line
|
||||||
|
echo $cif_line > /sys/devices/platform/rkcif_mipi_lvds/line_int_num
|
||||||
|
|
||||||
#rockit log level ctrl: 1:fatal error; 2: error; 3: warning; 4:infomational; 5:debug level; 6:verbose
|
#rockit log level ctrl: 1:fatal error; 2: error; 3: warning; 4:infomational; 5:debug level; 6:verbose
|
||||||
export rt_log_level=3
|
export rt_log_level=3
|
||||||
|
#export uvc_app_log_level=3
|
||||||
|
|
||||||
#export ENABLE_EPTZ=1
|
#export ENABLE_EPTZ=1
|
||||||
|
|
||||||
|
|||||||
@ -18,6 +18,7 @@ export RK_KERNEL_DEFCONFIG=rv1126_defconfig
|
|||||||
export RK_KERNEL_DEFCONFIG_FRAGMENT="rv1126-uvc-spi-nand.config"
|
export RK_KERNEL_DEFCONFIG_FRAGMENT="rv1126-uvc-spi-nand.config"
|
||||||
# Kernel dts
|
# Kernel dts
|
||||||
export RK_KERNEL_DTS=rv1126-ai-cam-ddr3-v1-spi-nand
|
export RK_KERNEL_DTS=rv1126-ai-cam-ddr3-v1-spi-nand
|
||||||
|
#export RK_KERNEL_DTS=rv1126-ai-cam-audio-ddr3-v1-spi-nand
|
||||||
# boot image type
|
# boot image type
|
||||||
export RK_BOOT_IMG=zboot.img
|
export RK_BOOT_IMG=zboot.img
|
||||||
# kernel image path
|
# kernel image path
|
||||||
|
|||||||
Reference in New Issue
Block a user