1. 21 Apr, 2012 1 commit
    • Simon Glass's avatar
      Add 'patman' patch generation, checking and submission script · 0d24de9d
      Simon Glass authored
      
      
      What is this?
      
      =============
      
      This tool is a Python script which:
      - Creates patch directly from your branch
      - Cleans them up by removing unwanted tags
      - Inserts a cover letter with change lists
      - Runs the patches through checkpatch.pl and its own checks
      - Optionally emails them out to selected people
      
      It is intended to automate patch creation and make it a less
      error-prone process. It is useful for U-Boot and Linux work so far,
      since it uses the checkpatch.pl script.
      
      It is configured almost entirely by tags it finds in your commits.
      This means that you can work on a number of different branches at
      once, and keep the settings with each branch rather than having to
      git format-patch, git send-email, etc. with the correct parameters
      each time. So for example if you put:
      
      in one of your commits, the series will be sent there.
      
      See the README file for full details.
      END
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      0d24de9d
  2. 10 Apr, 2012 1 commit
    • Dirk Behme's avatar
      mkenvimage: Fix compiler warning · 1ebff63f
      Dirk Behme authored
      Fix the compiler warning
      
      mkenvimage.c: In function ‘main’:
      mkenvimage.c:218: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘unsigned int’
      mkenvimage.c:226: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘unsigned int’
      
      introduced with the commit
      
      mkenvimage: Use mmap() when reading from a regular file
      6ee39f80
      
      Signed-off-by: default avatarDirk Behme <dirk.behme@googlemail.com>
      CC: David Wagner <david.wagner@free-electrons.com>
      CC: Anatolij Gustschin <agust@denx.de>
      CC: Mike Frysinger <vapier@gentoo.org>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      Acked-by: default avatarDavid Wagner <deubeuliou@gmail.com>
      1ebff63f
  3. 27 Mar, 2012 8 commits
  4. 26 Mar, 2012 1 commit
  5. 17 Mar, 2012 1 commit
  6. 06 Mar, 2012 1 commit
  7. 12 Feb, 2012 3 commits
  8. 11 Feb, 2012 1 commit
  9. 16 Jan, 2012 1 commit
  10. 13 Jan, 2012 1 commit
  11. 05 Jan, 2012 5 commits
  12. 24 Dec, 2011 1 commit
  13. 22 Dec, 2011 1 commit
  14. 20 Dec, 2011 3 commits
  15. 17 Dec, 2011 1 commit
    • Kyle Moffett's avatar
      tools/setlocalversion: Update from the Linux Kernel · a7b39185
      Kyle Moffett authored
      Several bugfixes have occurred upstream since this script was imported
      into U-Boot.  In particular, the script currently in U-Boot does not
      describe commit f8bbb4da correctly,
      resulting in a version of "2011.09" instead of "2011.09-01460-gf8bbb4da
      
      ".
      
      With that commit checked out, the command "git name-rev --tags HEAD"
      gives this result:
        HEAD tags/v2011.12-rc1~30^2
      
      Then the "changes" regex does not match because of the trailing '^2':
        grep -E '^HEAD[[:space:]]+(.*~[0-9]*|undefined)$'
      
      The new version of tools/setlocalversion in the kernel correctly handles
      those situations by using different plumbing commands.
      
      The version from the kernel is not directly usable as it does not append
      the full GIT version that U-Boot expects unless the right config options
      are set (CONFIG_LOCALVERSION_AUTO=y).  Other than a few minor changes
      for Kconfig, the imported version is very similar to Linux v3.2-rc4.
      Signed-off-by: default avatarKyle Moffett <Kyle.D.Moffett@boeing.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      a7b39185
  16. 06 Dec, 2011 2 commits
  17. 05 Dec, 2011 1 commit
  18. 02 Dec, 2011 1 commit
    • Andreas Bießmann's avatar
      tools/os_support: add OS X Lion support · 6f261854
      Andreas Bießmann authored
      
      
      OS X Lion's c-library implements getline(), therefore prevent including the old
      helper implementation for __DARWIN_C_LEVEL < 200809L.
      
      Without this patch following error occours:
      
      ---8<---
      In file included from os_support.h:32,
                       from img2srec.c:55:
      getline.h:1: error: conflicting types for ‘getline’
      /usr/include/stdio.h:449: error: previous declaration of ‘getline’ was
      here
      --->8---
      Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
      6f261854
  19. 01 Dec, 2011 1 commit
    • Stephen Warren's avatar
      image: Implement IH_TYPE_KERNEL_NOLOAD · b9b50e89
      Stephen Warren authored
      
      
      The legacy uImage format includes an absolute load and entry-point
      address. When bootm operates on a kernel uImage in memory that isn't
      loaded at the address in the image's load address, U-Boot will copy
      the image to its address in the header.
      
      Some kernel images can actually be loaded and used at any arbitrary
      address. An example is an ARM Linux kernel zImage file. To represent
      this capability, IH_TYPE_KERNEL_NOLOAD is implemented, which operates
      just like IH_TYPE_KERNEL, except that the load address header is
      ignored, and U-Boot does not copy the image to its load address, but
      rather uses it in-place.
      
      This is useful when sharing a single (uImage-wrapped) zImage across
      multiple boards with different memory layouts; in this case, a specific
      load address need not be picked when creating the uImage, but instead
      is selected by the board-specific U-Boot environment used to load and
      boot that image.
      
      v2: Rename from IH_TYPE_KERNEL_ANYLOAD to IH_TYPE_KERNEL_NOLOAD.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      b9b50e89
  20. 27 Nov, 2011 1 commit
  21. 22 Nov, 2011 3 commits
  22. 17 Nov, 2011 1 commit