24 Jul, 2013

1 commit


31 Mar, 2012

1 commit


19 Mar, 2012

3 commits


13 Feb, 2012

1 commit


11 Dec, 2011

2 commits


04 Nov, 2011

2 commits


28 Oct, 2011

2 commits


06 Oct, 2011

2 commits

  • Some boards have the environment variables defined in a slow EEPROM. post_run
    accesses these environment variables to define which tests have to be run (in
    post_get_flags). This is very slow before the code relocation on some boards
    with a slow I2C EEPROM for environement variables.

    This patch adds a config option to skip the fetching of the test flags in the
    environment variables. The test flags assigned to the tests then only are the
    ones statically defined for the test in post/tests.c.

    Signed-off-by: Valentin Longchamp
    Signed-off-by: Holger Brunck

    Valentin Longchamp
     
  • The current post_log_word in global data is currently split into 2x
    16 bits: half for the test start, half for the test success.
    Since we alredy have more than 16 POST tests defined and more could
    be defined, this may result in an overflow and the post_output_backlog
    would not work for the tests defined further of these 16 positions.

    An additional field is added to global data so that we can now support up
    to 32 (depending of architecture) tests. The post_log_word is only used
    to record the start of the test and the new field post_log_res for the
    test success (or failure). The post_output_backlog is for this change
    also adapted.

    Signed-off-by: Valentin Longchamp

    Valentin Longchamp
     

26 Jul, 2011

3 commits

  • The post.c code is missing braces around the pass case, and as a
    result, the diagnostic function will post both fail and pass for
    a failed test. The reason for this bug is probably the incorrect
    indentation used, so when reading the code it seems like there
    are proper braces.

    Indent the code to the correct depth and put proper braces around
    the "else" branch of the "if" statement.

    Signed-off-by: James Kosin
    Signed-off-by: Mike Frysinger

    James Kosin
     
  • We've got a handy dandy macro already for calculating the number of
    elements in an array, so use it.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     
  • Now that we have the generic GPIO layer, we can easily provide a common
    implementation for the post_hotkeys_pressed() function based on it.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

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
     

04 Aug, 2010

1 commit

  • While running from flash, i. e. before relocation, we have only a
    limited C runtime environment without writable data segment. In this
    phase, some configurations (for example with environment in EEPROM)
    must not use the normal getenv(), but a special function. This
    function had been called getenv_r(), with the idea that the "_r"
    suffix would mean the same as in the _r_eentrant versions of some of
    the C library functions (for example getdate vs. getdate_r, getgrent
    vs. getgrent_r, etc.).

    Unfortunately this was a misleading name, as in U-Boot the "_r"
    generally means "running from RAM", i. e. _after_ relocation.

    To avoid confusion, rename into getenv_f() [as "running from flash"]

    Signed-off-by: Wolfgang Denk
    Acked-by: Detlev Zundel

    Wolfgang Denk
     

22 Mar, 2010

1 commit

  • Add POST progress API implemented as weak calls before and after
    each call to the POST test callback in the post_run_single routine
    of the post.c file.

    Signed-off-by: Michael Zaidman
    Acked-by: Detlev Zundel

    Michael Zaidman
     

08 Dec, 2009

1 commit

  • This patch introduces a weak default function for post_hotkey_pressed(),
    returning 0, for boards without hotkey support. The long-running tests
    won't be started on those boards. This default function was implemented
    in many board directories. By implementing this weak default we can
    remove all those duplicate versions.

    Boards with hotkey support, can override this weak default function
    by defining one in their board specific code.

    Signed-off-by: Stefan Roese

    Stefan Roese
     

03 Oct, 2009

1 commit

  • Add #ifdefs where necessary to not perform relocation fixups. This
    allows boards/architectures which support relocation to trim a decent
    chunk of code.

    Note that this patch doesn't add #ifdefs to architecture-specific code
    which does not support relocation.

    Signed-off-by: Peter Tyser

    Peter Tyser
     

18 Jul, 2009

1 commit

  • So far the console API uses the following naming convention:

    ======Extract======
    typedef struct device_t;

    int device_register (device_t * dev);
    int devices_init (void);
    int device_deregister(char *devname);
    struct list_head* device_get_list(void);
    device_t* device_get_by_name(char* name);
    device_t* device_clone(device_t *dev);
    =======

    which is too generic and confusing.

    Instead of using device_XX and device_t we change this
    into stdio_XX and stdio_dev

    This will also allow to add later a generic device mechanism in order
    to have support for multiple devices and driver instances.

    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD

    Edited commit message.

    Signed-off-by: Wolfgang Denk

    Jean-Christophe PLAGNIOL-VILLARD
     

19 Oct, 2008

1 commit


30 Jun, 2008

1 commit


21 May, 2008

1 commit


22 Apr, 2008

1 commit


19 Mar, 2008

1 commit


13 Jul, 2007

1 commit


23 Jun, 2007

1 commit


07 Mar, 2007

1 commit


01 Apr, 2006

1 commit


24 Feb, 2004

1 commit

  • - update board/emk tree; use common flash driver
    - Corrected tested bits in machine check exception in cpu/mpc5xxx/traps.c
    [adapted for other PPC CPUs -- wd]
    - Added support for the M48T08 on the EVAL5200 board in rtc/mk48t59.c

    * Patch by Jon Diekema, 13 Feb 2004:
    Call show_boot_progress() whenever POST "FAILED" is printed.

    * Patch by Nishant Kamat, 13 Feb 2004:
    Add support for TI OMAP1610 H2 Board
    Fixes for cpu/arm926ejs/interrupt.c
    (based on Richard Woodruff's patch for arm925, 16 Oct 03)
    Fix for a timer bug in OMAP1610 Innovator
    Add support for CS0 (ROM)/CS3 (Flash) boot in OMAP1610 Innovator and H2

    * Patches by Stephan Linz, 12 Feb 2004:
    - add support for NIOS timer with variable period preload counter value
    - prepare POST framework support for NIOS targets

    * Patch by Denis Peter, 11 Feb 2004:
    add POST support for the MIP405 board

    wdenk
     

16 Oct, 2003

1 commit


25 Jul, 2003

1 commit


15 Jul, 2003

2 commits

  • - add I2C support for s3c2400 systems (trab board)
    - (re-) add "ping" to command table

    * Fix handling of "slow" POST routines

    wdenk
     
  • - Correct flash and JFFS2 support for MPC8260ADS
    - fix PVR values and clock generation for PowerQUICC II family
    (8270/8275/8280)

    * Patch by Bernhard Kuhn, 08 Jul 2003:
    - add support for M68K targets

    * Patch by Ken Chou, 3 Jul:
    - Fix PCI config table for A3000
    - Fix iobase for natsemi.c
    (PCI_BASE_ADDRESS_0 is the IO base register for DP83815)

    * Allow to enable "slow" POST routines by key press on power-on
    * Fix temperature dependend switching of LCD backlight on LWMON
    * Tweak output format for LWMON

    wdenk
     

28 Jun, 2003

1 commit

  • - remove trailing white space, trailing empty lines, C++ comments, etc.
    - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)

    * Patches by Kenneth Johansson, 25 Jun 2003:
    - major rework of command structure
    (work done mostly by Michal Cendrowski and Joakim Kristiansen)

    wdenk
     

28 Apr, 2003

1 commit

  • - Splashscreen support
    - modem support
    - sysmon support
    - temperature dependend enabling of LCD

    * Allow booting from old "PPCBoot" disk partitions

    * Add support for TQM8255 Board / MPC8255 CPU

    wdenk
     

08 Dec, 2002

1 commit