CVS commit: [netbsd-9] src/distrib/notes/evbarm

2020-07-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 26 11:07:56 UTC 2020

Modified Files:
src/distrib/notes/evbarm [netbsd-9]: contents hardware

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

distrib/notes/evbarm/hardware: revision 1.15
distrib/notes/evbarm/contents: revision 1.11

Fix location of device trees

more 9.0 hardware


To generate a diff of this commit:
cvs rdiff -u -r1.4.4.3 -r1.4.4.4 src/distrib/notes/evbarm/contents
cvs rdiff -u -r1.10.66.1 -r1.10.66.2 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/contents
diff -u src/distrib/notes/evbarm/contents:1.4.4.3 src/distrib/notes/evbarm/contents:1.4.4.4
--- src/distrib/notes/evbarm/contents:1.4.4.3	Mon Jul 20 18:32:55 2020
+++ src/distrib/notes/evbarm/contents	Sun Jul 26 11:07:56 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: contents,v 1.4.4.3 2020/07/20 18:32:55 martin Exp $
+.\"	$NetBSD: contents,v 1.4.4.4 2020/07/26 11:07:56 martin 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/

Index: src/distrib/notes/evbarm/hardware
diff -u src/distrib/notes/evbarm/hardware:1.10.66.1 src/distrib/notes/evbarm/hardware:1.10.66.2
--- src/distrib/notes/evbarm/hardware:1.10.66.1	Mon Jul 20 18:32:55 2020
+++ src/distrib/notes/evbarm/hardware	Sun Jul 26 11:07:56 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hardware,v 1.10.66.1 2020/07/20 18:32:55 martin Exp $
+.\"	$NetBSD: hardware,v 1.10.66.2 2020/07/26 11:07:56 martin 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: [netbsd-9] src/distrib/notes/evbarm

2020-07-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 26 11:07:56 UTC 2020

Modified Files:
src/distrib/notes/evbarm [netbsd-9]: contents hardware

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

distrib/notes/evbarm/hardware: revision 1.15
distrib/notes/evbarm/contents: revision 1.11

Fix location of device trees

more 9.0 hardware


To generate a diff of this commit:
cvs rdiff -u -r1.4.4.3 -r1.4.4.4 src/distrib/notes/evbarm/contents
cvs rdiff -u -r1.10.66.1 -r1.10.66.2 src/distrib/notes/evbarm/hardware

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



CVS commit: [netbsd-9] src/distrib/notes/evbarm

2020-07-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 26 11:05:57 UTC 2020

Modified Files:
src/distrib/notes/evbarm [netbsd-9]: upgrade

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

distrib/notes/evbarm/upgrade: revision 1.3
distrib/notes/evbarm/upgrade: revision 1.4
distrib/notes/evbarm/upgrade: revision 1.5

Initial evbarm upgrade instructions - need work

clarify

upgrades to upgrade instructions


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.50.1 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.2.50.1
--- src/distrib/notes/evbarm/upgrade:1.2	Thu Apr 23 01:56:49 2009
+++ src/distrib/notes/evbarm/upgrade	Sun Jul 26 11:05:57 2020
@@ -1,3 +1,86 @@
-.\"	$NetBSD: upgrade,v 1.2 2009/04/23 01:56:49 snj Exp $
+.\"	$NetBSD: upgrade,v 1.2.50.1 2020/07/26 11:05:57 martin 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 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/;
+ARCHIVE_EXTENSION=tar.xz
+.Ed
+.Pp
+Make sure
+.Pa /boot
+is mounted, and copy the new board-specific
+.Pa *.dts
+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:
+.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
+# sysupgrade modules
+# reboot
+# sysupgrade sets
+# sysupgrade etcupdate
+# sysupgrade postinstall
+# reboot
+.Ed
+.Pp
+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
+# reboot
+.Ed



CVS commit: [netbsd-9] src/distrib/notes/evbarm

2020-07-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 26 11:05:57 UTC 2020

Modified Files:
src/distrib/notes/evbarm [netbsd-9]: upgrade

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

distrib/notes/evbarm/upgrade: revision 1.3
distrib/notes/evbarm/upgrade: revision 1.4
distrib/notes/evbarm/upgrade: revision 1.5

Initial evbarm upgrade instructions - need work

clarify

upgrades to upgrade instructions


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

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



CVS commit: [netbsd-9] src/distrib/notes/evbarm

2020-07-20 Thread Martin Husemann
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 

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 \" 

CVS commit: [netbsd-9] src/distrib/notes/evbarm

2020-07-20 Thread Martin Husemann
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.