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.

DM814x-EVM and a new (different) LCD

Other Parts Discussed in Thread: TLC59108

Hi. We have this DM814x-EVM that came with a certain LCD. When we run the pre-built image it displays the demo on the screen. Now, the questions are the following:

1) How can I change the LCD characteristics to support a different LCD (the one that we are going to use)? A manual I saw here has some directions, but they do not work on this system. For example, when I enter 'echo 0 >   /sys/devices/platform/vpss/display1/enabled' it gives an error "failed to disable dvo2 venc".

Edit: Would stopping (or 'killing') the demo program allow me to disable the dvo2 venc?

2) Do we need to use vpss? For our application we do not need any 'video', just some simple graphics, framebuffers, and such;

3) How can we remove this demo program from executing? is it somewhere in the menuconfig?  (Edit) Or somewhere in the init.d folder?

Thanks...

  • Hi,

    Answers inline,

    Nicholas said:
    How can I change the LCD characteristics to support a different LCD (the one that we are going to use)? A manual I saw here has some directions, but they do not work on this system. For example, when I enter 'echo 0 >   /sys/devices/platform/vpss/display1/enabled' it gives an error "failed to disable dvo2 venc".

    You are on correct path. You need to stop all the FBDEV applications before you can change mode. I think QT is running on your system.

    Nicholas said:
    Edit: Would stopping (or 'killing') the demo program allow me to disable the dvo2 venc?

    Yes, You should stop demo program.

    Nicholas said:
    Do we need to use vpss? For our application we do not need any 'video', just some simple graphics, framebuffers, and such;

    Yes, VPSS is must for any display/capture application. even FBDEV.

    Nicholas said:
    How can we remove this demo program from executing? is it somewhere in the menuconfig?  (Edit) Or somewhere in the init.d folder?

    I think you can stop it. Can you please refer to EZSDK user guide to see how to stop it. I am not the correct person to comment on EZSDK.

    Regards,

    Hardik Shah

  • Thanks for your reply. Things are a bit clearer now, but still I cannot see anything on this new LCD we have. When I load the image on this board, there is this script file in the /etc/init.d folder:  load-hd-firmware.sh. If this is not executed, then the /dev/fb0 is not created.

    Now, in this script file, there are these commands:

    -------------------------------------------------------------------------------------------------

    PATH=$PATH:/usr/share/ti/ti-media-controller-utils
    HDVICP2_ID=1
    HDVPSS_ID=2

    configure_lcd()
    {
        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
    }

    case "$1" in
        start)
            echo "Loading HDVICP2 Firmware"
            prcm_config_app s
            modprobe syslink
            until [[ -e /dev/syslinkipc_ProcMgr && -e /dev/syslinkipc_ClientNotifyMgr ]]
            do
                sleep 0.5
            done
            firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvicp.xem3 start
            echo "Loading HDVPSS Firmware"
            firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvpss.xem3 start
            modprobe vpss sbufaddr=0xBFB00000 mode=hdmi:720p-60 debug=1
            modprobe ti81xxfb vram=0:24M,1:16M,2:6M
            configure_lcd
            modprobe ti81xxhdmi
            modprobe tlc59108
          ;;
        stop) 
            <stopping script>
            ....................

        .................................................................................................................

    I know I have to change the numbers above in /sys/devices/platform/vpss/display1/timings. I put <25175,640/144/30/10,480/35/3/10,1> but it did not help (I also changed the fbset resolution to 640,480). One more point is the setting above 'rgb888'. The LCD we use (OSD057T0679-29TS) uses 6 pixels per colour (18 bits data signal). I tried something with the .../video1/trans_key_xxx, but to no avail. If somebody can help with the timing values above, here is a picture with this LCD's timings.  Thanks