#!/bin/sh # uncomment line below and set to the correct disk #disk=/dev/sdX if [ -z "${disk}" ] ; then echo "You must uncomment/set the 'disk' variable" exit -1 fi stage1File=/boot/u-boot-spl.bin ubootFile=/boot/u-boot.wrapped perl <