1. 05 Jan, 2015 1 commit
  2. 24 Jul, 2013 1 commit
  3. 04 Jul, 2010 1 commit
    • Wolfgang Denk's avatar
      Make sure that argv[] argument pointers are not modified. · 54841ab5
      Wolfgang Denk authored
      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: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      54841ab5
  4. 12 Jun, 2009 1 commit
    • Wolfgang Denk's avatar
      General help message cleanup · a89c33db
      Wolfgang Denk authored
      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: default avatarWolfgang Denk <wd@denx.de>
      a89c33db
  5. 28 Jan, 2009 1 commit
    • Peter Tyser's avatar
      Command usage cleanup · 2fb2604d
      Peter Tyser authored
      Remove command name from all command "usage" fields and update
      common/command.c to display "name - usage" instead of
      just "usage". Also remove newlines from command usage fields.
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      2fb2604d
  6. 18 Oct, 2008 1 commit
  7. 08 Jul, 2007 1 commit
  8. 03 Jul, 2007 1 commit
  9. 12 Jun, 2007 1 commit
  10. 10 Jul, 2006 1 commit
    • Wolfgang Denk's avatar
      Major PCMCIA Cleanup to make code better readable and maintainable. · 9d407995
      Wolfgang Denk authored
      Notes:
      - Board-dependend code for RPXLITE and RPXCLASSIC-based boards
        placed to the drivers/rpx_pmcia.c file to avoid duplication.
        Same for TQM8xx-based boards (drivers/tqm8xx_pmcia.c).
      - drivers/i82365.c has been split into two parts located at
        board/atc/ti113x.c and board/cpc45/pd67290.c (ATC and CPC45 are
        the only boards using CONFIG_82365).
      - Changes were tested for clean build and *very* *few* boards.
      9d407995
  11. 15 May, 2006 1 commit
  12. 12 May, 2006 2 commits
  13. 13 Oct, 2005 1 commit
  14. 31 Dec, 2004 1 commit
    • wdenk's avatar
      * Code cleanup, mostly for GCC-3.3.x · e2ffd59b
      wdenk authored
      * Cleanup confusing use of CONFIG_ETH*ADDR - ust his only to
        pre-define a MAC address; use CONFIG_HAS_ETH* to enable support for
        additional ethernet addresses.
      
      * Cleanup drivers/i82365.c - avoid duplication of code
      
      * Fix bogus "cannot span across banks" flash error message
      
      * Add support for CompactFlash for the CPC45 Board.
      e2ffd59b
  15. 18 Dec, 2004 1 commit
  16. 18 Apr, 2004 2 commits
    • wdenk's avatar
      * Cleanup, minor fixes · 6e592385
      wdenk authored
      * Patch by Rune Torgersen, 16 Apr 2004:
        LBA48 fixes
      
      * Patches by Pantelis Antoniou, 16 Apr 2004:
        - Fix some compile problems;
          add "once" functionality for the netretry variable
      6e592385
    • wdenk's avatar
      Patches by Pantelis Antoniou, 16 Apr 2004: · c26e454d
      wdenk authored
      - add support for a new version of an Intracom board and fix
        various other things on others.
      - add verify support to the crc32 command (define
        CONFIG_CRC32_VERIFY to enable it)
      - fix FEC driver for MPC8xx systems:
        1. fix compilation problems for boards that use dynamic
           allocation of DPRAM
        2. shut down FEC after network transfers
      - HUSH parser fixes:
        1. A new test command was added. This is a simplified version of
           the one in the bourne shell.
        2. A new exit command was added which terminates the current
           executing script.
        3. Fixed handing of $? (exit code of last executed command)
      c26e454d
  17. 15 Apr, 2004 2 commits
    • wdenk's avatar
      * Patch by Stephen Williams, 01 Apr 2004: · db01a2ea
      wdenk authored
        Add support for Picture Elements JSE board
      
      * Patch by Christian Pell, 01 Apr 2004:
        Add CompactFlash support for PXA systems.
      db01a2ea
    • wdenk's avatar
      * Patches by Pantelis Antoniou, 30 Mar 2004: · 04a85b3b
      wdenk authored
        - add auto-complete support to the U-Boot CLI
        - add support for NETTA and NETPHONE boards; fix NETVIA board
      
      * Patch by Yuli Barcohen, 28 Mar 2004:
        - Add support for MPC8272 family including MPC8247/8248/8271/8272
        - Add support for MPC8272ADS evaluation board (another flavour of MPC8260ADS)
        - Change configuration method for MPC8260ADS family
      04a85b3b
  18. 25 Mar, 2004 1 commit
  19. 13 Mar, 2004 1 commit
    • wdenk's avatar
      * Patch by Rune Torgersen, 27 Feb 2004: · c40b2956
      wdenk authored
        - Added LBA48 support (CONFIG_LBA48 & CFG_64BIT_LBA)
        - Added support for 64bit printing in vsprintf (CFG_64BIT_VSPRINTF)
        - Added support for 64bit strtoul (CFG_64BIT_STRTOUL)
      
      * Patch by Masami Komiya, 27 Feb 2004:
        Fix rarpboot: add autoload by NFS
      
      * Patch by Dan Eisenhut, 26 Feb 2004:
        fix flash_write return value in saveenv
      
      * Patch by Stephan Linz, 11 Dec 2003
        expand config.mk to avoid trigraph warnings on NIOS
      
      * Rename "BMS2003" board into "HMI10"
      c40b2956
  20. 06 Feb, 2004 1 commit
  21. 04 Jan, 2004 1 commit
  22. 27 Dec, 2003 1 commit
    • wdenk's avatar
      * Make CPU clock on ICA-IP board controllable by a "cpuclk" · 7cb22f97
      wdenk authored
        environment variable which can set to "100", "133", or "150". The
        CPU clock will be configured accordingly upon next reboot. Other
        values are ignored. In case of an invalid or undefined "cpuclk"
        value, the compile-time default CPU clock speed will be used.
      
      * Enable Quad-UART on BMS2003 board (initialize the PCMCIA memory
        window that is used to access the UART registers by the Linux driver)
      
      * Patch by Reinhard Meyer, 20 Dec 2003:
        Fix clock calculation for the MPC5200 for higher clock frequencies
        (above 2**32 / 10 = 429.5 MHz).
      7cb22f97
  23. 07 Dec, 2003 1 commit
    • wdenk's avatar
      * Patch by Yuli Barcohen, 3 Dec 2003: · b028f715
      wdenk authored
        "revive" U-Boot support for old Motorola MPC860ADS board
      
      * Patch by Cam(ilo?), 03 Dec 2003:
        make examples build even with broken Montavista objcopy
      
      * Patch by Pavel Bartusek, 27 Nov 2003:
        fix conversion problem with "bootretry" evironment variable
      b028f715
  24. 19 Oct, 2003 1 commit
  25. 01 Jul, 2003 1 commit
  26. 27 Jun, 2003 1 commit
    • wdenk's avatar
      * Code cleanup: · 8bde7f77
      wdenk authored
        - 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)
      8bde7f77
  27. 20 May, 2003 1 commit
    • wdenk's avatar
      * Patch by David Updegraff, 22 Apr 2003: · 7f70e853
      wdenk authored
        update for CrayL1 board
      
      * Patch by Pantelis Antoniou, 21 Apr 2003:
        add boot support for ARTOS (a proprietary OS)
      
      * Patch by Steven Scholz, 11 Apr 2003:
        Add support for RTC DS1338
      
      * Patch by Rod Boyce, 24 Jan 2003:
        Fix counting of extended partitions in diskboot command
      7f70e853
  28. 18 May, 2003 1 commit
  29. 26 Mar, 2003 1 commit
    • wdenk's avatar
      * Patch by Rick Bronson, 16 Mar 2003: · dc7c9a1a
      wdenk authored
        Add support for Atmel AT91RM9200DK w/NAND
      
      * Patches by Robert Schwebel, 19 Mar 2003:
        - use arm-linux-gcc as default compiler for ARM
        - fix i2c fixup code
        - fix missing baudrate setting
        - added $loadaddr / CFG_LOAD_ADDR support to loadb
        - moved "ignoring trailing characters" _before_ u-boot wants to
          print out diagnostics messages; removes bogus characters at the
          end of transmission
      
      * Patch by John Zhan, 18 Mar 2003:
        Add support for SinoVee Microsystems SC8xx boards
      
      * Patch by Rolf Offermanns, 21 Mar 2003:
        ported the dnp1110 related changes from the current armboot cvs to
        current u-boot cvs. smc91111 does not work. problem marked in
        smc91111.c, grep for "FIXME".
      
      * Patch by Brian Auld, 25 Mar 2003:
        Add support for STM flash chips on ebony board
      
       * Add PCI support for MPC8250 Boards (PM825 module)
      
       * Patch by Stefan Roese, 25 Mar 2003:
      dc7c9a1a
  30. 28 Feb, 2003 1 commit
    • wdenk's avatar
      * Add support for 16 MB flash configuration of TRAB board · 6069ff26
      wdenk authored
      * Patch by Erwin Rol, 27 Feb 2003:
        Add support for RTEMS
      
      * Add image information to README
      
      * Fix dual PCMCIA slot support (when running with just one
        slot populated)
      
      * Add VFD type detection to trab board
      
      * extend drivers/cs8900.c driver to synchronize  ethaddr  environment
        variable with value in the EEPROM
      
      * Start adding MIPS support files
      6069ff26
  31. 11 Jan, 2003 1 commit
    • wdenk's avatar
      * Restrict baudrate settings on LWMON to higher speeds · d0fb80c3
      wdenk authored
        when watchdog is on
      
      * Update baudrate in bd_info when it gets changed
      
      * Add watchdog trigger points while waiting for serial port
        (so far only 8xx -- needed on LWMON with 100ms watchdog)
      
      * Improve command line tool to access the U-Boot's environment
        (figuration of the utility, using a config file)
      d0fb80c3
  32. 04 Dec, 2002 1 commit
  33. 03 Dec, 2002 1 commit
  34. 21 Nov, 2002 1 commit
  35. 05 Nov, 2002 1 commit
  36. 03 Nov, 2002 1 commit