1. 12 Jun, 2009 1 commit
    • Stefan Roese's avatar
      lib_arch/board.c: Move malloc initialization before flash_init() · c790b04d
      Stefan Roese authored
      This patch moves the malloc initialization before calling flash_init().
      Upcoming changes to the NOR FLASH common CFI driver with optional
      MTD infrastructure and MTD concatenation support will call malloc().
      And nothing really speaks against enabling malloc just a little earlier
      in the boot stage. Some architectures already enable malloc before
      calling flash_init() so they don't need any changes here.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Scott McNutt <smcnutt@psyent.com>
      Cc: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Cc: John Rigby <jcrigby@gmail.com>
      c790b04d
  2. 20 Mar, 2009 1 commit
    • Mike Frysinger's avatar
      lib_*/board.c: do not initialize bi_enet*addr in global data · 19b5b533
      Mike Frysinger authored
      Since everyone is using the environment for mac address storage, there is
      no point in seeding the global data.
      
      The arches that are converted here:
      	i386
      	m68k
      	microblaze
      	mips
      	nios
      	nios2
      	sh
      	sparc
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      CC: Daniel Hellstrom <daniel@gaisler.com>
      CC: Michal Simek <monstr@seznam.cz>
      CC: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
      CC: Scott McNutt <smcnutt@psyent.com>
      CC: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      19b5b533
  3. 28 Oct, 2008 1 commit
    • Kumar Gala's avatar
      bootm: Add subcommands · 49c3a861
      Kumar Gala authored
      Add the ability to break the steps of the bootm command into several
      subcommands: start, loados, ramdisk, fdt, bdt, cmdline, prep, go.
      
      This allows us to do things like manipulate device trees before
      they are passed to a booting kernel or setup memory for a secondary
      core in multicore situations.
      
      Not all OS types support all subcommands (currently only start, loados,
      ramdisk, fdt, and go are supported).
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      49c3a861
  4. 18 Oct, 2008 1 commit
  5. 10 Sep, 2008 1 commit
  6. 26 Aug, 2008 2 commits
  7. 11 Aug, 2008 1 commit
  8. 20 May, 2008 1 commit
    • Wolfgang Denk's avatar
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk authored
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      53677ef1
  9. 18 Apr, 2008 1 commit
    • Marian Balakowicz's avatar
      Restore the ability to continue booting after legacy image overwrite · cb1c4896
      Marian Balakowicz authored
      Before new uImage code was merged, bootm code allowed for the kernel image to
      get overwritten during decompresion. new uImage introduced a check for image
      overwrites and refused to boot the image that got overwritten. This patch
      restores the old behavior. It also adds a warning when the image overwriten is
      a multi-image file, because in such case accessing componentes other than the
      first one will fail.
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
      cb1c4896
  10. 12 Mar, 2008 1 commit
  11. 29 Feb, 2008 1 commit
  12. 27 Feb, 2008 2 commits
  13. 25 Feb, 2008 1 commit
    • Marian Balakowicz's avatar
      [new uImage] Add dual format uImage support framework · d5934ad7
      Marian Balakowicz authored
      This patch adds framework for dual format images. Format detection is added
      and the bootm controll flow is updated to include cases for new FIT format
      uImages.
      
      When the legacy (image_header based) format is detected appropriate
      legacy specific handling is invoked. For the new (FIT based) format uImages
      dual boot framework has a minial support, that will only print out a
      corresponding debug messages. Implementation of the FIT specific handling will
      be added in following patches.
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
      d5934ad7
  14. 07 Feb, 2008 3 commits
    • Marian Balakowicz's avatar
      [new uImage] Rename architecture specific bootm code files · 4a995ede
      Marian Balakowicz authored
      Implementation of the do_bootm_linux() and other bootm helper routines is
      architecture specific code. As such it resides in lib_<arch> directories
      in files named <arch>_linux.c
      
      This patch renames those files to a more clear and accurate
      lib_<arch>/bootm.c form.
      
      List of the renamed files:
         lib_arm/armlinux.c -> lib_arm/bootm.c
         lib_avr32/avr32_linux.c -> lib_avr32/bootm.c
         lib_blackfin/bf533_linux.c -> lib_blackfin/bootm.c
         lib_i386/i386_linux.c -> lib_i386/bootm.c
         lib_m68k/m68k_linux.c -> lib_m68k/bootm.c
         lib_microblaze/microblaze_linux.c -> lib_microblaze/bootm.c
         lib_mips/mips_linux.c -> lib_mips/bootm.c
         lib_nios/nios_linux.c -> lib_nios/bootm.c
         lib_nios2/nios_linux.c -> lib_nios2/bootm.c
         lib_ppc/ppc_linux.c -> lib_ppc/bootm.c
         lib_sh/sh_linux.c -> lib_sh/bootm.c
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
      4a995ede
    • Marian Balakowicz's avatar
      [new uImage] Cleanup image header pointer use in bootm code · f13e7b2e
      Marian Balakowicz authored
      - use single image header pointer instead of a set of auxilliary variables.
      - add multi component image helper routines: get component size/data address
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
      f13e7b2e
    • Marian Balakowicz's avatar
      [new uImage] Define a API for image handling operations · b97a2a0a
      Marian Balakowicz authored
      - Add inline helper macros for basic header processing
      - Move common non inline code common/image.c
      - Replace direct header access with the API routines
      - Rename IH_CPU_* to IH_ARCH_*
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
      b97a2a0a
  15. 08 Oct, 2006 1 commit
  16. 01 Sep, 2006 1 commit
    • Marian Balakowicz's avatar
      Add support for a saving build objects in a separate directory. · f9328639
      Marian Balakowicz authored
      Modifications are based on the linux kernel approach and
      support two use cases:
      
        1) Add O= to the make command line
        'make O=/tmp/build all'
      
        2) Set environement variable BUILD_DIR to point to the desired location
        'export BUILD_DIR=/tmp/build'
        'make'
      
      The second approach can also be used with a MAKEALL script
      'export BUILD_DIR=/tmp/build'
      './MAKEALL'
      
      Command line 'O=' setting overrides BUILD_DIR environent variable.
      
      When none of the above methods is used the local build is performed and
      the object files are placed in the source directory.
      f9328639
  17. 08 Jun, 2006 1 commit
    • Scott McNutt's avatar
      Nios II - Add EPCS Controller bootrom work-around · 1f6ce8f5
      Scott McNutt authored
        -When booting from an epcs controller, the epcs bootrom may leave the
        slave select in an asserted state causing soft reset hang. This
        patch ensures slave select is negated at reset.
        Patch by Scott McNutt, 08 Jun 2006
      1f6ce8f5
  18. 20 Apr, 2006 1 commit
  19. 31 Mar, 2006 1 commit
  20. 30 Mar, 2005 1 commit
    • wdenk's avatar
      * Patch by Scott McNutt, 21 Oct 2004: · 0c1c117c
      wdenk authored
        Add support for Nios-II EPCS Controller core.
      
      * Patch by Scott McNutt, 20 Oct 2004:
        Nios-II cleanups:
        - Add sysid command (Nios-II only).
        - Locate default exception trampoline at proper offset.
        - Implement I/O routines (readb, writeb, etc)
        - Implement do_bootm_linux
      0c1c117c
  21. 10 Oct, 2004 1 commit
    • wdenk's avatar
      Patches by Scott McNutt, 24 Aug 2004: · 5c952cf0
      wdenk authored
      - Add support for Altera Nios-II processors.
      - Add support for Psyent PCI-5441 board.
      - Add support for Psyent PK1C20 board.
      5c952cf0