diff options
author | 2010-07-10 20:55:14 +0000 | |
---|---|---|
committer | 2010-07-10 20:55:14 +0000 | |
commit | 755a60b9946b1d2fa0bf38437906d1cd8158bf17 (patch) | |
tree | 3b6b0511311527d30d1c0b6b39ed61896d25aa40 | |
parent | Remove debug print left in on last commit. (diff) | |
download | wireguard-openbsd-755a60b9946b1d2fa0bf38437906d1cd8158bf17.tar.xz wireguard-openbsd-755a60b9946b1d2fa0bf38437906d1cd8158bf17.zip |
Add a bootstrap loader, this allow u-boot to auto-boot from the media
without modifying the u-boot environment.
-rw-r--r-- | sys/arch/beagle/stand/boot.scr/Makefile | 10 | ||||
-rw-r--r-- | sys/arch/beagle/stand/boot.scr/boot.cmd | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/sys/arch/beagle/stand/boot.scr/Makefile b/sys/arch/beagle/stand/boot.scr/Makefile new file mode 100644 index 00000000000..8d033dfd984 --- /dev/null +++ b/sys/arch/beagle/stand/boot.scr/Makefile @@ -0,0 +1,10 @@ +PROG = boot.scr +SRCS = + +.SUFFIXES: .cmd .scr + +.cmd.scr: + mkuboot -t script -a arm -o linux $< $@ + + +.include <bsd.prog.mk> diff --git a/sys/arch/beagle/stand/boot.scr/boot.cmd b/sys/arch/beagle/stand/boot.scr/boot.cmd new file mode 100644 index 00000000000..67b954b1d10 --- /dev/null +++ b/sys/arch/beagle/stand/boot.scr/boot.cmd @@ -0,0 +1 @@ +fatload mmc 0 0x82800000 bsd.umg; bootm 0x82800000 |