30 Oct, 2013

1 commit


15 Oct, 2013

1 commit


13 Aug, 2013

1 commit

  • This patch moves all the font configuration values into video_font_data.h
    so they are all in the right place with the font. The video_font.h now only
    includes video_font_data.h and will allow us to select and include different
    font once more fonts are added.

    Signed-off-by: Marek Vasut
    Cc: Anatolij Gustschin
    [agust: fixed build warning for mcc200]
    Signed-off-by: Anatolij Gustschin

    Marek Vasut
     

10 Aug, 2013

2 commits

  • This patch add an option to skip cfb console init for boards
    who want to show a logo, but not use the cfb console. This is
    needed for the siemens boards, which have a bmp bootlogo, but
    do not need the cfb console.

    Signed-off-by: Heiko Schocher
    Cc: Anatolij Gustschin
    [agust: use '__weak int board_cfb_skip(void)']
    Signed-off-by: Anatolij Gustschin

    Heiko Schocher
     
  • The cfb_console can't handle 4-bit wide font properly, since with
    4-bit wide font, all 8 bits are drawn. Unbreak the video_drawchars()
    function to correctly render 4-bits only on such fonts.

    Signed-off-by: Marek Vasut
    Cc: Anatolij Gustschin

    Marek Vasut
     

24 Jul, 2013

1 commit


09 Jul, 2013

1 commit


02 Jul, 2013

1 commit


07 Jun, 2013

1 commit


06 May, 2013

2 commits


21 Mar, 2013

1 commit

  • commit d484b52 "video: Skip bitmaps which do not fit into the screen in
    cfb_console" breaks splash screen alignment which is passed in as magic
    (BMP_ALIGN_CENTER) x/y coordinates. Moving the check after the alignment block
    fixes this.

    Signed-off-by: Matthias Weisser
    Acked-by: Simon Glass

    Matthias Weisser
     

07 Dec, 2012

1 commit

  • This command will start erasing at memory address zero
    if there is not a valid framebuffer address that was found
    during video_init().

    This is a common case with Chrome OS devices in normal mode
    when we do not execute the video option rom in coreboot.

    Signed-off-by: Duncan Laurie
    Signed-off-by: Simon Glass

    Duncan Laurie
     

07 Nov, 2012

2 commits


31 Oct, 2012

1 commit


02 Oct, 2012

2 commits


10 Jul, 2012

1 commit


05 Jun, 2012

4 commits


08 Dec, 2011

1 commit

  • Fix:
    cfb_console.c:371: warning: 'cursor_state' defined but not used
    cfb_console.c:372: warning: 'old_col' defined but not used
    cfb_console.c:373: warning: 'old_row' defined but not used
    cfb_console.c:435: warning: 'video_invertchar' defined but not used

    Signed-off-by: Anatolij Gustschin
    Tested-by: Wolfgang Denk

    Anatolij Gustschin
     

06 Dec, 2011

1 commit

  • When printing the string "\r\n" to the framebuffer console, the first
    character of the current line was being replaced with a space. The "boot"
    prompt would become the "oot" prompt. This change makes the cursor
    non-destructive so that no matter where it goes on its way to where it's
    supposed to be, the end result is that the cursor is where it's supposed to
    be with the other text preserved.

    Signed-off-by: Gabe Black
    Acked-by: Mike Frysinger
    Signed-off-by: Anatolij Gustschin

    Gabe Black
     

29 Nov, 2011

1 commit


16 Nov, 2011

2 commits

  • While video_font.h is useful even without referencing the font data, it
    is not possible to be included multiple times because it defines font
    data array right in the header.

    This patch splits the font data array into video_font_data.h and so now
    video_font.h can be included multiple times. This at least solves the
    code duplication in board/mcc200/lcd.c.

    Signed-off-by: Che-Liang Chiou
    Acked-by: Mike Frysinger

    Che-Liang Chiou
     
  • The generated header bmp_logo.h is useful even outside common/lcd.c for
    the logo dimension. However, the problem is, the generated bmp_logo.h
    cannot be included multiple times because bmp_logo_palette[] and
    bmp_logo_bitmap[] are defined in the bmp_logo.h.

    This patch fixes this by defining these arrays in another header
    bmp_logo_data.h and in bmp_logo.h only declaring these arrays.

    Signed-off-by: Che-Liang Chiou
    Acked-by: Mike Frysinger
    Signed-off-by: Anatolij Gustschin

    Che-Liang Chiou
     

08 Nov, 2011

1 commit


28 Oct, 2011

1 commit

  • cfb_console.c: In function 'video_display_bitmap':
    cfb_console.c:1148: warning: format '%d' expects type 'int', but argument 2 has
    type 'long unsigned int'
    cfb_console.c:1148: warning: format '%d' expects type 'int', but argument 3 has
    type 'long unsigned int'

    Signed-off-by: Marek Vasut
    Cc: Wolfgang Denk
    Cc: Simon Glass
    Cc: Mike Frysinger

    Marek Vasut
     

13 Oct, 2011

1 commit

  • mx3fb.c was based on CONFIG_LCD and is moved by this patch to
    CONFIG_VIDEO, which has greater freedom in selecting videomodes
    even at runtime.

    This renders the accumulating list of display defines
    (CONFIG_DISPLAY_VBEST..., CONFIG_DISPLAY_C057...) obsolete as
    these may be setup through env variables:

    uboot> setenv mydisplay 'video=ctfb:x:240,y:320,depth:16,mode:0,pclk:185925,
    le:9,ri:17,up:7,lo:10,hs:1,vs:1,sync:100663296,vmode:0'
    uboot> setenv videomode ${mydisplay}

    This commit also fixes the board config files for qong and
    imx31_phycore boards as needed. The videomode settings of
    previously supported displays are added to CONFIG_EXTRA_ENV_SETTINGS
    now. CONFIG_SYS_MALLOC_LEN for imx31_phycore board is increased
    to make the frame buffer allocation working with the changed
    driver.

    Signed-off-by: Helmut Raiger
    Signed-off-by: Anatolij Gustschin
    Cc: Stefano Babic

    Helmut Raiger
     

01 Aug, 2011

3 commits


29 Jul, 2011

1 commit


28 Jul, 2011

1 commit

  • This patch removes the architecture specific implementation of
    version_string where possible. Some architectures use a special place
    and therefore we provide U_BOOT_VERSION_STRING definition and a common
    weak symbol version_string.

    Signed-off-by: Andreas Bießmann
    CC: Mike Frysinger
    CC: Peter Pan
    Acked-by: Mike Frysinger

    Andreas Bießmann
     

29 Apr, 2011

1 commit

  • There seems to be tools producing incorrect 'end of bitmap data'
    markers '0100' in a RLE bitmap. Drawing such bitmaps can result
    in overwriting memory above the frame buffer. E.g. on MPC5121e
    based boards this memory can contain U-Boot environment.

    We may not rely on the correct end of bitmap data marker 0001
    only, but also have to check whether we are going to draw a
    valid frame buffer scan line.

    The patch provides a fix by maintaining a pixel counter
    which is incremented by the amount of pixels we are going
    to draw. If the counter exceeds frame buffer pixels limit
    we stop the drawing with the error message.

    Reported-by: Michael Weiss
    Signed-off-by: Anatolij Gustschin
    Tested-by: Anatolij Gustschin

    Anatolij Gustschin
     

29 Sep, 2010

1 commit


22 Sep, 2010

1 commit


16 Sep, 2010

1 commit

  • The CURSOR_ON, CURSOR_OFF, and CURSOR_SET macros are defined incorrectly. If
    cursor support is disabled, then these macros are defined to nothing, but
    then they are used like this:

    if (console_col < CONSOLE_COLS)
    CURSOR_OFF
    console_row++;

    which was compiled like this:

    if (console_col < CONSOLE_COLS)
    console_row++;

    This is obviously not what was intended.

    Signed-off-by: Timur Tabi
    Acked-by: Detlev Zundel

    Timur Tabi