#!/bin/bash
#
if=/dev/zero of=/dev/sdb bs=512 count=1
echo -e "mklabel gpt" | parted /dev/sdb
echo -e "mkpart bootfs 16,8MB 100%" | parted /dev/sdb
echo -e "set 1 bls_boot on" | parted /dev/sdb
mkfs.ext4 /dev/sdb1  -L armbi_boot
#