Skip to content
Snippets Groups Projects
  1. Oct 23, 2011
    • Stefano Babic's avatar
      mkimage: adding support for Davinci AIS image · 4962e38e
      Stefano Babic authored
      
      Some Davinci processors supports the Application
      Image Script (AIS) boot process. The patch adds the generation
      of the AIS image inside the mkimage tool to make possible
      to generate a bootable U-boot without external tools
      (TI Davinci AIS Generator).
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      CC: Wolfgang Denk <wd@denx.de>
      4962e38e
  2. Oct 21, 2011
  3. Oct 06, 2011
    • Loïc Minier's avatar
      ublimage: NAND block size isn't set at build-time · 9f876580
      Loïc Minier authored
      
      mkimage's ublimage support can't depend of build-time board configs;
      instead, this should be set in ublimage.cfg.  Since currently no configs
      in u-boot override the NAND block size, hardcode it as such in
      ublimage.h to fix a build failure with "make tools":
      gcc [...] -o ublimage.o ublimage.c -c
      In file included from ublimage.c:37:0:
      ublimage.h:31:20: fatal error: config.h: No such file or directory
      
      Cc: Heiko Schocher <hs@denx.de>
      Cc: patches@linaro.org
      Signed-off-by: default avatarLoïc Minier <loic.minier@linaro.org>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      9f876580
  4. Oct 05, 2011
  5. Sep 04, 2011
    • Dirk Behme's avatar
      mkimage: Fix 'Unknown OMAP image type - 5' · 8fcf5959
      Dirk Behme authored
      
      Using mkimage with e.g.
      
      tools/mkimage -A arm -T firmware -O u-boot -d u-boot.bin foo.img
      
      gives a warning
      
      "Unknown OMAP image type - 5"
      
      while it seems that the image itself is created successfully.
      
      This does come from the patch "mkimage: Add OMAP boot image support".
      
      The method check_image_type in image_type_params is supposed to just
      return success or failure.  However, for omap it also calls fprintf:
      
      static int omapimage_check_image_types(uint8_t type)
      {
      	if (type == IH_TYPE_OMAPIMAGE)
      		return EXIT_SUCCESS;
      	else {
      		fprintf(stderr, "Unknown OMAP image type - %x", type);
      		return EXIT_FAILURE;
      	}
      }
      
      All the other image checkers and no others have this, so the fix is to
      simply remove the fprintf.
      
      Signed-off-by: default avatarDirk Behme <dirk.behme@googlemail.com>
      CC: John Rigby <john.rigby@linaro.org>
      CC: Aneesh V <aneesh@ti.com>
      CC: Sandeep Paulraj <s-paulraj@ti.com>
      8fcf5959
  6. Aug 03, 2011
  7. Jul 31, 2011
  8. Jul 28, 2011
  9. Jul 27, 2011
  10. Jul 26, 2011
  11. 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
  12. 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
  13. May 12, 2011
  14. Apr 29, 2011
  15. 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
  16. Apr 12, 2011
  17. Feb 01, 2011
  18. Jan 18, 2011
  19. Nov 27, 2010
  20. Nov 14, 2010
  21. 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
  22. 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
  23. Oct 18, 2010
  24. Oct 12, 2010
  25. Sep 21, 2010
  26. Sep 19, 2010
Loading