From: kettenis Date: Thu, 20 Apr 2023 19:42:52 +0000 (+0000) Subject: Revert the previous commit. The raw devices don't exist when this runs X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cb98b650a850022b8cd257b2cb0718d9e0defccf;p=openbsd Revert the previous commit. The raw devices don't exist when this runs and the block devices work just fine. --- 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