Skip to content
Snippets Groups Projects
  1. Aug 03, 2011
  2. Jul 31, 2011
  3. Jul 28, 2011
  4. Jul 27, 2011
  5. Jul 26, 2011
  6. Jun 22, 2011
    • Mike Frysinger's avatar
      tools: make it possible to build tools unconfigured · 2ad6e27d
      Mike Frysinger authored
      On Sunday, June 19, 2011 13:55:13 Ilya Yanok wrote:
      > On 18.06.2011 23:03, Mike Frysinger wrote:
      > >>  - tools/Makefile put common/env_embedded.o and envcrc.o to object list
      > >>
      > >> conditionally. This fixes errors during dependency generation.
      > >
      > > pretty sure this breaks board builds.  if the only thing this fixes is a
      >
      > I'm sorry but I can't see how this can break the builds. Could you
      > please be more specific? I've tried to build some boards, it actually
      > works...
      
      i might be thinking of a different env_embedded situation.  a different
      problem with your patch to tools/Makefile: you copied the same logic multiple
      times which means more bitrot.
      
      why dont you do something like:
      
      > > harmless warning when generating dependency files, then i say ignore it.
      > > after all, this is how it has always worked in the past and no one really
      > > cared.
      >
      > Yep, they are harmless but they are not warnings but rather scary errors
      > actually. ;) I think it's better to fix them.
      
      i guess my threshold for being scared is a bit higher :p
      -mike
      2ad6e27d
    • Wolfgang Denk's avatar
      ARM: drop unsupported 'trab' board · 566e5cf4
      Wolfgang Denk authored
      
      The 'trab' board configuration is broken, and there is nobody who is
      interested and willing to fix it.  Drop it.
      
      This includes support for VFD displays which have always been used by
      this board only.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      566e5cf4
  7. May 13, 2011
    • Wolfgang Denk's avatar
      Revert "Fix building tools alone with host compiler" · 91081e01
      Wolfgang Denk authored
      This reverts commit bbc6353c.
      It breaks building on many systems:
      ...
      .../common/env_embedded.c:28:20: fatal error: config.h: No such file or directory
      compilation terminated.
      .../common/image.c:27:20: fatal error: common.h: No such file or directory
      compilation terminated.
      .../lib/crc32.c:12:20: fatal error: common.h: No such file or directory
      compilation terminated.
      .../lib/md5.c:28:22: fatal error: compiler.h: No such file or directory
      compilation terminated.
      .../lib/sha1.c:33:20: fatal error: common.h: No such file or directory
      compilation terminated.
      91081e01
  8. May 12, 2011
  9. Apr 29, 2011
  10. Apr 20, 2011
    • Jon Povey's avatar
      tools/env: fix redundant env flag comparison · 735eb0f0
      Jon Povey authored
      
      This fixes two bugs with comparison of redundant environment flags on
      read.
      
      flag0 and flag1 in fw_env_open() were declared signed instead of
      unsigned char breaking BOOLEAN mode "== 0xFF" tests and in INCREMENTAL
      mode the wrong environment would be chosen where the flag values are
      127 and 128 (either way round). With both flags over 128, both signs
      flipped and the logic worked by happy accident.
      
      Also there was a logic bug in the INCREMENTAL test (after signedness was
      fixed) in the case flag0=0, flag1=255, env 1 would be incorrectly chosen.
      
      Fix both of these.
      
      Signed-off-by: default avatarJon Povey <jon.povey@racelogic.co.uk>
      735eb0f0
  11. Apr 12, 2011
  12. Feb 01, 2011
  13. Jan 18, 2011
  14. Nov 27, 2010
  15. Nov 14, 2010
  16. 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
  17. 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
  18. Oct 18, 2010
  19. Oct 12, 2010
  20. Sep 21, 2010
  21. Sep 19, 2010
  22. Sep 18, 2010
  23. Aug 10, 2010
  24. Aug 08, 2010
  25. Jul 25, 2010
  26. Jul 24, 2010
  27. Jun 29, 2010
  28. Apr 30, 2010
  29. Apr 24, 2010
Loading