Hello All,
Tarakesh and Iain helped me with compiling the VC3 demo (thank you) here...
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/116501.aspx#415486
Then I was pulled off onto another task but am now back onto the VC3 port task. When I run the demo, there are errors with the IPC. I searched and saw in another posting Tarakesh asked what the uboot parameters were. So I am being proactive and giving them up front.
Net: Detected MACID:90:d7:eb:1e:89:e2
Ethernet PHY: GENERIC @ 0x01
DaVinci EMAC
Hit any key to stop autoboot: 0
TI8168_EVM#printenv
bootdelay=3
baudrate=115200
autoload=no
verify=yes
ramdisk_file=ramdisk.gz
loadaddr=0x81000000
script_addr=0x80900000
loadbootscript=fatload mmc 1 ${script_addr} boot.scr
bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${scri
pt_addr}
ethaddr=90:d7:eb:1e:89:e2
ethact=DaVinci EMAC
machid=af0
bootcmd=dhcp;tftp 81000000 uImage;bootm
bootfile=uImage
gatewayip=192.168.1.1
netmask=255.255.255.0
ipaddr=192.168.1.152
dnsip=192.168.1.1
nfsserver=192.168.1.7
serverip=192.168.1.7
bootargs=console=tty02,115200n8 root=/dev/nfs nfsroot=192.168.1.7:/opt/dm81
68targetfs,nolock mem=100M ip=192.168.1.22:192.168.1.7:192.168.1.1:255.255.255.0
::eth0:on earlyprintk vram=50M ti816xfb.vram=0:16M,1:16M,2:6M
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2010.06 (May 06 2011 - 02:01:03)
Environment size: 806/8188 bytes
TI8168_EVM#
Here is the script I made to run the demo...
root@dm816x-evm:~# cat run_vc3.sh
#!/bin/sh
echo
echo "--------------------------------------------------------------------------
------"
echo "Pete's VC3 script"
echo
echo "This script sets up Netra and runs things so you don't have to type."
echo "--------------------------------------------------------------------------
------"
amixer sset 'Left PGA Mixer Mic3L' on
sleep 1
amixer sset 'Left PGA Mixer Mic3R' on
sleep 1
amixer sset 'Right PGA Mixer Mic3L' on
sleep 1
amixer sset 'Right PGA Mixer Mic3R' on
sleep 1
amixer cset name='PCM Playback Volume' 75%,75%
sleep 1
amixer cset name='PGA Capture Volume' 75%,75%
sleep 1
/usr/bin/prcm_config_app s
sleep 1
#rmmod syslink.ko
rmmod TI81xx_hdmi.ko
sleep 1
#insmod /lib/modules/2.6.37/kernel/drivers/dsp/syslink.ko
insmod /lib/modules/2.6.37/kernel/drivers/char/ti81xx_hdmi/TI81xx_hdmi.ko hdmi_m
ode=2
sleep 1
/home/root/change_resolution.sh 720p60
sleep 1
/home/root/vc3/bin/ti816x-evm/vc3_a8host_debug.xv5T 127.0.0.1 10000 60
echo
echo "Pete's VC3 completed!"
echo
root@dm816x-evm:~#
root@dm816x-evm:~# cat change_resolution.sh
#/bin/sh
SCRIPT=/etc/init.d/load-hdvpss-firmware.sh
if [ $# -ne 1 ]
then
echo "Usage ./change_resolution.sh <720p60|1080i60|1080p30|1080p60>"
exit 1;
fi
case $1 in
720p60 )
echo "==== Changing Resolution to 720p60 ===="
sed -i -e "s/modprobe vpss.*/modprobe vpss sbufaddr=0xA0200000 m
ode=hdmi:720p-60,dvo2:720p-60,hdcomp:720p-60 debug=1/g" \
-e "s/hdmi_mode=?/hdmi_mode=3/g" $SCRIPT;;
1080i60 )
echo "==== Changing Resolution to 1080i60 ===="
sed -i -e "s/modprobe vpss.*/modprobe vpss sbufaddr=0xA0200000 m
ode=hdmi:1080i-60,dvo2:1080i-60,hdcomp:1080i-60 debug=1/g" \
-e "s/hdmi_mode=?/hdmi_mode=4/g" $SCRIPT;;
1080p30 )
echo "==== Changing Resolution to 1080p30 ===="
sed -i -e "s/modprobe vpss.*/modprobe vpss sbufaddr=0xA0200000 m
ode=hdmi:1080p-30,dvo2:1080p-30,hdcomp:1080p-30 debug=1/g" \
-e "s/hdmi_mode=?/hdmi_mode=5/g" $SCRIPT;;
1080p60 )
echo "==== Changing Resolution to 1080p60 ===="
sed -i -e "s/modprobe vpss.*/modprobe vpss sbufaddr=0xA0200000 m
ode=hdmi:1080p-60,dvo2:1080p-60,hdcomp:1080p-60 debug=1/g" \
-e "s/hdmi_mode=?/hdmi_mode=2/g" $SCRIPT;;
* )
echo "Error: Unsupported Resolution"
echo "Usage ./change_resolution.sh <720p60|1080i60|1080p30|1080p
60>"
exit -1;;
esac
# Force a VFS sync immediately
sync
echo "==== Please reboot your board NOW! ===="
root@dm816x-evm:~#
So the error has to do with the IPC init process failing. I am going to look deeper, but if someone has already run into this issue and has a clue for me to investigate, then your help would be greatly appreciated. Thanks and have a good day.
-Pete