Skip to content
Snippets Groups Projects
  1. Apr 12, 2011
    • Loïc Minier's avatar
      Drop config.h include in tools/imximage.h · 13d72f02
      Loïc Minier authored
      
      "make tools-all" should allow building tools such as mkimage and the new
      imximage without any config, but imximage.c currently fails to build
      with:
      imximage.h:27:20: error: config.h: No such file or directory
      
      config.h is not needed in imximage.h nor in imximage.c, and imximage.h
      is only included from imximage.c, so drop this include to fix the build.
      
      Signed-off-by: default avatarLoc Minier <loic.minier@linaro.org>
      13d72f02
  2. Feb 01, 2011
  3. Jan 18, 2011
  4. Nov 27, 2010
  5. Nov 14, 2010
  6. Oct 27, 2010
    • Wolfgang Denk's avatar
      make-asm-offsets: fix sed script · e4691f5e
      Wolfgang Denk authored
      
      When copying the "sed" script to generate the asm-offsets.h file from
      the Linux Kbuild script into the make-asm-offsets file I missed the
      fact that the former runs in a "make" context and thus uses double
      "$$" to escape a single "$", while the latter is a shell script, where
      this must not be done.  Unfortunately the problem did not show up
      during the initial tests on Power Architecture systems, but on ARM the
      generated asm-offsets.h was not correct.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Tested-by: default avatarHeiko Schocher <hs@denx.de>
      Tested-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
      e4691f5e
  7. Oct 26, 2010
    • Wolfgang Denk's avatar
      include/asm-offsets.h: automatically generate assembler constants · 16a354f9
      Wolfgang Denk authored
      
      A recurrent issue is that certain C level constructs like sizeof() or
      offsetof() cannot be used in assembler files, which is inconvenient
      when such constructs are used in the definition of macro names etc.
      
      To avoid duplication of such definitions (and thus another cause of
      problems), we adapt the Linux way to automatically generate the
      respective definitions from the respective C header files.
      
      In Linux, this is implemented in include/linux/kbuild.h, Kbuild, and
      arch/*/kernel/asm-offsets.c; we adapt the code from the Linux v2.6.36
      kernel tree.
      
      We also copy the concept of the include/generated/ directory which can
      be used to hold other automatically generated files as well.
      
      We start with an architecture-independent lib/asm-offsets.c which
      generates include/generated/generic-asm-offsets.h (included by
      include/asm-offsets.h, which is what will be referred to in the actual
      source code).  Later this may be extended by architecture-specific
      arch/*/lib/asm-offsets.c files that will generate a
      include/generated/asm-offsets.h.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarKumar Gala <galak@kernel.crashing.org>
      16a354f9
  8. Oct 18, 2010
  9. Oct 12, 2010
  10. Sep 21, 2010
  11. Sep 19, 2010
  12. Sep 18, 2010
  13. Aug 10, 2010
  14. Aug 08, 2010
  15. Jul 25, 2010
  16. Jul 24, 2010
  17. Jun 29, 2010
  18. Apr 30, 2010
  19. Apr 24, 2010
  20. Apr 13, 2010
  21. Apr 09, 2010
    • Peter Tyser's avatar
      mkimage: Fix strict-aliasing compiler warning · a2513e27
      Peter Tyser authored
      
      Version 4.2.4 of gcc produces the following warnings without this change:
        mkimage.c: In function ‘main’:
        mkimage.c:204: warning: dereferencing type-punned pointer will break strict-aliasing rules
        mkimage.c:222: warning: dereferencing type-punned pointer will break strict-aliasing rules
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      a2513e27
  22. Mar 27, 2010
  23. Mar 11, 2010
    • Mike Frysinger's avatar
      mkimage: dont force entry point with xip · 1b691bb0
      Mike Frysinger authored
      
      Some people boot images with the entry point in the middle of the blob
      (like Linux with the head code in discardable .init.text), and there is no
      no real requirement that the entry point be right after the mkimage header
      when doing XIP, so let people specify whatever they want.  If they do need
      an entry right after the header, then they still can do that with normal
      -e behavior.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      1b691bb0
  24. Feb 23, 2010
  25. Feb 12, 2010
  26. Jan 31, 2010
  27. Jan 27, 2010
  28. Jan 25, 2010
  29. Jan 21, 2010
Loading