none
wince7_vga _display RRS feed

  • Question

  • Hi all.

    I want vga output from my imx51 evk board , os wince 7.My platform.reg file details are below.

     ;------------------------------------------------------------------------------

    ; GWES Display Driver
    ;

    #if ((defined BSP_DISPLAY_DVI_TFP410 && defined BSP_I2CBUS2) || defined BSP_DISPLAY_CHUNGHWA_CLAA070VC01 || defined BSP_DISPLAY_VGA || defined BSP_DISPLAY_LVDS_MITSUBISHI_AA084XA03 || defined BSP_DISPLAY_TVE)
    [HKEY_LOCAL_MACHINE\System\GDI\Drivers]
        "Display"="ddraw_ipu.dll"
        "Order"=dword:10

    [HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU]
       "Bpp"=dword:10                ; RGB565
       "VideoBpp"=dword:20           ; RGB666 (32bpp internal)
       "VideoMemSize"=dword:2000000  ; 32MB

    #if $(bsp_si_ver) == "2.0"
    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\VDI]
       "Prefix"="VDI"
       "Dll"="vdi.dll"
       "Order"=dword:20
       "Index"=dword:1
    #endif   

    #endif

    ;
    ; DI0 may be connected to either the DVI connector,
    ; or the LVDS panel.
    ;
    [HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU\DI0]
       "PanelType"=dword:1           ; No panel supported on DI0
       "EnableOnBoot"=dword:0        ; FALSE

    IF BSP_DISPLAY_DVI_TFP410
    ; @CESYSGEN IF DIRECTX_MODULES_DIRECTDRAW
    [HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU\DI0]
       "PanelType"=dword:2           ; 1 - DVI 800x600, 2 - DVI 1024x768, 3 - DVI 1280x1024, 4 - DVI 1600x1200
       "EnableOnBoot"=dword:1        ; TRUE
    ; @CESYSGEN ENDIF DIRECTX_MODULES_DIRECTDRAW
    ENDIF BSP_DISPLAY_DVI_TFP410

    IF BSP_DISPLAY_LVDS_MITSUBISHI_AA084XA03
    ; @CESYSGEN IF DIRECTX_MODULES_DIRECTDRAW
    [HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU\DI0]
       "PanelType"=dword:1           ; 1 - 1024x768 LVDS panel
       "EnableOnBoot"=dword:1        ; TRUE
    ; @CESYSGEN ENDIF DIRECTX_MODULES_DIRECTDRAW
    ENDIF BSP_DISPLAY_LVDS_MITSUBISHI_AA084XA03

    ;
    ; DI1 may be connected to the TV encoder module
    ; or to the WVGA panel
    ; or to VGA connector

    [HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU\DI1]
       "PanelType"=dword:1                        ; No panel supported on DI1
       "TVOutputMode"=dword:1                     ; 
       "DualDevice"=dword:0                       ; FALSE
       "EnableOnBoot"=dword:1                     ; FALSE

    IF BSP_DISPLAY_CHUNGHWA_CLAA070VC01
    ; @CESYSGEN IF DIRECTX_MODULES_DIRECTDRAW
    [HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU\DI1]
       "PanelType"=dword:0                        ; 1 - ClAA Dumb Panel
       "DualDevice"=dword:0                       ; 1 - TRUE; 0 - FALSE
       "EnableOnBoot"=dword:0                     ; FALSE
    ; @CESYSGEN ENDIF DIRECTX_MODULES_DIRECTDRAW
    ENDIF BSP_DISPLAY_CHUNGHWA_CLAA070VC01

    IF BSP_DISPLAY_VGA
    ; @CESYSGEN IF DIRECTX_MODULES_DIRECTDRAW
    [HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU\DI1]
       "PanelType"=dword:2                        ; 1 - VGA 800x600, 2 - VGA 1024x768, 3 - VGA 1280x1024, 4 - VGA 1600x1200
       "DualDevice"=dword:1                       ; 1 - TRUE; 0 - FALSE
       "EnableOnBoot"=dword:1                     ; FALSE
    ; @CESYSGEN ENDIF DIRECTX_MODULES_DIRECTDRAW
    ENDIF BSP_DISPLAY_VGA

    [HKEY_LOCAL_MACHINE\System\GDI\Rotation]
        ; Value  Description 
        ;    0   No rotation. 
        ;   5A   90 degrees rotated clockwise. 
        ;   B4   180 degrees rotated clockwise. 
        ;  10E   270 degrees rotated clockwise. 
        "Angle"=dword:0

    For getting the vga output to one external monitor what I need to change in this file.

    please help me ...

    thanks in advance

    Thursday, March 21, 2013 10:39 AM

Answers

  • Hi 

    I solved it by setting the panel type as 2 and dual device = 1

    then I given a sysgen build.

    now I am getting the display.

    • Marked as answer by Rohith_88 Thursday, March 21, 2013 12:46 PM
    Thursday, March 21, 2013 12:46 PM

All replies

  • You don't have to change anything in this file. Add BSP_DISPLAY_VGA to your environment  variables. You can do that with selecting proper checkbox in catalog items.


    • Edited by Pawel W Z Thursday, March 21, 2013 11:26 AM
    Thursday, March 21, 2013 11:25 AM
  • Hi Pawelz,

    Already I enabled the option in the catalog items  and did sysgen.Still I am not getting the display.

    In the hyperterminal getting a error message as 

    PID:00400002 TID:055A0006 ERROR: d:\wince700\platform\imx51_evk\src\drivers\ipuv
    3\display\bspdisplay.cpp line 407: PID:00400002 TID:055A0006 No display panel is
     registered!!!PID:00400002 TID:055A0006 ERROR: d:\wince700\platform\common\src\s
    oc\common_fsl_v3\ipuv3\display\display.cpp line 294: PID:00400002 TID:055A0006 D
    isplayGetSupportedModes: Can't have both DI0 and DI1 disconnected!

    please help me to resolve it

    Thursday, March 21, 2013 12:04 PM
  • Hi 

    I solved it by setting the panel type as 2 and dual device = 1

    then I given a sysgen build.

    now I am getting the display.

    • Marked as answer by Rohith_88 Thursday, March 21, 2013 12:46 PM
    Thursday, March 21, 2013 12:46 PM