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.

VPSS_GRPX : please open fb0 node first

Hi !

 

I always have this error:

VPSS_GRPX : please open fb0 node first.  

 

Here are the different version used:

EZSDK: 05.02.02.60

PSP: 04.00.01.13

SYSLINK: 02.00.02.80

GRAPHICS_SDK: 04.05.00.02

 

Before sending this message i recompile every package, so it is not a version/compilation error.

 

Here is my bootargs:

dhcp;

setenv bootcmd 'run addip;tftp 81000000 uImage;bootm';

setenv hostname KDS01;

setenv addip 'setenv bootargs ${bootargs} ip=${ipaddr}:${nfsserver}:${gatewayip}:${netmask}:${hostname}:eth0:off';

setenv autoload no;setenv nfsserver 190.9.200.197;

setenv bootargs 'console=ttyO2,115200n8 root=/dev/nfs nfsroot=190.9.200.197:/home/banc_dt_078/targetfs,nolock rw mem=128M rootdelay=4 notifyk.vpssm3_sva=0xBF900000 vram=50M ti816xfb.vram=0:16M,1:16M,2:6M';

setenv serverip 190.9.200.197;

saveenv

 

I checked at target startup with lsmod that nothing is loaded.

 

Then i execute this instructions:

insmod /temp/vpss/04.00.01.13/syslink.ko TRACE=1 TRACEFAILURE=1;
/usr/share/ti/ti-syslink-examples/slaveloader_release startup VPSS-M3 /temp/vpss/ti816x_hdvpss.xem3;
### CAUTION: I don't know why but previous instruction failed, to solve the problem i start VPSS, then unload it ###
/usr/share/ti/ti-syslink-examples/slaveloader_release start VPSS-M3;
/usr/share/ti/ti-syslink-examples/slaveloader_release unload VPSS-M3;
/usr/share/ti/ti-syslink-examples/slaveloader_release startup VPSS-M3 /temp/vpss/dm816x_hdvpss.xem3;

#

insmod /temp/vpss/04.00.01.13/vpss.ko debug=1 sbufaddr=0xA0200000;
echo 0 > /sys/devices/platform/vpss/display0/enabled;
echo 74250,1280/110/220/40,720/5/20/5,1 > /sys/devices/platform/vpss/display0/timings;
echo 0 > /sys/devices/platform/vpss/display1/enabled;
echo 74250,1280/110/220/40,720/5/20/5,1 > /sys/devices/platform/vpss/display1/timings;
echo 1 > /sys/devices/platform/vpss/display0/enabled;
echo 1 > /sys/devices/platform/vpss/display1/enabled;
echo 1:hdmi > /sys/devices/platform/vpss/graphics0/nodes;
echo 1:dvo2 > /sys/devices/platform/vpss/graphics1/nodes;
echo 1 > /sys/devices/platform/vpss/display0/enabled;
echo 1 > /sys/devices/platform/vpss/display1/enabled;

insmod /temp/vpss/04.00.01.13/ti81xxfb.ko vram=0:16M,1:16M,2:6M debug=1;
echo 1 > /sys/devices/platform/vpss/graphics0/enabled;
echo 1 > /sys/devices/platform/vpss/graphics1/enabled;
insmod /temp/vpss/04.00.01.13/ti81xxvo.ko debug=1;

The bold instructions give the following warning:

VPSS_GRPX : please open fb0 node first.  

 

and a fbset -s -v -/dev/fb0 give:

root@dm816x-evm:~# fbset -s -v /dev/fb0
Linux Frame Buffer Device Configuration Version 2.1 (23/06/1999)
(C) Copyright 1995-1999 by Geert Uytterhoeven

Opening frame buffer device `/dev/fb0'
Reading mode database from file `/etc/fb.modes'
Unknown video mode `/dev/fb0'

 

I really don't understand what is wrong, do you have a clue ?

 

Please help !

 

Bat