1. 25 Jan, 2016 2 commits
  2. 15 Jan, 2016 1 commit
  3. 21 Oct, 2015 7 commits
  4. 18 Apr, 2015 1 commit
  5. 09 Mar, 2015 1 commit
  6. 23 Nov, 2014 1 commit
  7. 25 Oct, 2014 2 commits
  8. 13 Dec, 2013 1 commit
  9. 12 Jul, 2013 1 commit
  10. 20 Feb, 2013 1 commit
  11. 15 Oct, 2012 2 commits
  12. 18 Mar, 2012 1 commit
    • Reinhard Arlt's avatar
      bootvx: Clear and disable data cache, and call vxWorks with parameter. · 6eee21da
      Reinhard Arlt authored
      This patch clear and disable the data cache for vxWorks.
      The entry point sysInit(int) intended by Windriver to be called from
      the vxWorks bootrom, a very small vxWorks system.
      The routine is called by the go() handler in the bootrom, that clears
      the cache from start of image to end of usable memory.
      The PowerPC implementations only invalidates and disable the cache,
      the ARM implementations also flush it.
      U-Boot will be on the safe side, if it disables the data cache before
      calling vxWorks sysInit(int).
      Signed-off-by: default avatarReinhard Arlt <reinhard.arlt@esd.eu>
  13. 26 Oct, 2011 1 commit
  14. 06 Oct, 2010 1 commit
    • Mike Frysinger's avatar
      cmd_elf: add an option for loading ELFs according to PHDRs · f44a928e
      Mike Frysinger authored
      The current ELF loading function does a lot of work above and beyond a
      simple "loading".  It ignores the real load addresses and loads things
      into their virtual (runtime) address.  This is undesirable when we just
      want it to load an ELF and let the ELF do the actual C runtime init.
      So add a command line option to let people choose to load via either the
      program or section headers.  I'd prefer to have program header loading
      be the default, but this would break historical behavior, so I'll leave
      section header loading as the norm.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
  15. 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':
      				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
      	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>
  16. 26 Jul, 2009 1 commit
  17. 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:
      	=> help dtt
      	dtt - Digital Thermometer and Thermostat
      	dtt         - Read temperature from digital thermometer and thermostat.
      	=> help dtt
      	dtt - Read temperature from Digital Thermometer and Thermostat
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
  18. 27 Mar, 2009 1 commit
  19. 20 Mar, 2009 1 commit
  20. 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>
  21. 06 Dec, 2008 1 commit
  22. 02 Nov, 2008 1 commit
  23. 18 Oct, 2008 1 commit
  24. 18 Apr, 2008 1 commit
    • Mike Frysinger's avatar
      allow ports to override bootelf behavior · 017e9b79
      Mike Frysinger authored
      Change the bootelf setup function into a dedicated weak function called
      do_bootelf_exec.  This way ports can control the behavior however they
      like before/after calling the ELF entry point.
  25. 13 Apr, 2008 1 commit
    • Mike Frysinger's avatar
      disable caches before booting an app for Blackfin apps · 1f1d88dd
      Mike Frysinger authored
      It isn't generally save to execute applications outside of U-Boot with caches
      enabled due to the way the Blackfin processor handles caches (requires
      software assistance).  This patch disables caches before booting an ELF or
      just booting raw code.  The previous discussion on the patch was that we
      wanted to use weaks instead, but that proved to not be feasible when multiple
      symbols are involved, which puts us back at the ifdef solution.  I've
      minimized the ugliness by moving the setup step outside of the main function.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
  26. 21 Nov, 2007 1 commit
  27. 10 Jul, 2007 1 commit
  28. 08 Jul, 2007 1 commit
  29. 03 Jul, 2007 1 commit
  30. 29 Nov, 2006 1 commit
  31. 31 Mar, 2006 1 commit