Skip to content
Snippets Groups Projects
  1. Oct 23, 2011
  2. Oct 05, 2011
  3. Sep 29, 2011
  4. Jul 27, 2011
  5. Jul 26, 2011
  6. Jan 25, 2011
    • Kumar Gala's avatar
      powerpc: Fix FPU post related link warnings · e009cdeb
      Kumar Gala authored
      
      If we built POST on PPC's that didn't enable CONFIG_SYS_POST_FPU we'd
      get the following warning with newer toolchains:
      
      powerpc-linux-gnu-ld: Warning: lib_powerpc/fpu/libpostpowerpcfpu.o
      		      uses hard float, libpost.o uses soft float
      
      We actually worked around this sometime ago with the following commit:
      
      commit ce82ff05
      Author: Yuri Tikhonov <yur@emcraft.com>
      Date:   Sat Dec 20 14:54:21 2008 +0300
      
         FPU POST: fix warnings when building with 2.18 binutils
      
      However, this only took into effect if CONFIG_SYS_POST_FPU was enabled.
      We can simply move the GNU_FPOST_ATTR out of the CONFIG_SYS_POST_FPU
      ifdef block to address the issue.
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      e009cdeb
  7. Dec 17, 2010
    • Stefan Roese's avatar
      ppc4xx/POST: Change ethernet test loop count to a default of 10 · ac69243d
      Stefan Roese authored
      
      This patch changes the PPC4xx ethernet POST loop test count from
      currently 192 (256 - 64) to a default of 10. While doing this the max
      frame size is increased. Each loop run uses a different frame size,
      starting with a max of 1514 bytes, down to 64. The default loop
      count of 10 can be overriden using CONFIG_SYS_POST_ETH_LOOPS in the
      board config header.
      
      The TEST_NUM loop has been removed as it was never used.
      
      The main reason for this change is to reduce the boot time on boards
      using this POST test, like the lwmon5 board. This change reduces the
      boot time by about 600ms on the lwmon5 board.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Acked-by: default avatarWolfgang Denk <wd@denx.de>
      ac69243d
  8. Nov 28, 2010
  9. Nov 17, 2010
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      
      Signed-off-by: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
    • Heiko Schocher's avatar
      post, i2c: add missing curly bracket in i2c_post_test · 9b107e61
      Heiko Schocher authored
      
      If CONFIG_SYS_POST_I2C_ADDRS is not defined and CONFIG_SYS_POST_I2C
      is activated, i2c_probe() is not called in the for statement,
      because missing curly bracket.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      9b107e61
  10. Oct 29, 2010
  11. Oct 27, 2010
  12. Oct 22, 2010
  13. Oct 20, 2010
  14. Oct 19, 2010
    • York Sun's avatar
      Expand POST memory test to support arch-depended implementation. · 28417030
      York Sun authored
      
      Add weak functions to enable architecture depended preparation, address
      advancing, cleaning up and error handling.
      
      These weak functions provides the framwork to implemente arch/platform
      dependent code for initializing/maintenance/restore the start address, size,
      physical address as well as memory mapping before/between/after memory test.
      arch_memory_failure_handle can also be implemented in case more care is needed
      for arch/platform.
      
      Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
      28417030
  15. Oct 04, 2010
    • Stefan Roese's avatar
      ppc4xx: Use common ns16550 functions in 4xx UART POST driver · 5d7c73e6
      Stefan Roese authored
      
      This patch changes the PPC4xx POST UART driver to use the common
      NS16550 functions for receiving and sending. Additionally the
      local function for SoC divisor setup are removed. Instead the
      functions from arch/powerpc/cpu/ppc4xx/4xx_uart.c are used. This
      removes code duplication.
      
      Also the common CONFIG_SYS_NS16550_COMx defines are now used
      to describe the POST UART's.
      
      And a compile breakage is fixed, introduced by a git merge of
      the ppc4xx/next branch into master. Now "ppc4xx.h" is moved to
      "asm/ppc4xx.h". Fixed as well with this patch.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      5d7c73e6
    • Sascha Laue's avatar
      ppc4xx: Big lwmon5 board support rework/update · f14ae418
      Sascha Laue authored
      
      This patch brings the lwmon5 board support up-to-date. Here a
      summary of the changes:
      
      lwmon5 board port related:
      - GPIO's changed to control the LSB transmitter
      - Reset USB PHY's upon power-up
      - Enable CAN upon power-up
      - USB init error workaround (errata CHIP_6)
      - EBC: Enable burstmode and modify the timings for the GDC memory
      - EBC: Speed up NOR flash timings
      
      lwmon5 board POST related:
      - Add FPGA memory test
      - Add GDC memory test
      - DSP POST reworked
      - SYSMON POST: Fix handling of negative temperatures
      - Add output for sysmon1 POST
      - HW-watchdog min. time test reworked
      
      Additionally some coding-style changes were done.
      
      Signed-off-by: default avatarSascha Laue <sascha.laue@liebherr.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      f14ae418
  16. Sep 23, 2010
  17. Sep 21, 2010
    • Michael Zaidman's avatar
      POST cleanup. · 800eb096
      Michael Zaidman authored
      
      - Revives POST for blackfin arch;
      - Removes redundant code:
           arch/blackfin/lib/post.c
           arch/powerpc/cpu/ppc4xx/commproc.c
           arch/powerpc/cpu/mpc512x/common.c
      - fixes up the post_word_{load|store} usage.
      
      Signed-off-by: default avatarMichael Zaidman <michael.zaidman@gmail.com>
      Acked-by: default avatarDetlev Zundel <dzu@denx.de>
      Tested-by: default avatarAnatolij Gustschin <agust@denx.de>
      
      List of the maintainers of the affected by patch boards:
      Cc: Stephan Linz <linz@li-pro.net>
      Cc: Denis Peter <d.peter@mpl.ch>
      Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
      Cc: Peter Tyser <ptyser@xes-inc.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Niklaus Giger <niklaus.giger@netstal.com>
      Cc: Larry Johnson <lrj@acm.org>
      Cc: Feng Kan <fkan@amcc.com>
      800eb096
  18. Aug 03, 2010
    • Wolfgang Denk's avatar
      Rename getenv_r() into getenv_f() · cdb74977
      Wolfgang Denk authored
      
      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: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarDetlev Zundel <dzu@denx.de>
      cdb74977
  19. May 05, 2010
  20. Apr 24, 2010
  21. Apr 21, 2010
  22. Apr 13, 2010
  23. Mar 21, 2010
  24. Dec 07, 2009
    • Stefan Roese's avatar
      POST: Remove duplicated post_hotkey_pressed() functions · 39ff7d5f
      Stefan Roese authored
      
      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: default avatarStefan Roese <sr@denx.de>
      39ff7d5f
Loading