1. 27 Jan, 2016 1 commit
  2. 25 Jan, 2016 2 commits
  3. 30 Jan, 2015 1 commit
  4. 21 Jan, 2015 1 commit
  5. 05 Jun, 2014 1 commit
    • Heiko Schocher's avatar
      bootm: make use of legacy image format configurable · 21d29f7f
      Heiko Schocher authored
      make the use of legacy image format configurable through
      the config define CONFIG_IMAGE_FORMAT_LEGACY.
      
      When relying on signed FIT images with required signature check
      the legacy image format should be disabled. Therefore introduce
      this new define and enable legacy image format if CONFIG_FIT_SIGNATURE
      is not set. If CONFIG_FIT_SIGNATURE is set disable per default
      the legacy image format.
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Lars Steubesand <lars.steubesand@philips.com>
      Cc: Mike Pearce <mike@kaew.be>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Michal Simek <monstr@monstr.eu>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      21d29f7f
  6. 20 May, 2014 4 commits
  7. 06 Nov, 2013 1 commit
  8. 24 Jul, 2013 1 commit
  9. 14 May, 2013 1 commit
  10. 06 May, 2013 3 commits
  11. 06 Mar, 2012 1 commit
  12. 05 Jan, 2012 1 commit
  13. 01 Aug, 2011 1 commit
    • Wolfgang Denk's avatar
      fpga: constify to fix build warning · e6a857da
      Wolfgang Denk authored
      Fix compiler warning:
      
      cmd_fpga.c:318: warning: passing argument 3 of 'fit_image_get_data'
      from incompatible pointer type
      
      Adding the needed 'const' here entails a whole bunch of additonal
      changes all over the FPGA code.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Andre Schwarz <andre.schwarz@matrix-vision.de>
      Cc: Murray Jensen <Murray.Jensen@csiro.au>
      Acked-by: Andre Schwarz<andre.schwarz@matrix-vision.de>
      e6a857da
  14. 19 Oct, 2010 1 commit
  15. 24 Jul, 2010 1 commit
  16. 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
  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:
      
      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
  18. 28 Jan, 2009 2 commits
  19. 14 Jul, 2008 1 commit
  20. 12 Mar, 2008 1 commit
  21. 29 Feb, 2008 1 commit
  22. 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
  23. 07 Feb, 2008 1 commit
  24. 09 Jan, 2008 2 commits
  25. 21 Nov, 2007 1 commit
  26. 25 Sep, 2007 1 commit
  27. 08 Jul, 2007 1 commit
  28. 03 Jul, 2007 1 commit
  29. 07 Oct, 2006 1 commit
  30. 15 Aug, 2006 1 commit
  31. 13 Oct, 2005 1 commit
  32. 10 Aug, 2005 1 commit