head	1.6;
access;
symbols
	netbsd-11-0-RC4:1.6
	netbsd-11-0-RC3:1.6
	netbsd-11-0-RC2:1.6
	netbsd-11-0-RC1:1.6
	perseant-exfatfs-base-20250801:1.6
	netbsd-11:1.6.0.10
	netbsd-11-base:1.6
	netbsd-10-1-RELEASE:1.6
	perseant-exfatfs-base-20240630:1.6
	perseant-exfatfs:1.6.0.8
	perseant-exfatfs-base:1.6
	netbsd-8-3-RELEASE:1.2
	netbsd-9-4-RELEASE:1.2.50.1
	netbsd-10-0-RELEASE:1.6
	netbsd-10-0-RC6:1.6
	netbsd-10-0-RC5:1.6
	netbsd-10-0-RC4:1.6
	netbsd-10-0-RC3:1.6
	netbsd-10-0-RC2:1.6
	netbsd-10-0-RC1:1.6
	netbsd-10:1.6.0.6
	netbsd-10-base:1.6
	netbsd-9-3-RELEASE:1.2.50.1
	cjep_sun2x-base1:1.6
	cjep_sun2x:1.6.0.4
	cjep_sun2x-base:1.6
	cjep_staticlib_x-base1:1.6
	netbsd-9-2-RELEASE:1.2.50.1
	cjep_staticlib_x:1.6.0.2
	cjep_staticlib_x-base:1.6
	netbsd-9-1-RELEASE:1.2.50.1
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	is-mlppp:1.2.0.52
	is-mlppp-base:1.2
	phil-wifi-20200406:1.2
	netbsd-8-2-RELEASE:1.2
	netbsd-9-0-RELEASE:1.2
	netbsd-9-0-RC2:1.2
	netbsd-9-0-RC1:1.2
	phil-wifi-20191119:1.2
	netbsd-9:1.2.0.50
	netbsd-9-base:1.2
	phil-wifi-20190609:1.2
	netbsd-8-1-RELEASE:1.2
	netbsd-8-1-RC1:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	netbsd-7-2-RELEASE:1.2
	pgoyette-compat-0728:1.2
	netbsd-8-0-RELEASE:1.2
	phil-wifi:1.2.0.48
	phil-wifi-base:1.2
	pgoyette-compat-0625:1.2
	netbsd-8-0-RC2:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	netbsd-8-0-RC1:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	netbsd-7-1-2-RELEASE:1.2
	pgoyette-compat:1.2.0.46
	pgoyette-compat-base:1.2
	netbsd-7-1-1-RELEASE:1.2
	matt-nb8-mediatek:1.2.0.44
	matt-nb8-mediatek-base:1.2
	perseant-stdc-iso10646:1.2.0.42
	perseant-stdc-iso10646-base:1.2
	netbsd-8:1.2.0.40
	netbsd-8-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.38
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	netbsd-7-1:1.2.0.36
	netbsd-7-1-RELEASE:1.2
	netbsd-7-1-RC2:1.2
	netbsd-7-nhusb-base-20170116:1.2
	bouyer-socketcan:1.2.0.34
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	netbsd-7-1-RC1:1.2
	pgoyette-localcount-20161104:1.2
	netbsd-7-0-2-RELEASE:1.2
	localcount-20160914:1.2
	netbsd-7-nhusb:1.2.0.32
	netbsd-7-nhusb-base:1.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.30
	pgoyette-localcount-base:1.2
	netbsd-7-0-1-RELEASE:1.2
	netbsd-7-0:1.2.0.28
	netbsd-7-0-RELEASE:1.2
	netbsd-7-0-RC3:1.2
	netbsd-7-0-RC2:1.2
	netbsd-7-0-RC1:1.2
	netbsd-5-2-3-RELEASE:1.1.42.1
	netbsd-5-1-5-RELEASE:1.1.42.1
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.2.0.26
	netbsd-7-base:1.2
	yamt-pagecache-base9:1.2
	yamt-pagecache-tag8:1.2
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.2.0.24
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-5-2-2-RELEASE:1.1.42.1
	netbsd-5-1-4-RELEASE:1.1.42.1
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.1.42.1
	netbsd-5-1-3-RELEASE:1.1.42.1
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.2
	riastradh-drm2-base1:1.2
	riastradh-drm2:1.2.0.16
	riastradh-drm2-base:1.2
	netbsd-6-1:1.2.0.22
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	khorben-n900:1.2.0.20
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.2.0.18
	agc-symver-base:1.2
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.1.42.1.0.10
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.1.42.1
	netbsd-5-2-RC1:1.1.42.1
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.2
	netbsd-6-0:1.2.0.14
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.2.0.12
	tls-maxphys-base:1.2
	matt-nb6-plus:1.2.0.10
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-6:1.2.0.8
	netbsd-6-base:1.2
	netbsd-5-1-2-RELEASE:1.1.42.1
	netbsd-5-1-1-RELEASE:1.1.42.1
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.6
	yamt-pagecache-base:1.2
	cherry-xenmp:1.2.0.4
	cherry-xenmp-base:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.2
	bouyer-quota2-base:1.2
	matt-mips64-premerge-20101231:1.2
	matt-nb5-mips64-premerge-20101231:1.1.42.1
	matt-nb5-pq3:1.1.42.1.0.8
	matt-nb5-pq3-base:1.1.42.1
	netbsd-5-1:1.1.42.1.0.6
	netbsd-5-1-RELEASE:1.1.42.1
	netbsd-5-1-RC4:1.1.42.1
	matt-nb5-mips64-k15:1.1.42.1
	netbsd-5-1-RC3:1.1.42.1
	netbsd-5-1-RC2:1.1.42.1
	netbsd-5-1-RC1:1.1.42.1
	netbsd-5-0-2-RELEASE:1.1.42.1
	matt-nb5-mips64-premerge-20091211:1.1.42.1
	matt-premerge-20091211:1.2
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1.42.1
	matt-nb4-mips64-k7-u2a-k9b:1.1.42.1
	matt-nb5-mips64-u1-k1-k5:1.1.42.1
	matt-nb5-mips64:1.1.42.1.0.4
	netbsd-5-0-1-RELEASE:1.1.42.1
	jym-xensuspend-nbase:1.2
	netbsd-5-0:1.1.42.1.0.2
	netbsd-5-0-RELEASE:1.1.42.1
	netbsd-5-0-RC4:1.1
	netbsd-5-0-RC3:1.1
	netbsd-5-0-RC2:1.1
	jym-xensuspend:1.1.0.44
	jym-xensuspend-base:1.2
	netbsd-5-0-RC1:1.1
	netbsd-5:1.1.0.42
	netbsd-5-base:1.1
	matt-mips64-base2:1.1
	matt-mips64:1.1.0.40
	netbsd-4-0-1-RELEASE:1.1
	wrstuden-revivesa-base-3:1.1
	wrstuden-revivesa-base-2:1.1
	wrstuden-fixsa-newbase:1.1
	wrstuden-revivesa-base-1:1.1
	yamt-pf42-base4:1.1
	yamt-pf42-base3:1.1
	hpcarm-cleanup-nbase:1.1
	yamt-pf42-baseX:1.1
	yamt-pf42-base2:1.1
	wrstuden-revivesa:1.1.0.38
	wrstuden-revivesa-base:1.1
	yamt-pf42:1.1.0.36
	yamt-pf42-base:1.1
	mjf-devfs2:1.1.0.34
	mjf-devfs2-base:1.1
	keiichi-mipv6:1.1.0.32
	keiichi-mipv6-base:1.1
	mjf-devfs:1.1.0.30
	mjf-devfs-base:1.1
	matt-armv6-nbase:1.1
	matt-armv6-prevmlocking:1.1
	wrstuden-fixsa-base-1:1.1
	netbsd-4-0:1.1.0.28
	netbsd-4-0-RELEASE:1.1
	cube-autoconf:1.1.0.26
	cube-autoconf-base:1.1
	netbsd-4-0-RC5:1.1
	netbsd-4-0-RC4:1.1
	netbsd-4-0-RC3:1.1
	netbsd-4-0-RC2:1.1
	netbsd-4-0-RC1:1.1
	matt-armv6:1.1.0.24
	matt-armv6-base:1.1
	matt-mips64-base:1.1
	hpcarm-cleanup:1.1.0.22
	hpcarm-cleanup-base:1.1
	netbsd-3-1-1-RELEASE:1.1
	netbsd-3-0-3-RELEASE:1.1
	wrstuden-fixsa:1.1.0.20
	wrstuden-fixsa-base:1.1
	abandoned-netbsd-4-base:1.1
	abandoned-netbsd-4:1.1.0.14
	netbsd-3-1:1.1.0.16
	netbsd-3-1-RELEASE:1.1
	netbsd-3-0-2-RELEASE:1.1
	netbsd-3-1-RC4:1.1
	netbsd-3-1-RC3:1.1
	netbsd-3-1-RC2:1.1
	netbsd-3-1-RC1:1.1
	netbsd-4:1.1.0.18
	netbsd-4-base:1.1
	netbsd-3-0-1-RELEASE:1.1
	netbsd-3-0:1.1.0.12
	netbsd-3-0-RELEASE:1.1
	netbsd-3-0-RC6:1.1
	netbsd-3-0-RC5:1.1
	netbsd-3-0-RC4:1.1
	netbsd-3-0-RC3:1.1
	netbsd-3-0-RC2:1.1
	netbsd-3-0-RC1:1.1
	netbsd-2-0-3-RELEASE:1.1
	netbsd-2-1:1.1.0.10
	netbsd-2-1-RELEASE:1.1
	netbsd-2-1-RC6:1.1
	netbsd-2-1-RC5:1.1
	netbsd-2-1-RC4:1.1
	netbsd-2-1-RC3:1.1
	netbsd-2-1-RC2:1.1
	netbsd-2-1-RC1:1.1
	netbsd-2-0-2-RELEASE:1.1
	netbsd-3:1.1.0.8
	netbsd-3-base:1.1
	netbsd-2-0-1-RELEASE:1.1
	netbsd-2:1.1.0.6
	netbsd-2-base:1.1
	netbsd-2-0-RELEASE:1.1
	netbsd-2-0-RC5:1.1
	netbsd-2-0-RC4:1.1
	netbsd-2-0-RC3:1.1
	netbsd-2-0-RC2:1.1
	netbsd-2-0-RC1:1.1
	netbsd-2-0:1.1.0.4
	netbsd-2-0-base:1.1
	netbsd-1-6-PATCH002-RELEASE:1.1
	netbsd-1-6-PATCH002:1.1
	netbsd-1-6-PATCH002-RC4:1.1
	netbsd-1-6-PATCH002-RC3:1.1
	netbsd-1-6-PATCH002-RC2:1.1
	netbsd-1-6-PATCH002-RC1:1.1
	netbsd-1-6-PATCH001:1.1
	netbsd-1-6-PATCH001-RELEASE:1.1
	netbsd-1-6-PATCH001-RC3:1.1
	netbsd-1-6-PATCH001-RC2:1.1
	netbsd-1-6-PATCH001-RC1:1.1
	fvdl_fs64_base:1.1
	netbsd-1-6-RELEASE:1.1
	netbsd-1-6-RC3:1.1
	netbsd-1-6-RC2:1.1
	netbsd-1-6-RC1:1.1
	netbsd-1-6:1.1.0.2
	netbsd-1-6-base:1.1;
locks; strict;
comment	@# @;


1.6
date	2020.09.15.07.15.21;	author nia;	state Exp;
branches;
next	1.5;
commitid	xiYCp4zFpdzQ67oC;

1.5
date	2020.07.24.12.41.20;	author nia;	state Exp;
branches;
next	1.4;
commitid	nQcUDAjJA0PeCkhC;

1.4
date	2020.07.18.17.45.11;	author nia;	state Exp;
branches;
next	1.3;
commitid	AJQSJPXdfR8vuAgC;

1.3
date	2020.07.18.17.40.14;	author nia;	state Exp;
branches;
next	1.2;
commitid	lCYY8yKnLx3OsAgC;

1.2
date	2009.04.23.01.56.49;	author snj;	state Exp;
branches
	1.2.50.1;
next	1.1;

1.1
date	2001.11.30.23.48.52;	author thorpej;	state Exp;
branches
	1.1.34.1
	1.1.42.1
	1.1.44.1;
next	;

1.2.50.1
date	2020.07.26.11.05.57;	author martin;	state Exp;
branches;
next	;
commitid	CtJcNpNAMv7B1AhC;

1.1.34.1
date	2008.10.05.20.10.27;	author mjf;	state dead;
branches;
next	;

1.1.42.1
date	2009.04.25.23.16.34;	author snj;	state Exp;
branches;
next	;

1.1.44.1
date	2009.05.13.19.17.46;	author jym;	state Exp;
branches;
next	;


desc
@@


1.6
log
@new dtb set needs reflecting in instructions
@
text
@.\"	$NetBSD: upgrade,v 1.5 2020/07/24 12:41:20 nia Exp $
.\"
.\" Copyright (c) 2020 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.
.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/sets/dtb.tar.xz
$ unxz dtb.tar.xz
# cp ./boot/dtb/allwinner/sun50i-a64-pine64-lts.dtb /boot/dtb/allwinner/
.Ed
Also copy
.Pa bootaa64.efi
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
@


1.5
log
@upgrades to upgrade instructions
@
text
@d1 1
a1 1
.\"	$NetBSD: upgrade,v 1.4 2020/07/18 17:45:11 nia Exp $
d55 3
a57 3
$ 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/
@


1.4
log
@clarify
@
text
@d1 1
a1 1
.\"	$NetBSD: upgrade,v 1.3 2020/07/18 17:40:14 nia Exp $
d37 1
a37 1
Make sure RELEASEDIR and KERNEL are correct:
d39 1
d41 1
a41 8
.Ed
or
.Bd -literal
RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-earmv7hf/"
.Ed
or
.Bd -literal
RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-earmv6hf/"
d48 12
a59 1
file into place, and
d61 5
a65 1
if applicable.
d70 1
a70 1
# sysupgrade kernel netbsd-GENERIC (or netbsd-GENERIC64)
d79 3
a81 2
Rebooting with a new kernel before updating the sets is the most
careful possible path.
@


1.3
log
@Initial evbarm upgrade instructions - need work
@
text
@d1 1
a1 1
.\"	$NetBSD: upgrade,v 1.31 2019/11/24 11:15:33 martin Exp $
d65 2
a67 1
# sysupgrade postinstall
d70 2
a71 1
This is the most careful possible path.
@


1.2
log
@Various updates to the INSTALL notes in preparation for 5.0.  Changes
are still to come.
@
text
@d1 26
a26 1
.\"	$NetBSD: upgrade,v 1.1 2001/11/30 23:48:52 thorpej Exp $
d28 47
a74 1
.so ../common/upgrade
@


1.2.50.1
log
@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
@
text
@d1 1
a1 26
.\"	$NetBSD: upgrade,v 1.2 2009/04/23 01:56:49 snj 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.
.\"
d3 1
a3 59
.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
@


1.1
log
@First cut at installation notes for NetBSD/evbarm.  Needs some
fleshing-out (and general "how to set up diskless environment"
instructions in the ../common directory).

Supported hardware and setup for the Intel IQ80310 board is written.

I've filled in the supported-hardware bits for the ARM Integrator
board, but someone (HI RICHARD! :-) will need to provide info about
setting up the firmware for booting and typical run-time environments
for this board.
@
text
@d1 1
a1 1
.\"	$NetBSD$
d3 1
a3 3
There is no previous release of
.Nx*M
from which to upgrade.
@


1.1.44.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
.\"	$NetBSD: upgrade,v 1.2 2009/04/23 01:56:49 snj Exp $
d3 3
a5 1
.so ../common/upgrade
@


1.1.42.1
log
@Pull up following revision(s) (requested by rmind in ticket #728):
	distrib/alpha/README.files: revision 1.14
	distrib/notes/acorn26/upgrade: revision 1.2
	distrib/notes/acorn32/hardware: revision 1.2
	distrib/notes/acorn32/prep: revision 1.14
	distrib/notes/acorn32/prep.RISCOS: revision 1.20
	distrib/notes/alpha/hardware: revisions 1.16-1.17
	distrib/notes/alpha/install: revisions 1.35-1.37
	distrib/notes/amd64/prep: revision 1.2
	distrib/notes/amiga/hardware: revision 1.46
	distrib/notes/amiga/install: revision 1.35
	distrib/notes/amiga/prep: revision 1.28
	distrib/notes/amiga/upgrade: revision 1.28
	distrib/notes/arc/prep: revision 1.2
	distrib/notes/atari/hardware: revision 1.22
	distrib/notes/atari/prep: revision 1.13
	distrib/notes/cats/hardware: revision 1.7
	distrib/notes/cats/prep: revision 1.11
	distrib/notes/cats/upgrade: revision 1.4
	distrib/notes/common/contents: revisions 1.150-1.155
	distrib/notes/common/legal.common: revision 1.52
	distrib/notes/common/main: revisions 1.444-1.446
	distrib/notes/common/postinstall: revisions 1.73, 1.74
	distrib/notes/common/sysinst: revisions 1.97, 1.98
	distrib/notes/common/upgrade: revisions 1.27, 1.28
	distrib/notes/common/xfer: revisions 1.64-1.66
	distrib/notes/evbarm/prep: revision 1.10
	distrib/notes/evbarm/upgrade: revision 1.2
	distrib/notes/evbppc/hardware: revision 1.5
	distrib/notes/evbppc/upgrade: revision 1.2
	distrib/notes/hp300/prep: revision 1.24
	distrib/notes/i386/upgrade: revision 1.23
	distrib/notes/i386/prep: revision 1.14
	distrib/notes/mac68k/hardware: revision 1.24
	distrib/notes/mac68k/prep: revision 1.16
	distrib/notes/mac68k/upgrade: revision 1.21
	distrib/notes/mac68k/xfer: revision 1.20
	distrib/notes/macppc/prep: revisions 1.43, 1.44
	distrib/notes/macppc/prep.OPENFIRMWARE: revision 1.13
	distrib/notes/macppc/hardware: revision 1.47
	distrib/notes/macppc/prep.OPENFIRMWARE: revision 1.12
	distrib/notes/mvme68k/hardware: revision 1.11
	distrib/notes/mvme68k/install: revision 1.21
	distrib/notes/next68k/prep: revision 1.8
	distrib/notes/pmax/hardware: revision 1.17
	distrib/notes/pmax/install: revision 1.41
	distrib/notes/sgimips/hardware: revision 1.14
	distrib/notes/sgimips/prep: revision 1.10
	distrib/notes/shark/install: revision 1.5
	distrib/notes/sparc/hardware: revisions 1.35, 1.36
	distrib/notes/sparc/prep: revision 1.26
	distrib/notes/sparc/upgrade: revision 1.16
	distrib/notes/sparc64/prep: revision 1.15
	distrib/notes/sun2/hardware: revision 1.4
	distrib/notes/sun3/hardware: revision 1.10
	distrib/notes/vax/hardware: revision 1.10
	distrib/notes/vax/install: revision 1.18
	distrib/notes/vax/prep: revision 1.7
	distrib/notes/xen/xfer: revision 1.4
	distrib/notes/x68k/hardware: revision 1.17
	distrib/notes/x68k/prep: revision 1.9
Update release notes.
@
text
@d1 1
a1 1
.\"	$NetBSD: upgrade,v 1.1 2001/11/30 23:48:52 thorpej Exp $
d3 3
a5 1
.so ../common/upgrade
@


1.1.34.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
.\"	$NetBSD: upgrade,v 1.1 2001/11/30 23:48:52 thorpej Exp $
@

