From cb98b650a850022b8cd257b2cb0718d9e0defccf Mon Sep 17 00:00:00 2001 From: kettenis Date: Thu, 20 Apr 2023 19:42:52 +0000 Subject: [PATCH] Revert the previous commit. The raw devices don't exist when this runs and the block devices work just fine. --- distrib/armv7/ramdisk/install.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/distrib/armv7/ramdisk/install.md b/distrib/armv7/ramdisk/install.md index d6e9ea87057..812835b8c09 100644 --- a/distrib/armv7/ramdisk/install.md +++ b/distrib/armv7/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.55 2023/03/29 00:25:47 kn Exp $ +# $OpenBSD: install.md,v 1.56 2023/04/20 19:42:52 kettenis 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/r${_disk}c bs=1024 seek=1 \ + dd if=$_mdec/SPL of=/dev/${_disk}c bs=1024 seek=1 \ status=none - dd if=$_mdec/u-boot.img of=/dev/r${_disk}c bs=1024 seek=69 \ + dd if=$_mdec/u-boot.img of=/dev/${_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/r${_disk}c \ + dd if=$_mdec/u-boot-sunxi-with-spl.bin of=/dev/${_disk}c \ bs=1024 seek=8 status=none ;; esac -- 2.20.1