This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PiCamera on tinker board
#1
Hi all, 

did anybody try to get the PiCam on the tinker board?
I have one here but I have no clue how to get it working.

thx
dan
Reply
#2
Hi Dan - I am searching for over a month now to get a camera working - no luck yet - anyone else having more infos on this?

Also have a look at:
http://tinkerboarding.co.uk/forum/thread-57.html
Reply
#3
Hi guys,
I am too, searching for over a month
still nothing

really no chance to run pi camera????
Reply
#4
Any news on this from Asus? From any other user? Any linux guru? 
How can a board focussed on media not have powerful Picamera library type camera support? So many use cases require a great camera. Please anyone, help solve this!
Reply
#5
Turns out that this driver seem to be in the 'staging drivers' section of the 4.12 kernel. I'll try to enable it for the rc6 release.
Reply
#6
It only currently supports the pi camera v2.1 (with Sony IMX219)
- not the original 1.3 pi cam which uses OV5647
Reply
#7
(06-16-2017, 07:20 AM)Mikerr Wrote: It only currently supports the pi camera v2.1 (with Sony IMX219)
- not the original 1.3 pi cam which uses OV5647

I compiled the Broadcom 2835 camera module, named bcm2835-v4l2 , with the v4.12.0-rc6 release of the mainline kernel patched by myself.
I also added the raspberry-firmware module, which is required by this driver.

I do not possess such hardware, so you might want to read this in order to understand how you could configure it, if everything goes fine :
https://wiki.archlinux.org/index.php/Raspberry_Pi#Raspberry_Pi_camera_module


Anyway, you can try my kernels by copying the boot usr and lib folders of the git repository into your system and adapt the bootloader to boot the /boot/zImage file just copied.

Else you can use the main script GetPatchAndCompileKernel.sh , transcribed in the README.md, to recompile a new kernel using the same exact configuration.
Note that you can change the configuration used by this script by doing :

Code:
MAKE_CONFIG=menuconfig sh GetPatchAndCompileKernel.sh


This will invoke menuconfig after applying the patches, but before starting the compilation, allowing you to modify the compiled kernel configuration.
[url=https://github.com/Miouyouyou/MyyQi][/url]
Reply
#8
@Myy I installed your kernel and almost got it to work, but no luck yet. What might be the issue?

Linux tinkerboard 4.15.0-rc6-Kernel-Maker-XV #1 SMP PREEMPT Mon Jan 1 15:41:31 CET 2018 armv7l

ls /dev/video*
/dev/video0

sudo modprobe bcm2835-v4l2
modprobe: ERROR: could not insert 'bcm2835_v4l2': Input/output error

dmesg | grep v4l2
[ 918.132839] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.

lsmod
Module Size Used by
vchiq 278528 0
raspberrypi 16384 1 vchiq
bnep 20480 2
mali_kbase 512000 2
r8723bs 495616 0
rockchip_rga 20480 0
dw_hdmi_i2s_audio 16384 0
dw_hdmi_cec 16384 0
rk_crypto 24576 0
v4l2_mem2mem 16384 1 rockchip_rga
videobuf2_dma_sg 16384 1 rockchip_rga

dmesg | grep video
[ 0.296569] Linux video capture interface: v2.00
[ 1.031771] usbcore: registered new interface driver uvcvideo
[ 4.587434] vchiq: vchiq_initialise: videocore not initialized
[ 5.194666] rockchip-rga ff920000.rga: Registered rockchip-rga as /dev/video0
[ 57.468452] vchiq: vchiq_initialise: videocore not initialized

gst-launch-1.0 v4l2src num-buffers=10 ! video/x-raw,format=NV12,width=640,height=480 ! jpegenc ! multifilesink location=image_%02d.jpg
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video0' is not a capture device.
Additional debug info:
v4l2_calls.c(633): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Capabilities: 0x4208000

How can I enable the driver? Does not seem to be running on this hardware? Anyone with luck?
BTW - the TinkerOS 2.03 version does not provide me with any /dev/video0 device.
Reply
#9
help me to use my camera.
https://http2.mlstatic.com/kit-camara-vision-nocturna-5mp-ov5647-soporte-cables-rpi-D_NQ_NP_845055-MLA26103420745_092017-F.jpg
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)