CVS commit: src/distrib/notes/evbarm

2021-04-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Tue Apr 27 19:52:06 UTC 2021

Modified Files:
src/distrib/notes/evbarm: install

Log Message:
ignore machine-dependent disklabel partitions


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/distrib/notes/evbarm/install

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/install
diff -u src/distrib/notes/evbarm/install:1.16 src/distrib/notes/evbarm/install:1.17
--- src/distrib/notes/evbarm/install:1.16	Fri Aug  7 00:27:11 2020
+++ src/distrib/notes/evbarm/install	Tue Apr 27 19:52:06 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: install,v 1.16 2020/08/07 00:27:11 snj Exp $
+.\"	$NetBSD: install,v 1.17 2021/04/27 19:52:06 nia Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -35,7 +35,7 @@ on Unix.
 .It
 Write the image to disk:
 .Bd -literal
-# dd if=armv7.img of=/dev/rld0d bs=1m conv=sync
+# dd if=armv7.img of=/dev/rld0 bs=1m conv=sync progress=1
 .Ed
 .It
 If you are using Microsoft Windows, you can use
@@ -61,12 +61,12 @@ existing
 Install the board-specific U-Boot to the SD card,
 e.g. for Allwinner devices (PINE H64 in this case):
 .Bd -literal
-# dd if=/usr/pkg/share/u-boot/pine-h64/u-boot-sunxi-with-spl.bin of=/dev/rld0d bs=1k seek=8 conv=sync
+# dd if=/usr/pkg/share/u-boot/pine-h64/u-boot-sunxi-with-spl.bin of=/dev/rld0 bs=1k seek=8 conv=sync progress=1
 .Ed
 .Pp
 Or a Rockchip device (e.g. RockPro64):
 .Bd -literal
-# dd if=/usr/pkg/share/u-boot/rockpro64/rksd_loader.img of=/dev/rld0d seek=64 conv=sync
+# dd if=/usr/pkg/share/u-boot/rockpro64/rksd_loader.img of=/dev/rld0 seek=64 conv=sync progress=1
 .Ed
 .El
 .Pp



CVS commit: src/distrib/notes/evbarm

2021-03-07 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Mar  7 16:25:06 UTC 2021

Modified Files:
src/distrib/notes/evbarm: hardware

Log Message:
G12


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/distrib/notes/evbarm/hardware

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.24 src/distrib/notes/evbarm/hardware:1.25
--- src/distrib/notes/evbarm/hardware:1.24	Tue Sep 15 07:15:21 2020
+++ src/distrib/notes/evbarm/hardware	Sun Mar  7 16:25:06 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.24 2020/09/15 07:15:21 nia Exp $
+.\"	$NetBSD: hardware,v 1.25 2021/03/07 16:25:06 nia Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -61,7 +61,7 @@ are also supported.
 .It
 Allwinner H5, H6, A64 (e.g. PINE64, Pinebook, NanoPi A64, OLinuXino...)
 .It
-Amlogic S905, S805X, S905D, S905W, S905X (e.g. ODROID-C2, Le Potato, NanoPi K2...)
+Amlogic G12, S905, S805X, S905D, S905W, S905X (e.g. ODROID-N2+, Le Potato, NanoPi K2...)
 .It
 Broadcom BCM2837, BCM2711 (e.g. Raspberry Pi 3 and 4)
 .It



CVS commit: src/distrib/notes/evbarm

2020-09-15 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Tue Sep 15 07:15:22 UTC 2020

Modified Files:
src/distrib/notes/evbarm: contents hardware upgrade

Log Message:
new dtb set needs reflecting in instructions


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/distrib/notes/evbarm/contents
cvs rdiff -u -r1.23 -r1.24 src/distrib/notes/evbarm/hardware
cvs rdiff -u -r1.5 -r1.6 src/distrib/notes/evbarm/upgrade

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/contents
diff -u src/distrib/notes/evbarm/contents:1.13 src/distrib/notes/evbarm/contents:1.14
--- src/distrib/notes/evbarm/contents:1.13	Fri Aug  7 00:43:48 2020
+++ src/distrib/notes/evbarm/contents	Tue Sep 15 07:15:21 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: contents,v 1.13 2020/08/07 00:43:48 snj Exp $
+.\"	$NetBSD: contents,v 1.14 2020/09/15 07:15:21 nia Exp $
 .\"
 .\" Copyright (c) 1999-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -74,8 +74,6 @@ do not need board-specific kernels.
 A gzipped Armv6 kernel which supports the Raspberry Pi 1 only.
 .			It Pa netbsd-RPI2.gz
 A gzipped Armv6 kernel which supports the Raspberry Pi 2 only.
-.			It Pa *.dtb.gz
-Gzipped board-specific device trees.
 .		tag) \" binary/kernel/
 .
 .		It Pa sets/
@@ -155,6 +153,9 @@ It is useful when reporting issues with 
 development.
 This set is huge, if the target disk is small, do not install it.
 .
+.It Sy dtb
+Devicetree hardware descriptions for specific boards.
+.
 .It Sy etc
 This distribution set contains the system
 configuration files that reside in

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.23 src/distrib/notes/evbarm/hardware:1.24
--- src/distrib/notes/evbarm/hardware:1.23	Sun Jul 26 11:00:28 2020
+++ src/distrib/notes/evbarm/hardware	Tue Sep 15 07:15:21 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.23 2020/07/26 11:00:28 jmcneill Exp $
+.\"	$NetBSD: hardware,v 1.24 2020/09/15 07:15:21 nia Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -46,6 +46,11 @@ Xilinx Zynq (e.g. Zedboard, Parallella..
 .It
 NVIDIA Tegra K1
 .El
+.Pp
+For a full list of supported devicetree-based boards, see the
+contents of the
+.Pa dtb.tgz
+set.
 .Ss2 64-bit SoCs supported by GENERIC64 kernels
 .Pp
 Devices conforming to the Arm "ServerReady" (SBBR and SBSA) specifications,
@@ -66,3 +71,8 @@ Rockchip RK3328, RK3328 (e.g. Pinebook P
 .It
 NVIDIA Tegra X1
 .El
+.Pp
+For a full list of supported devicetree-based boards, see the
+contents of the
+.Pa dtb.tar.xz
+set.

Index: src/distrib/notes/evbarm/upgrade
diff -u src/distrib/notes/evbarm/upgrade:1.5 src/distrib/notes/evbarm/upgrade:1.6
--- src/distrib/notes/evbarm/upgrade:1.5	Fri Jul 24 12:41:20 2020
+++ src/distrib/notes/evbarm/upgrade	Tue Sep 15 07:15:21 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: upgrade,v 1.5 2020/07/24 12:41:20 nia Exp $
+.\"	$NetBSD: upgrade,v 1.6 2020/09/15 07:15:21 nia Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -52,9 +52,9 @@ e.g. allwinner, amlogic, broadcom, frees
 .Pp
 For example, for the Allwinner-based PINE A64 LTS:
 .Bd -literal
-$ ftp https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-aarch64/binary/kernel/sun50i-a64-pine64-lts.dtb.gz
-$ gunzip sun50i-a64-pine64-lts.dtb.gz
-# cp sun50i-a64-pine64-lts.dtb /boot/dtb/allwinner/
+$ ftp https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-aarch64/binary/sets/dtb.tar.xz
+$ unxz dtb.tar.xz
+# cp ./boot/dtb/allwinner/sun50i-a64-pine64-lts.dtb /boot/dtb/allwinner/
 .Ed
 Also copy
 .Pa bootaa64.efi



CVS commit: src/distrib/notes/evbarm

2020-08-06 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Aug  7 00:27:11 UTC 2020

Modified Files:
src/distrib/notes/evbarm: install

Log Message:
fix typo.
new sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/distrib/notes/evbarm/install

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/install
diff -u src/distrib/notes/evbarm/install:1.15 src/distrib/notes/evbarm/install:1.16
--- src/distrib/notes/evbarm/install:1.15	Sun Jul 26 11:00:28 2020
+++ src/distrib/notes/evbarm/install	Fri Aug  7 00:27:11 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: install,v 1.15 2020/07/26 11:00:28 jmcneill Exp $
+.\"	$NetBSD: install,v 1.16 2020/08/07 00:27:11 snj Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -43,7 +43,8 @@ If you are using Microsoft Windows, you 
 to write SD card images, which can handle decompression too.
 .It
 To replace the vendor U-Boot bootloader with a "mainline" U-Boot,
-obtain a board-specific image. Bootloaders are provided by the
+obtain a board-specific image.
+Bootloaders are provided by the
 .Pa sysutils/u-boot-*
 packages in
 .Lk https://www.pkgsrc.org/ "pkgsrc" .
@@ -58,7 +59,7 @@ existing
 .Lk https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/aarch64/9.0/All/ "NetBSD binary package set".
 .Pp
 Install the board-specific U-Boot to the SD card,
-e.g. for Allwiner devices (PINE H64 in this case):
+e.g. for Allwinner devices (PINE H64 in this case):
 .Bd -literal
 # dd if=/usr/pkg/share/u-boot/pine-h64/u-boot-sunxi-with-spl.bin of=/dev/rld0d bs=1k seek=8 conv=sync
 .Ed



CVS commit: src/distrib/notes/evbarm

2020-07-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jul 26 11:00:28 UTC 2020

Modified Files:
src/distrib/notes/evbarm: contents hardware install prep xfer

Log Message:
ARM -> Arm


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/distrib/notes/evbarm/contents
cvs rdiff -u -r1.22 -r1.23 src/distrib/notes/evbarm/hardware
cvs rdiff -u -r1.14 -r1.15 src/distrib/notes/evbarm/install
cvs rdiff -u -r1.12 -r1.13 src/distrib/notes/evbarm/prep
cvs rdiff -u -r1.5 -r1.6 src/distrib/notes/evbarm/xfer

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/contents
diff -u src/distrib/notes/evbarm/contents:1.11 src/distrib/notes/evbarm/contents:1.12
--- src/distrib/notes/evbarm/contents:1.11	Tue Jul 21 02:21:12 2020
+++ src/distrib/notes/evbarm/contents	Sun Jul 26 11:00:28 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: contents,v 1.11 2020/07/21 02:21:12 nia Exp $
+.\"	$NetBSD: contents,v 1.12 2020/07/26 11:00:28 jmcneill Exp $
 .\"
 .\" Copyright (c) 1999-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -65,15 +65,15 @@ operating system for Raspberry Pi varian
 .		It Pa kernel/
 .		(tag netbsd.gz -compact \" binary/kernel
 .			It Pa netbsd-GENERIC.gz
-A gzipped ARMv7 kernel which supports a range of 32-bit devices that
+A gzipped Armv7 kernel which supports a range of 32-bit devices that
 do not need board-specific kernels.
 .			It Pa netbsd-GENERIC64.gz
 A gzipped AArch64 kernel which supports a range of 64-bit devices that
 do not need board-specific kernels.
 .			It Pa netbsd-RPI.gz
-A gzipped ARMv6 kernel which supports the Raspberry Pi 1 only.
+A gzipped Armv6 kernel which supports the Raspberry Pi 1 only.
 .			It Pa netbsd-RPI2.gz
-A gzipped ARMv6 kernel which supports the Raspberry Pi 2 only.
+A gzipped Armv6 kernel which supports the Raspberry Pi 2 only.
 .			It Pa *.dtb.gz
 Gzipped board-specific device trees.
 .		tag) \" binary/kernel/

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.22 src/distrib/notes/evbarm/hardware:1.23
--- src/distrib/notes/evbarm/hardware:1.22	Sun Jul 26 10:58:27 2020
+++ src/distrib/notes/evbarm/hardware	Sun Jul 26 11:00:28 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.22 2020/07/26 10:58:27 jmcneill Exp $
+.\"	$NetBSD: hardware,v 1.23 2020/07/26 11:00:28 jmcneill Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Ss2 32-bit SoCs supported by GENERIC kernels (ARMv7-A)
+.Ss2 32-bit SoCs supported by GENERIC kernels (Armv7-A)
 .Pp
 .Lk "https://wiki.netbsd.org/ports/evbarm/qemu_arm/"; "QEMU"
 is also supported.

Index: src/distrib/notes/evbarm/install
diff -u src/distrib/notes/evbarm/install:1.14 src/distrib/notes/evbarm/install:1.15
--- src/distrib/notes/evbarm/install:1.14	Sat Jul 18 16:41:14 2020
+++ src/distrib/notes/evbarm/install	Sun Jul 26 11:00:28 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: install,v 1.14 2020/07/18 16:41:14 nia Exp $
+.\"	$NetBSD: install,v 1.15 2020/07/26 11:00:28 jmcneill Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Ss2 Installation for ARMv7 and AArch64 devices with U-Boot
+.Ss2 Installation for Armv7 and AArch64 devices with U-Boot
 .Bl -bullet -offset indent -compact
 .It
 Download or build armv7.img.gz (32-bit) or arm64.img.gz (64-bit).
@@ -73,14 +73,14 @@ If you do not want to prepare a SD card 
 Jared McNeill provides pre-prepared images on his website
 .Lk http://www.armbsd.org/arm/ "armbsd.org" .
 .Ss2 Installing NetBSD/evbarm to a SATA hard disk
-Some ARM boards offer a SATA interface, and you might want to install NetBSD
+Some Arm boards offer a SATA interface, and you might want to install NetBSD
 to a hard disk after you've got it running from an SD card.
 You can do this using 
 .Xr sysinst 8
 from within NetBSD.
 .Pp
 There are instructions for using
-.Lk https://wiki.netbsd.org/ports/evbarm/install_using_sysinst/ "sysinst on ARM"
+.Lk https://wiki.netbsd.org/ports/evbarm/install_using_sysinst/ "sysinst on Arm"
 on the NetBSD wiki.
 The main difference from installing on other ports is that a FAT32
 partition is required for /boot.

Index: src/distrib/notes/evbarm/prep
diff -u src/distrib/notes/evbarm/prep:1.12 src/distrib/notes/evbarm/prep:1.13
--- src/distrib/notes/evbarm/prep:1.12	Sat Jul 18 16:41:14 2020
+++ src/distrib/notes/evbarm/prep	Sun Jul 26 11:00:28 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: prep,v 1.12 2020/07/18 16:41:14 nia Exp $
+.\"	$NetBSD: prep,v 1.13 2020/07/26 11:00:28 jmcneill Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .
 .Pp
 A

CVS commit: src/distrib/notes/evbarm

2020-07-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jul 26 10:58:27 UTC 2020

Modified Files:
src/distrib/notes/evbarm: hardware

Log Message:
List all supported Amlogic SoCs


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/distrib/notes/evbarm/hardware

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.21 src/distrib/notes/evbarm/hardware:1.22
--- src/distrib/notes/evbarm/hardware:1.21	Sun Jul 26 10:55:36 2020
+++ src/distrib/notes/evbarm/hardware	Sun Jul 26 10:58:27 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.21 2020/07/26 10:55:36 jmcneill Exp $
+.\"	$NetBSD: hardware,v 1.22 2020/07/26 10:58:27 jmcneill Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -56,7 +56,7 @@ are also supported.
 .It
 Allwinner H5, H6, A64 (e.g. PINE64, Pinebook, NanoPi A64, OLinuXino...)
 .It
-Amlogic S905 (e.g. ODROID-C2, Le Potato, NanoPi K2...)
+Amlogic S905, S805X, S905D, S905W, S905X (e.g. ODROID-C2, Le Potato, NanoPi K2...)
 .It
 Broadcom BCM2837, BCM2711 (e.g. Raspberry Pi 3 and 4)
 .It



CVS commit: src/distrib/notes/evbarm

2020-07-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jul 26 10:58:59 UTC 2020

Modified Files:
src/distrib/notes/evbarm: xfer

Log Message:
Remove duplicate word


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/distrib/notes/evbarm/xfer

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/xfer
diff -u src/distrib/notes/evbarm/xfer:1.4 src/distrib/notes/evbarm/xfer:1.5
--- src/distrib/notes/evbarm/xfer:1.4	Sat Jul 18 17:10:23 2020
+++ src/distrib/notes/evbarm/xfer	Sun Jul 26 10:58:59 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: xfer,v 1.4 2020/07/18 17:10:23 nia Exp $
+.\"	$NetBSD: xfer,v 1.5 2020/07/26 10:58:59 jmcneill Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -42,7 +42,7 @@ to decompress .gz files.
 .Pp
 ARM devices generally also ship with a vendor-specific U-Boot
 bootloader, which may be replaced with a board-specific "mainline"
-U-Boot image from pkgsrc for an an optimal NetBSD experience.
+U-Boot image from pkgsrc for an optimal NetBSD experience.
 The images available from
 .Lk http://www.armbsd.org/arm/ "armbsd.org"
 come pre-prepared with a board-specific U-Boot image if one is



CVS commit: src/distrib/notes/evbarm

2020-07-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jul 26 10:50:27 UTC 2020

Modified Files:
src/distrib/notes/evbarm: hardware

Log Message:
Clarify SBSA support


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/distrib/notes/evbarm/hardware

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.17 src/distrib/notes/evbarm/hardware:1.18
--- src/distrib/notes/evbarm/hardware:1.17	Sun Jul 26 10:49:05 2020
+++ src/distrib/notes/evbarm/hardware	Sun Jul 26 10:50:26 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.17 2020/07/26 10:49:05 jmcneill Exp $
+.\"	$NetBSD: hardware,v 1.18 2020/07/26 10:50:26 jmcneill Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -48,7 +48,7 @@ NVIDIA Tegra K1
 .El
 .Ss2 64-bit SoCs supported by GENERIC64 kernels
 .Pp
-Devices conforming to the Server Base System Architecture specification,
+Devices conforming to the Arm "ServerReady" (SBBR and SBSA) specifications,
 and
 .Lk "https://wiki.netbsd.org/ports/evbarm/qemu_arm/"; "QEMU"
 are also supported.



CVS commit: src/distrib/notes/evbarm

2020-07-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jul 26 10:51:57 UTC 2020

Modified Files:
src/distrib/notes/evbarm: hardware

Log Message:
Add BCM2711


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/distrib/notes/evbarm/hardware

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.18 src/distrib/notes/evbarm/hardware:1.19
--- src/distrib/notes/evbarm/hardware:1.18	Sun Jul 26 10:50:26 2020
+++ src/distrib/notes/evbarm/hardware	Sun Jul 26 10:51:57 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.18 2020/07/26 10:50:26 jmcneill Exp $
+.\"	$NetBSD: hardware,v 1.19 2020/07/26 10:51:57 jmcneill Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -58,7 +58,7 @@ Allwinner H5, H6, A64 (e.g. PINE64, Pine
 .It
 Amlogic S905 (e.g. ODROID-C2, Le Potato, NanoPi K2...)
 .It
-Broadcom BCM2837 (e.g. Raspberry Pi 3)
+Broadcom BCM2837, BCM2711 (e.g. Raspberry Pi 3 and 4)
 .It
 Marvell ThunderX
 .It



CVS commit: src/distrib/notes/evbarm

2020-07-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jul 26 10:52:17 UTC 2020

Modified Files:
src/distrib/notes/evbarm: hardware

Log Message:
ThunderX is covered by SBBR+SBSA


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/notes/evbarm/hardware

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.19 src/distrib/notes/evbarm/hardware:1.20
--- src/distrib/notes/evbarm/hardware:1.19	Sun Jul 26 10:51:57 2020
+++ src/distrib/notes/evbarm/hardware	Sun Jul 26 10:52:17 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.19 2020/07/26 10:51:57 jmcneill Exp $
+.\"	$NetBSD: hardware,v 1.20 2020/07/26 10:52:17 jmcneill Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -60,8 +60,6 @@ Amlogic S905 (e.g. ODROID-C2, Le Potato,
 .It
 Broadcom BCM2837, BCM2711 (e.g. Raspberry Pi 3 and 4)
 .It
-Marvell ThunderX
-.It
 Rockchip RK3328, RK3328 (e.g. Pinebook Pro, RockPro64, Firefly...)
 .It
 NVIDIA Tegra X1



CVS commit: src/distrib/notes/evbarm

2020-07-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jul 26 10:55:36 UTC 2020

Modified Files:
src/distrib/notes/evbarm: hardware

Log Message:
Add i.MX8MQ


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/distrib/notes/evbarm/hardware

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.20 src/distrib/notes/evbarm/hardware:1.21
--- src/distrib/notes/evbarm/hardware:1.20	Sun Jul 26 10:52:17 2020
+++ src/distrib/notes/evbarm/hardware	Sun Jul 26 10:55:36 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.20 2020/07/26 10:52:17 jmcneill Exp $
+.\"	$NetBSD: hardware,v 1.21 2020/07/26 10:55:36 jmcneill Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -36,7 +36,7 @@ Amlogic S805 (e.g. ODROID-C1)
 .It
 Broadcom BCM2836 (e.g. Raspberry Pi 2)
 .It
-Freescale i.MX6 Dual/DualLite/Quad, i.MX7 Dual (e.g. Wandboard, UDOO, Hummingboard...)
+Freescale/NXP i.MX6 Dual/DualLite/Quad, i.MX7 Dual (e.g. Wandboard, UDOO, Hummingboard...)
 .It
 Samsung Exynos 5422 (e.g. ODROID-XU3/XU-4)
 .It
@@ -60,6 +60,8 @@ Amlogic S905 (e.g. ODROID-C2, Le Potato,
 .It
 Broadcom BCM2837, BCM2711 (e.g. Raspberry Pi 3 and 4)
 .It
+Freescale/NXP i.MX8MQ (e.g. Hummingboard...)
+.It
 Rockchip RK3328, RK3328 (e.g. Pinebook Pro, RockPro64, Firefly...)
 .It
 NVIDIA Tegra X1



CVS commit: src/distrib/notes/evbarm

2020-07-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jul 26 10:49:05 UTC 2020

Modified Files:
src/distrib/notes/evbarm: hardware

Log Message:
Note support for TI AM335x SoC


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/distrib/notes/evbarm/hardware

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.16 src/distrib/notes/evbarm/hardware:1.17
--- src/distrib/notes/evbarm/hardware:1.16	Thu Jul 23 14:10:25 2020
+++ src/distrib/notes/evbarm/hardware	Sun Jul 26 10:49:05 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.16 2020/07/23 14:10:25 nia Exp $
+.\"	$NetBSD: hardware,v 1.17 2020/07/26 10:49:05 jmcneill Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -40,7 +40,7 @@ Freescale i.MX6 Dual/DualLite/Quad, i.MX
 .It
 Samsung Exynos 5422 (e.g. ODROID-XU3/XU-4)
 .It
-Texas Instruments OMAP3 (e.g. BeagleBoard, BeagleBone Black...)
+Texas Instruments AM335x and OMAP3 (e.g. BeagleBoard, BeagleBone Black...)
 .It
 Xilinx Zynq (e.g. Zedboard, Parallella...)
 .It



CVS commit: src/distrib/notes/evbarm

2020-07-24 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Jul 24 12:41:20 UTC 2020

Modified Files:
src/distrib/notes/evbarm: upgrade

Log Message:
upgrades to upgrade instructions


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/distrib/notes/evbarm/upgrade

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/upgrade
diff -u src/distrib/notes/evbarm/upgrade:1.4 src/distrib/notes/evbarm/upgrade:1.5
--- src/distrib/notes/evbarm/upgrade:1.4	Sat Jul 18 17:45:11 2020
+++ src/distrib/notes/evbarm/upgrade	Fri Jul 24 12:41:20 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: upgrade,v 1.4 2020/07/18 17:45:11 nia Exp $
+.\"	$NetBSD: upgrade,v 1.5 2020/07/24 12:41:20 nia Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -34,31 +34,40 @@ is by using the sysutils/sysupgrade pack
 .Pp
 First, edit
 .Pa /usr/pkg/etc/sysupgrade.conf .
-Make sure RELEASEDIR and KERNEL are correct:
+Make sure RELEASEDIR and ARCHIVE_EXTENSION are correct:
 .Bd -literal
+# Replace evbarm-aarch64 with evbarm-earmv7hf on a 32-bit system, evbarm-earmv6hf on the original RPI
 RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-aarch64/";
-.Ed
-or
-.Bd -literal
-RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-earmv7hf/";
-.Ed
-or
-.Bd -literal
-RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-earmv6hf/";
+ARCHIVE_EXTENSION=tar.xz
 .Ed
 .Pp
 Make sure
 .Pa /boot
 is mounted, and copy the new board-specific
 .Pa *.dts
-file into place, and
+device tree file into place.
+Note that the device tree files are sorted into SoC-type subdirectories in
+.Pa /boot/dtb ,
+e.g. allwinner, amlogic, broadcom, freescale, nvidia, rockchip.
+.Pp
+For example, for the Allwinner-based PINE A64 LTS:
+.Bd -literal
+$ ftp https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-aarch64/binary/kernel/sun50i-a64-pine64-lts.dtb.gz
+$ gunzip sun50i-a64-pine64-lts.dtb.gz
+# cp sun50i-a64-pine64-lts.dtb /boot/dtb/allwinner/
+.Ed
+Also copy
 .Pa bootaa64.efi
-if applicable.
+if applicable:
+.Bd -literal
+$ ftp https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-aarch64/installation/misc/bootaa64.efi
+# cp bootaa64.efi /boot/EFI/BOOT/bootaa64.efi
+.Ed
 .Pp
 Finally:
 .Bd -literal
 # sysupgrade fetch
-# sysupgrade kernel netbsd-GENERIC (or netbsd-GENERIC64)
+# sysupgrade kernel
 # sysupgrade modules
 # reboot
 # sysupgrade sets
@@ -67,8 +76,9 @@ Finally:
 # reboot
 .Ed
 .Pp
-Rebooting with a new kernel before updating the sets is the most
-careful possible path.
+This is the most careful possible path with sysupgrade that makes sure
+the kernel and userland are always fully compatible, by making sure the
+kernel and boot files are newer than the userland.
 It is also possible to:
 .Bd -literal
 # sysupgrade auto



CVS commit: src/distrib/notes/evbarm

2020-07-23 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Jul 23 14:09:31 UTC 2020

Modified Files:
src/distrib/notes/evbarm: hardware

Log Message:
more 9.0 hardware


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/distrib/notes/evbarm/hardware

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.14 src/distrib/notes/evbarm/hardware:1.15
--- src/distrib/notes/evbarm/hardware:1.14	Sat Jul 18 18:11:46 2020
+++ src/distrib/notes/evbarm/hardware	Thu Jul 23 14:09:31 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.14 2020/07/18 18:11:46 nia Exp $
+.\"	$NetBSD: hardware,v 1.15 2020/07/23 14:09:31 nia Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -40,6 +40,8 @@ Samsung Exynos 5422 (e.g. ODROID-XU3/XU-
 .It
 Texas Instruments OMAP3 (e.g. BeagleBoard, BeagleBone Black...)
 .It
+Xilinx Zynq (e.g. Zedboard, Parallella...)
+.It
 NVIDIA Tegra K1
 .El
 .Ss2 64-bit SoCs supported by GENERIC64 kernels
@@ -56,6 +58,8 @@ Amlogic S905 (e.g. ODROID-C2, Le Potato,
 .It
 Broadcom BCM2837 (e.g. Raspberry Pi 3)
 .It
+Marvell ThunderX
+.It
 Rockchip RK3328, RK3328 (e.g. Pinebook Pro, RockPro64, Firefly...)
 .It
 NVIDIA Tegra X1



CVS commit: src/distrib/notes/evbarm

2020-07-23 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Jul 23 14:10:25 UTC 2020

Modified Files:
src/distrib/notes/evbarm: hardware

Log Message:
freescale support in GENERIC


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/distrib/notes/evbarm/hardware

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.15 src/distrib/notes/evbarm/hardware:1.16
--- src/distrib/notes/evbarm/hardware:1.15	Thu Jul 23 14:09:31 2020
+++ src/distrib/notes/evbarm/hardware	Thu Jul 23 14:10:25 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.15 2020/07/23 14:09:31 nia Exp $
+.\"	$NetBSD: hardware,v 1.16 2020/07/23 14:10:25 nia Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -36,6 +36,8 @@ Amlogic S805 (e.g. ODROID-C1)
 .It
 Broadcom BCM2836 (e.g. Raspberry Pi 2)
 .It
+Freescale i.MX6 Dual/DualLite/Quad, i.MX7 Dual (e.g. Wandboard, UDOO, Hummingboard...)
+.It
 Samsung Exynos 5422 (e.g. ODROID-XU3/XU-4)
 .It
 Texas Instruments OMAP3 (e.g. BeagleBoard, BeagleBone Black...)



CVS commit: src/distrib/notes/evbarm

2020-07-20 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Tue Jul 21 02:21:12 UTC 2020

Modified Files:
src/distrib/notes/evbarm: contents

Log Message:
Fix location of device trees


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/distrib/notes/evbarm/contents

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/contents
diff -u src/distrib/notes/evbarm/contents:1.10 src/distrib/notes/evbarm/contents:1.11
--- src/distrib/notes/evbarm/contents:1.10	Sat Jul 18 17:20:59 2020
+++ src/distrib/notes/evbarm/contents	Tue Jul 21 02:21:12 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: contents,v 1.10 2020/07/18 17:20:59 nia Exp $
+.\"	$NetBSD: contents,v 1.11 2020/07/21 02:21:12 nia Exp $
 .\"
 .\" Copyright (c) 1999-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -61,8 +61,6 @@ operating system for a range of 64-bit d
 A gzipped writable image containing the complete 32-bit
 .Nx
 operating system for Raspberry Pi variants only (includes RPI kernels).
-.			It Pa *.dtb.gz
-Gzipped board-specific device trees.
 .		tag) \" binary/gzimg/
 .		It Pa kernel/
 .		(tag netbsd.gz -compact \" binary/kernel
@@ -76,6 +74,8 @@ do not need board-specific kernels.
 A gzipped ARMv6 kernel which supports the Raspberry Pi 1 only.
 .			It Pa netbsd-RPI2.gz
 A gzipped ARMv6 kernel which supports the Raspberry Pi 2 only.
+.			It Pa *.dtb.gz
+Gzipped board-specific device trees.
 .		tag) \" binary/kernel/
 .
 .		It Pa sets/



CVS commit: src/distrib/notes/evbarm

2020-07-18 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Jul 18 18:11:46 UTC 2020

Modified Files:
src/distrib/notes/evbarm: hardware

Log Message:
missing e.g.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/distrib/notes/evbarm/hardware

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.13 src/distrib/notes/evbarm/hardware:1.14
--- src/distrib/notes/evbarm/hardware:1.13	Sat Jul 18 18:09:42 2020
+++ src/distrib/notes/evbarm/hardware	Sat Jul 18 18:11:46 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.13 2020/07/18 18:09:42 nia Exp $
+.\"	$NetBSD: hardware,v 1.14 2020/07/18 18:11:46 nia Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -30,7 +30,7 @@
 is also supported.
 .Bl -bullet -offset indent -compact
 .It
-Allwinner A10, A13, A20, A32, A80, A83T, H3 (Cubieboard, OLinuXino, LeMaker Banana Pi...)
+Allwinner A10, A13, A20, A32, A80, A83T, H3 (e.g. Cubieboard, OLinuXino, LeMaker Banana Pi...)
 .It
 Amlogic S805 (e.g. ODROID-C1)
 .It



CVS commit: src/distrib/notes/evbarm

2020-07-18 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Jul 18 18:09:42 UTC 2020

Modified Files:
src/distrib/notes/evbarm: hardware

Log Message:
more hardware


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/distrib/notes/evbarm/hardware

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.12 src/distrib/notes/evbarm/hardware:1.13
--- src/distrib/notes/evbarm/hardware:1.12	Sat Jul 18 16:41:14 2020
+++ src/distrib/notes/evbarm/hardware	Sat Jul 18 18:09:42 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.12 2020/07/18 16:41:14 nia Exp $
+.\"	$NetBSD: hardware,v 1.13 2020/07/18 18:09:42 nia Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -30,7 +30,7 @@
 is also supported.
 .Bl -bullet -offset indent -compact
 .It
-Allwinner A10, A13, A20, A32, A80, A83T, H3
+Allwinner A10, A13, A20, A32, A80, A83T, H3 (Cubieboard, OLinuXino, LeMaker Banana Pi...)
 .It
 Amlogic S805 (e.g. ODROID-C1)
 .It
@@ -50,13 +50,13 @@ and
 are also supported.
 .Bl -bullet -offset indent -compact
 .It
-Allwinner H5, H6, A64 (e.g. PINE64...)
+Allwinner H5, H6, A64 (e.g. PINE64, Pinebook, NanoPi A64, OLinuXino...)
 .It
-Amlogic S905 (e.g. ODROID-C2)
+Amlogic S905 (e.g. ODROID-C2, Le Potato, NanoPi K2...)
 .It
 Broadcom BCM2837 (e.g. Raspberry Pi 3)
 .It
-Rockchip RK3328, RK3328 (e.g. Pinebook Pro, RockPro64...)
+Rockchip RK3328, RK3328 (e.g. Pinebook Pro, RockPro64, Firefly...)
 .It
 NVIDIA Tegra X1
 .El



CVS commit: src/distrib/notes/evbarm

2020-07-18 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Jul 18 17:45:11 UTC 2020

Modified Files:
src/distrib/notes/evbarm: upgrade

Log Message:
clarify


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/evbarm/upgrade

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/upgrade
diff -u src/distrib/notes/evbarm/upgrade:1.3 src/distrib/notes/evbarm/upgrade:1.4
--- src/distrib/notes/evbarm/upgrade:1.3	Sat Jul 18 17:40:14 2020
+++ src/distrib/notes/evbarm/upgrade	Sat Jul 18 17:45:11 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: upgrade,v 1.3 2020/07/18 17:40:14 nia Exp $
+.\"	$NetBSD: upgrade,v 1.4 2020/07/18 17:45:11 nia Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -62,11 +62,13 @@ Finally:
 # sysupgrade modules
 # reboot
 # sysupgrade sets
-# reboot
+# sysupgrade etcupdate
 # sysupgrade postinstall
+# reboot
 .Ed
 .Pp
-This is the most careful possible path.
+Rebooting with a new kernel before updating the sets is the most
+careful possible path.
 It is also possible to:
 .Bd -literal
 # sysupgrade auto



CVS commit: src/distrib/notes/evbarm

2020-07-18 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Jul 18 17:40:15 UTC 2020

Modified Files:
src/distrib/notes/evbarm: upgrade

Log Message:
Initial evbarm upgrade instructions - need work


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/distrib/notes/evbarm/upgrade

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/upgrade
diff -u src/distrib/notes/evbarm/upgrade:1.2 src/distrib/notes/evbarm/upgrade:1.3
--- src/distrib/notes/evbarm/upgrade:1.2	Thu Apr 23 01:56:49 2009
+++ src/distrib/notes/evbarm/upgrade	Sat Jul 18 17:40:14 2020
@@ -1,3 +1,74 @@
-.\"	$NetBSD: upgrade,v 1.2 2009/04/23 01:56:49 snj Exp $
+.\"	$NetBSD: upgrade,v 1.3 2020/07/18 17:40:14 nia Exp $
+.\"
+.\" Copyright (c) 2020 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"notice, this list of conditions and the following disclaimer in the
+.\"documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\" POSSIBILITY OF SUCH DAMAGE.
+.\"
 .
-.so ../common/upgrade
+.Pp
+The easiest way to upgrade to
+.Nx
+\*M
+\*V
+is by using the sysutils/sysupgrade package from pkgsrc.
+.Pp
+First, edit
+.Pa /usr/pkg/etc/sysupgrade.conf .
+Make sure RELEASEDIR and KERNEL are correct:
+.Bd -literal
+RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-aarch64/";
+.Ed
+or
+.Bd -literal
+RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-earmv7hf/";
+.Ed
+or
+.Bd -literal
+RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-earmv6hf/";
+.Ed
+.Pp
+Make sure
+.Pa /boot
+is mounted, and copy the new board-specific
+.Pa *.dts
+file into place, and
+.Pa bootaa64.efi
+if applicable.
+.Pp
+Finally:
+.Bd -literal
+# sysupgrade fetch
+# sysupgrade kernel netbsd-GENERIC (or netbsd-GENERIC64)
+# sysupgrade modules
+# reboot
+# sysupgrade sets
+# reboot
+# sysupgrade postinstall
+.Ed
+.Pp
+This is the most careful possible path.
+It is also possible to:
+.Bd -literal
+# sysupgrade auto
+# reboot
+.Ed



CVS commit: src/distrib/notes/evbarm

2020-07-18 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Jul 18 17:20:59 UTC 2020

Modified Files:
src/distrib/notes/evbarm: contents

Log Message:
more contents


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/distrib/notes/evbarm/contents

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/contents
diff -u src/distrib/notes/evbarm/contents:1.9 src/distrib/notes/evbarm/contents:1.10
--- src/distrib/notes/evbarm/contents:1.9	Sat Jul 18 16:41:14 2020
+++ src/distrib/notes/evbarm/contents	Sat Jul 18 17:20:59 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: contents,v 1.9 2020/07/18 16:41:14 nia Exp $
+.\"	$NetBSD: contents,v 1.10 2020/07/18 17:20:59 nia Exp $
 .\"
 .\" Copyright (c) 1999-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -61,6 +61,8 @@ operating system for a range of 64-bit d
 A gzipped writable image containing the complete 32-bit
 .Nx
 operating system for Raspberry Pi variants only (includes RPI kernels).
+.			It Pa *.dtb.gz
+Gzipped board-specific device trees.
 .		tag) \" binary/gzimg/
 .		It Pa kernel/
 .		(tag netbsd.gz -compact \" binary/kernel
@@ -91,9 +93,12 @@ see below.
 root file systems for expert usage.
 .
 .		It Pa misc/
-.
-Miscellaneous \*M installation utilities; see
-installation section below.
+.		(tag bootaa64.efi -compact \" misc/bootaa64.efi
+.			It Pa bootaa64.efi
+.			(tag bootaa64.efi -compact \" misc/bootaa64.efi
+AArch64 EFI bootloader
+.			tag) \" misc/bootaa64.efi
+.		tag) \" misc/bootaa64.efi
 .
 .	tag) \" installation/
 .



CVS commit: src/distrib/notes/evbarm

2020-07-18 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Jul 18 17:10:23 UTC 2020

Modified Files:
src/distrib/notes/evbarm: xfer

Log Message:
safe estimation of required storage


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/evbarm/xfer

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/xfer
diff -u src/distrib/notes/evbarm/xfer:1.3 src/distrib/notes/evbarm/xfer:1.4
--- src/distrib/notes/evbarm/xfer:1.3	Sat Jul 18 16:41:14 2020
+++ src/distrib/notes/evbarm/xfer	Sat Jul 18 17:10:23 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: xfer,v 1.3 2020/07/18 16:41:14 nia Exp $
+.\"	$NetBSD: xfer,v 1.4 2020/07/18 17:10:23 nia Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -30,6 +30,7 @@ Generally, NetBSD is installed on ARM de
 (armv7.img, or arm64.img for 64-bit devices)
 to a SD card or USB device.
 For ARMv6 Raspberry Pi 1s, this image is rpi.img.gz.
+The storage device should be at least 2GB.
 .Pp
 If you're on Windows rather than a Unix variant, you can use
 .Lk https://www.netbsd.org/~martin/rawrite32/index.html rawrite32



CVS commit: src/distrib/notes/evbarm

2020-07-18 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Jul 18 16:41:14 UTC 2020

Modified Files:
src/distrib/notes/evbarm: Makefile contents hardware install prep xfer

Log Message:
more modernization of evbarm install instructions


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/distrib/notes/evbarm/Makefile \
src/distrib/notes/evbarm/xfer
cvs rdiff -u -r1.8 -r1.9 src/distrib/notes/evbarm/contents
cvs rdiff -u -r1.11 -r1.12 src/distrib/notes/evbarm/hardware \
src/distrib/notes/evbarm/prep
cvs rdiff -u -r1.13 -r1.14 src/distrib/notes/evbarm/install

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/Makefile
diff -u src/distrib/notes/evbarm/Makefile:1.2 src/distrib/notes/evbarm/Makefile:1.3
--- src/distrib/notes/evbarm/Makefile:1.2	Sun Jul 21 08:14:48 2002
+++ src/distrib/notes/evbarm/Makefile	Sat Jul 18 16:41:14 2020
@@ -1,5 +1,3 @@
-#	$NetBSD: Makefile,v 1.2 2002/07/21 08:14:48 lukem Exp $
-
-MERGED_SRCS+=	${COMMON}/xfer
+#	$NetBSD: Makefile,v 1.3 2020/07/18 16:41:14 nia Exp $
 
 .include 
Index: src/distrib/notes/evbarm/xfer
diff -u src/distrib/notes/evbarm/xfer:1.2 src/distrib/notes/evbarm/xfer:1.3
--- src/distrib/notes/evbarm/xfer:1.2	Fri May 27 17:38:42 2011
+++ src/distrib/notes/evbarm/xfer	Sat Jul 18 16:41:14 2020
@@ -1,6 +1,6 @@
-.\"	$NetBSD: xfer,v 1.2 2011/05/27 17:38:42 tsutsui Exp $
+.\"	$NetBSD: xfer,v 1.3 2020/07/18 16:41:14 nia Exp $
 .\"
-.\" Copyright (c) 1999-2004 The NetBSD Foundation, Inc.
+.\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
@@ -25,10 +25,24 @@
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
 .
-.\" -- MD instructions on setting up boot media
-.
-.\" XXX to be written
-.
-.\" -- MI instructions for getting distribution off installation medium
-.
-.so ../common/xfer
+.Pp
+Generally, NetBSD is installed on ARM devices by writing a live image
+(armv7.img, or arm64.img for 64-bit devices)
+to a SD card or USB device.
+For ARMv6 Raspberry Pi 1s, this image is rpi.img.gz.
+.Pp
+If you're on Windows rather than a Unix variant, you can use
+.Lk https://www.netbsd.org/~martin/rawrite32/index.html rawrite32
+instead of
+.Xr dd 1
+to write images, and
+.Lk https://www.7-zip.org/ 7-Zip
+to decompress .gz files.
+.Pp
+ARM devices generally also ship with a vendor-specific U-Boot
+bootloader, which may be replaced with a board-specific "mainline"
+U-Boot image from pkgsrc for an an optimal NetBSD experience.
+The images available from
+.Lk http://www.armbsd.org/arm/ "armbsd.org"
+come pre-prepared with a board-specific U-Boot image if one is
+available, and otherwise a generic image can be used.

Index: src/distrib/notes/evbarm/contents
diff -u src/distrib/notes/evbarm/contents:1.8 src/distrib/notes/evbarm/contents:1.9
--- src/distrib/notes/evbarm/contents:1.8	Tue Jun 23 06:28:02 2020
+++ src/distrib/notes/evbarm/contents	Sat Jul 18 16:41:14 2020
@@ -1,6 +1,6 @@
-.\"	$NetBSD: contents,v 1.8 2020/06/23 06:28:02 martin Exp $
+.\"	$NetBSD: contents,v 1.9 2020/07/18 16:41:14 nia Exp $
 .\"
-.\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc.
+.\" Copyright (c) 1999-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
@@ -45,34 +45,51 @@ The
 file contains underlined text using the
 .Xr more 1
 conventions for indicating italic and bold display.
-.
-.\" MD binary and installation directories ---
-.
 .	It Pa binary/
-.
 .	(tag kernel/ -compact \" binary/
-.
+.		It Pa gzimg/
+.		(tag armv7.img.gz -compact \" binary/gzimg
+.			It Pa armv7.img.gz
+A gzipped writable image containing the complete
+.Nx
+operating system for a range of 32-bit devices (includes a GENERIC kernel).
+.			It Pa arm64.img.gz
+A gzipped writable image containing the complete
+.Nx
+operating system for a range of 64-bit devices (includes a GENERIC64 kernel).
+.			It Pa rpi.img.gz
+A gzipped writable image containing the complete 32-bit
+.Nx
+operating system for Raspberry Pi variants only (includes RPI kernels).
+.		tag) \" binary/gzimg/
 .		It Pa kernel/
-.
 .		(tag netbsd.gz -compact \" binary/kernel
 .			It Pa netbsd-GENERIC.gz
-A gzipped
-.Nx
-kernel containing code for everything supported in this release.
-.
+A gzipped ARMv7 kernel which supports a range of 32-bit devices that
+do not need board-specific kernels.
+.			It Pa netbsd-GENERIC64.gz
+A gzipped AArch64 kernel which supports a range of 64-bit devices that
+do not need board-specific kernels.
+.			It Pa netbsd-RPI.gz
+A gzipped ARMv6 kernel which supports the Raspberry Pi 1 only.
+.			It Pa netbsd-RPI2.gz
+A gzipped ARMv6 kernel which supports the Raspberry Pi 2 only.
 .		tag) \" binary/kernel/
 .
 .		It Pa sets/
-.
 \*M binary distribution sets;
 see below.
 .
 .	tag) \" binary/
-.
 .	It Pa ins

CVS commit: src/distrib/notes/evbarm

2020-05-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed May 27 13:51:05 UTC 2020

Modified Files:
src/distrib/notes/evbarm: install

Log Message:
Briefly explain how to pkgsrc u-boot. Pointed out by maya.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/distrib/notes/evbarm/install

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/install
diff -u src/distrib/notes/evbarm/install:1.12 src/distrib/notes/evbarm/install:1.13
--- src/distrib/notes/evbarm/install:1.12	Wed May 27 12:47:47 2020
+++ src/distrib/notes/evbarm/install	Wed May 27 13:51:05 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: install,v 1.12 2020/05/27 12:47:47 nia Exp $
+.\"	$NetBSD: install,v 1.13 2020/05/27 13:51:05 nia Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -34,7 +34,18 @@ Write the image to disk:
 # dd if=armv7.img of=/dev/rld0d bs=1m conv=sync
 .Ed
 .It
-Install a board-specific U-Boot from pkgsrc to the SD card (the u-boot-sunxi-with-spl.bin-s are provided by sysutils/u-boot- packages):
+Obtain a board-specific U-Boot image. Bootloaders are provided by
+the
+.Pa sysutils/u-boot-*
+packages in
+.Lk https://www.pkgsrc.org/ "pkgsrc" .
+.Pp
+If you're using pkgsrc on an UNIX-like operating system that isn't NetBSD,
+you must bootstrap first (see the 
+.Pa README
+file in the root directory of pkgsrc).
+.Pp
+Install the board-specific U-Boot to the SD card:
 .Bd -literal
 # dd if=/usr/pkg/share/u-boot/[boardname]/u-boot-sunxi-with-spl.bin of=/dev/rld0d bs=1k seek=8 conv=sync
 .Ed
@@ -53,7 +64,18 @@ Write the image to disk:
 # dd if=arm64.img of=/dev/rld0d bs=1m conv=sync
 .Ed
 .It
-Install a board-specific U-Boot from pkgsrc to the SD card:
+Obtain a board-specific U-Boot image. Bootloaders are provided by
+the
+.Pa sysutils/u-boot-*
+packages in
+.Lk https://www.pkgsrc.org/ "pkgsrc" .
+.Pp
+If you're using pkgsrc on an UNIX-like operating system that isn't NetBSD,
+you must bootstrap first (see the 
+.Pa README
+file in the root directory of pkgsrc).
+.Pp
+Install the board-specific U-Boot to the SD card:
 .Bd -literal
 # dd if=/usr/pkg/share/u-boot/[boardname]/rksd_loader.img of=/dev/rld0d seek=64 conv=sync
 .Ed



CVS commit: src/distrib/notes/evbarm

2020-05-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed May 27 12:47:47 UTC 2020

Modified Files:
src/distrib/notes/evbarm: install

Log Message:
s/boards/devices/


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/distrib/notes/evbarm/install

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/install
diff -u src/distrib/notes/evbarm/install:1.11 src/distrib/notes/evbarm/install:1.12
--- src/distrib/notes/evbarm/install:1.11	Wed May 27 12:45:07 2020
+++ src/distrib/notes/evbarm/install	Wed May 27 12:47:47 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: install,v 1.11 2020/05/27 12:45:07 nia Exp $
+.\"	$NetBSD: install,v 1.12 2020/05/27 12:47:47 nia Exp $
 .\"
 .\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Ss2 Installation for ARMv7 and AArch64 boards using U-Boot (example: Allwinner SoCs)
+.Ss2 Installation for ARMv7 and AArch64 devices with U-Boot (example: Allwinner SoCs)
 .Bl -bullet -offset indent -compact
 .It
 Download or build armv7.img (32-bit) or arm64.img (64-bit)
@@ -43,7 +43,7 @@ Install a board-specific U-Boot from pkg
 If you do not want to prepare a SD card image manually, NetBSD developer
 Jared McNeill provides pre-prepared images on his website
 .Lk http://www.armbsd.org/arm/ "armbsd.org" .
-.Ss2 Installation for AArch64 boards using U-Boot (example: Rockchip SoCs)
+.Ss2 Installation for AArch64 devices with U-Boot (example: Rockchip SoCs)
 .Bl -bullet -offset indent -compact
 .It
 Download or build arm64.img (64-bit)



CVS commit: src/distrib/notes/evbarm

2020-05-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed May 27 12:45:07 UTC 2020

Modified Files:
src/distrib/notes/evbarm: hardware install

Log Message:
First attempt at modernising the evbarm install guide and hardware lists

- Install instructions mostly based on wiki pages
- Supported hardware lists mostly based on GENERIC and GENERIC64 kernels


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/distrib/notes/evbarm/hardware \
src/distrib/notes/evbarm/install

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.10 src/distrib/notes/evbarm/hardware:1.11
--- src/distrib/notes/evbarm/hardware:1.10	Wed Apr 30 13:10:48 2008
+++ src/distrib/notes/evbarm/hardware	Wed May 27 12:45:07 2020
@@ -1,6 +1,6 @@
-.\"	$NetBSD: hardware,v 1.10 2008/04/30 13:10:48 martin Exp $
+.\"	$NetBSD: hardware,v 1.11 2020/05/27 12:45:07 nia Exp $
 .\"
-.\" Copyright (c) 2001-2003 The NetBSD Foundation, Inc.
+.\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
@@ -25,8 +25,23 @@
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
 .Nx \*V
-runs on the following ARM architecture evaluation boards:
-.(bullet -offset indent
+runs on the following ARM architecture devices:
+.Bl -bullet -offset indent -compact
+.It
+ARM ServerReady (SBSA) devices
+.It
+Allwinner Technology SoCs (e.g. PINE64, Orange Pi...)
+.It
+RockChip RK3328, RK3399 (e.g. RockPro64, Pinebook Pro)
+.It
+BeagleBoard, BeagleBoard-xM, BeagleBone, BeagleBone Black
+.It
+ODROID C1 and C1+
+.It
+Raspberry Pi 1, 2, 3
+.It
+NVIDIA Tegra K1, X1
+.It
 Technologic Systems TS-7200
 .It
 ARM, Ltd. Integrator
@@ -44,33 +59,114 @@ Samsung SMDK2800
 ADI Engineering, Inc. BRH ("Big Red Head")
 .It
 Arcom Viper
-.bullet)
+.El
+.
+.Ss2 Supported devices (Allwinner Systems-on-a-Chip)
+The following Allwinner SoCs are known to be supported by GENERIC
+kernels (ARMv7-A):
+A10, A13, A20, A32, A80, A83T, H3
+.Pp
+The following Allwinner SoCs are known to be supported by GENERIC64
+kernels (AArch64):
+H5, H6, A64
+.Pp
+This is not an exhaustive list and only includes on-chip devices:
+.Bl -bullet -offset indent -compact
+.It
+Allwinner DRM framebuffer
+.It
+Allwinner audio codec
+.It
+Allwinner GPIO controller
+.It
+Allwinner SPI controller
+.It
+Allwinner RSB/TWI I2C controllers
+.It
+Allwinner SD/MMC
+.It
+Synopsys DesignWare SATA
+.It
+Synopsys DesignWare Ethernet MAC 10/100/1000 Universal
+.It
+USB 2.0/3.0 host controller
+.El
+.
+.Ss2 Supported devices (RockChip Systems-on-a-Chip)
+The following RockChip SoCs are known to be supported by GENERIC64
+kernels (AArch64): RK3328, RK3328
+.Pp
+Other systems may work, but they have not been tested.
+.Pp
+This is not an exhaustive list and only includes on-chip devices:
+.Bl -bullet -offset indent -compact
+.It
+RockChip DRM framebuffer
+.It
+RockChip I2S/PCM audio
+.It
+RockChip GPIO controller
+.It
+RockChip SPI controller
+.It
+RockChip I2C controller
+.It
+RockChip AXI PCI-E
+.It
+RockChip Power Management IC
+.It
+RockChip eMMC PHY
+.It
+Synopsys DesignWare Ethernet MAC 10/100/1000 Universal
+.It
+USB 2.0/3.0 host controller
+.El
+.
+.Ss2 Supported devices (Broadcom Systems-on-a-Chip)
+The following Broadcom SoCs are known to be supported by GENERIC
+kernels (ARMv7-A): BCM2836 (Raspberry Pi 2)
+.Pp
+The following Broadcom SoCs are known to be supported by GENERIC64
+kernels (AArch64): BCM2837 (Raspberry Pi 3)
+.Pp
+This is not an exhaustive list and only includes on-chip devices:
+.Bl -bullet -offset indent -compact
+.It
+Broadcom BCM283x ICU controller
+.It
+Broadcom VideoCore IV mailbox
+.It
+Broadcom BCM283x GPIO controller
+.It
+Broadcom GENET v5 ethernet
+.It
+Broadcom BCM283x SD Host Interface
+.It
+Broadcom BCM43xxx WiFi Interface
+.It
+Broadcom BCM283x SPI controller
+.It
+Synopsys DesignWare USB DRD controller
+.El
 .
 .Ss2 Supported devices (Technologic Systems TS-7200)
 For devices that have machine-independent drivers,
 this is not an exhaustive list, but merely reflects the
 devices that have been tested on this platform.
-.(bullet -offset indent
-.Te 2 "TS-5620 Real Time Clock"
+.Bl -bullet -offset indent -compact
+.It
+TS-5620 Real Time Clock
 .It
-.Te 2 "Serial ports"
-.(bullet -compact
 On-chip EP9302 UARTs
 .It
 TS-SER1, TS-SER2, TS-SER4 PC/104 serial adapters
 .It
 TS-MODEM, TS-MODEM2 PC/104 land-line/cellular modems
-.bullet)
 .It
-.Te 2 "Ethernet adapters"
-.(bullet -compact
 On-chip EP9302 10/100 ethernet
 .It
 TS-ETH10 PC/104 expansion ethernet adapters
-.bullet)
 .It
-.Te 2 "Other on-board functions"
-.(bullet -compact
 CompactFlash socket
 .It
 USB OHCI host
@@ -80,24 +176,19 @@ Text-mode HD44780 LCD display header
 Matrix keypad/GPIO header
 .It
 Board temperature sensor and watchdog timer
-.bullet)
-.bullet)
+.El
 .
 .Ss2 Supported d