15 Oct, 2013

1 commit


24 Jul, 2013

1 commit


09 Jul, 2013

1 commit


02 Jul, 2013

1 commit

  • When compressed image is loaded, it must be decompressed
    to an aligned address + 2 to avoid unaligned access exception
    on some ARM platforms.

    Signed-off-by: Piotr Wilczek
    Signed-off-by: Kyungmin Park
    CC: Anatolij Gustschin
    CC: Wolfgang Denk
    Signed-off-by: Anatolij Gustschin

    Piotr Wilczek
     

07 Nov, 2012

1 commit


25 May, 2012

1 commit


07 Mar, 2012

1 commit


16 Nov, 2011

1 commit

  • The functions for clearing and drawing bitmaps on the screen were not
    exposed publicly and are made public in this patch in preparation for
    implementing the display interface of api_public.h.

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

    Che-Liang Chiou
     

10 Feb, 2011

1 commit


30 Oct, 2010

1 commit

  • By now, the majority of architectures have working relocation
    support, so the few remaining architectures have become exceptions.
    To make this more obvious, we make working relocation now the default
    case, and flag the remaining cases with CONFIG_NEEDS_MANUAL_RELOC.

    Signed-off-by: Wolfgang Denk
    Tested-by: Heiko Schocher
    Tested-by: Reinhard Meyer

    Wolfgang Denk
     

20 Sep, 2010

1 commit

  • !! This breaks support for all arm boards !!

    To compile in old style, you must define
    CONFIG_SYS_ARM_WITHOUT_RELOC or you can compile
    with "CONFIG_SYS_ARM_WITHOUT_RELOC=1 ./MAKEALL board"

    !! This define will be removed soon, so convert your
    board to use relocation support

    Portions of this work were supported by funding from
    the CE Linux Forum.

    Signed-off-by: Heiko Schocher

    Fix boot from NAND for non-ARM systems
    Signed-off-by: Wolfgang Denk

    Heiko Schocher
     

25 Jul, 2010

1 commit

  • Lots of code use this construct:

    cmd_usage(cmdtp);
    return 1;

    Change cmd_usage() let it return 1 - then we can replace all these
    ocurrances by

    return cmd_usage(cmdtp);

    This fixes a few places with incorrect return code handling, too.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

05 Jul, 2010

1 commit

  • The hush shell dynamically allocates (and re-allocates) memory for the
    argument strings in the "char *argv[]" argument vector passed to
    commands. Any code that modifies these pointers will cause serious
    corruption of the malloc data structures and crash U-Boot, so make
    sure the compiler can check that no such modifications are being done
    by changing the code into "char * const argv[]".

    This modification is the result of debugging a strange crash caused
    after adding a new command, which used the following argument
    processing code which has been working perfectly fine in all Unix
    systems since version 6 - but not so in U-Boot:

    int main (int argc, char **argv)
    {
    while (--argc > 0 && **++argv == '-') {
    /* ====> */ while (*++*argv) {
    switch (**argv) {
    case 'd':
    debug++;
    break;
    ...
    default:
    usage ();
    }
    }
    }
    ...
    }

    The line marked "====>" will corrupt the malloc data structures and
    usually cause U-Boot to crash when the next command gets executed by
    the shell. With the modification, the compiler will prevent this with
    an
    error: increment of read-only location '*argv'

    N.B.: The code above can be trivially rewritten like this:

    while (--argc > 0 && **++argv == '-') {
    char *arg = *argv;
    while (*++arg) {
    switch (*arg) {
    ...

    Signed-off-by: Wolfgang Denk
    Acked-by: Mike Frysinger

    Wolfgang Denk
     

10 Apr, 2010

1 commit


22 Dec, 2009

1 commit


26 Jul, 2009

1 commit

  • This moves some extern declaration from lcd.c to lcd.h, removing
    unneeded ifdef around a pair of them. Additionally, since
    gunzip_bmp() was declared static in cmd_bmp.c but extern in lcd.c, I
    removed the static. The extra "#include " in cmd_bmp.c is
    added to ensure the header is consistent with the source.

    This has been compile-tested on both ARM (at91 boards) and PowerPC
    (HH405_config, TQM823L_LCD_config, mcc200_config), to test all use
    combinations.

    Signed-off-by: Alessandro Rubini
    [agust@denx.de: removed gunzip_bmp() fixes as commit c01171ea did it]
    Signed-off-by: Anatolij Gustschin

    Alessandro Rubini
     

24 Jul, 2009

1 commit


13 Jun, 2009

1 commit

  • Many of the help messages were not really helpful; for example, many
    commands that take no arguments would not print a correct synopsis
    line, but "No additional help available." which is not exactly wrong,
    but not helpful either.

    Commit ``Make "usage" messages more helpful.'' changed this
    partially. But it also became clear that lots of "Usage" and "Help"
    messages (fields "usage" and "help" in struct cmd_tbl_s respective)
    were actually redundant.

    This patch cleans this up - for example:

    Before:
    => help dtt
    dtt - Digital Thermometer and Thermostat

    Usage:
    dtt - Read temperature from digital thermometer and thermostat.

    After:
    => help dtt
    dtt - Read temperature from Digital Thermometer and Thermostat

    Usage:
    dtt

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

28 Jan, 2009

2 commits


19 Oct, 2008

1 commit


12 Jan, 2008

1 commit


09 Jan, 2008

1 commit

  • The existing code can show information about a gzip compressed BMP
    image, but can't actually display it.

    Therefore, move the decompression code out of bmp_info() and use it in
    bmp_display() as well in order to display a compressed BMP image.

    Also, clean things up a bit and fix a memory leak while we're at it.

    [hskinnemoen@atmel.com: a bit of refactoring]
    Signed-off-by: Haavard Skinnemoen

    Hans-Christian Egtvedt
     

21 Nov, 2007

1 commit


09 Jul, 2007

1 commit


04 Jul, 2007

1 commit


08 Oct, 2005

1 commit


10 Oct, 2004

1 commit


02 Aug, 2004

1 commit

  • * Patch by Sascha Hauer, 28 Jun:
    - add generic support for Motorola i.MX architecture
    - add support for mx1ads, mx1fs2 and scb9328 boards

    * Patches by Marc Leeman, 23 Jul 2004:
    - Add define for the PCI/Memory Buffer Configuration Register
    - corrected comments in cpu/mpc824x/cpu_init.c

    * Add support for multiple serial interfaces
    (for example to allow modem dial-in / dial-out)

    wdenk
     

15 Mar, 2004

1 commit

  • - add bitmap command and splash screen support in cfb console
    - add [optional] origin in the bitmap display command

    * Patch by Travis Sawyer, 11 Mar 2004:
    Fix ocotea board early init interrupt setup.

    * Patch by Thomas Viehweger, 11 Mar 2004:
    Remove redundand code; add PCI-specific bits to include/mpc8260.h

    wdenk
     

02 Jul, 2003

1 commit


01 Jul, 2003

1 commit


30 Jun, 2003

1 commit


21 Apr, 2003

1 commit