Hi all,
My hardware is DevKit8000 with 256M DDR, i download DVSDK_3_00_02_44 from TI's website and port it to DevKit8000, it run ok, i can use the decode tool to decode mp4and h264.
But the default dsplink memory map is design for 128M DDR, and i want to change it to support 256M DDR, space more DDR for linux kernel to use.What i do is:
1, Modified the base address for DSP code, "RESETCTRLADDR" (config\all\CFG_OMAP3530_SHMEM.c) to 0x8D900000u
2, Modified RESET_VECTOR.base(dsp\inc\DspBios\5.XX\OMAP3530\dsplink-omap3530-base.tci) to 0x8D900000.
3, Modifyed MAR(dsp\inc\DspBios\5.XX\OMAP3530\dsplink-omap3530-base.tci)to prog.module("GBL").C64PLUSMAR128to159 = 0x00007000;
4, Modified cmem insmod param(loadmodules.sh) to:
insmod cmemk.ko phys_start=0x8C900000 phys_end=0x8D900000 pools=20x4096,10x131072,2x1048576,1x5250000,4x829440,2x691200
4, Modifyed bootargs param in U-boot to:
set bootargs console=ttyS2,115200n8 root=/dev/mmcblk0p2 rootwait video=omapfb:mode:7inch_LCD mem=200M
when i exec loadmodules.sh, all the modules is insmod ok:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@OMAP3EVM omap3530]# ./loadmodules.sh
CMEMK module: built on Apr 8 2010 at 22:40:04
Reference Linux version 2.6.29
File /home/luofc/DVSDK/dvsdk_3_00_02_44/linuxutils_2_24_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
ioremap_nocache(0x8c900000, 16777216)=0xd0000000
allocated heap buffer 0xd0000000 of size 0x32c000
cmem initialized 6 pools between 0x8c900000 and 0x8d900000
DSPLINK Module (1.61.03) created on Date: Apr 16 2009 Time: 18:31:36
SDMAK module: built on Apr 8 2010 at 22:40:05
Reference Linux version 2.6.29
File /home/luofc/DVSDK/dvsdk_3_00_02_44/linuxutils_2_24_02/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
but when i exec decode, it doesn't work, and i don't know what is wront:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@OMAP3EVM omap3530]# ./decode -v /opt/dvsdk_128M/omap3530/data/videos/davincieffect_ntsc_1.m4v -a /opt/dvsdk_128M/omap3530/data/sounds/davincieffect_HEv2.aac -O dvi -y 2
./decode: /lib/libpng12.so.0: no version information available (required by ./decode)
Decode demo started.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If anyone can help?