I have a custom dm8148 board with 512MB DDR3. I am using PSP04.0.4 and SDK5.04
I was using default settings from SDK and however my board can only work on 1080p@15
so I guess the problem coming from DDR3 settings.
Then, I made related changes according to the TI wiki ezsdk_memory mapping, and I worte What I have done in the end of this poster.
My bootargs is: setenv bootargs 'console=ttyO0,115200n8 rootwait rw mem=176M earlyprintk notifyk.vpssm3_sva=0x8DB00000 vram=50M ti814xfb.vram=0:16M,1:16M,2:6M root=/dev/nfs nfsroot=10.0.1.27:/root/targetfs ip=dhcp'
After applying the changes and I rebuilt linux uboot dsp syslink and media-controller and copied them into targetfs.
Then I was trying to load the module by following scripts;
prcm_config_app s
insmod /home/root/dm814x-evm/lib/modules/2.6.37/kernel/drivers/dsp/syslink.ko
until [[ -e /dev/syslinkipc_ProcMgr && -e /dev/syslinkipc_ClientNotifyMgr ]]
do sleep 1.5 done
./slaveloader startup VIDEO-M3 /usr/share/ti/ti-media-controller-utils/dm814x_hdvicp.xem3
./slaveloader startup VPSS-M3 ./ti814x_hdvpss_512M.xem3
I did not get any return errors so I assume the two fireware get loaded correctly.
However, then I was trying to insert vpss.ko
insmod /home/root/HDVPSS_01_00_01_37/ti814x/rebuilt_firmwares/vpss.ko sbufaddr=0x8DE00000 mode=hdmi:1080p-60
I got folowing errors for many time.
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
I searched around in this forum and found many people has similar problem, but I didnot see a clear soluton.
Could anyone point out what I missed here to make my board can work with 512MB DDR3 settings?
=============================== The chages I made are as followings; #Modifications for DDR3 =====================================
Changes inside uboot 1.uboot/ti8148_evm.h
/** * Physical Memory Map */
#define CONFIG_NR_DRAM_BANKS 2
/*we have 2 banks of DRAM */
#define PHYS_DRAM_1 0x80000000 /* DRAM Bank #1 */
#define PHYS_DRAM_1_SIZE 0x10000000 /* 256MB */
#define PHYS_DRAM_2 0xA0000000
#define PHYS_DRAM_2_SIZE 0x10000000 /* 256MB*/
2.uboot/ddr_defs_ti814x.h
#define PG2_1_DMM_LISA_MAP__0 0x0
#define PG2_1_DMM_LISA_MAP__1 0x0
#define PG2_1_DMM_LISA_MAP__2 0x80540300
#define PG2_1_DMM_LISA_MAP__3 0xA0540300
=========== changes inside Linux kernel
board-support/media-controller-utils_2_03_01_14/src/mm_host_util/memsegdef_dm81xxbm_512M.c
board-support/media-controller-utils_2_03_01_14/src/firmware_loader
Regards,
Jun