#!/bin/rc -e
# mkboot - prepare disk for booting(8)
rfork en
fn usage {
echo >[1=2] usage: mkboot disk
exit usage
}
if (~ $#* 0)
usage
dd -if data/arndale-bl1.bin -of $1/data -oseek 1
dd -if data/smdk5250-spl.bin -of $1/data -oseek 17
dd -if data/u-boot.bin -of $1/data -oseek 49
exit ''
|