Skip to content
Snippets Groups Projects
  1. Apr 04, 2009
  2. Apr 03, 2009
    • Wolfgang Denk's avatar
      Add "source" command; prepare removal of "autoscr" command · 74de7aef
      Wolfgang Denk authored
      
      According to the doc/feature-removal-schedule.txt, the "autoscr"
      command will be replaced by the "source" command in approximately 6
      months from now.
      
      This patch prepares this change and starts a 6 month transition
      period as follows:
      
      - The new "source" command has been added, which implements exactly
        the same functionlaity as the old "autoscr" command before
      - The old "autoscr" command name is kept as an alias for compatibility
      - Command sequences, script files atc. have been adapted to use the
        new "source" command
      - Related environment variables ("autoscript", "autoscript_uname")
        have *not* been adapted yet; these will be renamed resp. removed in
        a separate patch when the support for the "autoscr" command get's
        finally dropped.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      74de7aef
  3. Mar 20, 2009
    • Mike Frysinger's avatar
      boards: get mac address from env and move load_sernum_ethaddr() to board init · 9c150102
      Mike Frysinger authored
      
      The environment is the canonical storage location of the mac address, so
      we're killing off the global data location and moving everything to
      querying the env directly.
      
      Rather than have common ppc code call a board-specific function like
      load_sernum_ethaddr(), have each board call it in its own board-specific
      misc_init_r() function.
      
      The boards that get converted here are:
      	- kup4k/kup4x
      	- pcs440ep
      	- tqm8xx
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      CC: Stefan Roese <sr@denx.de>
      9c150102
    • Mike Frysinger's avatar
      boards: move board_get_enetaddr() into board-specific init · d8d21e69
      Mike Frysinger authored
      
      The environment is the canonical storage location of the mac address, so
      we're killing off the global data location and moving everything to
      querying the env directly.
      
      Rather than have the common ppc code have board-specific hooks, move the
      board_get_enetaddr() function into the board-specific init functions.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      d8d21e69
  4. Feb 23, 2009
  5. Jan 27, 2009
  6. Dec 07, 2008
    • Gary Jennejohn's avatar
      IOMUX: Add console multiplexing support. · 16a28ef2
      Gary Jennejohn authored
      
      Modifications to support console multiplexing.  This is controlled using
      CONFIG_SYS_CONSOLE_MUX in the board configuration file.
      
      This allows a user to specify multiple console devices in the environment
      with a command like this: setenv stdin serial,nc.  As a result, the user can
      enter text on both the serial and netconsole interfaces.
      
      All devices - stdin, stdout and stderr - can be set in this manner.
      
      1) common/iomux.c and include/iomux.h contain the environment setting
      implementation.
      2) doc/README.iomux contains a somewhat more detailed description.
      3) The implementation in (1) is called from common/cmd_nvedit.c to
      handle setenv and from common/console.c to handle initialization of
      input/output devices at boot time.
      4) common/console.c also contains the code needed to poll multiple console
      devices for input and send output to all devices registered for output.
      5) include/common.h includes iomux.h and common/Makefile generates iomux.o
      when CONFIG_SYS_CONSOLE_MUX is set.
      
      Signed-off-by: default avatarGary Jennejohn <garyj@denx.de>
      16a28ef2
  7. Nov 02, 2008
  8. Oct 21, 2008
  9. Oct 18, 2008
  10. Sep 08, 2008
  11. Sep 05, 2008
  12. Aug 30, 2008
  13. Aug 20, 2008
  14. Aug 12, 2008
    • William Juul's avatar
      Update MTD to that of Linux 2.6.22.1 · cfa460ad
      William Juul authored
      
      A lot changed in the Linux MTD code, since it was last ported from
      Linux to U-Boot. This patch takes U-Boot NAND support to the level
      of Linux 2.6.22.1 and will enable support for very large NAND devices
      (4KB pages) and ease the compatibility between U-Boot and Linux
      filesystems.
      
      This patch is tested on two custom boards with PPC and ARM
      processors running YAFFS in U-Boot and Linux using gcc-4.1.2
      cross compilers.
      
      MAKEALL ppc/arm has some issues:
       * DOC/OneNand/nand_spl is not building (I have not tried porting
         these parts, and since I do not have any HW and I am not familiar
         with this code/HW I think its best left to someone else.)
      
      Except for the issues mentioned above, I have ported all drivers
      necessary to run MAKEALL ppc/arm without errors and warnings. Many
      drivers were trivial to port, but some were not so trivial. The
      following drivers must be examined carefully and maybe rewritten to
      some degree:
       cpu/ppc4xx/ndfc.c
       cpu/arm926ejs/davinci/nand.c
       board/delta/nand.c
       board/zylonite/nand.c
      
      Signed-off-by: default avatarWilliam Juul <william.juul@tandberg.com>
      Signed-off-by: default avatarStig Olsen <stig.olsen@tandberg.com>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      cfa460ad
  15. Jul 09, 2008
    • Andrew Klossner's avatar
      Fix printf errors. · dc4b0b38
      Andrew Klossner authored
      
      The compiler will help find mismatches between printf formats and
      arguments if you let it.  This patch adds the necessary attributes to
      declarations in include/common.h, then begins to correct the resulting
      compiler warnings.  Some of these were bugs, e.g., "$d" instead of
      "%d" and incorrect arguments.  Others were just annoying, like
      int-long mismatches on a system where both are 32 bits.  It's worth
      fixing the annoying errors to catch the real ones.
      
      Signed-off-by: default avatarAndrew Klossner <andrew@cesa.opbu.xerox.com>
      dc4b0b38
  16. Jul 01, 2008
  17. Jun 28, 2008
  18. Jun 12, 2008
    • Becky Bruce's avatar
      Change initdram() return type to phys_size_t · 9973e3c6
      Becky Bruce authored
      
      This patch changes the return type of initdram() from long int to phys_size_t.
      This is required for a couple of reasons: long int limits the amount of dram
      to 2GB, and u-boot in general is moving over to phys_size_t to represent the
      size of physical memory.  phys_size_t is defined as an unsigned long on almost
      all current platforms.
      
      This patch *only* changes the return type of the initdram function (in
      include/common.h, as well as in each board's implementation of initdram).  It
      does not actually modify the code inside the function on any of the platforms;
      platforms which wish to support more than 2GB of DRAM will need to modify
      their initdram() function code.
      
      Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc
      MPC8641HPCN.
      
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      9973e3c6
  19. Jun 11, 2008
  20. Jun 03, 2008
  21. May 11, 2008
  22. Apr 28, 2008
  23. Apr 24, 2008
  24. Apr 22, 2008
    • Yuri Tikhonov's avatar
      POST: move CONFIG_POST to Makefiles · 2d2b994a
      Yuri Tikhonov authored
      
      Introduce the new logical option CONFIG_HAS_POST which is set when the
      platform has CONFIG_POST set. Use CONFIG_HAS_POST in the post/ Makefiles
      to determine should the POST libs be compiled for the selected target
      platform, or not.
      
      To avoid breaking u-boot linking process, the empty post/libpost.a file is
      created for platforms which do not have POSTs.
      
      Signed-off-by: default avatarYuri Tikhonov <yur@emcraft.com>
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      2d2b994a
  25. Apr 17, 2008
  26. Mar 26, 2008
  27. Mar 15, 2008
  28. Mar 12, 2008
    • Marian Balakowicz's avatar
      [new uImage] Add new uImage format support to autoscript routine · 424c4abd
      Marian Balakowicz authored
      
      autoscript() routine is updated to accept second argument, which
      is only used for FIT images and provides a FIT subimage unit name.
      
      autoscript() routine callers must now pass two arguments. For
      non-interactive use (like in cmd_load.c, cmd_net.c), new environment
      variable 'autoscript_uname' is introduced and used as a FIT
      subimage unit name source.
      
      autoscript command accepts extended syntax of the addr argument:
      addr:<subimg_uname>
      
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
      424c4abd
  29. Feb 21, 2008
  30. Feb 14, 2008
  31. Feb 13, 2008
  32. Feb 05, 2008
  33. Feb 04, 2008
Loading