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.

AM3517 HDMI

Hi , All:

I want to use HDMI video port to display the video signal in the computer display.However,I don't know if I need to set the board start envirenment ,and how can I achieve it. Which code can check the display effect?

Additional,I want to know the  function of DVSDK.

Thanks.

  • Keciy,

    From the Linux prompt you can refer to the following wiki for information on controlling where the display goes.

    http://processors.wiki.ti.com/index.php/UserGuideDisplayDrivers_PSP_03.00.00.05#Switching_output_from_LCD_to_DVI

    From uBoot yo ucan add something like the following...

    omapfb.mode=dvi:1280x720@60 omapdss.def_disp=dvi

    BR,

    Steve

  • Hi,

    I have do the command as follows:

     target $ echo 0 > /sys/devices/platform/omapdss/display0/enabled
    target $ echo "" > /sys/devices/platform/omapdss/manager0/display
    /* Set the Frame buffer parameters like xres, xres_virtual, y_res,
    yres_virtualagain before running below command. For example for 720P as
     DVI resolution setxres=1280 yres=720 xres_virtual=1280
    yres_virtual=1440.*/
    target $ fbset -fb /dev/fb0 -xres $w -yres $h -vxres $w -vyres $h
    target $ echo "dvi" > /sys/devices/platform/omapdss/manager0/display
    target $ echo 1 > /sys/devices/platform/omapdss/display2/enabled

    but when I crosscompile the examples : saMmapLoopback.c  and saMmapDisplay.c  which included in the PSP-SDK demos ,there is still no recation in the computer monitor,I don't know the reason is the board's configuration or the prblem of the examples .Now  I want you can tell me a example which can display video or pictures in the monitor correctly . And if I need to modify the bootargs more.

    PS:To display the video signal in the computer monitor I use a conversion line which convert HDMI to VGA.

    Thanks.

  • Is there a reason you have a virtual resolution set different to your display resolution? I would start by setting these the same.

    Next, what valuse are you using for $w, $h etc...?

    Again, I would start by making these constant values and making them the same as your boot args, i.e. 1280x720 in this case.

    BR,

    Steve

  • Hi,steve,

    I set the xres=1280,yres=1024,vy\xres=1280,vyres=1024 .the monitor I use is 17"。But there is still no signal display on it.

    Moreover,sometimes there are some errors when I set the fb .If I execute  the command:set xres=1280,yres=1024,xres_virtual=1280,yres_virtual=1024; fbset -fb /dev/fb0 -xres $w -yres $h -vxres $w -vyres $h .the result sometimes is:i octl FBIOPUT_VSCREENINFO: Invalid argument  .or sometimes promot the fb set help and sometimes successfull.I don't know the reason.

    Idon't konw your expeiment effect and hope you can solve the problem  I missed and send me a test code to me.Because now I doubt maybe the code I use have problem.

    Thank you!

  • Keciy,

    Could you please cut and paste your EXACT sequence of commands since your variable names are being mixed up and a little confusing.

    BR,

    Steve

  • Steve,

    Now I paste the command and result as follows:

    when I try anthor command .the result is:

    I want to know if it is important the LCD's pixel. If it can lead to diaplay nothing when it is set  wrong?

    Again,if I want to switch the DVI to LCD ,the following step is OK ?or the board can return to the default set .boot from LCD automatically.

    echo 0 >/sys/devices/platform/omapdss/display2/enabled

    echo "" > /sys/devices/platform/omapdss/manager0/display

    echo "None" > /sys/devices/platform/omapdss/manager0/display

    echo 1 >/sys/devices/platform/omapdss/dispaly0/enabled

    Additionally,is there some relation about the convert line?

    Thanks,

     keciy.

  • Keciy,

    In general, if the command displays the help then there was an error in your arguments.

    In the first case I think you have accidentally typed "xyres" instead of vyres.

    In the second case you do not need the "=' sign in the variable assignments.

    BR,

    Steve