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.
I've just finished building a FileSystem+Kernel Image from arago, with kernel linux-davinci-2.6.37-psp03.21.00.04.sdk-r57.
everything seems to be working, aside from one problem: v4l2 isn't working
every time I try to run dmai/ce example / gstreamer pipeline / manually read from /dev/video0 I'm getting the following error:
invalid media connection to video nodeinvalid external subdev
My bootargs are:
console=ttyS0,115200n8 noinitrd rw ip=192.168.1.2 root=/dev/nfs nfsroot=192.168.1.1:/home/user/workdir365/rootfs,nolock mem=60M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=1 davinci_display.cont2_bufsize=6291456 vpfe_capture.bufsize=829440davinci_enc_mngr.ch0_mode=pal vpfe_capture.interface=0
dmesg after boot:
I've looked in the kernel sources and it looks like the failure occurs in vpfe_video.c, but I have no idea why any function there would fail since tvp5146 was registered OK
any help would be great!
VPFE Capture driver you are using is based on media controller framework. I believe gstreamer has not incorporated necessary changes needed yet because of the advanced framework. So, it is failing. I suggest you to check these sample applications( SDK also should contain them) for the driver you are using - http://arago-project.org/git/projects/?p=examples-davinci.git;a=shortlog;h=refs/heads/03.21.00.03
Does this help in finding the answer? If not, please provide more info. If it helps, please click the Verify Answer button below.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Nagabhushana:
I've tried running the vpif examples from the git you provided (compiled them against my Arago kernel), and I got the same error messages
I also provide the kernel config (this is the default, I haven't touched it, but perhaps something is missing):
In reply to James Brown:
You should use applications under mc/dm365 as they are intended for dm365. VPIF applications are only for omapl138 platform.
The test applications are indeed working, so this is a gstreamer-specific problem.
Is there an ETA until the needed changes will make it into gstreamer / instructions how to insert the changes myself?
Nice to hear that applications are working for you.
Media-controller framework is not part of linux up-stream. Efforts are ON to make the same possible. So, it will take some time. Regarding making gstreamer changes yourself, http://en.wikipedia.org/wiki/GStreamer might help.
I'm seeing the message" invalid media connection to video node" and "invalid external subdev" on 2.6.37 kernel also. I think this is due to the mediabus api added to that version of the kernel. It may be necessary to set up the /dev/media0 device first before /dev/video0 can be used. For more info, see: http://processors.wiki.ti.com/index.php?oldid=56675
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.