rv1126-rv1109-瑞芯微的 IPC 程序

关闭瑞芯微的 IPC 程序

例程源码中,第一次下载之后会进入一个类似摄像头demo预览的界面

 我想要关掉它,找了很久,终于发现

 \rv1126_rv1109\buildroot\board\rockchip\rv1126_rv1109\fs-overlay-sysv\etc\init.d\S98_lunch_init

这个文件注解掉全部

 就可以看到注解掉就只有logo显示了

 剖析

#source /etc/profile.d/RkEnv.sh

case "$1" in
	start)
		[ -f /oem/usr/bin/RkLunch.sh ] && source /oem/usr/bin/RkLunch.sh
		#recovery test
		if [ -e "/oem/rockchip_test/auto_reboot.sh" ]; then
			mkdir /data/cfg/rockchip_test
			cp /oem/rockchip_test/auto_reboot.sh /data/cfg/rockchip_test
			source /data/cfg/rockchip_test/auto_reboot.sh &
		fi
		;;
	stop)
		[ -f /oem/usr/bin/RkLunch-stop.sh ] && source /oem/usr/bin/RkLunch-stop.sh
		printf "stop finished\n"
		;;
	*)
		echo "Usage: $0 {start|stop}"
		exit 1
		;;
esac
exit 0
source /oem/usr/bin/RkLunch.sh
//运行摄像头预览demo

 

//创建一个不停重启的脚步运行
mkdir /data/cfg/rockchip_test
cp /oem/rockchip_test/auto_reboot.sh /data/cfg/rockchip_test
source /data/cfg/rockchip_test/auto_reboot.sh &
//关闭摄像头预览demo
source /oem/usr/bin/RkLunch-stop.sh

 //尝试打开demo指令打印

root@rv1126_rv1109:/# source /oem/usr/bin/RkLunch-studhcpc: broadcasting discover
udhcpc: broadcasting discover

RkLunch-stop.sh  RkLunch.sh       
root@rv1126_rv1109:/# source /oem/usr/bin/RkLunch.sh
RkLunch-stop.sh  RkLunch.sh       
root@rv1126_rv1109:/# source /oem/usr/bin/RkLunch.sh
root@rv1126_rv1109:/# /dev/mmcblk0p8 on /userdata type ext4 (rw,relatime)
                <- "m01_f_os04a10 1-0036-1":0 [ENABLED]
- entity 31: m01_f_os04a10 1-0036-1 (1 pad, 1 link)
eth HWaddr cfg ok
udhcpc: started, v1.35.0
64077902875d4fc122a9c1bf3b2e884e  /tmp/rkipc-factory-config.ini
udhcpc: broadcasting discover
media get entity by name: stream_cif_dvp_id0 is null
media get entity by name: stream_cif_dvp_id1 is null
media get entity by name: stream_cif_dvp_id2 is null
media get entity by name: stream_cif_dvp_id3 is null
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
media get entity by name: stream_cif is null
media get entity by name: rkcif-dvp-sof is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is null
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_lite_mipi_lvds is null
media get entity by name: rkispp-stats is null
[12:51:39.414186][CAMHW]:XCAM ERROR CamHwIsp20.cpp:1107: No free isp&ispp needed by fake camera!
register factory : rkmpp
register factory : rkmpp
register factory : video_enc
register factory : audio_enc
register factory : video_dec
register factory : file_read_flow
register factory : file_write_flow
register factory : filter
register factory : link_flow
register factory : source_stream
register factory : muxer_flow
register factory : audio_dec
register factory : output_stream
register factory : move_detec
register factory : occlusion_detec
register factory : file_write_stream
register factory : file_read_stream
register factory : alsa_playback_stream
register factory : alsa_capture_stream
register factory : v4l2_capture_stream
register factory : v4l2_output_stream
register factory : drm_output_stream
rga_api version 1.3.2_[0] (RGA is compiling with meson base: $PRODUCT_BASE)
register factory : rkrga
register factory : through_guard
register factory : ANR
register factory : AEC
register factory : rockx_filter
register factory : nn_result_input
register factory : draw_filter
register factory : rknn
register factory : rkaudio
register factory : rkaudio_aud
register factory : rkaudio_vid
register factory : rkaudio_aud
register factory : rkaudio_vid
register factory : rkaudio_resample
register factory : rkaudio_audio_fifo
[rkipc.c][main]:main begin
[rkipc.c][main]:rkipc_ini_path_ is (null), rkipc_iq_file_path_ is (null), rkipc_log_level is 2
[param.c][rk_param_init]:g_ini_path_ is /userdata/rkipc.ini
[isp.c][rk_isp_init]:rk_isp_init, cam_id is 0
[isp.c][rk_isp_init]:g_iq_file_dir_ is /etc/iqfiles
[isp.c][rk_isp_init]:hdr mode is close
ID: 0, sensor_name is m01_f_os04a10 1-0036-1, iq_file_dir is /etc/iqfiles
[12:51:39.819762][AFEC]:XCAM ERROR eis_algo_service.cpp:206: EIS library does not exists
[12:51:39.821092][XCORE]:XCAM ERROR v4l2_device.cpp:200: open device() failed, error:No such file or directory
[  578.684097] clk_mipicsi_out2io_fracdiv p_rate(297000000) is low than rate(24000000)*20, use integer or half-div
[12:51:39.836240][CAMHW]:XCAM ERROR LensHw.cpp:199: get vcm cfg failed
[  578.698512] os04a10 1-0036-1: sensor mode: 0
[12:51:39.836860][XCORE]:XCAM ERROR v4l2_device.cpp:378: device(/dev/video6) set v4l2 format failed, supported format: width:1920, height:1080
oyyf calib ds_size: 4 8
[12:51:39.838149][CAMHW]:XCAM ERROR Isp20SpThread.cpp:1074: _gain_height 190 190 _gain_width 672 672 ds_size: 4 8 

[12:51:39.839038][CAMHW]:XCAM ERROR Isp20SpThread.cpp:1086: af_img_width 672 af_img_height 190 af_img_width_align: 672 af_img_height_align: 190

[  578.702647] os04a10 1-0036-1: get dcg ratio integer 4, decimal 61 div_coeff 256
[12:51:39.847516][AFEC]:XCAM ERROR rk_aiq_algo_afec_itf.cpp:534: processing: no available fec buf!
[12:51:39.851092][XCORE]:XCAM ERROR CamHwIsp20.cpp:4286: |||set DC-Iris PwmDuty: 100
[12:51:39.851354][CAMHW]:XCAM ERROR LensHw.cpp:411: iris is not supported
[12:51:39.862147][CAMHW]:XCAM ERROR LensHw.cpp:296: focus is not supported
rk_aiq_uapi_sysctl_init/prepare succeed
[12:51:39.864516][CAMHW]:XCAM ERROR Isp20SpThread.cpp:2100: img size:672 190 gain size: 672 190, ds size:4 8

[12:51:39.864963][CAMHW]:XCAM ERROR Isp20SpThread.cpp:2117: gain_tile_gainkg_stride 64512 12

[12:51:39.865696][CAMHW]:XCAM ERROR Isp20SpThread.cpp:2130: gain_blk_ispp_stride 336 gain_blk_ispp_h 190

[  578.730693] rkcif_mipi_lvds: stream[0] start streaming
[  578.730753] rkcif_mipi_lvds: get sensor vc info failed, maybe not support
[  578.732677] rkcif_mipi_lvds: Allocate dummy buffer, size: 0x00532000
[  578.732766] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream on, src_sd: 81bbb933, sd_name:rockchip-mipi-dphy-rx
[  578.732776] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream ON
[  578.732807] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:1
[  578.732820] rockchip-mipi-dphy-rx: data_rate_mbps 720
[  578.733859] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:1
rk_aiq_uapi_sysctl_start succeed
[isp.c][rk_isp_set_frame_rate]:start 30
[isp.c][rk_isp_set_frame_rate]:end, 30
[isp.c][rk_isp_set_night_to_day]:gray_mode is 1
[12:51:40.044743][XCORE]:XCAM ERROR rk_aiq_user_api_imgproc.cpp:1725: level(0) is out of range, setDarkAreaBoostStrth failed!
[isp.c][rk_isp_set_white_blance_red]:white blance is auto, not su[pport set gain
[isp.c][rk_isp_set_white_blance_green]:white blance is auto, not support set gain
[isp.c][rk_isp_set_whit e_blance_blue]:white blance i s auto, not support set gain
578[12:51:40.047201][CAMHW]:XCAM. ERROR CamHwIsp20.cpp:5209: m9otion detect is running, oper08ate not permit!
042] rkcif_mip[12:51:40.048161][AFEC]:XCAM iERROR rk_aiq_uapi_aldch_int.c_lpp:32: failed, ldch is disvds: noalbed!
t active buffer, skip curr[12:51:40.049048][XCORE]:XCAM ERROR rk_aiq_user_api_imgproc.cepp:2052: param error, strength rnange is [1,100]!
t frame, mipi/lv[12:51:40.050001][AFEC]:XCAM EdRROR rk_aiq_uapi_aldch_int.cpp:32: failed, ldch iss disalbed!
[video.c ]s[trrke_video_init]:rk_video_init
a##RKMEDIA Log level: 2
m[0]
[RKMEDIA][SYS][Info]:text is all=2
[RKMEDIA][SYS][Info]:module is all, log_level is 2
[video.c][rkipc_rtsp_init]:rtsp_init start
[INFO  rtsp_demo.c:281:rtsp_new_demo] rtsp server demo starting on port 554
[DEBUG rtsp_demo.c:481:rtsp_new_session] add session path: /live/0
[video.c][rkipc_rtsp_init]:end
[video.c][rkipc_pipe_0_to_RTSP_init]:video_device_name = rkispp_scale0
[RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:0]:rkispp_scale0, 2688x1520 Start...
[RKMEDIA][SYS][Info]:RKAIQ: parsing sys_path /dev/media0
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
[RKMEDIA][SYS][Info]:RKAIQ: parsing sys_path /dev/media1
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is null
[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev4
[RKMEDIA][SYS][Info]:RKAIQ: parsing sys_path /dev/media2
media get entity by name: rkispp_input_params is null
media get entity by name: rkispp-stats is null
[RKMEDIA][SYS][Info]:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /d[  ev/v4l-subdev0
[RKMEDIA][SYS5][Info]:#V4l2Stream: camraID:0, Device:rkispp_scale0
78.9[RKMEDIA][SYS][Warn]:camera_4id: 0, chn: rkispp_scale0
[R1KMEDIA][SYS][Warn]:camera_id: 00, chn: rkispp_scale0, idx: 0
3[RKMEDIA][SYS][Info]:#V4l2Str8eam: camera id:0, VideoNode:]/dev/video19
 rkcif_mipi_lvds: not active buffer, skip current frame, mipi/lvds stream[0]
[  57Using mplane plugin for capture 
[RKMEDIA][SYS][Info]:#V4L2Ctx8: open /dev/video19, fd 124
.943789] rkispp0: scale0:0x0 out of range:
[  578.943789]  [width max:3264 ratio max:8 min:1]
[  578.943831] rkispp0: scale0:0x0 out of range:
[  578.943831]  [width max:2080 ratio max:8 min:1]
[  578.943859] rkispp0: scale0:0x0 out of range:
[  578.943859]  [width max:3264 ratio max:8 min:1]
[  578.943897] rkispp0: scale0:0x0 out of range:
[  578.943897]  [width max:3264 ratio max:8 min:1]
[  578.943940] rkispp0: scale0:0x0 out of range:
[  578.943940]  [width max:3264 ratio max:8 min:1]
[RKMEDIA][SYS][Info]:query v4l2 buf fd=125, size1: 6128640, size2: 0
[RKMEDIA][SYS][Info]:query v4l2 buf fd=126, size1: 6128640, size2: 0
[RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:0]:rkispp_scale0, 2688x1520 End...
[video.c][rkipc_pipe_0_to_RTSP_init]:g_output_data_type is H.264, g_rc_mode is CBR, g_h264_profile is high
[RKMEDIA][SYS][Info]:RK_MPI_VENC_CreateChn: Enable VENC[0], Type:5 Start...
[video.c][rkipc_get_vi_0]:#Start rkipc_get_vi_0 thread, arg:(nil)
[RKMEDIA][SYS][Info]:ParseMediaConfigFromMap: rect_x = 0, rect_y = 0, rect.w = 2688, rect.h = 1520 
[RKMEDIA][VENC][Info]:MPP Encoder: MPPConfig: cfg init sucess!
[RKMEDIA][VENC][Info]:MPP Encoder: qpMaxi use default value:48
[RKMEDIA][VENC][Info]:MPP Encoder: qpMini use default value:8
[RKMEDIA][VENC][Info]:MPP Encoder: qpMax use default value:48
[RKMEDIA][VENC][Info]:MPP Encoder: qpMin use default value:8
[RKMEDIA][VENC][Info]:MPP Encoder: qpInit use default value:-1
[RKMEDIA][VENC][Info]:MPP Encoder: qpStep use default value:2
[RKMEDIA][VENC][Info]:MPP Encoder: rect_x use default value:0
[RKMEDIA][VENC][Info]:MPP Encoder: rect_y use default value:0
[RKMEDIA][VENC][Info]:MPP Encoder: rotaion = 0
[RKMEDIA][VENC][Info]:MPP Encoder: automatically calculate bsp with bps_target:2048000
[RKMEDIA][VENC][Info]:MPP Encoder: Set output block mode.
[RKMEDIA][VENC][Info]:MPP Encoder: Set input block mode.
[RKMEDIA][VENC][Info]:MPP Encoder: bps:[2275555,2048000,1820444] fps: [30/1]->[30/1], gop:50 qpInit:-1, qpMin:8, qpMax:48, qpMinI:8, qpMaxI:48.
[RKMEDIA][VENC][Info]:MPP Encoder: H264 profile use defalut value: 100[RKMEDIA][VENC][Info]:MPP Encoder: AVC: encode profile 100 level 0
[RKMEDIA][VENC][Info]:MPP Encoder: w x h(2688[2688] x 1520[1520])
[  578.974061] rkcif_mipi_lvds: not active buffer, skip current frame, mipi/lvds stream[0]
[RKMEDIA][SYS][Info]:RK_MPI_VENC_CreateChn: Enable VENC[0], Type:5 End...
[RKMEDIA][SYS][Info]:RK_MPI_SYS_Bind: Bind Mode[VI]:Chn[0] to Mode[VENC]:Chn[0]...
[video.c][rkipc_get_venc_0]:#Start rkipc_get_venc_0 thread, arg:(nil)
[RKMEDIA][SYS][Info]:RK_MPI_VENC_CreateChn: Enable VENC[2], Type:7 Start...
[RKMEDIA][SYS][Info]:ParseMediaConfigFromMap: rect_x = 0, rect_y = 0, rect.w = 2688, rect.h = 1520 
[RKMEDIA][VENC][Info]:MPP Encoder: MPPConfig: cfg init sucess!
[RKMEDIA][VENC][Info]:MPP Encoder[JPEG]: config for JPEG...
[RKMEDIA][VENC][Info]:MPP Encoder: dcf use default value:0
[RKMEDIA][VENC][Info]:MPP Encoder: mpf_cnt use default value:0
[RKMEDIA][VENC][Info]:MPP Encoder: rect_x use default value:0
[RKMEDIA][VENC][Info]:MPP Encoder: rect_y use default value:0
[RKMEDIA][VENC][Info]:MPP Encoder[JPEG]: rotaion = 0
[RKMEDIA][VENC][Info]:MPP Encoder[JPEG]: Set output block mode.
[12:51:40.125861][ANALYZER]:XCAM ERROR RkAiqManager.cpp:564: ========================== stream start =======================

[RKMEDIA][VENC][Info]:MPP Encoder[JPEG]: Set input block mode.
[RKMEDIA][VENC][Info]:MPP Encoder[JPEG]: w x h(2688[2688] x 1520[1520]), qfactor:50
[RKMEDIA][SYS][Info]:RK_MPI_VENC_CreateChn: Enable VENC[2], Type:7 End...
[RKMEDIA][SYS][Info]:RK_MPI_SYS_Bind: Bind Mode[VI]:Chn[0] to Mode[VENC]:Chn[2]...
[video.c][rkipc_rtsp_init]:rtsp_init start
#Start rkipc_VENC2_get_jpeg thread, arg:(nil)
[DEBUG rtsp_demo.c:481:rtsp_new_session] add session path: /live/1
[video.c][rkipc_rtsp_init]:end
[  579.007188] rkcif_mipi_lvds: not active buffer, skip current frame, mipi/lvds stream[0]
[video.c][rkipc_pipe_1_init]:video_device_name = rkispp_scale1
[RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:1]:rkispp_scale1, 640x360 Start...
[RKMEDIA][SYS][Info]:Camera 0 stream 124 is started
[RKMEDIA][SYS][Info]:RKAIQ: parsing sys_path /dev/media0
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
[RKMEDIA][SYS][Info]:RKAIQ: parsing sys_path /dev/media1
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is null
[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev4
[RKMEDIA][SYS][Info]:RKAIQ: parsing sys_path /dev/media2
media get entity by name: rkispp_input_params is null
media get entity by name: rkispp-stats is null
[RKMEDIA][SYS][Info]:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
[RKMEDIA][SYS][Info]:#V4l2Stream: camraID:0, Device:rkispp_scale1
[RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1
[RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1, idx: 0
[RKMEDIA][SYS][Info]:#V4l2Stream: camera id:0, VideoNode:/dev/video20
[  579.021855] rkispp0: scale1:0x0 out of range:Using mplane plugin for capture 
6RKMEDIA][SYS][Info]:#V4L2Ctx: open /dev/video20, fd 1

[  579.021855]  [width max:1280 ratio max:8 min:2]
[  579.021909] rkispp0: scale1:0x0 out[RKMEDIA][SYS][Info]:query v 4l2 buf fd=147, size1: 353280, size2: 0
[RKMEDIA][SYS][Ioffo]:query v4l2 buf fd=148, s ize1: 353280, size2: 0
range:
[  579.021909]  [width max:1[RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:1]:rkispp_scale1, 640x360 End...
[video.c][rkipc_pipe_1_init]:g_output_data_type is H.264, g_rc_mode is CBR, g_h264_profile is high
2[RKMEDIA][SYS][Info]:RK_MPI_VENC_CreateChn: Enable VENC[1],8 Type:5 Start...
0 ratio max:8 min:2]
[  579.021936] rkisp[RKMEDIA][SYS][Info]:ParseMediaConfigFromMap: rect_x = 0p0, rect_y = 0, rect.w = 640, :rect.h = 360 
 scale1:0x0 out of range:
[  579.021936]  [width max:1280 ratio max:8 min:2]
[  579.021959] rkispp0: scale1:0x[RKMEDIA][VENC][Info]:MPP En0coder: MPPConfig: cfg init sucess!
[RKMEDIA][VENC][Info] :MPP Encoder: qpMaxi use default value:48
[RKMEDIA][VENCo][Info]:MPP Encoder: qpMini use default value:8
[RKMEDIAu][VENC][Info]:MPP Encoder: qtpMax use default value:48
[ RKMEDIA][VENC][Info]:MPP Encooder: qpMin use default valufe:8
[RKMEDIA][VENC][Info]:MPP Encoder: qpInit use default value:-1
[RKMEDIA][VENC][Info]:MPP Encoder: qpStep use default value:2
[RKMEDIA][ VENC][Info]:MPP Encoder: rect_x use default value:0
[RKMrEDIA][VENC][Info]:MPP Encodear: rect_y use default value:0
[RKMEDIA][VENC][Info]:MPP nEncoder: rotaion = 0
[RKMEDgIA][VENC][Info]:MPP Encoder:e automatically calculate bsp: with bps_target:512000
[RKMEDIA][VENC][Info]:MPP Encod
er: Set output block mode.
[[RKMEDIA][VENC][Info]:MPP Encoder: Set input block mode.
  579.021959]   [width max:1280 ratio max:8 min:2]
[  579.021982] rkispp0: scale1:0x0 out of range:
[  579[RKMEDIA][VENC][Info]:MPP Encoder: bps:[568888,512000,455111] fps: [30/1]->[30/1], gop:50 qpInit:-1, qpMin:8, qpMax:48, qpMinI:8, qpMaxI:48.
[RKMEDIA][VENC][Info]:MPP Encoder: H264 profile use defalut value: 100[RKMEDIA][VENC][Info]:MPP Encoder: AVC: encode profile 100 level 0
.021982]        [width max:1280 ratio max:8 min:2]
[RKMEDIA][VENC][Info]:MPP Encoder: w x h(640[640] x 360[360])
[RKMEDIA][SYS][Info]:RK_MPI_VENC_CreateChn: Enable VENC[1], Type:5 End...
[RKMEDIA][SYS][Info]:RK_MPI_SYS_Bind: Bind Mode[VI]:Chn[1] to Mode[VENC]:Chn[1]...
[RKMEDIA][SYS][Info]:Camera 0 stream 146 is started
[video.c][rkipc_pipe_3_init]:video_device_name = rkispp_scale2
[video.c][rkipc_get_venc_1]:#Start rkipc_get_venc_1 thread, arg:(nil)
[RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:3]:rkispp_scale2, 1280x720 Start...
[RKMEDIA][SYS][Info]:RKAIQ: parsing sys_path /dev/media0
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
[RKMEDIA][SYS][Info]:RKAIQ: parsing sys_path /dev/media1
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is null
[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev4
[RKMEDIA][SYS][Info]:RKAIQ: parsing sys_path /dev/media2
media get entity by name: rkispp_input_params is null
media get entity by name: rkispp-stats is null
[RKMEDIA][SYS][Info]:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
[RKMEDIA][SYS][Info]:#V4l2Stream: camraID:0, Device:rkispp_scale2
[RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale2
[RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale2, idx: 0
[RKMEDIA][SYS][Info]:#V4l2Stream: camera id:0, VideoNode:/dev/video21
[  579.051243] rkispp0: scale2:0x0 out of range:
[  579.051243]  [width max:128Using mplane plugin for capture0 
[RKMEDIA][SYS][Info]:#V4L2Ctx: open /dev/video21, fd 156
 ratio max:8 min:2]
[  579.051328] rkispp0: scale2:0x0 out of range:
[  579.051328]  [width max:1280 ratio max:8 min:2]
[  579.051365] rkispp0: scale2:0x0 out of range:
[  579.051365] [12:51:40.191314][CAMHW]:XCA     M ERROR TnrProcUint.cpp:543:[ tnr buf_num=5
[12:51:40.191w829][CAMHW]:XCAM ERROR TnrPriocUint.cpp:553: tnrbuf_fd[0]:157
[RKMEDIA][SYS]d[Info]:query v4l2 buf fd=162, size1: 1382400, size2: 0
[12:51t:40.192400][CAMHW]:XCAM ERRhOR TnrProcUint.cpp:553: tnrbuf_fd[1]:158
[RKMEDIA][SYS][I nfo]:query v4l2 buf fd=163, size1: 1382400, size2: 0
[12:51:40.193513][CAMHW]:XCAM ERmaROR TnrProcUint.cpp:553: tnrxbuf_fd[2]:159
[12:51:40.194:621][CAMHW]:XCAM ERROR TnrProc1Uint.cpp:553: tnrbuf_fd[3]:160
[12:51:40.195212][CAMHW]:XCAM ERROR TnrProcUint.cpp:553: tnrbuf_fd[4]:161
[RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:3]:rkispp_scale2, 1280x720 End...
[RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable 280RGA[0], Rect<0,0,1280,720> Start ...
ratio max:8 min:2]
[  579.051420] rkispp0: scale2:0x0 out of range:
[  579.051[RKMEDIA][SYS][Info]:FilterFlow:rkrga: Enable BufferPool! memtype:hw4_mem, memcnt:3
20]     [width max[RKMEDIA][SYS][Info]:Opened DRM device /dev/dri/card0: driver rockchip version 2.0.0.
:1280 ratio max:8 min:2]
[  579.051461] rkispp0: scale2:0x0 out of range:
[  579.051461]  [width max:1280 ratio max:8 min:2]
[RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable RGA[0], Rect<0,0,1280,720> End...
[RKMEDIA][SYS][Info]:RK_MPI_VO_CreateChn: Enable VO[0] Start...
[RKMEDIA][SYS][Info]:conn id : 56, enc id: 55, crtc id: 53, plane id: 52, w/h: 720,1280, fps: 60
[RKMEDIA][SYS][Info]:RK_MPI_VO_CreateChn: Enable VO[0] End!
[RKMEDIA][SYS][Info]:RK_MPI_SYS_Bind: Bind Mode[VI]:Chn[3] to Mode[RGA]:Chn[0]...
[video.c][rkipc_pipe_3_init]:vi and rga bind success!
[RKMEDIA][SYS][Info]:Camera 0 stream 156 is started
[RKMEDIA][SYS][Info]:RK_MPI_SYS_Bind: Bind Mode[RGA]:Chn[0] to Mode[VO]:Chn[0]...
[video.c][rkipc_pipe_3_init]:vi and vo bind success!
[RKMEDIA][SYS][Info]:RK_MPI_VENC_RGN_Init: 0 Default color tbl(Dichotomy:True)...
[RKMEDIA][SYS][Info]:RK_MPI_VENC_RGN_Init: 1 Default color tbl(Dichotomy:True)...
[RKMEDIA][VENC][Info]:MPP Encoder: config osd palette
[video.c][rkipc_osd_bmp_create]:id is 0
#Start osd_time_server thread, arg:(nil)
[bmp_reader.c][load_bmp_form_file]:load_bmp_form_file
[osd.c][osd_time_server]:osd_time_id is 1
[bmp_reader.c][bmp_check]:bmp_check
[osd.c][osd_time_server]:osd_data.text.font_color is fff799
[bmp_reader.c][bmp_check]:bitInfoHead->biBitCount is 24
[bmp_reader.c][load_bmp_form_file]:ReadBmpData
[osd.c][osd_time_server]:osd_data.text.format is 24hour WEEKCN CHR-YYYY-MM-DD
[bmp_reader.c][bmp24_to_argb8888]:bmp24_to_argb8888
[bmp_reader.c][load_bmp_form_file]:FreeBmpData
[video.c][rkipc_osd_bmp_create]:id is 6
[video.c][rkipc_osd_bmp_create]:id is 1
[audio.c][rkipc_audio_init]:rkipc_audio_init
[RKMEDIA][SYS][Info]:RK_MPI_AI_EnableChn: Enable AI[0] Start...
[RKMEDIA][SYS][Info]:AlsaCaptureStream: Layout 0, output chan 2, alsa chan 2
[DEBUG utils.c:160:rtsp_codec_data_parse_from_user_h264] sps 26
[DEBUG utils.c:168:rtsp_codec_data_parse_from_user_h264] pps 5
[RKMEDIA][VENC][Info]:MPP Encoder: config osd palette
[RKMEDIA][VENC][Info]:MPP Encoder: disable roi function.
[RKMEDIA][VENC][Info]:MPP Encoder: disable roi function.
[DEBUG utils.c:160:rtsp_codec_data_parse_from_user_h264] sps 26
[DEBUG utils.c:168:rtsp_codec_data_parse_from_user_h264] pps 5
[video.c][rkipc_VENC2_get_jpeg]:Count:0, Len:86792, PTS is 578840894
[video.c][rkipc_VENC2_get_jpeg]:file_name is /userdata/20170804125140.jpeg
[RKMEDIA][SYS][Info]:RK_MPI_AI_EnableChn: Enable AI[0] End...
[RKMEDIA][AENC][Info]:rk codec name=MP2 (MPEG audio layer 2)
[audio.c][rk_aenc_init]:create aenc chn 0 success
[RKMEDIA][SYS][Info]:RK_MPI_SYS_Bind: Bind Mode[AI]:Chn[0] to Mode[AENC]:Chn[0]...
[audio.c][rkipc_audio_init]:RK_MPI_SYS_Bind success
[server.c][rkipc_server_thread]:#Start rkipc_server_thread thread, arg:(nil)
[storage.c][rkipc_storage_set_dev_attr]:unrecognized dev_path,stop record!
[storage.c][rkipc_storage_set_dev_attr]:mount path is /mnt/sdcard, dev_path is 
[storage.c][rkipc_storage_para_init]:DevAttr set:  AutoDel--1, FreeSizeDel--500~1000, Path--/mnt/sdcard/video0, Limit--30
[storage.c][rkipc_storage_para_init]:DevAttr set:  AutoDel--1, FreeSizeDel--500~1000, Path--/mnt/sdcard/video1, Limit--30
[storage.c][rkipc_storage_para_init]:DevAttr set:  AutoDel--1, FreeSizeDel--500~1000, Path--/mnt/sdcard/video2, Limit--30
[storage.c][rkipc_storage_auto_delete_init]:mountpath:/mnt/sdcard,devpath:,devtype:,devattr:
[storage.c][rkipc_storage_auto_delete_init]:GetMountDev failed.
[storage.c][rkipc_storage_manager_init]:AutoDelete init failed.
[storage.c][rk_storage_muxer_init_by_id]:Create /mnt/sdcard/video0 fail
[storage.c][rk_storage_muxer_init_by_id]:Create /mnt/sdcard/video1 fail
[storage.c][rk_storage_muxer_init_by_id]:Create /mnt/sdcard/video2 fail

//尝试关闭指令打印

root@rv1126_rv1109:/# source /oem/usr/bin/RkLunch-stop.sh
Stop Application ...
[rkipc.c][sig_proc]:received signo 15 
1537 ttyFIQ0  00:01:38 rkipc
rkipc active
[server.c][rkipc_server_deinit]:rkipc_server_deinit failed
[audio.c][rkipc_audio_deinit]:rkipc_audio_deinit
[RKMEDIA][SYS][Info]:RK_MPI_SYS_UnBind: UnBind Mode[AI]:Chn[0] to Mode[AENC]:Chn[0]...
[audio.c][rkipc_audio_deinit]:RK_MPI_SYS_UnBind success
1537 ttyFIQ0  00:01:40 rkipc
rkipc active
[RKMEDIA][SYS][Info]:INFO: RkmediaChnPopBuffer: Mode[AENC]:Chn[0] get mediabuffer timeout!
RK_MPI_SYS_GetMediaBuffer get null buffer!
[RKMEDIA][SYS][Info]:AudioEncoderFlow quit
[audio.c][rk_aenc_deinit]:RK_MPI_AI_DisableChn success
[RKMEDIA][SYS][Info]:RK_MPI_AI_DisableChn: Disable AI[0] Start...
[RKMEDIA][VI][Info]:Fail to stop source stream
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:alsa_capture_stream]: stream off....
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:alsa_capture_stream]: read thread exit sucessfully!
[RKMEDIA][SYS][Info]:audio capture close done
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:alsa_capture_stream]: stream reset sucessfully!
[RKMEDIA][SYS][Info]:SourceFlow:alsa_capture_stream quit
[RKMEDIA][SYS][Info]:RK_MPI_AI_DisableChn: Disable AI[0] End...
[audio.c][rk_ai_deinit]:RK_MPI_AI_DisableChn success
[video.c][rk_video_deinit]:rk_video_deinit
[osd.c][osd_time_server]:exit
[video.c][rkipc_osd_bmp_destroy]:id is 0
[video.c][rkipc_osd_bmp_destroy]:destroy bmp success
[video.c][rkipc_osd_bmp_destroy]:id is 1
[video.c][rkipc_osd_bmp_destroy]:destroy bmp success
[video.c][rkipc_osd_bmp_destroy]:id is 2
[video.c][rkipc_osd_bmp_destroy]:destroy bmp success
[video.c][rkipc_osd_bmp_destroy]:id is 3
[video.c][rkipc_osd_bmp_destroy]:destroy bmp success
[video.c][rkipc_osd_cover_destroy]:id is 4
[video.c][rkipc_osd_cover_destroy]:destroy cover region to chn success
[video.c][rkipc_osd_cover_destroy]:id is 5
[video.c][rkipc_osd_cover_destroy]:destroy cover region to chn success
[video.c][rkipc_osd_bmp_destroy]:id is 6
[video.c][rkipc_osd_bmp_destroy]:destroy bmp success
[RKMEDIA][SYS][Info]:RK_MPI_SYS_UnBind: UnBind Mode[VI]:Chn[3] to Mode[RGA]:Chn[0]...
[RKMEDIA][SYS][Info]:RK_MPI_SYS_UnBind: UnBind Mode[RGA]:Chn[0] to Mode[VO]:Chn[0]...
[RKMEDIA][SYS][Info]:OutputStreamFlow:drm_output_stream quit
[RKMEDIA][SYS][Info]:RK_MPI_RGA_DestroyChn: Disable RGA[0] Start...
[RKMEDIA][SYS][Info]:FilterFlow:rkrga quit
[RKMEDIA][SYS][Info]:RK_MPI_RGA_DestroyChn: Disable RGA[0] End...
[RKMEDIA][SYS][Info]:RK_MPI_VI_DisableChn: Disable VI[0:3]:rkispp_scale2, 1280x720 Start...
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:v4l2_capture_stream]: stream off....
[RKMEDIA][SYS][Info]:rkispp_scale2, ioctl(VIDIOC_DQBUF): Invalid argument
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:v4l2_capture_stream]: read thread exit sucessfully!
[RKMEDIA][SYS][Info]:free(close/munmap) v4l2 bufs explicitly
[RKMEDIA][SYS][Info]:free v4l2 bufs fd: 157, unmap: size1 1382400, size2: 0
[RKMEDIA][SYS][Info]:free v4l2 bufs fd: 158, unmap: size1 1382400, size2: 0
[RKMEDIA][SYS][Info]:#V4L2Ctx: close , fd 156
[RKMEDIA][SYS][Info]:#V4L2Stream: v4l2 ctx reset to nullptr!
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:v4l2_capture_stream]: stream reset sucessfully!
[RKMEDIA][SYS][Info]:SourceFlow:v4l2_capture_stream quit
[RKMEDIA][SYS][Info]:RK_MPI_VI_DisableChn: Disable VI[0:3]:rkispp_scale2, 1280x720 End...
[RKMEDIA][SYS][Info]:RK_MPI_SYS_UnBind: UnBind Mode[VI]:Chn[1] to Mode[VENC]:Chn[1]...
[video.c][rkipc_pipe_1_deinit]:UnBind VI and VENC success
[RKMEDIA][SYS][Info]:RK_MPI_VENC_DestroyChn: Disable VENC[1] Start...
[RKMEDIA][SYS][Info]:VideoEncoderFlow quit
[RKMEDIA][VENC][Info]:MPP Encoder: MPPConfig: cfg deinit done!
[RKMEDIA][SYS][Info]:mpp destroy ctx done
[RKMEDIA][SYS][Info]:RK_MPI_VENC_DestroyChn: Disable VENC[1] End...
[video.c][rkipc_pipe_1_deinit]:Destroy VENC success
[RKMEDIA][SYS][Info]:RK_MPI_VI_DisableChn: Disable VI[0:1]:rkispp_scale1, 640x360 Start...
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:v4l2_capture_stream]: stream off....
[RKMEDIA][SYS][Info]:rkispp_scale1, ioctl(VIDIOC_DQBUF): Invalid argument
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:v4l2_capture_stream]: read thread exit sucessfully!
[RKMEDIA][SYS][Info]:free(close/munmap) v4l2 bufs explicitly
[RKMEDIA][SYS][Info]:free v4l2 bufs fd: 147, unmap: size1 353280, size2: 0
[RKMEDIA][SYS][Info]:free v4l2 bufs fd: 148, unmap: size1 353280, size2: 0
[RKMEDIA][SYS][Info]:#V4L2Ctx: close , fd 146
[RKMEDIA][SYS][Info]:#V4L2Stream: v4l2 ctx reset to nullptr!
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:v4l2_capture_stream]: stream reset sucessfully!
[RKMEDIA][SYS][Info]:SourceFlow:v4l2_capture_stream quit
[RKMEDIA][SYS][Info]:RK_MPI_VI_DisableChn: Disable VI[0:1]:rkispp_scale1, 640x360 End...
[video.c][rkipc_pipe_1_deinit]:Destroy VI success
[video.c][rkipc_rtmp_deinit]:begin
[flv @ 0x907980] Failed to update header with correct duration.
[flv @ 0x907980] Failed to update header with correct filesize.
[video.c][rkipc_rtmp_deinit]:end
[video.c][rkipc_rtsp_deinit]:rkipc_rtsp_deinit
[DEBUG rtsp_demo.c:629:rtsp_del_session] del session path: /live/0
[DEBUG rtsp_demo.c:629:rtsp_del_session] del session path: /live/1
[video.c][rkipc_rtsp_deinit]:rkipc_rtsp_deinit over
[RKMEDIA][SYS][Info]:RK_MPI_SYS_UnBind: UnBind Mode[VI]:Chn[0] to Mode[VENC]:Chn[2]...
[video.c][rkipc_pipe_0_to_jpeg_deinit]:UnBind VI and VENC success
[RKMEDIA][SYS][Info]:RK_MPI_VENC_DestroyChn: Disable VENC[2] Start...
[RKMEDIA][SYS][Info]:VideoEncoderFlow quit
[RKMEDIA][VENC][Info]:MPP Encoder: MPPConfig: cfg deinit done!
[RKMEDIA][SYS][Info]:mpp destroy ctx done
[video.c][rkipc_VENC2_get_jpeg]:RK_MPI_SYS_GetMediaBuffer get null buffer!
[RKMEDIA][SYS][Info]:RK_MPI_VENC_DestroyChn: Disable VENC[2] End...
[video.c][rkipc_pipe_0_to_jpeg_deinit]:Destroy VENC success
[RKMEDIA][SYS][Info]:RK_MPI_SYS_UnBind: UnBind Mode[VI]:Chn[0] to Mode[VENC]:Chn[0]...
[video.c][rkipc_pipe_0_to_RTSP_deinit]:UnBind VI and VENC success
[RKMEDIA][SYS][Info]:RK_MPI_VENC_DestroyChn: Disable VENC[0] Start...
[RKMEDIA][SYS][Info]:VideoEncoderFlow quit
[RKMEDIA][VENC][Info]:MPP Encoder: MPPConfig: cfg deinit done!
[RKMEDIA][SYS][Info]:mpp destroy ctx done
[RKMEDIA][SYS][Info]:RK_MPI_VENC_DestroyChn: Disable VENC[0] End...
[video.c][rkipc_pipe_0_to_RTSP_deinit]:Destroy VENC[0] success
[RKMEDIA][SYS][Info]:RK_MPI_VI_DisableChn: Disable VI[0:0]:rkispp_scale0, 2688x1520 Start...
[12:49:43.274541][ANALYZER]:XCAM ERROR RkAiqManager.cpp:571: ========================== stream stop =======================

[12:49:43.278827][XCORE]:XCAM ERROR poll_thread.cpp:933: poll isp_3a_poll buffer stop success !
[12:49:43.279781][XCORE]:XCAM ERROR poll_thread.cpp:933: poll isp_params_poll buffer stop success !
[12:49:43.280371][XCORE]:XCAM ERROR poll_thread.cpp:933: poll luma_poll buffer stop success !
[  462.147406] rkcif_mipi_lvds: stream[0] start stopping
[  462.179794] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream off, src_sd: 81bbb933, sd_name:rockchip-mipi-dphy-rx
[  462.179874] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream OFF
[  462.179905] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:0
[  462.181008] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:0
[  462.181592] rkcif_mipi_lvds: stream[0] stopping finished
1537 ttyFIQ0  00:01:41 rkipc
rkipc active
[12:49:43.664030][XCORE]:XCAM ERROR poll_thread.cpp:933: poll ispp_tnr_params_poll buffer stop success !
[12:49:43.668281][XCORE]:XCAM ERROR poll_thread.cpp:933: poll ispp_nr_params_poll buffer stop success !
[RKMEDIA][SYS][Info]:rkispp_scale0, ioctl(VIDIOC_DQBUF): Invalid argument
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:v4l2_capture_stream]: stream off....
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:v4l2_capture_stream]: read thread exit sucessfully!
[RKMEDIA][SYS][Info]:free(close/munmap) v4l2 bufs explicitly
[RKMEDIA][SYS][Info]:free v4l2 bufs fd: 125, unmap: size1 6128640, size2: 0
[RKMEDIA][SYS][Info]:free v4l2 bufs fd: 126, unmap: size1 6128640, size2: 0
[RKMEDIA][SYS][Info]:#V4L2Ctx: close , fd 124
[RKMEDIA][SYS][Info]:#V4L2Stream: v4l2 ctx reset to nullptr!
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:v4l2_capture_stream]: stream reset sucessfully!
[RKMEDIA][SYS][Info]:SourceFlow:v4l2_capture_stream quit
[RKMEDIA][SYS][Info]:RK_MPI_VI_DisableChn: Disable VI[0:0]:rkispp_scale0, 2688x1520 End...
[video.c][rkipc_pipe_0_to_RTSP_deinit]:Destroy VI success
[video.c][rkipc_rtmp_deinit]:begin
[flv @ 0x88de40] Failed to update header with correct duration.
[flv @ 0x88de40] Failed to update header with correct filesize.
[video.c][rkipc_rtmp_deinit]:end
[video.c][rkipc_rtsp_deinit]:rkipc_rtsp_deinit
[video.c][rkipc_rtsp_deinit]:rkipc_rtsp_deinit over
[isp.c][rk_isp_deinit]:rk_isp_deinit
rk_aiq_uapi_sysctl_stop enter
rk_aiq_uapi_sysctl_deinit enter
rk_aiq_uapi_sysctl_deinit exit
[param.c][rk_param_deinit]:rk_param_deinit
rkipc exit

 

===========================================================================

 一分耕耘一分汗水

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

旋风旋风

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值