This tool is already packaged in Debian.
It supports creating boot.img, descompressing and updating easily which can make development a lot easier.