1. 28 Apr, 2013 1 commit
    • Marek Vasut's avatar
      tools: arm: imx: Implement BOOT_OFFSET command for imximage · 6cb83829
      Marek Vasut authored
      Implement BOOT_OFFSET command for imximage. This command is parallel
      to current BOOT_FROM command, but allows more flexibility in configuring
      arbitrary image header offset. Also add an imximage.cfg with default
      offset values into arm/arch/imx-common/ so the board-specific imximage.cfg
      can include this file to avoid magic constants.
      The syntax of BOOT_OFFSET command is "BOOT_OFFSET <u32 offset>".
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      Cc: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Acked-by: default avatarStefano Babic <sbabic@denx.de>
      Acked-by: default avatarStefan Roese <sr@denx.de>
  2. 20 Oct, 2012 1 commit
  3. 27 Mar, 2012 1 commit
    • Dirk Behme's avatar
      imximage: Remove overwriting of flash_offset · 49d3e272
      Dirk Behme authored
      The flash header supports different flash offsets for different
      boot devices. E.g. parallel NOR or OneNAND use a different offset
      than FLASH_OFFSET_STANDARD (== 0x400).
      The flash offset is correctly read from the configuration in
      parse_cfg_cmd(). But is then overwritten wrongly in set_imx_hdr_v1/2().
      Fix this by removing this overwriting. Use the flash offset
      correctly read from the configuration, instead.
      If there is no flash_offset read from the configuration file, i.e.
      the BOOT_FROM tag is missing, exit with an error message.
      Signed-off-by: default avatarDirk Behme <dirk.behme@de.bosch.com>
      CC: Jason Liu <liu.h.jason@gmail.com>
      CC: Stefano Babic <sbabic@denx.de>
      Tested-by: default avatarStefano Babic <sbabic@denx.de>
  4. 12 Feb, 2012 1 commit
  5. 12 Apr, 2011 1 commit
    • 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
      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>
  6. 01 Feb, 2011 1 commit
  7. 23 Feb, 2010 1 commit
  8. 25 Jan, 2010 1 commit