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.

Running saMmapDisplay on DM8148 EVK

Hi,

I'm using Mistral DM8148 EVK to test out the video display using saMmapDisplay example.

The software package used is EZSDK 5.05.01.04 and PSP package within it is 04.04.00.01.

I had downloaded TI81xx-HDVPSS-01.00.01.37 and modified load-hd-firmware.sh to load ti814x_hdvpss_1G.xem3 according to TI81xx VPSS video user guide.
Script load-hd-firmware.sh configured the LCD as follows:

echo "Configuring fb0 to LCD"
echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes
echo 0 > /sys/devices/platform/vpss/display1/enabled
echo 33500,800/164/89/10,480/10/23/10,1 > /sys/devices/platform/vpss/display1/timings
echo triplediscrete,rgb888 > /sys/devices/platform/vpss/display1/output
echo 1 > /sys/devices/platform/vpss/display1/enabled
fbset -xres 800 -yres 480 -vxres 800 -vyres 480

I had added "echo vcompmux:dvo2 > /sys/devices/platform/vpss/video0/nodes" at the end of the configuration.

The Matrix application had been stopped via "#> /etc/init.d/matrix-gui-e stop".

Upon executing saMmapDisplay, there are no output on the LCD and following are the debug print outs from the video driver:

root@dm814x-evm:~/dm814x-evm/usr/share/ti/ti-psp-examples# ./saMmapDisplay
VPSS_VIDEO: create video0
VPSS_DCTRL: enter set node
VPSS_FVID2: send control with cmd 0x10040018
VPSS_FVID2: control event 0x10040018 return 0 within 0 ms.
VPSS_DCTRL: node already connected
VPSS_DCTRL: enter set node
VPSS_FVID2: send control with cmd 0x10040018
VPSS_FVID2: control event 0x10040018 return 0 within 0 ms.
VPSS_DCTRL: node already connected
VPSS_DCTRL: enter set node
VPSS_FVID2: send control with cmd 0x10040018
VPSS_FVID2: control event 0x10040018 return 0 within 0 ms.
VPSS_DCTRL: node already connected
VPSS_SHRBUF: FOUND 0xa0214000, end 0xa0400000, map vir 0xdac14000 size 4096
VPSS_FVID2: Fvid2 handle 0x9b33d478 with notifyno 13 within 0 ms
VPSS_VIDEO: get resolution.
VPSS_DCTRL: enter get output format
VPSS_FVID2: send control with cmd 0x1004001a
VPSS_FVID2: control event 0x1004001a return 0 within 0 ms.
VPSS_VIDEO: try format 800x480 df 1 pitch 3840 fidmerged 0
VPSS_VIDEO: check format
VPSS_FVID2: send control with cmd 0x00000003
VPSS_FVID2: control event 0x3 return 0 within 0 ms.
VPSS_VIDEO: Set crop
VPSS_VIDEO: set buffer
VPSS_VIDEO: queue video
VPSS_FVID2: queue event return 0 within 0 ms.
VPSS_VIDEO: set buffer
VPSS_VIDEO: queue video
VPSS_FVID2: queue event return 0 within 3 ms.
VPSS_VIDEO: set buffer
VPSS_VIDEO: queue video
VPSS_FVID2: queue event return 0 within 0 ms.
VPSS_VIDEO: start video0
VPSS_FVID2: send control with cmd 0x00000005
VPSS_FVID2: control event 0x5 return 0 within 43 ms.
VPSS_VIDEO: dequeue video
VPSS_FVID2: dequeue event return 0 within 0 ms
VPSS_VIDEO: set buffer
VPSS_VIDEO: queue video
VPSS_FVID2: queue event return 0 within 0 ms.
VPSS_VIDEO: dequeue video
VPSS_FVID2: dequeue event return 0 within 1 ms
VPSS_VIDEO: set buffer
VPSS_VIDEO: queue video
VPSS_FVID2: queue event return 0 within 0 ms.
VPSS_VIDEO: dequeue video
VPSS_FVID2: dequeue event return 0 within 0 ms
VPSS_VIDEO: set buffer
VPSS_VIDEO: queue video
VPSS_FVID2: queue event return 0 within 0 ms.
VPSS_VIDEO: dequeue video
VPSS_FVID2: dequeue event return 0 within 0 ms

A long list of "set buffer, queue video ..." printed till the program ends.

I had tried out the saFbdevDisplay and had no problems with displaying the color bars on the LCD.

Please advise what could be causing the problem.

Thank you!

Regards

May