On Thu, Dec 05, 2013 at 03:12:59PM -0700, Stephen Warren wrote: [...] > diff --git a/tegra-uboot-flasher b/tegra-uboot-flasher [...] > @@ -124,6 +128,16 @@ def func_flash(): > flash_img_size = os.path.getsize(flash_img) > if args.debug: > print 'flash_img_size %d 0x%x' % (flash_img_size, flash_img_size) > + flash_img_crc32 = subprocess.check_output(['crc32', flash_img]).strip() Perhaps do this with binascii.crc32(), which is part of Python's standard library. That way we don't pull in crc32 as an additional dependency. Thierry
Attachment:
pgp_pchSlzr_p.pgp
Description: PGP signature