Using PCam 5C camera from Ubuntu on Digilent ZYBO Z7-20 CPU+FPGA board

Please solve my problem, please teach the solution method and deliver the project file.

This project is relevant to FPGA, Ubuntu.

My problem is the following.


I want to get image from Pcam 5C from Ubuntu running on ZYBO-Z7-20.

First, I cloned this repository,([login to view URL]) and tested pre-built image. I could get camera image by command-line.

Next, To use ubuntu, I changed the configuration and built petalinux project.

$ petalinux-config

Linux Components Selection -> u-boot -> u-boot-plnx

Linux Components Selection -> linux-kernel -> linux-xlnx

Image Packaging Configuration -> Root filesystem type -> SD card

And I modified project-spec/meta-user/recipes-bsp/device-tree/files/[login to view URL] as described in README.md.

After change the configuration, I created kernel image file and copy them to the first partition of SD card.([login to view URL], [login to view URL]).

$petalinux-build -c kernel

$petalinux-build -c u-boot

$petalinux-build -c fsbl

$petalinux-package --boot --fsbl images/linux/[login to view URL] --fpga images/linux/[login to view URL] --u-boot --force

I downloaded ubuntu rootfs [login to view URL] from here([login to view URL])

And copy them to the second partition of SD card.

Ubuntu was successfully booted, and I tested command to get image. But I couldn't get image from pcam.

media-ctl -d /dev/media0 -V '"ov5640 2-003c":0 [fmt:UYVY/'"$width"x"$height"'@1/'"$rate"' field:none]'

media-ctl -d /dev/media0 -V '"43c60000.mipi_csi2_rx_subsystem":0 [fmt:UYVY/'"$width"x"$height"' field:none]'

When I run this command, the following error is occurred.

failed to enumerate /dev/media0 (-2)

When I run v4l2-ctl -d /dev/video0 --info command, it seemed that I got camera information correctly.

But /dev/media0 is missing. /dev/video0 is appeared.

Why /dev/media0 is missing?

Got any ideas on how to fix this?

Taidot: C-ohjelmointi, elektroniikka, FPGA, Ubuntu

Näytä lisää: using camera application iphone, axis based camera live streaming using jsp java, authenticate mysql user using courier imap ubuntu, zybo z7 documentation, zybo z7 tutorial, zybo z7 hdmi, zybo z7 projects, zybo z7 linux, zybo board wiki, zybo z7 board files, digilent zybo z20, fpga, ubuntu, broadcasting using laptop camera, set mail server ubuntu using postfix, iphone using camera develop, code capture images web camera using jmf, visual basic code using web camera, using java control camera, using multiple usb camera

Tietoa työnantajasta:
( 1 arvostelu ) Osaka, Japan

Projektin tunnus: #17503532

Myönnetty käyttäjälle:


Dear, Client. Thanks for your proposal. I am an expert and developer that have rich development experiences in many projects with Ubuntu enviroment. Thus, I can help you and solve the problem. I hope to work with Lisää

$111 USD 3 päivässä
(19 Arvostelua)

2 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

$111 USD 3 päivässä
(14 arvostelua)