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.

How to enable S-Video and DVI for OMAP3EVM Board

Hi,

I am very new to the world of Linux.

I am currently working on OAMP3EVM Rev D by Mistral.

I want to know how to enable the support for S-Video and DVI in Linux Kernel.

Please  let me know are there any commands to verify S-Video and DVI interface and i it possible to have display at s-video and LCD simultaneously.

Thanking you.

Best Regards,

Apoorv

  • Hi Apoorv,

     

    Can you please let me know which release/kernel version you are using? Are you using new Fbdev driver (based on DSS2) or old one?

    Thanks,

    Vaibhav

  • Hi Vaibhav,

    The Linmux Kernel Version is 2.6.28.

    I downloaded this kernel from Mistral Website.

    I am not sure which Fbdev driver is being used in this kernel.

    Please guide me as to how to solve this issue.

    Thanking you.

    Best Regards,

    Apoorv

     

  • Hi Apoorv,

    Can you please check the driver availability inside your linux kernel, please check for,

    "drivers/video/omap2" (latest version) OR "arch/arm/plat-omap/dss" (initial version) directory. If you could find any one of these directory in your kernel then you are using new Fbdev based on DSS2.

    If not, then you are using old Fbdev driver.

     

    Thanks,

    Vaibhav

  • Hi Vaibhav,

    I could not find any of the directory structures mentioned by in the Linux Kernel that I am having.

    So it means that I am using the old Fbdev driver.

    Fb.c is located at "arch/arm/plat-omap/"

    Thanking you.

    Best Regards,

    Apoorv

  • Hi Apoorv,

    Yes, in that case you are using old Fbdev driver, where both DVI and TV out is not supported. And also it gives you very minimal features sets of DSS.

    If you do not have any hard requirement for the kernel you are using I would suggest you to use the latest version of kernel. You can refer to the some of the following links

    TI version of OMAP repository -

    http://arago-project.org/git/people/?p=sriram/ti-psp-omap.git

    Community version -

    http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=summary

    In both, you can use following boot argument to switch the output to DVI

    omapdss.def_disp="dvi"

    In case of TV out,

    omapdss.def_disp="tv"

    I believe you must be using OMAP3EVM (from Mistral). I hope this gave you some pointers.

     

    Thanks,

    Vaibhav

  • Apoorv,

    Yes, OMAP can certainly display video on both the LCD (or DVI) output and TV output at the same time from a hardware perspective.


    As Vaibhav mentions, how to enable this from software varies depending on the version of Linux.

    Please have a look at the following for more information on what the hardware is capable of.

    http://wiki.omap.com/index.php/Display_Subsystem

    BR,

    Steve

  • Hi Vaibhav and Steve,

    Thanks a lot for the information.

    I will update the kernel to the latest one and take it further from there.

    There are three interfaces on the board, DVI, TV-out and S-video.

    Please let me know what kind of peripheral can be connected to these interfaces

    Please let me know what boot arguments needs to be given in case of using S-video.

    Best Regards,

    Apoorv

  • Apoorv,

    TVout and S-video can be connected to a standard NTSC capable analog TV.

    DVI can be connected to either a TV with either a DVI or HDMI input, or connected to a PC monitor with a DVI or HDMI input.

    Selection of the output, and its various configurations can be set either at boot time or from the Linux command prompt/application level, depending on which version of the Kernel you are using. I will need to defer to the PSP team for the details of exactly which versions of the Kernel require what commands unfortunately since I am more a hardware person.

    BR,

    Steve

     

  • Hi Steve,

    Thanks a lot for the clarifications.

    I request you to please direct my query to the PSP team.

    It will save a lot of time and effort on my end.

    Thanking you.

    Best Regards,

    Apoorv

  • Apoorv,

    If you are using the latest kernel version these SysFS attributes would help, please set the bootargs based on your requirements.

     

    Bootarg

    Value

    Rotation

    omapfb.rotate

    ·         0 - 0 degree

    ·         1 - 90 degree

    ·         2 - 180 degree

    ·         3 - 270 degree

     

    omapfb.rotate_type

    ·         0 - DMA based rotation

    ·         1 - VRFB based rotation.

    ·         Currently only VRFB based rotation is supported

    Max FrameBuffer size

    omapfb.vram

    ·         10M is the maximum size allocated

    ·         4M, 3M, 3M allocates 4M for fb0,3M for fb1/vid1 and 3M for fb2/vid2

    ·         Default: Only fb0 allocated

    Display

    omapdss.def_disp

    ·         dvi - Default DVI display.

    ·         tv - Default TV display.

    ·         None - Default LCD display

    Video Mode

    omapfb.video_mode

    ·         Width X Height @ Hz: 720x576@50

    Note: Ensure that it is supported by FB or add support in modedb.c

     

    Regards,

    Punya

  • Apoorv,

    Please refer to the following PSP UserGuide (PSP03.0x) link for more reference, you should be able to get all the details from this.

    http://wiki.davincidsp.com/index.php/AM35x-OMAP35x-PSP_03.00.00.04_UserGuide

     

    Please note that if you are using PSP02.x releases, then the bootargs/usage are different and should be documented in UserGuide/MigrationGuide available with release package.

     

    Thanks,

    Vaibhav