We too are not having any luck with saLoopBack. I am supplying a 1080P signal from a DVD player to the J5-J7 inputs.
These are the exact steps we used to set up and the error. What if anything should we do differently?
1) Download the latest PSP ("TI816X-LINUX-PSP-04.00.02.14.tgz"
and "DM816x HDVPSS binary package") from http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/psp/LinuxPSP/DM816x_04_00/04_00_02_14/index_FDS.html
2) Unpack
"TI816X-LINUX-PSP-04.00.02.14.tgz" into ${EZSDK}/board-support.
3) Unpack "DM816x HDVPSS binary package"
into ${NFSROOT}/home/root.
4) Copy 'syslink.ko' in the unpacked files to
‘/targetfs/lib/modules/2.6.37/kernel/drivers/dsp’ (Make a backup of the
previous one).
5) Copy
'${EZSDK}/board-support/prebuilt-images/dm816x-firmware_05_02_00_30/dm816x_hdvpss_v4l2.xem3'
to the folder that you unpacked "DM816x HDVPSS binary package".
6) Modify ‘/targetfs/etc/init.d/load-hd-firmware.sh’.
- Change 'modprobe syslink' to 'insmod
/lib/modules/2.6.37/kernel/drivers/dsp/syslink.ko'.
- Comment out 'firmware_loader $HDVICP2_ID
/usr/share/ti/ti-media-controller-utils/dm816x_hdvicp.xem3 start'
- Comment out 'firmware_loader $HDVPSS_ID
/usr/share/ti/ti-media-controller-utils/dm816x_hdvpss.xem3 start'
- Comment out 'firmware_loader $HDVICP2_ID
/usr/share/ti/ti-media-controller-utils/dm816x_hdvicp.xem3 stop'
- Comment out 'firmware_loader $HDVPSS_ID
/usr/share/ti/ti-media-controller-utils/dm816x_hdvpss.xem3 stop'
7) Unpack
"${EZSDK}/board-support/TI816X-LINUX-PSP-04.00.02.14/src/examples/examples.tar.gz".
8) Modify
"${EZSDK}/board-support/TI816X-LINUX-PSP-04.00.02.14/src/examples/video/Rules.make".
- Set KERNEL_DIR correctly (e.g. KERNEL_DIR =
/home/hanmekim/ti-ezsdk_dm816x-evm_5_03_01_15/board-support/linux-2.6.37-psp04.00.01.13.patch2).
- Set CROSS_COMPILE correctly (e.g. CROSS_COMPILE =
/home/hanmekim/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-)
9) Compile the video examples.
- $ cd to the video examples folder.
- $ make all
10) Copy all compiled executable files in to the same folder that you unpacked "DM816x HDVPSS binary package".
11) Flash the pre-built u-boot
(${EZSDK}/board-support/TI816X-LINUX-PSP-04.00.02.14/images/u-boot/ti816x/)
and uImage
(${EZSDK}/board-support/TI816X-LINUX-PSP-04.00.02.14/images/kernel/ti816x/).
11.5) Environment Settings
# setenv bootcmd ‘nand read 0x81000000 0x280000 0x251000;bootm 0x81000000’
# setenv autoload no
# setenv nfsserver 192.168.1.164
# setenv bootargs ‘console=ttyO2,115200n8
root=/dev/nfs nfsroot=192.168.1.164:/home/ndi-rs/targetfs,nolock rw mem=256M earlyprink vram=50M ti816xfb.vram=0:16M,1:16M,2:6M notifyk.vpssm3_sva=0xBF900000 ip=dhcp’
TI8168_EVM# saveenv
TI8168_EVM# boot
12) Connect a component video source to J5~J7 connectors on the daughter board.
13) Run the video input/output example application
on your EVM board.
- #cd to the folder that has all compiled executable files and the DM816x HDVPSS binary package.
- # ./slaveloader startup VPSS-M3 dm816x_hdvpss_v4l2.xem3
- # insmod vpss.ko
- # insmod ti81xxfb.ko vram=0:40M,1:1M,2:1M
- # insmod ti81xxvo.ko
- # insmod tvp7002.ko
- # insmod ti81xxvin.ko
- # ./saLoopBack.
14) We get no video and the following:
root@dm816x-evm:~/_installations# ./saLoopBack
Driver Name:ti81xxvin
Driver bus info: TI81xx Platform
Driver is capable of doing capture
saLoopBack:
Mode set is 0
Setting DV Preset failed
Your help in this matter is greatly appreciated.