RPi Camera bounty

Any technical questions about the Epiphany chip and Parallella HW Platform.

Moderator: aolofsson

Re: RPi Camera bounty

Postby SRR9 » Fri Mar 11, 2016 12:59 am

Hello to everybody,

I am finishing my Degree studies (so I am novice in this) and I have been trying to connect the RPi camera to the Parallella board during some time. I followed all the steps in the parallella-flash repo and I generated the BOOT.bin and the env.bin files. But then, when I connected the serial cable in order to upgrade the QSPI flash and followed the steps provided in that repo, there must have been something wrong. Since this moment, the board seems not to boot completely and after power on it, if I connect a serial cable to my PC, I see the uboot prompt "zynq-uboot>", like if the board could not to read the boot partition of the SD card. So I think there is a problem on the boot image of the QSPI flash. Also, the CR10 LED lights up and as I have read this should not occur for the SKU version of my board.

I have a Kickstarter version of the Parallella board with the SKU A101040.

I hope someone has got the solution to my problem or knows if there is any site where I can obtain the right BOOT.bin and env.bin files for correctly upgrading the QSPI flash.

Thank you in advance,
Samuel.
SRR9
 
Posts: 2
Joined: Wed Jan 27, 2016 5:57 pm

Re: RPi Camera bounty

Postby olajep » Thu Mar 17, 2016 10:59 pm

Hi,

Bug described here:
https://github.com/parallella/parallella-uboot/issues/5

Quick fix:

Always have a serial cable attached, or:

https://github.com/parallella/parallell ... ella.h#L38
Change to:
Code: Select all
#define CONFIG_BOOTDELAY 0


https://github.com/parallella/parallell ... env.txt#L1
Change to:
Code: Select all
bootdelay=0


HTH,
Ola
_start = 266470723;
olajep
 
Posts: 140
Joined: Mon Dec 17, 2012 3:24 am
Location: Sweden

Re: RPi Camera bounty

Postby zodane » Mon Mar 21, 2016 12:21 pm

Trenz Electronic have created a board based on xilinx Zynq : the "ZynqBerry"
The good thing is that it supports the RPi camera.
Maybe we can just use the same driver used in the Zynqberry
all files are here
http://www.trenz-electronic.de/download/d0/Trenz_Electronic/d1/TE0726.html
zodane
 
Posts: 26
Joined: Mon Nov 10, 2014 8:45 pm

Re: RPi Camera bounty

Postby SRR9 » Thu Mar 31, 2016 8:53 am

Well, thank you. I finally got to complete all the procedure. But when I finally tried to capture stuff, I received the following:

[!] Unable to find sensor
[!] Invalid VDMA version
[!] Timeout waiting for frame

And while receiving this, the red LED of the Raspberry Pi Camera Board turns on. I have been looking for information about this, but the results have not been good. Could someone help me with this?

Thank you in advance.
Samuel.
SRR9
 
Posts: 2
Joined: Wed Jan 27, 2016 5:57 pm

Re: RPi Camera bounty

Postby sohoni » Thu Oct 27, 2016 7:47 am

i'm trying to use the code provided for this project. In mipi_csi_top.vhd I understand that pins pad_data_n/pad_data_p connect to MIPI Data lane 0 N/MIPI Data lane 0 P/MIPI Data lane 1 N/MIPI Data lane 1 P and pad_clk_n/pad_clk_p connect to MIPI Clock N/MIPI Clock P. Can someone please tell me what pad_lpdet_n/pad_lpdet_p connect to on the pi camera? Maybe I am not understanding things correctly. Thx
sohoni
 
Posts: 2
Joined: Thu Oct 27, 2016 12:14 am

Re: RPi Camera bounty

Postby sohoni » Mon Nov 14, 2016 6:03 am

anyone??
sohoni
 
Posts: 2
Joined: Thu Oct 27, 2016 12:14 am

Re: RPi Camera bounty

Postby mrfdsp » Tue Dec 27, 2016 4:19 pm

There is an alternative solution to this problem.
Any MIPI camera could be connected to any board with USB bus through USB Camera controller chip.
There are many USB camera controller IC with MIPI support, although some support only DVP parallel interface.
USB2.0 camera controllers:

sm3732 - USB 2.0 PC Camera Controller (QFN40) MIPI: unknown
au3830 - USB 2.0 WEB Camera Controller (LQFP,QFN) MIPI: unknown
AU3822U - USB 2.0 NB-Cam Controller MIPI: unknown
AU3826 - USB 2.0 NB-Cam Controller MIPI: yes
M5608T - USB 2.0 NB-Cam Controller MIPI: unknown
AU3841 - USB 2.0 NB-Cam Controller MIPI: unknown
SN9C292A - USB2.0 H.264 Video Encoding Camera Controller (65pin LGA) MIPI: yes
SN9C291B - USB2.0 H.264 Video Encoding Camera Controller MIPI: yes
SN9C270M - USB 2.0 High-Speed (HS) compatible PC Camera controller MIPI: yes
SN9C271M - USB 2.0 High-Speed (HS) compatible PC Camera controller MIPI: yes
SN9C281M - USB 2.0 High-Speed (HS) compatible PC Camera controller MIPI: yes
SN9C281A - USB 2.0 High-Speed (HS) compatible PC Camera controller MIPI: no
SN9C270A - USB 2.0 High-Speed (HS) compatible PC Camera controller MIPI: no
SN9C271A - USB 2.0 High-Speed (HS) compatible PC Camera controller MIPI: no
SN9C263 - USB 2.0 compatible PC Camera controller MIPI: no
SN98600 - SONIX SN98600 / 98601 / 98610 IP Camera SoC MIPI: yes
GL865A - USB 2.0 UVC/MJPG Camera Controller MIPI: yes
GL864A - USB 2.0 UVC Camera Controller MIPI: unknown
GL862EC - USB 2.0 PC Camera Controller MIPI: unknown


USB3.0 camera controllers (with MIPI interface):

RTS5825 - USB3.0 PC Camera Controller with Image Signal Processing and MJPEG Encoder
cyusb3064 - EZ-USB CX3 Programmable MIPI CSI-2 to USB 3.0 Camera Controller


IP camera SOC:

S3LM IP Camera SoC MIPI: yes
Hi3516A MIPI: yes
Hi3518 MIPI: no
GM8139 - High-Performance Solution for H.264 IP Camera Application MIPI: yes
GM8138/8138S - Cost-Effective Solution for H.264 IP Camera Application MIPI: yes
GM8136S/8135S - Economic H.264 IP Camera Application MIPI: yes

Mozart 330s Mozart 370s Mozart 385s Mozart 390s Mozart 395s - MIPI: unknown
R288C,R292C - H.264 Codec SoC with Dual Video Input Channel MIPI: yes
M388C,M392C - H.264 Encoder SoC with Integrated Fisheye Correction Function MIPI: yes

FH8810 - FH8810 high performance SoC for HD IPC - MIPI: yes
FH8830 - 2M/3M High Performance Camera SoC - MIPI: yes
FH8812 - High Performance SoC for IP Camera - MIPI: yes
FH8620 - Low-Power、High Performance Wireless Camera SoC
FH8610 - FH8610: Low Cost、High Performance Wireless Camera SoC
FH8550M - High Performance 1080P ISP for CCTV - MIPI: yes


Manufacturers:

sm3732: SILICON MOTION (http://www.siliconmotion.com/)

AU3822U,au3830,AU3826,M5608T,AU3841: ALCOR (http://www.alcormicro.com/)

cyusb3064: CYPRESS (http://www.cypress.com/)

SN9C292A,SN9C291,SN9C292,SN98600,SN9C270M,SN9C271M,SN9C281M,SN9C281A,
SN9C270A,SN9C271A,SN9C263,SN98600: SONIX (http://www.sonix.com.tw/)

RTS5825: REALTEK (http://www.realtek.com.tw/)

GL865A,GL864A,GL862EC: GENESYSLOGIC (http://www.genesyslogic.com/)

Hi3516A,Hi3518: HISILICON (http://www.hisilicon.com/)
S3LM IP Camera SoC : AMBARELLA (http://www.ambarella.com/)

GM8139,GM8138,GM8136,GM8135: GRAIN MEDIA (http://grain-media.com/)

Mozart,R288C,R292C,M388C,M392C: VATICS (http://www.vatics.com/)

FH8810,FH8830,FH8812,FH8620,FH8610,FH8550M: FULLHAN (http://www.fullhan.com/)


currently i maintain a list of USB camera controller chips http://mrfdsp.com/mipi-csi2/index.html, if there are any updates I will add new chips there.

It may be a very interesting solution because
1) you will have more free usable pins on FPGA, no need to deal with MIPI CSI/2 LVDS etc,etc.
2) you will have more free resources, because you do not need to decode MIPI CSI-2 protocol.

The only problem is than you may require SDK for those chips to hardcode configuration registers of particular CMOS module.
mrfdsp
 
Posts: 1
Joined: Tue Dec 27, 2016 4:05 pm

Re: RPi Camera bounty

Postby sebraa » Mon Jan 09, 2017 7:11 pm

Also, do note that USB on the Parallella is (or at least used to be) somewhat flaky. For some people, it worked flawless, while others never got a stable link.
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm

Re: RPi Camera bounty

Postby Ahmad.Zaklouta » Wed Feb 08, 2017 4:38 pm

Hi everyone,

What a great job!

I am doing a project that include interfacing Ri camera ov5647 to an FPGA and store the raw image. I read the datasheet for the sensor and the SCCB protocol documentation and this subject and know I am lost. I don't know from where should I start. I visited github for this project but I couldn't manage to find the description for the protocol or how to configure the sensor.

I would be so grateful for Any help or guidance.
Ahmad.Zaklouta
 
Posts: 1
Joined: Wed Feb 08, 2017 4:30 pm

Re: RPi Camera bounty

Postby wiegmink » Mon May 15, 2017 11:23 am

Hi all,

This is probably a very stupid question but I can't immediately find the answer. Our application uses the same mechanism as the RPi cam bounty (DMA from PL, memory reserved in DT, and transferred to the application using mmap). Right now I have a cache coherence problem. In the post dated June 30th in this thread tnt said: 1) Map the memory you use for DMA as uncached in the userspace process : This is what's done currently.

My question is: How is it done? Where did you make a modification in order to use that memory as uncached?

I put the question in this threat, bacause it refers to a discussion earlier in here. Maybe it should be put somewhere else.

Thanks.
Cheers,
Klaas
wiegmink
 
Posts: 9
Joined: Mon Mar 13, 2017 10:40 am
Location: Netherlands

PreviousNext

Return to Epiphany and Parallella Q & A

Who is online

Users browsing this forum: No registered users and 12 guests

cron