sama5d3 wip's: shift some of install-sd.sh into prepare-image, mkimage.