summaryrefslogtreecommitdiff
path: root/distrib/armv7
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-06-05 15:35:39 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-06-05 15:35:39 +0000
commitacadb289ce4bd6fbcf559b4e6ac1a079660e6dfe (patch)
tree69ad0dfba70d23d87b48ba573ce00362381d2b79 /distrib/armv7
parentcf124b3efb29dffe96baf17df9abcb58a937b336 (diff)
dd the cubieboard u-boot at the raw offset like the miniroot does
Diffstat (limited to 'distrib/armv7')
-rw-r--r--distrib/armv7/ramdisk/install.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/distrib/armv7/ramdisk/install.md b/distrib/armv7/ramdisk/install.md
index fc0f6534182..1b9e390d9ae 100644
--- a/distrib/armv7/ramdisk/install.md
+++ b/distrib/armv7/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.39 2016/06/05 15:23:22 jsg Exp $
+# $OpenBSD: install.md,v 1.40 2016/06/05 15:35:38 jsg Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -75,7 +75,9 @@ md_installboot() {
cp $_mdec/*.dtb /mnt/mnt/
;;
cubie)
- cp $_mdec/{u-boot-sunxi-with-spl.bin,*.dtb} /mnt/mnt/
+ cp $_mdec/*.dtb /mnt/mnt/
+ dd if=$_mdec/u-boot-sunxi-with-spl.bin of=${_disk}c \
+ bs=1024 seek=8 >/dev/null 2>&1
;;
esac
}