added arm/imgregen.sh