Hi,
using the SDK 2.00.01.07 on an AM57xx EVM, I am seeing a failure of the camera driver.
[] Prebuild images on sdcard work. I can run the yavta application on /dev/video1 fine. No issue there, see here.
root@am57xx-evm:~# dmesg |grep vip
[ 5.795317] vip 48990000.vip: loading firmware vpdma-1b8.bin
[ 5.818308] vip 48990000.vip: VPDMA firmware loaded
[ 5.823306] vip2-s0: Port A: Using subdev mt9t11x for capture
[ 5.830852] vip2-s0: device registered as video1
root@am57xx-evm:~# yavta -c2 -p -F --skip 0 -f NV24 -s 1280x720 /dev/video1
Device /dev/video1 opened.
Device `vip' on `platform:vip' is a video output (without mplanes) device.
Video format set: NV24 (3432564e) 1280x720 (stride 1280) field none buffer size 1843200
Video format: NV24 (3432564e) 1280x720 (stride 1280) field none buffer size 1843200
8 buffers requested.
length: 1843200 offset: 0 timestamp type/source: mono/EoF
Buffer 0/0 mapped at address 0xb6c87000.
length: 1843200 offset: 1843200 timestamp type/source: mono/EoF
Buffer 1/0 mapped at address 0xb6ac5000.
length: 1843200 offset: 3686400 timestamp type/source: mono/EoF
Buffer 2/0 mapped at address 0xb6903000.
length: 1843200 offset: 5529600 timestamp type/source: mono/EoF
Buffer 3/0 mapped at address 0xb6741000.
length: 1843200 offset: 7372800 timestamp type/source: mono/EoF
Buffer 4/0 mapped at address 0xb657f000.
length: 1843200 offset: 9216000 timestamp type/source: mono/EoF
Buffer 5/0 mapped at address 0xb63bd000.
length: 1843200 offset: 11059200 timestamp type/source: mono/EoF
Buffer 6/0 mapped at address 0xb61fb000.
length: 1843200 offset: 12902400 timestamp type/source: mono/EoF
Buffer 7/0 mapped at address 0xb6039000.
Press enter to start capture
0 (0) [-] top 0 1843200 B 368.743962 368.743992 11.818 fps ts mono/EoF
1 (1) [-] top 1 1843200 B 368.771152 368.825314 36.778 fps ts mono/EoF
Captured 2 frames in 0.165969 seconds (12.050422 fps, 22211338.414679 B/s).
8 buffers released.
[] Rebuild linux kernel, dtbs, modules from toplevel Makefile and install in sdcard with make linux_clean, make linux, make linux_install. Now the /dev/video1 driver does not work anymore.
root@am57xx-evm:~# dmesg |grep vip
[ 4.999454] vip 48990000.vip: loading firmware vpdma-1b8.bin
[ 5.028339] vip 48990000.vip: VPDMA firmware loaded
[ 5.234788] vip2-s0: Port A: Using subdev mt9t11x for capture
[ 5.257330] vip2-s0: device registered as video1
root@am57xx-evm:~# ls /dev/video*
/dev/video0 /dev/video1 /dev/video10
root@am57xx-evm:~# yavta -c2 -p -F --skip 0 -f NV24 -s 1280x720 /dev/video1
Error opening device /dev/video1: No such device (19).
I will check further into this.
Regards,
--Gunter