USE DISCOUNT CODEEXPERT30TO SAVE $30 USD
# i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f00: -- -- -- -- -- -- -- -- -- -- -- -- --10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --40: 40 -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --50: UU -- -- -- -- -- -- 57 -- -- -- -- -- -- -- --60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --70: -- -- -- -- -- -- -- --# i2cdump -y 0 0x48No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef00: 80 90 1f 00 87 29 02 00 00 00 00 00 00 b6 7a 00 ???.?)?......?z.10: 00 00 00 00 0a 22 30 54 30 c8 0f 5f ff 30 0a 02 ....?"0T0??_.0??20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX...<skip>...f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
&i2c1 { /* Deserializer MAX9272*/ max9272: max9272@48 { status = "okay"; compatible = "maxim,max9272"; reg = <0x48>; clocks = <&clks IMX6QDL_CLK_DUMMY>; clock-names = "csi_mclk"; pwn-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>; led-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; csi_id = <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ipu1_csi0>; mclk = <37000000>; mclk_source = <0>; };};
# v4l2-ctl --allERROR: v4l2 capture: slave not found!Failed to open /dev/video0: Resource temporarily unavailable# gst-launch-1.0 imxv4l2src device=/dev/video0 ! imxv4l2sinkERROR: v4l2 capture: slave not found!ERROR: v4l2 capture: slave not found!Can't get caps from capture device, use the default setting.Perhaps haven't capture device.====== IMXV4L2SRC: 4.1.6 build on Sep 18 2019 17:40:41. ============ IMXV4L2SINK: 4.1.6 build on Sep 18 2019 17:40:41. ======WARNING: erroneous pipeline: could not link imxv4l2src0 to imxv4l2sink0
cam->sensor == NULL
~/workdir/voipac/imx6/linux/linux-fslc-4.1-rex$ grep -r max9272 ./
/ { v4l2_cap_0 { compatible = "fsl,imx6q-v4l2-capture"; ipu_id = <0>; csi_id = <0>; mclk_source = <0>; mipi_camera = <0>; default_input = <1>; status = "okay"; };};&i2c3 { adv7610: adv7610@4c { compatible = "adv,adv7610"; reg = <0x4c>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ipu1_csi0>; csi_id = <0>; reset-gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>; };};
~/workdir/voipac/imx6/linux/linux-fslc-4.1-rex/drivers/media/platform/mxc/capture/adv7610.c
ERROR: v4l2 capture: slave not found!
# gst-launch-1.0 v4l2src device="/dev/video0" ! 'video/x-raw,format=(string)UYVY,width=640,height=480,framerate=30/1' ! videoconvert ! autovideosinkSetting pipeline to PAUSED ...display(/dev/fb0) resolution is (1920x1080).====== OVERLAYSINK: 4.1.6 build on Sep 18 2019 17:40:44. ======ipu_csi_window_size_crop: Error left=0 top=59565955display(/dev/fb0) resolution is (1920x1080).display(/dev/fb0) resolution is (1920x1080).mxc_v4l2_output v4l2_out: Bypass IC.mxc_v4l2_output v4l2_out: Bypass IC.Pipeline is live and does not need PREROLL ...Setting pipeline to PLAYING ...New clock: GstSystemClockERROR: v4l2 capture: width or height too small.ERROR: v4l2 capture: unsupported ioctrl!ERROR: v4l2 capture: unsupported ioctrl!UYVY
ERROR: v4l2 capture: width or height too small.ERROR: v4l2 capture: unsupported ioctrl!ERROR: v4l2 capture: unsupported ioctrl!UYVY