关闭瑞芯微的 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: g