Skip to content
Snippets Groups Projects
  1. Jan 25, 2016
  2. Jan 21, 2016
  3. Jun 11, 2015
  4. Oct 14, 2013
  5. Jul 24, 2013
  6. Jul 08, 2013
  7. Jul 01, 2013
  8. Nov 06, 2012
  9. May 25, 2012
  10. Mar 06, 2012
  11. Nov 15, 2011
  12. Feb 09, 2011
  13. Oct 29, 2010
  14. Sep 19, 2010
    • Heiko Schocher's avatar
      ARM: add relocation support · f1d2b313
      Heiko Schocher authored
      
      !! This breaks support for all arm boards !!
      
      To compile in old style, you must define
      CONFIG_SYS_ARM_WITHOUT_RELOC or you can compile
      with "CONFIG_SYS_ARM_WITHOUT_RELOC=1 ./MAKEALL board"
      
      !! This define will be removed soon, so convert your
      board to use relocation support
      
      Portions of this work were supported by funding from
      the CE Linux Forum.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      
      Fix boot from NAND for non-ARM systems
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      f1d2b313
  15. Jul 24, 2010
  16. Jul 04, 2010
    • 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
  17. Apr 09, 2010
  18. Dec 21, 2009
  19. Jul 25, 2009
    • Alessandro Rubini's avatar
      video: move extern declarations from C to headers · 6111722a
      Alessandro Rubini authored
      
      This moves some extern declaration from lcd.c to lcd.h, removing
      unneeded ifdef around a pair of them.  Additionally, since
      gunzip_bmp() was declared static in cmd_bmp.c but extern in lcd.c, I
      removed the static.  The extra "#include <lcd.h>" in cmd_bmp.c is
      added to ensure the header is consistent with the source.
      
      This has been compile-tested on both ARM (at91 boards) and PowerPC
      (HH405_config, TQM823L_LCD_config, mcc200_config), to test all use
      combinations.
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.it>
      [agust@denx.de: removed gunzip_bmp() fixes as commit c01171ea did it]
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      6111722a
  20. Jul 23, 2009
  21. Jun 12, 2009
    • 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
  22. Jan 28, 2009
  23. Oct 18, 2008
  24. Jan 11, 2008
  25. Jan 09, 2008
  26. Nov 21, 2007
  27. Jul 08, 2007
  28. Jul 03, 2007
  29. Oct 08, 2005
  30. Oct 09, 2004
  31. Aug 01, 2004
    • Wolfgang Denk's avatar
      * Code cleanup · 281e00a3
      Wolfgang Denk authored
      * Patch by Sascha Hauer, 28 Jun:
        - add generic support for Motorola i.MX architecture
        - add support for mx1ads, mx1fs2 and scb9328 boards
      
      * Patches by Marc Leeman, 23 Jul 2004:
        - Add define for the PCI/Memory Buffer Configuration Register
        - corrected comments in cpu/mpc824x/cpu_init.c
      
      * Add support for multiple serial interfaces
        (for example to allow modem dial-in / dial-out)
      281e00a3
  32. Mar 14, 2004
    • Wolfgang Denk's avatar
      * Patch by Pierre Aubert, 11 Mar 2004: · 4b248f3f
      Wolfgang Denk authored
        - add bitmap command and splash screen support in cfb console
        - add [optional] origin in the bitmap display command
      
      * Patch by Travis Sawyer, 11 Mar 2004:
        Fix ocotea board early init interrupt setup.
      
      * Patch by Thomas Viehweger, 11 Mar 2004:
        Remove redundand code; add  PCI-specific bits to include/mpc8260.h
      4b248f3f
  33. Jul 01, 2003
  34. Jun 30, 2003
    • Wolfgang Denk's avatar
      * Patch by Seb James, 30 Jun 2003: · b37c7e5e
      Wolfgang Denk authored
        Improve documentation of I2C configuration in README
      
      * Fix problems with previous log buffer "fixes"
      
      * Fix minor help text issues
      
      * "log append" did not append a newline
      b37c7e5e
  35. Jun 29, 2003
  36. Apr 20, 2003
Loading