Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OV5640 in Nano PI duo 2

Featured Replies

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

 

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

  • Author

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

 

 

Thanks and regards

Scizors

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

 

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.