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.

TMDXEVM8148: Execute saLoopBack example with composite input (tvp514x)

Part Number: TMDXEVM8148

Hi everyone,

I'm currently trying to execute the saLoopBack from the EZSDK packadge (5 05 02 00)  with a composite input ( EZSDK_FOLDER/example-applications/linux-driver-examples-psp04.04.00.01/video )

So I did a "make all" and got some binaries that i put on my target using a NFS

Next, on my target:

1  /etc/init.d/matrix-gui-e  stop (as mentioned in http://processors.wiki.ti.com/index.php/DM814x_AM387x_EZ_5.02_Software_Developers_Guide#Running_the_pre-installed_applications_on_the_target_file_system part on how to launch pré-compile binaries)
    /etc/init.d/pvr-init stop        

2 insmod syslink.ko ( as mentioned in http://processors.wiki.ti.com/index.php?title=TI81XX_PSP_VIDEO_CAPTURE_Driver_User_Guide&redirect=no )

slaveloader startup VPSS-M3 dm814x_hdvpss.xem3 (didn't find the ti816x_hdvpss.xem3 ... so I search for any other .xem3 files on my system :) )

insmod vpss.ko

insmod tvp7002.ko

insmod ti81xxfb.ko vram=0:40M,1:1M,2:1M (as explain in the end of the doc with the sample application)

insmod ti81xxvo.ko

insmod ti81xxvin.ko

So far so good :)


After that i launched saLoopBack, I got an issue:

Driver Name: ti81xxvin
Driver bus info: TI81xx Platform
Card: TI81xx_catalogue
Driver is capable of doing capture
Querying DV Preset failed                 

So i have try other /dev/videoX thinking that may be the issue here but it didn't work ...

So i look on Internet and found out about the fact that the composite (and also the S-Video) input needed the tvp5147 module to be install.

Okai np, I followed the guide on how to install other decoder http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_Adding_External_Decoders_to_V4L2_Capture_Driver

But i found that tvp514x source code was already into ESDK so I try to just compile everything with menuconfig thinking (once again ...) that it would help.

To be exacte, I cross-recompile the kernel (uImage) and with menuconfig select the tvp514x module. After the cross-recompile the modules and copy/paste them on my target.

But, well u may have guess, nothing more expect the fact that i can insmod the module but that all.

So back to the guide and internet and found this https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/497897

So i got the files that he or she change, put them where the other were and did the same thing as before (cross-recompile kernel and module + copy/paste)

Btw i looked into the files but didn't understand the change :( ...

And now with lsmod i got:

Module                  Size  Used by
ti81xxvin              20567  0
ti81xxvo               21210  0
ti81xxfb               21979  0
tvp7002                 6429  0
vpss                   74936  3 ti81xxvin,ti81xxvo,ti81xxfb
syslink              1133911  0
tvp514x                10284  1

That is, i guess, okai, because of the 1 next to tvp514x

But, launched saLoopBack and got the same issue as before Querying DV Preset failed :(

The issue means (according to https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/636981/2350874 ) that the system is not able to detect the input source, but I don't what is  creating the issue because as far as i know everything is connecting ( DVD player -> Scart _TO_composite -> cable -> composite input of the TMDXEVM8148 )

Any idea on What did I do wrong ?

A lot of thanks in advance,

Best regard,

Marc