setup_sdcard.sh: make the partition format generic

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>