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.

splash screen u-boot logo, vpss module cannot load successfully

HI there,

We are trying to add the splash screen to our product, we are using ezsdk_dm816x-evm_5_05_02_00, which the linux version is linux-2.6.37-psp04.04.00.01, and u-boot-2010.06-psp04.04.00.01, we patched the u-boot from the DVRRDK_04.01.00.02, and the ti816x splash u-boot logo to our current one, and it is works fine on HDMI and SD ports, expect the VPSS module will failed to load sometimes, and ti81xxfb failed to stop was occurred.

we did trying following experiments, and this problem is still there,

1. Different memory location, right now we are using the  logo on 0x81000000 0xB3D00000 0xBFD00000 50 60, 0xBFD00000 is the address for the VPSS DESC address, and the 0xB3D00000 is an unused memory place for bmp logo, we are following the Memory map from here 

2 logo off and set the display and frame rate to different value, we reduce the logo display time to 5ms, and log off before booting the linux and it seem it did nothing help to fix this problem.

Please let me know how to fix this problem, and let me know your solution if you ever met this problem, thank you so much, I appreciate your help, thank you!

DEBUG MESSAGE:

syslink version 

SysLink version : 2.20.02.20

The bootargs passing from uboot to linux is 

mem=364M mem=320M@0x9FC00000 vmalloc=500M vram=128M earlyprintk notifyk.vpssm3_sva=0xBF900000 ti816xfb.vram=0:43M,1:43M,2:42M

ERROR Boot logs 

Loading HDVPSS Firmware
FIRMWARE: Memory map bin file not passed
Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mmap <memory_map_file>] [-i2c <0|1>]
===Mandatory arguments===
<Processor Id> 0: DSP, 1: Video-M3, 2: Vpss-M3
<Location of Firmware> firmware binary file
<start|stop> to start/stop the firmware
===Optional arguments===
-mmap input memory map bin file name
-i2c 0: i2c init not done by M3, 1(default): i2c init done by M3
FIRMWARE: isI2cInitRequiredOnM3: 0
FIRMWARE: Default memory configuration is used
Firmware Loader debugging not configured
Default FL_DEBUG: warning
Allowed FL_DEBUG levels: error, warning, info, debug, log
MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.2.1
FIRMWARE: 2 start Successful
VPSS_FVID2: M3 firmware version 0x1000145 is newer,driver may not work properly.
VPSS_FVID2: contrl event 0x6 timeout
ti81xxfb ti81xxfb: failed to stop.
VPSS_FVID2: contrl event 0x10040018 timeout
VPSS_DCTRL: failed to get node input status
VPSS_GRPX : failed to set grpx0 nodes
ti81xxfb ti81xxfb: fvid2 create failed.
/etc/init.d/rc: /etc/rc5.d/S98load_hdvpss-firmware.sh: line 131: can't create /dev/fb1: Connection timed out
VPSS_FVID2: contrl event 0x10040018 timeout
VPSS_DCTRL: failed to get node input status
VPSS_GRPX : failed to set grpx0 nodes
ti81xxfb ti81xxfb: fvid2 create failed.
/etc/init.d/rc: /etc/rc5.d/S98load_hdvpss-firmware.sh: line 131: can't create /dev/fb2: Connection timed out
HDMI W1 rev 2.0
HDMI CEC Spec version 1.2
HDCP initialized
VPSS_FVID2: contrl event 0x1004001a timeout
VPSS_DCTRL: failed to get venc info.
VPSS_FVID2: contrl event 0x10040004 timeout
VPSS_DCTRL: failed to get venc output info
modprobe: failed to load module ti81xxhdmi: Invalid argument

 

ERRPR dmesg information of HDVPSS

SysLink version : 2.20.02.20
SysLink module created on Date:Oct 10 2013 Time:14:01:24
VPSS_CORE : core init
VPSS_CORE : cpu version 0x81600281
VPSS_SHRBUF: sbuf init
VPSS_SHRBUF: map 0xbfb00000 to 0xef800000 with size 2097152
VPSS_FVID2: fvid2 init
VPSS_FVID2: Handshake...
VPSS_SHRBUF: FOUND 0xbfb00000, end 0xbfd00000, map vir 0xef800000 size 4096
VPSS_SHRBUF: free mem paddr 0xbfb00000 vaddr 0xef800000 size 4096
VPSS_FVID2: M3 firmware version 0x1000145 is newer,driver may not work properly.
VPSS_SYSTEM: enter system init
VPSS_SHRBUF: FOUND 0xbfb00000, end 0xbfd00000, map vir 0xef800000 size 4096
VPSS_SHRBUF: FOUND 0xbfb01000, end 0xbfd00000, map vir 0xef801000 size 4096
VPSS_FVID2: Fvid2 handle 0x9f22788c with notifyno 10 within 2 ms
VPSS_FVID2: send control with cmd 0x10080002
VPSS_FVID2: control event 0x10080002 return 0 within 0 ms.
VPSS_DCTRL: dctrl init
VPSS_SHRBUF: FOUND 0xbfb02000, end 0xbfd00000, map vir 0xef802000 size 4096
VPSS_SHRBUF: FOUND 0xbfb03000, end 0xbfd00000, map vir 0xef803000 size 4096
VPSS_FVID2: Fvid2 handle 0x9f2278ac with notifyno 11 within 0 ms
VPSS_DCTRL: mode hdmi:1080p-60,hdcomp:1080p-60
VPSS_FVID2: send control with cmd 0x10040003
VPSS_FVID2: control event 0x10040003 return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x10040003
VPSS_FVID2: control event 0x10040003 return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x10040003
VPSS_FVID2: control event 0x10040003 return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x10040003
VPSS_FVID2: control event 0x10040003 return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x1004001c
VPSS_FVID2: control event 0x1004001c return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x1004001c
VPSS_FVID2: control event 0x1004001c return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x1004001c
VPSS_FVID2: control event 0x1004001c return 0 within 0 ms.
VPSS_SYSTEM: enter set pll 148500KHz for VENC 1
VPSS_FVID2: send control with cmd 0x10080000
VPSS_FVID2: control event 0x10080000 return 0 within 1 ms.
VPSS_SYSTEM: enter set pll 148500KHz for VENC 1
VPSS_FVID2: send control with cmd 0x10080000
VPSS_FVID2: control event 0x10080000 return 0 within 0 ms.
VPSS_SYSTEM: enter set pll 216000KHz for VENC 0
VPSS_FVID2: send control with cmd 0x10080000
VPSS_FVID2: control event 0x10080000 return 0 within 0 ms.
VPSS_SYSTEM: enter set pll 148500KHz for VENC 2
VPSS_FVID2: send control with cmd 0x10080000
VPSS_FVID2: control event 0x10080000 return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x1004001a
VPSS_FVID2: control event 0x1004001a return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x10040019
VPSS_FVID2: control event 0x10040019 return 0 within 0 ms.
VPSS_GRPX : grpx init
VPSS_SHRBUF: FOUND 0xbfb04000, end 0xbfd00000, map vir 0xef804000 size 4096
VPSS_VIDEO: video init
VPSS_SHRBUF: FOUND 0xbfb05000, end 0xbfd00000, map vir 0xef805000 size 8192
VPSS_CAPTURE: cap init
VPSS_SHRBUF: FOUND 0xbfb07000, end 0xbfd00000, map vir 0xef807000 size 49152
VPSS_SHRBUF: sharing buffer used 77824 byte, left 2019328 bytes
VPSS_GRPX : (0)- 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_GRPX : (1)- 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_GRPX : (2)- get resolution.
VPSS_DCTRL: enter get output format
VPSS_FVID2: send control with cmd 0x1004001a
VPSS_FVID2: control event 0x1004001a return 0 within 1 ms.
VPSS_GRPX : (0)- get resolution.
VPSS_DCTRL: enter get output format
VPSS_FVID2: send control with cmd 0x1004001a
VPSS_FVID2: control event 0x1004001a return 0 within 1 ms.
VPSS_GRPX : (0)- get region params.
VPSS_GRPX : (0)- get sc params.
VPSS_GRPX : (0)- 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_GRPX : (0) - get timing
VPSS_FVID2: send control with cmd 0x1004001a
VPSS_FVID2: control event 0x1004001a return 0 within 0 ms.
VPSS_GRPX : (1)- 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_GRPX : (1)- get region params.
VPSS_GRPX : (1)- get sc params.
VPSS_GRPX : (1)- 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_GRPX : (1) - get timing
VPSS_FVID2: send control with cmd 0x1004001a
VPSS_FVID2: control event 0x1004001a return 0 within 0 ms.
VPSS_GRPX : (2)- 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_GRPX : (2)- get region params.
VPSS_GRPX : (2)- get sc params.
VPSS_GRPX : (2)- 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_GRPX : (2) - get timing
VPSS_FVID2: send control with cmd 0x1004001a
VPSS_FVID2: control event 0x1004001a return 0 within 0 ms.
VPSS_GRPX : (0)- apply changes into FVID2_FRAME.
VPSS_GRPX : (0)- set format bpp 32 df 4104, pitch 7680.
VPSS_GRPX : (0)- get region params.
VPSS_GRPX : (0)- set region params.
VPSS_GRPX : (0)- add buffer 0xabb00000
VPSS_GRPX : (0)- apply changes into FVID2_FRAME.
VPSS_GRPX : (1)- apply changes into FVID2_FRAME.
VPSS_GRPX : (1)- set format bpp 32 df 4104, pitch 7680.
VPSS_GRPX : (1)- get region params.
VPSS_GRPX : (1)- set region params.
VPSS_GRPX : (1)- add buffer 0xae600000
VPSS_GRPX : (1)- apply changes into FVID2_FRAME.
VPSS_GRPX : (2)- apply changes into FVID2_FRAME.
VPSS_GRPX : (2)- set format bpp 32 df 4104, pitch 2880.
VPSS_GRPX : (2)- get region params.
VPSS_GRPX : (2)- set region params.
VPSS_GRPX : (2)- add buffer 0xb1100000
VPSS_GRPX : (2)- apply changes into FVID2_FRAME.
VPSS_DCTRL: enter venc disable
VPSS_FVID2: send control with cmd 0x1004001a
VPSS_FVID2: control event 0x1004001a return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x1004001b
VPSS_FVID2: control event 0x1004001b return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x1004001a
VPSS_FVID2: control event 0x1004001a return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x10040004
VPSS_FVID2: control event 0x10040004 return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x10040003
VPSS_FVID2: control event 0x10040003 return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x1004001a
VPSS_FVID2: control event 0x1004001a return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x10040019
VPSS_FVID2: control event 0x10040019 return 0 within 0 ms.
VPSS_GRPX : create grpx0
VPSS_DCTRL: enter set node
VPSS_FVID2: send control with cmd 0x10040018
VPSS_FVID2: control event 0x10040018 return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x10040017
VPSS_FVID2: control event 0x10040017 return 0 within 0 ms.
VPSS_SHRBUF: FOUND 0xbfb13000, end 0xbfd00000, map vir 0xef813000 size 4096
VPSS_FVID2: Fvid2 handle 0x9f2278cc with notifyno 12 within 0 ms
VPSS_GRPX : (0)- add buffer 0xabb00000
VPSS_GRPX : start grpx0
VPSS_GRPX : (0)- 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_FVID2: send control with cmd 0x00000003
VPSS_FVID2: control event 0x3 return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x10000002
VPSS_FVID2: control event 0x10000002 return 0 within 0 ms.
VPSS_FVID2: queue event return 0 within 0 ms.
VPSS_FVID2: send control with cmd 0x00000005
VPSS_FVID2: control event 0x5 return 0 within 36 ms.
VPSS_GRPX : stop grpx0
VPSS_FVID2: send control with cmd 0x00000006
VPSS_FVID2: contrl event 0x6 timeout
ti81xxfb ti81xxfb: failed to stop.
VPSS_GRPX : create grpx1
VPSS_DCTRL: enter set node
VPSS_FVID2: send control with cmd 0x10040018
VPSS_FVID2: contrl event 0x10040018 timeout
VPSS_DCTRL: failed to get node input status
VPSS_GRPX : failed to set grpx0 nodes
ti81xxfb ti81xxfb: fvid2 create failed.
VPSS_GRPX : create grpx2
VPSS_DCTRL: enter set node
VPSS_FVID2: send control with cmd 0x10040018
VPSS_FVID2: contrl event 0x10040018 timeout
VPSS_DCTRL: failed to get node input status
VPSS_GRPX : failed to set grpx0 nodes
ti81xxfb ti81xxfb: fvid2 create failed.
HDMI W1 rev 2.0
HDMI CEC Spec version 1.2
HDCP initialized
VPSS_FVID2: send control with cmd 0x1004001a
VPSS_FVID2: contrl event 0x1004001a timeout
VPSS_DCTRL: failed to get venc info.
VPSS_FVID2: send control with cmd 0x10040004
VPSS_FVID2: contrl event 0x10040004 timeout
VPSS_DCTRL: failed to get venc output info