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

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

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines