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.

input:NTSC, output:NTSC in dm816x evm + vs daughter card

Dear,

I am testing the dm816x evm + vs daughter card with ti-ezsdk_dm816x-evm_5_01_01_80 package.

The output figure of HDMI of linux-based screen works well,

however I would like to change the input and output source using NTSC video signal.

Please let me know the command or script related to the video source change.

Any comment would be greatly appreciated.

Best regards,

From jin

  • Jin,

    Check the VPSS user guide here...

    http://processors.wiki.ti.com/index.php/DM814X_AM387X_VPSS_Video_Driver_User_Guide

    BR,

    Steve

  • Thanks Steve ~~

    The message is like this, please comment~~

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

    root@dm816x-evm:~#
    root@dm816x-evm:~# echo 1:sd > /sys/devices/platform/vpss/graphics2/nodes
    VPSS_DCTRL: failed to get node input status
    VPSS_GRPX : (2)- failed to enable node
    root@dm816x-evm:~# cat /sys/devices/platform/vpss/graphics2/nodes
    1:sd
    root@dm816x-evm:~# echo 1:sd > /sys/devices/platform/vpss/graphics2/nodes
    VPSS_DCTRL: failed to get node input status
    VPSS_GRPX : (2)- failed to enable node
    root@dm816x-evm:~# echo 1:dvo2 > /sys/devices/platform/vpss/graphics2/nodes
    root@dm816x-evm:~# echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes
    root@dm816x-evm:~# echo 1:dvo2 > /sys/devices/platform/vpss/graphics1/nodes
    root@dm816x-evm:~# echo 1:sd > /sys/devices/platform/vpss/grVPSS_DCTRL: failed to get node input status
    aphics1/nodes
    VPSS_GRPX : (1)- failed to enable node
    root@dm816x-evm:~# echo 1:sd > /sys/devices/platform/vpss/graphics0/nodes
    VPSS_DCTRL: failed to get node input status
    VPSS_GRPX : (0)- failed to enable node
    root@dm816x-evm:~# echo 1:sd > /sys/devices/platform/vpss/graphics2/nodes
    VPSS_DCTRL: failed to get node input status
    VPSS_GRPX : (2)- failed to enable node
    root@dm816x-evm:~#

  • Hi,

    Make sure that your display is disable before you try to switch fb displays. echo 0 > /sys/devices/platform/vpss/display2/enabled. After this you try switching FB. Please dont mark thread as answered unless problem gets solved else you may not get response thinking thread is closed and problem is solved.

    Regards,

    Hardik Shah

  • Dear H. Shah,

    I tested with 'echo 0 > ....."

    root@dm816x-evm:/sys/devices/platform/vpss# echo 0 > ./display0/enabled
    root@dm816x-evm:/sys/devices/platform/vpss# echo 0 > ./display1/enabled
    root@dm816x-evm:/sys/devices/platform/vpss# echo 0 > ./display2/enabled
    root@dm816x-evm:/sys/devices/platform/vpss# echo 1 > ./display2/enabled
    root@dm816x-evm:/sys/devices/platform/vpss# echo 1 > ./graphics2/enabled
    VPSS_GRPX : please open fb2 node first.
    root@dm816x-evm:/sys/devices/platform/vpss# fbset

    mode "1920x1080-60"
    # D: 148.500 MHz, H: 67.500 kHz, V: 60.000 Hz
    geometry 1920 1080 1920 3240 32
    timings 6734 148 88 36 4 44 5
    rgba 8/16,8/8,8/0,8/24
    endmode
    
    
    Best Regards,
    From Jin
  • Hi,

    You have to disable display only and not grpx. since /dev/fb is not open no need to disable grpx. After changing the fb mapping from one display to another, application has to take care or setting fb parameters correctly based on new display.

    Regards,

    Hardik Shah