This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I need to read from omap3 DM3730 (omap3-isp) data image coming from ADV7842 configured in 12-bits PAR mode. I'm not able to read using yavta. This is what I'm doing:
#Hardware: ADV7842
- Configured manually by i2c in user space
- 12-bits PAR mode
- Configuration checked in ADV eval board
#Kernel:
I'm using mt9v034 aptina driver for loading module in media-ctl and v4l2. This driver
has i2c functions disabled. Also I have change resolution from 752 to 720. In fact,
I have tested with both. In addition, I have modified color space to UYVY according to the ADV.
#Kernel output:
[ 4.858367] Linux media interface: v0.10
[ 5.419342] Linux video capture interface: v2.00
[ 6.581359] omap3isp omap3isp: Revision 15.0 found
[ 6.589538] omap-iommu omap-iommu.0: isp: version 1.1
[ 8.144042] mt9v034 3-005c: Probing MT9V034 at address 0x5c
[ 8.152679] mt9v034 3-005c: MT9V034 detected at address 0x5c
#media-ctl configuration:
media-ctl -r
media-ctl -l '"mt9v034 3-005c":0->"OMAP3 ISP CCDC":0[1]'
media-ctl -l '"OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]'
media-ctl -V '"OMAP3 ISP CCDC":0[UYVY2X8 720x480]'
#yavta command (format):
yavta --enum-formats $(media-ctl -e "OMAP3 ISP CCDC output")
Device /dev/video2 opened.
Device `OMAP3 ISP CCDC output' on `media' is a video capture device.
- Available formats:
Format 0: UYVY (59565955)
Type: Video capture (1)
Name:
Video format: UYVY (59565955) 720x480 (stride 1440) buffer size 691200
#yavta command (capture):
yavta -F $(media-ctl -e "OMAP3 ISP CCDC output") -f UYVY -s 720x480 -n 4 --capture=1 --file=img.bin
Device -sh: syntax error near unexpected token `)'
`OMAP3 ISP CCDC output' on `media' is a video capture device.
Video format set: UYVY (59565955) 720x480 (stride 1440) buffer size 691200
Video format: UYVY (59565955) 720x480 (stride 1440) buffer size 691200
4 buffers requested.
length: 691200 offset: 0
Buffer 0 mapped at address 0xb6f16000.
length: 691200 offset: 692224
Buffer 1 mapped at addressroot@igep00x0:~# Device /dev/video2 opened.
672
Buffer 3 mapped at address 0xb6d1b000.-sh: Device: command not found
vice.igep00x0:~# Device `OMAP3 ISP CCDC output' on `media' is a video capture de
> Video format set: UYVY (59565955) 720x480 (stride 1440) buffer size 691200
> Video format: UYVY (59565955) 720x480 (stride 1440) buffer size 691200
> 4 buffers requested.
> length: 691200 offset: 0
> Buffer 0 mapped at address 0xb6f16000.
> length: 691200 offset: 692224
> Buffer 1 mapped at address 0xb6e6d000.
> length: 691200 offset: 1384448
> Buffer 2 mapped at address 0xb6dc4000.
> length: 691200 offset: 2076672
> Buffer 3 mapped at address 0xb6d1b000.
<no return>
#media-ctl -p output:
- entity 5: OMAP3 ISP CCDC (3 pads, 9 links)
type V4L2 subdev subtype Unknown
device node name /dev/v4l-subdev2
pad0: Sink
[fmt:UYVY2X8/720x480]
<- "OMAP3 ISP CCP2":1 []
<- "OMAP3 ISP CSI2a":1 []
<- "mt9v034 3-005c":0 [ENABLED]
pad1: Source
[fmt:UYVY/720x480
crop.bounds:(0,0)/720x480
crop:(0,0)/720x480]
-> "OMAP3 ISP CCDC output":0 [ENABLED]
-> "OMAP3 ISP resizer":0 []
- entity 6: OMAP3 ISP CCDC output (1 pad, 1 link)
type Node subtype V4L
device node name /dev/video2
pad0: Sink
<- "OMAP3 ISP CCDC":1 [ENABLED]
- entity 16: mt9v034 3-005c (1 pad, 1 link)
type V4L2 subdev subtype Unknown
device node name /dev/v4l-subdev8
pad0: Source
[fmt:UYVY2X8/720x480
crop:(1,4)/720x480]
-> "OMAP3 ISP CCDC":0 [ENABLED]
I'm not able to generate any image with this configuration. Anyone could help?
Thanks,
Daniel