Jump to content

hongrui chen

Validating
  • Posts

    0
  • Joined

  • Last visited

Reputation Activity

  1. Like
    hongrui chen reacted to mangokid in Nanopi-M4/General RK3399: rkisp failed to get clk   
    Hey JMCC what else would be helpful to provide?
     
    - Hardware: Nanopi-m4 + OV4689 (i2c2 + CSI1)
    - Build: Armbian Latest (no patching beyond existing Armbian patches for this platform)
    - RK3399.dtsi modified to add isp1 (isp0 already in mainline)
     
    rk3399.dtsi rk3399-nanopi-m4.dts
  2. Like
    hongrui chen reacted to adzio in Camera(s) with Rock Pi 4 C   
    Thank you Armbian guys for providing and supporting a working 5.10 image for the Rock Pi 4C board.

    Has anyone been successful in configuring and using a matched CSI camera with a 5.x kernel for this board? If so, can you share the required conf steps here?
    Radxa's website (https://wiki.radxa.com/Rockpi4/MIPI_Camera) claims that their provided Debian image supports both RPi ov5647 and RPi imx219 based cameras so that confirms hardware compatibility but so far I haven't been able to capture images/video with neither on Armbian when attached to a Rock Pi 4C.

    $ ls -l /dev/video*
    crw-rw---- 1 root video 81, 0 Apr 3 07:30 /dev/video0
    crw-rw---- 1 root video 81, 1 Apr 3 07:30 /dev/video1
    crw-rw---- 1 root video 81, 2 Apr 3 07:30 /dev/video2
    crw-rw---- 1 root video 81, 3 Apr 3 07:30 /dev/video3
    exist,

    v4l2-compliance and v4l2-ctl --list-formats-ext work and provide good output.
    However, capturing the actual photo doesn't work:

    $ fswebcam -d /dev/video0 -r 2048x1536 --jpeg 95 test.jpg
    --- Opening /dev/video0...
    Trying source module v4l2...
    /dev/video0 opened.
    No input was specified, using the first.
    Unable to query input 0.
    VIDIOC_ENUMINPUT: Inappropriate ioctl for device

    I had enabled ov5647 manually in /etc/modules
    $ lsmod | grep ov
    ov5647 20480 0
    v4l2_fwnode 28672 1 ov5647
    governor_performance 16384 0
    videodev 299008 8 rockchip_vdec,v4l2_fwnode,ov5647,videobuf2_v4l2,hantro_vpu,rockchip_rga,videobuf2_common,v4l2_mem2mem
    mc 61440 7 rockchip_vdec,videodev,ov5647,videobuf2_v4l2,hantro_vpu,videobuf2_common,v4l2_mem2mem

    But still no joy, one gets the dreaded VIDIOC_ENUMINPUT error.

    What else am I missing? I’ve seen references to disabling twi2 but I’m unable to find where to make this change in 5.10 if that's indeed the cause.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines