Added script to generate SD card images.

Works, but needs testing on real hardware.