Module Name:    src
Committed By:   martin
Date:           Mon Jul 20 18:32:55 UTC 2020

Modified Files:
        src/distrib/notes/evbarm [netbsd-9]: Makefile contents hardware install
            prep xfer

Log Message:
Pull up following revision(s) (requested by nia in ticket #1022):

        distrib/notes/evbarm/install: revision 1.14
        distrib/notes/evbarm/hardware: revision 1.11
        distrib/notes/evbarm/hardware: revision 1.12
        distrib/notes/evbarm/hardware: revision 1.13
        distrib/notes/evbarm/hardware: revision 1.14
        distrib/notes/evbarm/Makefile: revision 1.3
        distrib/notes/evbarm/xfer: revision 1.3
        distrib/notes/evbarm/xfer: revision 1.4
        distrib/notes/evbarm/prep: revision 1.12
        distrib/notes/evbarm/contents: revision 1.9
        distrib/notes/evbarm/contents: revision 1.10
        distrib/notes/evbarm/install: revision 1.11
        distrib/notes/evbarm/install: revision 1.12
        distrib/notes/evbarm/install: revision 1.13

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
s/boards/devices/

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

more modernization of evbarm install instructions

safe estimation of required storage

more contents

more hardware

missing e.g.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.102.1 src/distrib/notes/evbarm/Makefile
cvs rdiff -u -r1.4.4.2 -r1.4.4.3 src/distrib/notes/evbarm/contents
cvs rdiff -u -r1.10 -r1.10.66.1 src/distrib/notes/evbarm/hardware
cvs rdiff -u -r1.9.64.1 -r1.9.64.2 src/distrib/notes/evbarm/install
cvs rdiff -u -r1.11 -r1.11.34.1 src/distrib/notes/evbarm/prep
cvs rdiff -u -r1.2 -r1.2.48.1 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/Makefile
diff -u src/distrib/notes/evbarm/Makefile:1.2 src/distrib/notes/evbarm/Makefile:1.2.102.1
--- src/distrib/notes/evbarm/Makefile:1.2	Sun Jul 21 08:14:48 2002
+++ src/distrib/notes/evbarm/Makefile	Mon Jul 20 18:32:55 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.2.102.1 2020/07/20 18:32:55 martin Exp $
 
 .include <bsd.man.mk>

Index: src/distrib/notes/evbarm/contents
diff -u src/distrib/notes/evbarm/contents:1.4.4.2 src/distrib/notes/evbarm/contents:1.4.4.3
--- src/distrib/notes/evbarm/contents:1.4.4.2	Mon Nov 25 05:50:20 2019
+++ src/distrib/notes/evbarm/contents	Mon Jul 20 18:32:55 2020
@@ -1,6 +1,6 @@
-.\"	$NetBSD: contents,v 1.4.4.2 2019/11/25 05:50:20 msaitoh Exp $
+.\"	$NetBSD: contents,v 1.4.4.3 2020/07/20 18:32:55 martin 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,66 +45,81 @@ 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).
+.			It Pa *.dtb.gz
+Gzipped board-specific device trees.
+.		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 installation/
 .
 .	(tag miniroot/ -compact \" installation/
 .
-.		It Pa misc/
+.		It Pa miniroot/
+.
+\*M kernel modules providing memory disk
+root file systems for expert usage.
 .
-Miscellaneous \*M installation utilities; see
-installation section below.
+.		It Pa misc/
+.		(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/
 .
 .tag) \" top level
 .
-.\" ------------------------------------------------------------------
-.
 .
 .Ss2 Binary distribution sets
-.\"
-.\" ------------------------------------------------------------------
-.\" XXX: most sets except kern and xserver should be in notes/common
-.\"
 The
 .Nx
-\*M
-binary distribution sets contain the binaries which
-comprise the
-.Nx
-\*V release for \*M.
-The binary distribution sets can be found in the
+\*V release for \*M is comprised of the following binary sets, which
+can be found in the
 .Pa \*M/binary/sets
 subdirectory
 of the
 .Nx
 \*V
-distribution tree, and are as follows:
+distribution tree:
 .(tag xserver \" sets
+.\"
+.\" XXX: most sets except kern and xserver should be shared
+.\"
 .
 .It Sy base
 The
@@ -154,31 +169,18 @@ be used if you are upgrading.
 .It Sy games
 This set includes the games and their manual pages.
 .
-.\" MD kernel set(s) -------------------------------------------------
+.\" Kernel set(s)
 .
-.It Sy kern-INTEGRATOR
-(see below)
-.It Sy kern-IQ80310
-(see below)
-.It Sy kern-IQ80321
-(see below)
-.It Sy kern-TEAMASA_NPWR
-.Pp
-These sets contain a
+.It Sy kern-GENERIC
+This set contains a
 .Nx*M
 \*V
+.Li GENERIC
 kernel, named
 .Pa /netbsd .
-Some of these sets also contain a binary format kernel named
-.Pa /netbsd.bin
-and an S-record format kernel named
-.Pa /netbsd.srec
-that your firmware may need to boot.
 You
 .Em must
-install the kernel that matches your hardware.
-.
-.\" ------------------------------------------------------------------
+install this distribution set.
 .
 .It Sy man
 This set includes all of the manual pages for the
@@ -211,9 +213,7 @@ all related programs, and their manual p
 .tag) \" sets
 .
 .
-.\" X sets -----------------------------------------------------------
-.\" XXX: XOrg vs XFree
-.\" XXX: ports without xserver
+.\" ---------------------------- X SETS
 .Pp
 .Nx
 maintains its own set of sources for the X Window System in order to
@@ -248,22 +248,22 @@ Configuration files for X which could be
 .
 .It Sy xserver
 The X server.
+This includes the modular X.Org server.
 .
 .tag) \" x sets
 .
 .
-.\" ------------------------------------------------------------------
-.
-.
+.\" ---------------------------- MI DISCUSSION OF BINARY SETS
+.\"
 .\" MI DISCUSSION OF BINARY SETS -------------------------------------
 .\" XXX: should be in notes/common
+.\"
 .
 .Pp
 The \*M binary distribution sets are distributed as gzipped tar files
 named with the extension
-.Sy .\*[setsuffix] ,
-e.g.
-.Pa base.\*[setsuffix] .
+.Sy .\*[setsuffix]
+.Pq e.g., Pa base.\*[setsuffix] .
 .
 .
 .Pp
@@ -272,7 +272,7 @@ well for the binary sets, but it is wort
 method, the filenames stored in the sets are relative and therefore
 the files are extracted
 .Em below the current directory .
-Therefore, if you want to extract the binaries into your system, i.e.
+Therefore, if you want to extract the binaries into your system, i.e.,
 replace the system binaries with them, you have to run the
 .Ic "tar -xzpf"
 command from the root directory (
@@ -280,7 +280,6 @@ command from the root directory (
 ) of your system.
 .
 .
-.\" MD DISCUSSION ----------------------------------------------------
+.\" ---------------------------- MD DISCUSSION
 .
 .\" XXX: should be written
-.

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.10 src/distrib/notes/evbarm/hardware:1.10.66.1
--- src/distrib/notes/evbarm/hardware:1.10	Wed Apr 30 13:10:48 2008
+++ src/distrib/notes/evbarm/hardware	Mon Jul 20 18:32:55 2020
@@ -1,6 +1,6 @@
-.\"	$NetBSD: hardware,v 1.10 2008/04/30 13:10:48 martin Exp $
+.\"	$NetBSD: hardware,v 1.10.66.1 2020/07/20 18:32:55 martin 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
@@ -24,217 +24,39 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Nx \*V
-runs on the following ARM architecture evaluation boards:
-.(bullet -offset indent
-Technologic Systems TS-7200
-.It
-ARM, Ltd. Integrator
-.It
-Intel IQ80310
-.It
-Intel IQ80321
-.It
-Team ASA, Inc. Npwr
-.It
-Intel IXM1200
-.It
-Samsung SMDK2800
-.It
-ADI Engineering, Inc. BRH ("Big Red Head")
-.It
-Arcom Viper
-.bullet)
-.
-.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"
-.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
-.It
-Text-mode HD44780 LCD display header
-.It
-Matrix keypad/GPIO header
-.It
-Board temperature sensor and watchdog timer
-.bullet)
-.bullet)
-.
-.Ss2 Supported devices (ARM, Ltd. Integrator)
-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 "PrimeCell PL030 Real Time Clock"
-.It
-.Te 2 "Serial ports"
-.(bullet -compact
-PrimeCell PL010 UART
-.bullet)
-.It
-.Te 2 "SCSI host adapters"
-.(bullet -compact
-Adaptec AHA-2910, 2915, 2920, and 2930C adapters.
-.It
-Adaptec AHA-2x4x[U][2][W] cards and onboard PCI designs using the AIC-7770,
-AIC-7850, AIC-7860, AIC-7870, AIC-7880 and AIC-789x chipsets.
-.It
-Adaptec AHA-394x[U][W] cards [b]
-.It
-Adaptec AHA-3950U2 cards
-.It
-Adaptec AHA-3960, 19160 and 29160 Ultra-160 adapters
-.bullet)
-.It
-.Te 2 "Ethernet adapters"
-.(bullet -compact
-Intel i82557, i82558, i82559, i82550
-.bullet)
-.bullet)
-.
-.Ss2 Supported devices (Intel IQ80310)
-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 "Serial ports"
-.(bullet -compact
-On-board ST16c550 UARTs
-.bullet)
-.It
-.Te 2 "Ethernet adapters"
-.(bullet -compact
-Intel i82557, i82558, i82559, i82550
-.bullet)
-.It
-.Te 2 "i80312 Companion I/O functions"
-.(bullet -compact
-General Purpose I/O unit
-.bullet)
-.bullet)
-.
-.Ss2 Supported devices (Intel IQ80321)
-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 "Serial ports"
-.(bullet -compact
-On-board TI 16550 UART
-.bullet)
-.It
-.Te 2 "Ethernet adapters"
-.(bullet -compact
-Intel i82542, i82543, i85244 Gigabit Ethernet
-.bullet)
-.It
-.Te 2 "i80321 I/O Processor functions"
-.(bullet -compact
-Application Accelerator Unit
-.It
-Watchdog timer
-.bullet)
-.bullet)
-.
-.Ss2 Supported devices (Team ASA Npwr)
-The Npwr is a storage appliance based on the Intel IOP310
-I/O processor chipset.  This is an exhaustive list of devices
-supported on the Npwr as the Npwr has no expansion capability.
-.(bullet
-.Te 2 "Serial ports"
-.(bullet -compact
-On-board TI 16550 UART
-.bullet)
-.It
-.Te 2 "SCSI host adapters"
-.(bullet
-On-board LSI Logic 53c1010 Ultra160 SCSI adapter
-.bullet)
-.It
-.Te 2 "Ethernet adapters"
-.(bullet
-On-board Intel i82544 Gigabit Ethernet
-.bullet)
-.bullet)
-.
-.Ss2 Supported devices (Intel IXM1200)
-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 "Serial ports"
-.(bullet -compact
-IXP1200 on-chip serial port
-.bullet)
-.It
-.Te 2 "Ethernet adapters"
-.(bullet -compact
-Intel i82557, i82558, i82559, i82550
-.bullet)
-.bullet)
-.
-.Ss2 Supported devices (Samsung SMDK2800)
-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 "Serial ports"
-.(bullet -compact
-S3C2800 on-chip serial ports
-.bullet)
-.bullet)
-.
-.Ss2 Supported devices (ADI BRH)
-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 "Serial ports"
-.(bullet -compact
-On-board TI 16752 DUART
-.bullet)
-.It
-.Te 2 "Ethernet adapters"
-.(bullet -compact
-Intel i82557, i82558, i82559, i82550
-.It
-Intel i82544, i82546 Gigabit Ethernet
-.bullet)
-.bullet)
-.
-.Ss2 Supported devices (Arcom Viper)
-Current this is an exhaustive list, since expansion ports such as
-PC/104 and USB are not yet supported.
-.(bullet -offset indent
-.Te 2 "Serial ports"
-.(bullet -compact
-On-chip PXA255 UARTs
-.bullet)
-.Te 2 "Ethernet adapters"
-.(bullet -compact
-On-board SMC91C111
-.bullet)
-.bullet)
+.Ss2 32-bit SoCs supported by GENERIC kernels (ARMv7-A)
+.Pp
+.Lk "https://wiki.netbsd.org/ports/evbarm/qemu_arm/"; "QEMU"
+is also supported.
+.Bl -bullet -offset indent -compact
+.It
+Allwinner A10, A13, A20, A32, A80, A83T, H3 (e.g. Cubieboard, OLinuXino, LeMaker Banana Pi...)
+.It
+Amlogic S805 (e.g. ODROID-C1)
+.It
+Broadcom BCM2836 (e.g. Raspberry Pi 2)
+.It
+Samsung Exynos 5422 (e.g. ODROID-XU3/XU-4)
+.It
+Texas Instruments OMAP3 (e.g. BeagleBoard, BeagleBone Black...)
+.It
+NVIDIA Tegra K1
+.El
+.Ss2 64-bit SoCs supported by GENERIC64 kernels
+.Pp
+Devices conforming to the Server Base System Architecture specification,
+and
+.Lk "https://wiki.netbsd.org/ports/evbarm/qemu_arm/"; "QEMU"
+are also supported.
+.Bl -bullet -offset indent -compact
+.It
+Allwinner H5, H6, A64 (e.g. PINE64, Pinebook, NanoPi A64, OLinuXino...)
+.It
+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, Firefly...)
+.It
+NVIDIA Tegra X1
+.El

Index: src/distrib/notes/evbarm/install
diff -u src/distrib/notes/evbarm/install:1.9.64.1 src/distrib/notes/evbarm/install:1.9.64.2
--- src/distrib/notes/evbarm/install:1.9.64.1	Thu Nov 21 19:28:39 2019
+++ src/distrib/notes/evbarm/install	Mon Jul 20 18:32:55 2020
@@ -1,6 +1,6 @@
-.\"	$NetBSD: install,v 1.9.64.1 2019/11/21 19:28:39 martin Exp $
+.\"	$NetBSD: install,v 1.9.64.2 2020/07/20 18:32:55 martin Exp $
 .\"
-.\" Copyright (c) 2001-2002 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
@@ -24,227 +24,63 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Ss2 Installation for the Technologic Systems TS-7200
-The following steps describe how to set up a CompactFlash card for
-the TS-7200.  The TS-7200 can use the interactive
-installation program
-.Ic sysinst 
-to perform an internet installation from ftp.netbsd.org on the CompactFlash.  
-.Pp
-.(enum
-Place the netbsd-TS7200_INSTALL.bin kernel into the TFTP server's download
-area.  It must be decompressed from the gzipped image in the release directory
-evbarm/installation/instkernel/netbsd-TS7200_INSTALL.srec.gz
-.Pp
-.Dl server# Ic gunzip netbsd-TS7200_INSTALL.srec.gz
-.Dl server# Ic cp netbsd-TS7200_INSTALL.srec /tftpboot/netbsd-TS7200_INSTALL
+.Ss2 Installation for ARMv7 and AArch64 devices with U-Boot
+.Bl -bullet -offset indent -compact
 .It
-Load the kernel from the TFTP server.
-.Pp
-.Bd -literal
-RedBoot\*[Gt] load netbsd-TS7200_INSTALL
-.Ed
+Download or build armv7.img.gz (32-bit) or arm64.img.gz (64-bit).
 .It
-Start the kernel running.
-.Pp
+Decompress the .gz image, using
+.Xr gunzip 1
+on Unix.
+.It
+Write the image to disk:
 .Bd -literal
-RedBoot\*[Gt] go
+# dd if=armv7.img of=/dev/rld0d bs=1m conv=sync
 .Ed
-.Pp
-The kernel will display boot messages, probe for devices, and invoke the
-interactive sysinst installation tool.  Once sysinst has completed installation, the
-system will reboot back into RedBoot.  If the preparation instructions above have
-been followed, the post-installation NetBSD kernel will be in the FIS ready to be 
-jumped into.  You can have RedBoot automatically start NetBSD by putting the
-command
-.Ic go 0x60660000
-into the RedBoot bootscript using the
-.Ic fconfig
-command.
-.enum)
-.
-.Ss2 Installation for the Intel IQ80310
-The following steps describe how to set up an NFS root environment
-for the IQ80310 and how to boot the IQ80310.
-.Pp
-.(enum
-Place the kernel into the TFTP server's download area.
-.Pp
-RedBoot only loads S-Records, so select a kernel with the
-.Dq .srec
-filename suffix.
-In this example, we will boot the kernel
-hard-wired to use the on-board Ethernet as the root device.
-.Pp
-.Dl server# Ic cp netbsd-fxp0.srec /tftpboot/netbsd-iq80310-fxp0
 .It
-Unpack the distribution sets into the target's root directory.
-.Pp
-.Dl server# Ic cd /export/client/iq80310
-.Dl server# Ic gzcat .../base.\*[setsuffix] | tar xvpf -
-.Dl server# Ic gzcat .../etc.\*[setsuffix] | tar xvpf -
-.Dl [ repeat for all sets you wish to unpack ]
+If you are using Microsoft Windows, you can use
+.Lk https://www.netbsd.org/~martin/rawrite32/ "rawrite32"
+to write SD card images, which can handle decompression too.
 .It
-Load the kernel from the TFTP server.
+To replace the vendor U-Boot bootloader with a "mainline" U-Boot,
+obtain a board-specific image. Bootloaders are provided by the
+.Pa sysutils/u-boot-*
+packages in
+.Lk https://www.pkgsrc.org/ "pkgsrc" .
 .Pp
-.Bd -literal
-RedBoot\*[Gt] load netbsd-iq80310-fxp0
-Entry point: 0xa0200000, address range: 0xa0200000-0xa035e07c
-RedBoot\*[Gt]
-.Ed
-.It
-Start the kernel running.
-The kernel will display boot message,
-probe for devices, and mount the root file system.
-If you used a kernel hard-wired to use the on-board Ethernet, it will attempt
-to mount the root file system automatically.
-Otherwise, it will prompt for the root device to use.
+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
-Since the system's run-time environment has not yet been configured,
-the system should boot into single-user mode.
+You can also extract the U-Boot image from u-boot-*.tgz archive in an
+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):
 .Bd -literal
-RedBoot\*[Gt] go
-
-NetBSD/evbarm (IQ80310) booting ...
-Resetting secondary PCI bus...
-initarm: Configuring system ...
-physmemory: 65536 pages at 0xa0000000 -\*[Gt] 0xafffffff
-init subsystems: stacks vectors undefined pmap irq done.
-[ using 155084 bytes of netbsd ELF symbol table ]
-Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
-    The NetBSD Foundation, Inc.  All rights reserved.
-Copyright (c) 1982, 1986, 1989, 1991, 1993
-    The Regents of the University of California.  All rights reserved.
-
-NetBSD 1.5ZC (IQ80310) #20: Fri Mar 29 10:25:53 PST 2002
-    root@tgm:/u1/netbsd/src/sys/arch/evbarm/compile/IQ80310
-total memory = 256 MB
-avail memory = 232 MB
-using 1228 buffers containing 13208 KB of memory
-mainbus0 (root)
-cpu0 at mainbus0: i80200 step A-0 (XScale core)
-cpu0: DC enabled IC enabled WB enabled LABT
-cpu0: 32KB/32B 32-way Instruction cache
-cpu0: 32KB/32B 32-way write-back-locking Data cache
-obio0 at mainbus0: board rev. F, CPLD rev. D, backplane present
-com0 at obio0 addr 0xfe810000: ns16550a, working fifo
-com0: console
-com1 at obio0 addr 0xfe800000: ns16550a, working fifo
-iopxs0 at mainbus0: i80312 Companion I/O, acting as PCI host
-iopxs0: configuring Secondary PCI bus
-pci0 at iopxs0 bus 1
-pci0: i/o space, memory space enabled
-ppb0 at pci0 dev 7 function 0: Digital Equipment DECchip 21154 PCI-PCI Bridge (rev. 0x05)
-pci1 at ppb0 bus 2
-pci1: i/o space, memory space enabled
-fxp0 at pci1 dev 0 function 0: i82559S Ethernet, rev 9
-fxp0: interrupting at iq80310 irq 1
-fxp0: Ethernet address 00:80:4d:46:0b:b9
-inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
-inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
-clock: hz=100 stathz=0 profhz=0
-boot device: \*[Lt]unknown\*[Gt]
-root on fxp0
-nfs_boot: trying DHCP/BOOTP
-nfs_boot: DHCP next-server: 192.168.0.1
-nfs_boot: my_name=iq80310.lab.wasabisystems.com
-nfs_boot: my_domain=wasabisystems.com
-nfs_boot: my_addr=192.168.0.10
-nfs_boot: my_mask=255.255.255.0
-nfs_boot: gateway=192.168.0.254
-root on 192.168.0.1:/export/client/iq80310
-/etc/rc.conf is not configured.  Multiuser boot aborted.
-Enter pathname of shell or RETURN for sh:
+# 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
-.enum)
-.Ss2 Installation for the Intel IQ80321
-The following steps describe how to set up an NFS root environment
-for the IQ80321 and how to boot the IQ80321.
-.Pp
-.(enum
-Place the kernel into the TFTP server's download area.
-.Pp
-RedBoot only loads S-Records, so select a kernel with the
-.Dq .srec
-filename suffix.
-In this example, we will boot the kernel
-hard-wired to use the on-board Ethernet as the root device.
-.Pp
-.Dl server# Ic cp netbsd-wm0.srec /tftpboot/netbsd-iq80321-wm0
-.It
-Unpack the distribution sets into the target's root directory.
-.Pp
-.Dl server# Ic cd /export/client/iq80321
-.Dl server# Ic gzcat .../base.\*[setsuffix] | tar xvpf -
-.Dl server# Ic gzcat .../etc.\*[setsuffix] | tar xvpf -
-.Dl [ repeat for all sets you wish to unpack ]
-.It
-Load the kernel from the TFTP server.
 .Pp
+Or a Rockchip device (e.g. RockPro64):
 .Bd -literal
-RedBoot\*[Gt] load netbsd-iq80321-wm0
-Entry point: 0x00200000, address range: 0x00200000-0x00396a40
-RedBoot\*[Gt]
+# dd if=/usr/pkg/share/u-boot/rockpro64/rksd_loader.img of=/dev/rld0d seek=64 conv=sync
 .Ed
-.It
-Start the kernel running.
-The kernel will display boot message,
-probe for devices, and mount the root file system.
-If you used a kernel hard-wired to use the on-board Ethernet, it will attempt
-to mount the root file system automatically.
-Otherwise, it will prompt for the root device to use.
+.El
 .Pp
-Since the system's run-time environment has not yet been configured,
-the system should boot into single-user mode.
+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 Installing NetBSD/evbarm to a SATA hard disk
+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
-.Bd -literal
-RedBoot\*[Gt] go
-
-NetBSD/evbarm (IQ80321) booting ...
-initarm: Configuring system ...
-physmemory: 32768 pages at 0xa0000000 -\*[Gt] 0xa7ffffff
-init subsystems: stacks vectors undefined pmap irq done.
-[ using 156468 bytes of netbsd ELF symbol table ]
-Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
-    The NetBSD Foundation, Inc.  All rights reserved.
-Copyright (c) 1982, 1986, 1989, 1991, 1993
-    The Regents of the University of California.  All rights reserved.
-
-NetBSD 1.5ZC (IQ80321) #1: Thu Mar 28 18:20:34 PST 2002
-    root@tgm:/u1/netbsd/src/sys/arch/evbarm/compile/IQ80321
-total memory = 128 MB
-avail memory = 113 MB
-using 1228 buffers containing 6656 KB of memory
-mainbus0 (root)
-cpu0 at mainbus0: i80321 step A-0 (XScale core)
-cpu0: DC enabled IC enabled WB enabled LABT
-cpu0: 32KB/32B 32-way Instruction cache
-cpu0: 32KB/32B 32-way write-back-locking Data cache
-obio0 at mainbus0
-com0 at obio0 addr 0xfe800000: ns16550a, working fifo
-com0: console
-iopxs0 at mainbus0: i80321 I/O Processor, acting as PCI host
-iopxs0: configuring PCI bus
-pci0 at iopxs0 bus 0
-pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
-wm0 at pci0 dev 4 function 0: Intel i82544 1000BASE-T Ethernet, rev. 2
-wm0: interrupting at iop321 irq 27
-wm0: Ethernet address 00:07:e9:03:38:40
-makphy0 at wm0 phy 1: Marvell 88E1000 Gigabit PHY, rev. 0
-makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
-clock: hz=100 stathz=0 profhz=0
-boot device: \*[Lt]unknown\*[Gt]
-root on wm0
-nfs_boot: trying DHCP/BOOTP
-nfs_boot: DHCP next-server: 192.168.0.1
-nfs_boot: my_name=iq80321.lab.wasabisystems.com
-nfs_boot: my_domain=wasabisystems.com
-nfs_boot: my_addr=192.168.0.11
-nfs_boot: my_mask=255.255.255.0
-nfs_boot: gateway=192.168.0.254
-root on 192.168.0.1:/export/client/iq80321
-/etc/rc.conf is not configured.  Multiuser boot aborted.
-Enter pathname of shell or RETURN for sh:
-.Ed
-.enum)
+There are instructions for using
+.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.11 src/distrib/notes/evbarm/prep:1.11.34.1
--- src/distrib/notes/evbarm/prep:1.11	Sat Nov  3 07:59:46 2012
+++ src/distrib/notes/evbarm/prep	Mon Jul 20 18:32:55 2020
@@ -1,6 +1,6 @@
-.\"	$NetBSD: prep,v 1.11 2012/11/03 07:59:46 mbalmer Exp $
+.\"	$NetBSD: prep,v 1.11.34.1 2020/07/20 18:32:55 martin Exp $
 .\"
-.\" Copyright (c) 2001-2002 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,352 +25,10 @@
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
 .
-First and foremost, before beginning the installation process,
-.Em make sure you have a reliable backup
-of any data on the target system that you wish to keep.
-Mistakes in partitioning may lead to data loss.
-.Ss2 Preparation for the Technologic Systems TS-7200
-The TS-7200 uses RedBoot firmware which supports loading the kernel via
-serial port and the on-chip Ethernet.
-These notes assume that the Ethernet will be used to load the kernel.
-RedBoot can either use TFTP or HTTP to load the kernel via the network.
 .Pp
-These notes also assume the TS-7200 will be run from the CompactFlash;
-that a FFS filesystem on the CompactFlash card will provide the root file
-system.  The minimum size of the CompactFlash card is 64MB with 512MB being
-the recommended minimum size if attempting a full installation.
+After writing an SD card image, there are generally no specific
+preparation steps needed for ARM.
 .Pp
-The first step to install 
-.Nx
-is to interrupt normal
-system bootup and drop to the RedBoot prompt by hitting Ctrl-C immediately
-after applying power.  To load both the installation kernel and the generic
-post-installation TS7200 kernel you will need network connectivity from RedBoot which
-you will have to configure using the RedBoot
-.Ic fconfig 
-command; see the RedBoot documentation for more information.
-.Pp
-A compressed kernel image and loader suitable for placing into
-flash is provided with the distribution.
-Use of this image is optional;
-a kernel that can be directly loaded over the network
-by RedBoot is also provided.
-.Pp
-The image for the TS-7200 can be found under the
-.Nx*M
-\*V distribution directory in
-.Pa \*M/binary/gzimg/gzimg_TS7200_flash_0x60660000.gz ,
-and corresponds to the kernel in
-.Pa \*M/binary/kernel/netbsd-TS7200.gz .
-The following steps
-describe how to copy the compressed kernel image into flash.
-.Pp
-.(enum
-Uncompress the gzimg file and place it into the TFTP server's
-download area (note, the kernel inside the gzimg is still
-compressed after this step).
-.Pp
-.Dl server# Ic gzcat gzimg_TS7200_flash_0x60660000.gz \*[Gt] /tftpboot/gzimg_TS7200_flash_0x60660000
-.It
-Load the gzimg from the TFTP server.
-.Pp
-.Bd -literal
-RedBoot\*[Gt] load -r -b 0x00200000 gzimg_TS7200_flash_0x60660000
-Raw file loaded 0x00200000-0x00605fe0
-.Ed
-.It
-Use the RedBoot
-.Ic fis
-command to copy the image into flash.
-For more information on the RedBoot
-Flash Image System, see the RedBoot documentation.  The factory default
-Linux image may already be present in flash and must be deleted before
-continuing.
-.Bd -literal
-RedBoot\*[Gt] fis delete vmlinux
-RedBoot\*[Gt] fis create -b 0x00200000 -f 0x60660000 -l 0x00160000 netbsd.gz
-.Ed
-.enum)
-.Pp
-Once the compressed kernel image has been copied into flash, it may
-be started by jumping to the flash address of the image:
-.Bd -literal
-RedBoot\*[Gt] g 0x60660000
-.Ed
-.
-.Ss2 Preparation for the Intel IQ80310
-The IQ80310 uses RedBoot firmware from Red Hat, Inc.
-RedBoot supports loading the kernel via the serial port and the on-board
-Ethernet.
-These notes assume that the Ethernet will be used to load the kernel.
-RedBoot uses the Trivial File Transfer Protocol
-(TFTP) to load the kernel via the network.
-.Pp
-These notes also assume that the IQ80310 will be run as a diskless
-system; that an NFS server will provide the root file system.
-The
-.Nx
-kernel uses the Dynamic Host Configuration Protocol (DHCP) to
-obtain network address and root file system information.
-.Pp
-The first step is to configure your DHCP, NFS, and TFTP server
-software.
-You will need the MAC address for the on-board Ethernet,
-which RedBoot can provide; see the RedBoot documentation for more
-information.
-.Pp
-The next step is to configure RedBoot to obtain its IP address from
-your DHCP server; see the RedBoot documentation for more information.
-.Pp
-Once your DHCP server and RedBoot are properly configured, you should
-see information similar to the following when the IQ80310 is reset
-or powered-up:
-.Bd -literal
-RedBoot(tm) debug environment - built 17:16:14, Feb 12 2001
-Platform: IQ80310 (XScale)
-Copyright (C) 2000, Red Hat, Inc.
-
-RAM: 0xa0000000-0xa2000000
-FLASH: 0x00000000 - 0x00800000, 64 blocks of 0x00020000 bytes each.
-IP: 192.168.0.10, Default server: 192.168.0.1
-RedBoot\*[Gt]
-.Ed
-.Pp
-A compressed kernel image and loader suitable for placing into
-flash is provided with the distribution.
-Use of this image is optional;
-a kernel that can be directly loaded over the network
-by RedBoot is also provided.
-.Pp
-The image for the IQ80310 can be found under the
-.Nx*M
-\*V distribution directory in
-.Pa \*M/binary/gzimg/gzimg_IQ80310_flash_0x00080000.gz ,
-and corresponds to the kernel in
-.Pa \*M/binary/kernel/netbsd-IQ80310.gz .
-The following steps
-describe how to copy the compressed kernel image into flash.
-.Pp
-.(enum
-Uncompress the gzimg file and place it into the TFTP server's
-download area (note, the kernel inside the gzimg is still
-compressed after this step).
-.Pp
-.Dl server# Ic gzcat gzimg_IQ80310_flash_0x00080000.gz \*[Gt] /tftpboot/gzimg_IQ80310_flash_0x00080000
-.It
-Load the gzimg from the TFTP server.
-.Pp
-.Bd -literal
-RedBoot\*[Gt] load -r -b 0xa0200000 gzimg_IQ80310_flash_0x00080000
-Raw file loaded 0xa0200000-0xa0305fe0
-.Ed
-.It
-Use the RedBoot
-.Ic fis
-command to copy the image into flash.
-For more information on the RedBoot
-Flash Image System, see the RedBoot documentation.
-.Bd -literal
-RedBoot\*[Gt] fis create -b 0xa0200000 -f 0x00080000 -l 0x00200000 netbsd.gz
-.Ns ... Erase from 0x00080000-0x00280000: ....................
-.Ns ... Program from 0xa0200000-0xa0400000 at 0x00080000: ....................
-.Ns ... Unlock from 0x007e0000-0x00800000: .
-.Ns ... Erase from 0x007e0000-0x00800000: .
-.Ns ... Program from 0xa1fd0000-0xa1ff0000 at 0x007e0000: .
-.Ns ... Lock from 0x007e0000-0x00800000: .
-.Ed
-.enum)
-.Pp
-Once the compressed kernel image has been copied into flash, it may
-be started by jumping to the flash address of the image:
-.Bd -literal
-RedBoot\*[Gt] g 0x00080000
-
-\*[Gt]\*[Gt] NetBSD/IQ80310 Gzip Boot, Revision 1.1
-\*[Gt]\*[Gt] (root@tgm, Thu Mar 28 18:32:45 PST 2002)
-\*[Gt]\*[Gt] RAM 0xa0000000 - 0xafffffff, heap at 0xaffd0000
-\*[Gt]\*[Gt] Load address: 0xa0200000
-\*[Gt]\*[Gt] Image size: 741244
-Uncompressing image...done.
-Jumping to image @ 0xa0200000...
-
-NetBSD/evbarm (IQ80310) booting ...
-Resetting secondary PCI bus...
-initarm: Configuring system ...
-physmemory: 65536 pages at 0xa0000000 -\*[Gt] 0xafffffff
-init subsystems: stacks vectors undefined pmap irq done.
-[ using 155084 bytes of netbsd ELF symbol table ]
-Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
-    The NetBSD Foundation, Inc.  All rights reserved.
-Copyright (c) 1982, 1986, 1989, 1991, 1993
-    The Regents of the University of California.  All rights reserved.
-
-NetBSD 1.5ZC (IQ80310) #20: Fri Mar 29 10:25:53 PST 2002
-    root@tgm:/u1/netbsd/src/sys/arch/evbarm/compile/IQ80310
-total memory = 256 MB
-avail memory = 232 MB
-using 1228 buffers containing 13208 KB of memory
-mainbus0 (root)
-cpu0 at mainbus0: i80200 step A-0 (XScale core)
-cpu0: DC enabled IC enabled WB enabled LABT
-cpu0: 32KB/32B 32-way Instruction cache
-cpu0: 32KB/32B 32-way write-back-locking Data cache
-obio0 at mainbus0: board rev. F, CPLD rev. D, backplane present
-com0 at obio0 addr 0xfe810000: ns16550a, working fifo
-com0: console
-com1 at obio0 addr 0xfe800000: ns16550a, working fifo
-iopxs0 at mainbus0: i80312 Companion I/O, acting as PCI host
-iopxs0: configuring Secondary PCI bus
-pci0 at iopxs0 bus 1
-pci0: i/o space, memory space enabled
-ppb0 at pci0 dev 7 function 0: Digital Equipment DECchip 21154 PCI-PCI Bridge (rev. 0x05)
-pci1 at ppb0 bus 2
-pci1: i/o space, memory space enabled
-fxp0 at pci1 dev 0 function 0: i82559S Ethernet, rev 9
-fxp0: interrupting at iq80310 irq 1
-fxp0: Ethernet address 00:80:4d:46:0b:b9
-inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
-inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
-clock: hz=100 stathz=0 profhz=0
-boot device: \*[Lt]unknown\*[Gt]
-root device:
-.Ed
-.
-.Ss2 Preparation for the Intel IQ80321
-The IQ80321 uses RedBoot firmware from Red Hat, Inc.
-RedBoot supports loading the kernel via the serial port and the on-board
-Ethernet.
-These notes assume that the Ethernet will be used to load the kernel.
-RedBoot uses the Trivial File Transfer Protocol
-(TFTP) to load the kernel via the network.
-.Pp
-These notes also assume that the IQ80321 will be run as a diskless
-system; that an NFS server will provide the root file system.
-The
-.Nx
-kernel uses the Dynamic Host Configuration Protocol (DHCP) to
-obtain network address and root file system information.
-.Pp
-The first step is to configure your DHCP, NFS, and TFTP server
-software.
-You will need the MAC address for the on-board Ethernet,
-which RedBoot can provide; see the RedBoot documentation for more
-information.
-.Pp
-The next step is to configure RedBoot to obtain its IP address from
-your DHCP server; see the RedBoot documentation for more information.
-.Pp
-Once your DHCP server and RedBoot are properly configured, you should
-see information similar to the following when the IQ80321 is reset
-or powered-up:
-.Bd -literal
-Ethernet eth0: MAC address 00:07:e9:03:38:40
-IP: 192.168.0.11, Default server: 192.168.0.1
-
-RedBoot(tm) bootstrap and debug environment [ROM]
-Non-certified release, version UNKNOWN - built 11:21:56, Feb  1 2002
-
-Platform: IQ80321 (XScale)
-Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
-
-RAM: 0x00000000-0x08000000, 0x00017008-0x01ddd000 available
-FLASH: 0xf0000000 - 0xf0800000, 64 blocks of 0x00020000 bytes each.
-RedBoot\*[Gt]
-.Ed
-.Pp
-A compressed kernel image and loader suitable for placing into
-flash is provided with the distribution.
-Use of this image is optional;
-a kernel that can be directly loaded over the network
-by RedBoot is also provided.
-.Pp
-The image for the IQ80321 can be found under the
-.Nx*M
-\*V distribution directory in
-.Pa \*M/binary/gzimg/gzimg_IQ80321_flash_0xf0080000.gz ,
-and corresponds to the kernel in
-.Pa \*M/binary/kernel/netbsd-IQ80321.gz .
-The following steps
-describe how to copy the compressed kernel image into flash.
-.Pp
-.(enum
-Uncompress the gzimg file and place it into the TFTP server's
-download area (note, the kernel inside the gzimg is still
-compressed after this step).
-.Pp
-.Dl server# Ic gzcat gzimg_IQ80321_flash_0xf0080000.gz \*[Gt] /tftpboot/gzimg_IQ80321_flash_0xf0080000
-.It
-Load the gzimg from the TFTP server.
-.Pp
-.Bd -literal
-RedBoot\*[Gt] load -r -b 0x00200000 gzimg_IQ80321_flash_0xf0080000
-Raw file loaded 0x00200000-0x00305fe4
-.Ed
-.It
-Use the RedBoot
-.Ic fis
-command to copy the image into flash.
-For more information on the RedBoot
-Flash Image System, see the RedBoot documentation.
-.Bd -literal
-RedBoot\*[Gt] fis create -b 0x00200000 -f 0xf0080000 -l 0x00200000 netbsd.gz
-* CAUTION * about to program 'netbsd.gz'
-            at 0xf0080000..0xf027ffff from 0x00200000 - are you sure (y/n)? y
-.Ns ... Erase from 0xf0080000-0xf0280000: .......................
-.Ns ... Program from 0x00200000-0x00400000 at 0xf0080000: ......................
-.Ns ... Unlock from 0xf07e0000-0xf0800000: .
-.Ns ... Erase from 0xf07e0000-0xf0800000: .
-.Ns ... Program from 0x01ddf000-0x01dff000 at 0xf07e0000: .
-.Ns ... Lock from 0xf07e0000-0xf0800000: .
-.Ed
-.enum)
-.Pp
-Once the compressed kernel image has been copied into flash, it may
-be started by jumping to the flash address of the image:
-.Bd -literal
-RedBoot\*[Gt] g 0xf0080000
-
-\*[Gt]\*[Gt] NetBSD/IQ80321 Gzip Boot, Revision 1.1
-\*[Gt]\*[Gt] (root@tgm, Thu Mar 28 18:32:45 PST 2002)
-\*[Gt]\*[Gt] RAM 0xa0000000 - 0xa7ffffff, heap at 0xa7fd0000
-\*[Gt]\*[Gt] Load address: 0xa0200000
-\*[Gt]\*[Gt] Image size: 739495
-Uncompressing image...done.
-Jumping to image @ 0xa0200000...
-
-NetBSD/evbarm (IQ80321) booting ...
-initarm: Configuring system ...
-physmemory: 32768 pages at 0xa0000000 -\*[Gt] 0xa7ffffff
-init subsystems: stacks vectors undefined pmap irq done.
-[ using 155076 bytes of netbsd ELF symbol table ]
-Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
-    The NetBSD Foundation, Inc.  All rights reserved.
-Copyright (c) 1982, 1986, 1989, 1991, 1993
-    The Regents of the University of California.  All rights reserved.
-
-NetBSD 1.5ZC (IQ80321) #1: Thu Mar 28 18:31:58 PST 2002
-    root@tgm:/u1/netbsd/src/sys/arch/evbarm/compile/IQ80321
-total memory = 128 MB
-avail memory = 113 MB
-using 1228 buffers containing 6656 KB of memory
-mainbus0 (root)
-cpu0 at mainbus0: i80321 step A-0 (XScale core)
-cpu0: DC enabled IC enabled WB enabled LABT
-cpu0: 32KB/32B 32-way Instruction cache
-cpu0: 32KB/32B 32-way write-back-locking Data cache
-obio0 at mainbus0
-com0 at obio0 addr 0xfe800000: ns16550a, working fifo
-com0: console
-iopxs0 at mainbus0: i80321 I/O Processor, acting as PCI host
-iopxs0: configuring PCI bus
-pci0 at iopxs0 bus 0
-pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
-wm0 at pci0 dev 4 function 0: Intel i82544 1000BASE-T Ethernet, rev. 2
-wm0: interrupting at iop321 irq 27
-wm0: Ethernet address 00:07:e9:03:38:40
-makphy0 at wm0 phy 1: Marvell 88E1000 Gigabit PHY, rev. 0
-makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
-clock: hz=100 stathz=0 profhz=0
-boot device: \*[Lt]unknown\*[Gt]
-root device:
-.Ed
+Once the system is booted, the init system will resize the root partition
+to take up the entire disk.
+Afterwards, the system can be configured to your liking.

Index: src/distrib/notes/evbarm/xfer
diff -u src/distrib/notes/evbarm/xfer:1.2 src/distrib/notes/evbarm/xfer:1.2.48.1
--- src/distrib/notes/evbarm/xfer:1.2	Fri May 27 17:38:42 2011
+++ src/distrib/notes/evbarm/xfer	Mon Jul 20 18:32:55 2020
@@ -1,6 +1,6 @@
-.\"	$NetBSD: xfer,v 1.2 2011/05/27 17:38:42 tsutsui Exp $
+.\"	$NetBSD: xfer,v 1.2.48.1 2020/07/20 18:32:55 martin 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,25 @@
 .\" 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.
+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
+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.

Reply via email to