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 <bsd.man.mk>
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 installation/
.
. (tag miniroot/ -compact \" installation/
.
+. It Pa miniroot/
+.
+\*M kernel modules providing memory disk
+root file systems for expert usage.
+.
. It Pa misc/
.
Miscellaneous \*M installation utilities; see
@@ -82,29 +99,22 @@ installation section below.
.
.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 +164,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 +208,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,24 +243,23 @@ 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 tar files
compressed with
.Sy \*[compressor]
named with the extension
-.Sy .\*[setsuffix] ,
-e.g.
-.Pa base.\*[setsuffix] .
+.Sy .\*[setsuffix]
+.Pq e.g., Pa base.\*[setsuffix] .
.
.
.Pp
@@ -274,7 +268,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 (
@@ -282,7 +276,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.11 src/distrib/notes/evbarm/hardware:1.12
--- src/distrib/notes/evbarm/hardware:1.11 Wed May 27 12:45:07 2020
+++ src/distrib/notes/evbarm/hardware Sat Jul 18 16:41:14 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: hardware,v 1.11 2020/05/27 12:45:07 nia Exp $
+.\" $NetBSD: hardware,v 1.12 2020/07/18 16:41:14 nia Exp $
.\"
.\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -24,264 +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 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
-.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
-.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.
+.Ss2 32-bit SoCs supported by GENERIC kernels (ARMv7-A)
.Pp
-This is not an exhaustive list and only includes on-chip devices:
+.Lk "https://wiki.netbsd.org/ports/evbarm/qemu_arm/" "QEMU"
+is also supported.
.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
+Allwinner A10, A13, A20, A32, A80, A83T, H3
.It
-RockChip AXI PCI-E
+Amlogic S805 (e.g. ODROID-C1)
.It
-RockChip Power Management IC
+Broadcom BCM2836 (e.g. Raspberry Pi 2)
.It
-RockChip eMMC PHY
+Samsung Exynos 5422 (e.g. ODROID-XU3/XU-4)
.It
-Synopsys DesignWare Ethernet MAC 10/100/1000 Universal
+Texas Instruments OMAP3 (e.g. BeagleBoard, BeagleBone Black...)
.It
-USB 2.0/3.0 host controller
+NVIDIA Tegra K1
.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)
+.Ss2 64-bit SoCs supported by GENERIC64 kernels
.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.
+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
-TS-5620 Real Time Clock
-.It
-On-chip EP9302 UARTs
+Allwinner H5, H6, A64 (e.g. PINE64...)
.It
-TS-SER1, TS-SER2, TS-SER4 PC/104 serial adapters
+Amlogic S905 (e.g. ODROID-C2)
.It
-TS-MODEM, TS-MODEM2 PC/104 land-line/cellular modems
-.It
-On-chip EP9302 10/100 ethernet
-.It
-TS-ETH10 PC/104 expansion ethernet adapters
-.It
-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
-.El
-.
-.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.
-.Bl -bullet -offset indent -compact
-.It
-PrimeCell PL030 Real Time Clock
-.It
-PrimeCell PL010 UART
-.It
-Adaptec AHA-2910, 2915, 2920, and 2930C SCSI host 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
-.It
-Intel i82557, i82558, i82559, i82550 ethernet adapters
-.El
-.
-.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.
-.Bl -bullet -offset indent -compact
-.It
-On-board ST16c550 UARTs
-.It
-Intel i82557, i82558, i82559, i82550 ethernet adapters
-.It
-General Purpose I/O unit
-.El
-.
-.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.
-.Bl -bullet -offset indent -compact
-.It
-On-board TI 16550 UART
-.It
-Intel i82542, i82543, i85244 Gigabit Ethernet
-.It
-Application Accelerator Unit
-.It
-Watchdog timer
-.El
-.
-.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.
-.Bl -bullet -offset indent -compact
-.It
-On-board TI 16550 UART
-.It
-On-board LSI Logic 53c1010 Ultra160 SCSI adapter
-.It
-On-board Intel i82544 Gigabit Ethernet
-.El
-.
-.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.
-.Bl -bullet -offset indent -compact
-.It
-IXP1200 on-chip serial port
-.It
-Intel i82557, i82558, i82559, i82550 ethernet adapters
-.El
-.
-.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.
-.Bl -bullet -offset indent -compact
-.It
-S3C2800 on-chip serial ports
-.El
-.
-.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.
-.Bl -bullet -offset indent -compact
-.It
-On-board TI 16752 DUART
-.It
-Intel i82557, i82558, i82559, i82550 ethernet adapters
-.It
-Intel i82544, i82546 Gigabit Ethernet adapters
-.El
-.
-.Ss2 Supported devices (Arcom Viper)
-Current this is an exhaustive list, since expansion ports such as
-PC/104 and USB are not yet supported.
-.Bl -bullet -offset indent -compact
+Broadcom BCM2837 (e.g. Raspberry Pi 3)
.It
-On-chip PXA255 UARTs
+Rockchip RK3328, RK3328 (e.g. Pinebook Pro, RockPro64...)
.It
-On-board SMC91C111 ethernet adapter
+NVIDIA Tegra X1
.El
Index: src/distrib/notes/evbarm/prep
diff -u src/distrib/notes/evbarm/prep:1.11 src/distrib/notes/evbarm/prep:1.12
--- src/distrib/notes/evbarm/prep:1.11 Sat Nov 3 07:59:46 2012
+++ src/distrib/notes/evbarm/prep Sat Jul 18 16:41:14 2020
@@ -1,6 +1,6 @@
-.\" $NetBSD: prep,v 1.11 2012/11/03 07:59:46 mbalmer Exp $
+.\" $NetBSD: prep,v 1.12 2020/07/18 16:41:14 nia 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/install
diff -u src/distrib/notes/evbarm/install:1.13 src/distrib/notes/evbarm/install:1.14
--- src/distrib/notes/evbarm/install:1.13 Wed May 27 13:51:05 2020
+++ src/distrib/notes/evbarm/install Sat Jul 18 16:41:14 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: install,v 1.13 2020/05/27 13:51:05 nia Exp $
+.\" $NetBSD: install,v 1.14 2020/07/18 16:41:14 nia Exp $
.\"
.\" Copyright (c) 2001-2020 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -24,48 +24,26 @@
.\" 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 (example: Allwinner SoCs)
+.Ss2 Installation for ARMv7 and AArch64 devices with U-Boot
.Bl -bullet -offset indent -compact
.It
-Download or build armv7.img (32-bit) or arm64.img (64-bit)
+Download or build armv7.img.gz (32-bit) or arm64.img.gz (64-bit).
+.It
+Decompress the .gz image, using
+.Xr gunzip 1
+on Unix.
.It
Write the image to disk:
.Bd -literal
# dd if=armv7.img of=/dev/rld0d bs=1m conv=sync
.Ed
.It
-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
-.El
-.Pp
-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 devices with U-Boot (example: Rockchip SoCs)
-.Bl -bullet -offset indent -compact
-.It
-Download or build arm64.img (64-bit)
+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
-Write the image to disk:
-.Bd -literal
-# dd if=arm64.img of=/dev/rld0d bs=1m conv=sync
-.Ed
-.It
-Obtain a board-specific U-Boot image. Bootloaders are provided by
-the
+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" .
@@ -75,270 +53,34 @@ 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
-.El
-.Pp
-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 ODROID C1, C1+
-.Bl -bullet -offset indent -compact
-.It
-Download or build armv7.img (32-bit)
-.It
-.Lk https://github.com/hardkernel/u-boot/tree/odroidc-v2011.03 "Build"
-or
-.Lk http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/odroidc1/u-boot-odroidc-v2011.03-20150308.tar.gz "download a prebuilt"
-U-Boot
-.It
-Write the bootloader to the empty space at the start of the base image:
+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
-# dd if=bl1.bin.hardkernel of=armv7.img bs=1 count=442 conv=notrunc
-# dd if=bl1.bin.hardkernel of=armv7.img bs=512 skip=1 seek=1 conv=notrunc
-# dd if=u-boot.bin of=armv7.img bs=512 seek=64 conv=notrunc
+# 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
-.It
-Write the image to an SD card.
-.It
-Edit boot.ini on the MS-DOS partition. Note that the default boot.ini has console=fb in bootargs, which you should remove if you want serial console:
.Pp
+Or a Rockchip device (e.g. RockPro64):
.Bd -literal
-ODROIDC-UBOOT-CONFIG
-
-setenv bootargs "root=ld0a awge0.mac-address=${ethaddr} console=fb"
-setenv bootcmd "fatload mmc 0:1 0x21000000 netbsd-ODROID-C1.ub; bootm 0x21000000"
-run bootcmd
+# dd if=/usr/pkg/share/u-boot/rockpro64/rksd_loader.img of=/dev/rld0d seek=64 conv=sync
.Ed
.El
.Pp
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 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
-.It
-Load the kernel from the TFTP server.
-.Pp
-.Bd -literal
-RedBoot\*[Gt] load netbsd-TS7200_INSTALL
-.Ed
-.It
-Start the kernel running.
-.Pp
-.Bd -literal
-RedBoot\*[Gt] go
-.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 ]
-.It
-Load the kernel from the TFTP server.
-.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.
-.Pp
-Since the system's run-time environment has not yet been configured,
-the system should boot into single-user mode.
-.Pp
-.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:
-.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
-.Bd -literal
-RedBoot\*[Gt] load netbsd-iq80321-wm0
-Entry point: 0x00200000, address range: 0x00200000-0x00396a40
-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.
-.Pp
-Since the system's run-time environment has not yet been configured,
-the system should boot into single-user mode.
-.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)
+.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
+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.