Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/u-boot/arndale/mkboot

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/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 ''

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].