HI,
I am using TI8168 processor. Here while I am dumping image to LCD, the image will appear and disappears immediately. I am usnig the following procedures given below.
insmod syslink.ko
./slaveloader startup VPSS-M3 ti816x_hdvpss.xem3
insmod vpss.ko sbufaddr=0xB2C00000 debug=1
insmod ti81xxfb.ko vram=0:16M,1:16M,2:16M debug=1
./lcd_device_open &
In ./lcd_device_open & application, I am just opening the device fb0.
#include <stdio.h>
#include <fcntl.h>
#include <sys/ioctl.h>
int fd;
int main()
{
/* Open a graphics Display logical channel in blocking mode */
fd = open ("/dev/fb0", O_RDWR);
if (fd == -1) {
perror("failed to open display device\n");
return -1;
}
}
echo 0 > /sys/devices/platform/vpss/display1/enabled
echo 800x480@60 > /sys/devices/platform/vpss/display1/mode
echo 1 > /sys/devices/platform/vpss/display1/enabled
echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes
cat My_image.raw > /dev/fb0
After the above steps, the image appears and disappears in LCD. It will not appear continously . Please help me to fix this issue.
Thanks in advance
Regards,
Salih