support device tree image and compute sha1sum