1. 14 Oct, 2013 1 commit
  2. 16 Aug, 2013 1 commit
  3. 24 Jul, 2013 1 commit
  4. 25 Oct, 2012 1 commit
  5. 04 Sep, 2011 1 commit
    • 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. 03 Aug, 2011 1 commit