Jump to content

Recommended Posts

Posted

Hi,
I am using OV5640 in Nano PI duo 2

 

kernal:
Linux nanopiduo2 5.10.16-sunxi #21.02.2 SMP Sun Feb 14 21:12:17 CET 2021 armv7l armv7l armv7l GNU/Linux

 

I found that NanoPi Duo2 - FriendlyARM WiKi which is kernal 4.14 supports camera OV5640.

 

Do  Armbian Focal (mainline based kernel 5.10.y) have support?

 

if not Please say how to do it? I am new to this armbian kernal 

 

Thanks in advance

 

<
Posted (edited)

Do we have support for OV5640 in NanoPIduo2?

 

root@nanopiduo2:~# media-ctl --print-topology
Media controller API version 5.10.16

Media device information
------------------------
driver          cedrus
model           cedrus
serial
bus info        platform:cedrus
hw revision     0x0
driver version  5.10.16

Device topology
- entity 1: cedrus-source (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video0
        pad0: Source
                -> "cedrus-proc":0 [ENABLED,IMMUTABLE]

- entity 3: cedrus-proc (2 pads, 2 links)
            type Node subtype Unknown flags 0
        pad0: Sink
                <- "cedrus-source":0 [ENABLED,IMMUTABLE]
        pad1: Source
                -> "cedrus-sink":0 [ENABLED,IMMUTABLE]

- entity 6: cedrus-sink (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video0
        pad0: Sink
                <- "cedrus-proc":1 [ENABLED,IMMUTABLE]
 

Edited by srinath
quick check
Posted

You can follow this thread and add the ov5640 overlay, use the ov5640 params from FE dts node.

 

 

Posted

Hi,
How can I enable OV5640 driver in order to have ov5640.ko driver to be loaded

 

 

Thanks and regards

Scizors

Posted

Make sure you have at least these kernel configs enabled:

 

CONFIG_I2C_GPIO=m
CONFIG_V4L_PLATFORM_DRIVERS=y
CONFIG_VIDEO_SUN6I_CSI=m
CONFIG_V4L_MEM2MEM_DRIVERS=y
CONFIG_VIDEO_MEM2MEM_DEINTERLACE=m
CONFIG_VIDEO_OV5640=m

 

Posted

Hi lex,

 Thank you for the kernal configs. I did that

 

After that what should I need to change in  sun8i-h3-nanopi-duo2.dts. AS I am using Nnao pi duo 2 with H3 chipset running under armhf(32bit) Armbian Focal (mainline based kernel 5.10.y) 

 

Thanks in advance

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines