Thanks for you reply, Rupesh

I tried

video=omapfb:mode:640x...@60
video=omapfb:mode:800x...@60
video=omapfb:mode:1024x...@60
video=omapfb:mode:1280x...@60

but all failed.

My LCD is Dell 1907FPC, it should support all kinds of video mode I
think.


I review lcd_omap3beagle.c, it seems the vide mode is hard code. it
can be change only by building environment.


struct lcd_panel omap3beagle_panel = {
        .name           = "omap3beagle",
        .config         = OMAP_LCDC_PANEL_TFT,

        .bpp            = 16,
        .data_lines     = 24,
#if 0
        .x_res          = LCD_XRES,
        .y_res          = LCD_YRES,
        .hsw            = 3,            /* hsync_len (4) - 1 */
        .hfp            = 3,            /* right_margin (4) - 1 */
        .hbp            = 39,           /* left_margin (40) - 1 */
        .vsw            = 1,            /* vsync_len (2) - 1 */
        .vfp            = 2,            /* lower_margin */
        .vbp            = 7,            /* upper_margin (8) - 1 */

        .pixel_clock    = LCD_PIXCLOCK,
#endif
#if defined CONFIG_FB_OMAP_031M3R

        /* 640 x 480 @ 60 Hz  Reduced blanking VESA CVT 0.31M3-R */
        .x_res          = 640,
        .y_res          = 480,
        .hfp            = 48,
        .hsw            = 32,
        .hbp            = 80,
        .vfp            = 3,
        .vsw            = 4,
        .vbp            = 7,
        .pixel_clock    = 23500,

#elif defined CONFIG_FB_OMAP_048M3R

        /* 800 x 600 @ 60 Hz  Reduced blanking VESA CVT 0.48M3-R */
        .x_res          = 800,
        .y_res          = 600,
        .hfp            = 48,
        .hsw            = 32,
        .hbp            = 80,
        .vfp            = 3,
        .vsw            = 4,
        .vbp            = 11,
        .pixel_clock    = 35500,

#elif defined CONFIG_FB_OMAP_079M3R

        /* 1024 x 768 @ 60 Hz  Reduced blanking VESA CVT 0.79M3-R */
        .x_res          = 1024,
        .y_res          = 768,
        .hfp            = 48,
        .hsw            = 32,
        .hbp            = 80,
        .vfp            = 3,
        .vsw            = 4,
        .vbp            = 15,
        .pixel_clock    = 56000,

#elif defined CONFIG_FB_OMAP_092M9R

        /* 1280 x 720 @ 60 Hz  Reduced blanking VESA CVT 0.92M9-R */
        .x_res          = 1280,
        .y_res          = 720,
        .hfp            = 48,
        .hsw            = 32,
        .hbp            = 80,
        .vfp            = 3,
        .vsw            = 5,
        .vbp            = 13,
        .pixel_clock    = 64000,

#else

        /* use 640 x 480 if no config option */
        /* 640 x 480 @ 60 Hz  Reduced blanking VESA CVT 0.31M3-R */
        .x_res          = 640,
        .y_res          = 480,
        .hfp            = 48,
        .hsw            = 32,
        .hbp            = 80,
        .vfp            = 3,
        .vsw            = 4,
        .vbp            = 7,
        .pixel_clock    = 23500,

#endif
        .init           = omap3beagle_panel_init,
        .cleanup        = omap3beagle_panel_cleanup,
        .enable         = omap3beagle_panel_enable,
        .disable        = omap3beagle_panel_disable,
        .get_caps       = omap3beagle_panel_get_caps,
};

Please give me further info, thanks.

Best Regards,
Miller


On Apr 23, 12:41 am, Rupesh Gujare <[email protected]> wrote:
> Miller,
>  Check with "video=omapfb:mode:" arguments. Set proper mode, supported
> by your LCD.
>
> Regards,
>
> --
> Rupesh Gujarehttp://embinux.com
>
> Miller Fu wrote:
> > Also, I don't know where the code goes to, I don't find any clues to
> > discover the problems.
>
> > Hope somebody can give me some info. thanks.
>
> > On Apr 22, 8:39 pm, Miller Fu <[email protected]> wrote:
>
> >> Btw, the board is RC2. and it boots from MMC.
>
> >> On Apr 22, 6:49 pm, Miller Fu <[email protected]> wrote:
>
> >>> Hi, Experts,
>
> >>> I am porting the Android to Beagle board, I did follow the steps as
> >>> porting guide 
> >>> onhttp://labs.embinux.org/index.php/Android_Porting_Guide_to_Beagle_Board
>
> >>> But there is no graphic on the screen, and no shell too.
>
> >>> Anybody could help me check the problems, thanks in advance
>
> >>> my bootargs is
>
> >>>  setenv bootargs 'console=ttyS2,115200n8 console=tty0 root=/dev/
> >>> mmcblk0p2 noinitrd rw rootdelay=2 video=omapfb:mode:640x...@60 init=/
> >>> init'
>
> >>> Debug Message
> >>> ========================
> >>> <6>kjournald starting.  Commit interval 5 seconds
> >>> kjournald starting.  Commit interval 5 seconds
> >>> <6>EXT3 FS on mmcblk0p2, EXT3 FS on mmcblk0p2, internal journal
> >>> internal journal
> >>> <6>EXT3-fs: recovery complete.
> >>> EXT3-fs: recovery complete.
> >>> <6>EXT3-fs: mounted filesystem with ordered data mode.
> >>> EXT3-fs: mounted filesystem with ordered data mode.
> >>> VFS: Mounted root (ext3 filesystem).
> >>> VFS: Mounted root (ext3 filesystem).
> >>> <6>Freeing init memory: 140K
> >>> Freeing init memory: 140K
> >>> <3>init: cannot open '/initlogo.rle'
> >>> init: cannot open '/initlogo.rle'
> >>> <3>init: cannot find '/system/bin/playmp3', disabling 'bootsound'
> >>> init: cannot find '/system/bin/playmp3', disabling 'bootsound'
> >>> <6>warning: `rild' uses 32-bit capabilities (legacy support in use)
> >>> warning: `rild' uses 32-bit capabilities (legacy support in use)- Hide 
> >>> quoted text -
>
> >> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to