summaryrefslogtreecommitdiff
path: root/distrib/armv7
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2023-03-29 00:25:48 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2023-03-29 00:25:48 +0000
commit1e8bf663ea0c967a34b2612cf95f9638c1c8de7f (patch)
tree3f0881ff3f19bcab59e42df1a497c8feb3461075 /distrib/armv7
parent24821f0faf1006e94ab6ba112c1e75ea7a12f0f9 (diff)
Use character not block devices with dd(1) like the rest
All other dd invocations in installer code, INSTALL.* instructions and dd(1) EXAMPLES use the disk's "raw device".
Diffstat (limited to 'distrib/armv7')
-rw-r--r--distrib/armv7/ramdisk/install.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/armv7/ramdisk/install.md b/distrib/armv7/ramdisk/install.md
index 3ee6c9ea7ff..d6e9ea87057 100644
--- a/distrib/armv7/ramdisk/install.md
+++ b/distrib/armv7/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.54 2023/03/29 00:16:14 kn Exp $
+# $OpenBSD: install.md,v 1.55 2023/03/29 00:25:47 kn Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -63,9 +63,9 @@ md_installboot() {
;;
cubox|wandboard)
cp $_mdec/*.dtb /mnt/mnt/
- dd if=$_mdec/SPL of=/dev/${_disk}c bs=1024 seek=1 \
+ dd if=$_mdec/SPL of=/dev/r${_disk}c bs=1024 seek=1 \
status=none
- dd if=$_mdec/u-boot.img of=/dev/${_disk}c bs=1024 seek=69 \
+ dd if=$_mdec/u-boot.img of=/dev/r${_disk}c bs=1024 seek=69 \
status=none
;;
nitrogen)
@@ -81,7 +81,7 @@ md_installboot() {
;;
cubie)
cp $_mdec/*.dtb /mnt/mnt/
- dd if=$_mdec/u-boot-sunxi-with-spl.bin of=/dev/${_disk}c \
+ dd if=$_mdec/u-boot-sunxi-with-spl.bin of=/dev/r${_disk}c \
bs=1024 seek=8 status=none
;;
esac