Sat Jul 18 17:45:11 2020 UTC ()
clarify


(nia)
diff -r1.3 -r1.4 src/distrib/notes/evbarm/upgrade

cvs diff -r1.3 -r1.4 src/distrib/notes/evbarm/upgrade (switch to unified diff)

--- src/distrib/notes/evbarm/upgrade 2020/07/18 17:40:14 1.3
+++ src/distrib/notes/evbarm/upgrade 2020/07/18 17:45:11 1.4
@@ -1,74 +1,76 @@ @@ -1,74 +1,76 @@
1.\" $NetBSD: upgrade,v 1.3 2020/07/18 17:40:14 nia Exp $ 1.\" $NetBSD: upgrade,v 1.4 2020/07/18 17:45:11 nia Exp $
2.\" 2.\"
3.\" Copyright (c) 2020 The NetBSD Foundation, Inc. 3.\" Copyright (c) 2020 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
8.\" are met: 8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright 9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer. 10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the 12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution. 13.\" documentation and/or other materials provided with the distribution.
14.\" 14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 15.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
16.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 16.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 17.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 18.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
19.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 19.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 20.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 22.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 23.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25.\" POSSIBILITY OF SUCH DAMAGE. 25.\" POSSIBILITY OF SUCH DAMAGE.
26.\" 26.\"
27. 27.
28.Pp 28.Pp
29The easiest way to upgrade to 29The easiest way to upgrade to
30.Nx 30.Nx
31\*M 31\*M
32\*V 32\*V
33is by using the sysutils/sysupgrade package from pkgsrc. 33is by using the sysutils/sysupgrade package from pkgsrc.
34.Pp 34.Pp
35First, edit 35First, edit
36.Pa /usr/pkg/etc/sysupgrade.conf . 36.Pa /usr/pkg/etc/sysupgrade.conf .
37Make sure RELEASEDIR and KERNEL are correct: 37Make sure RELEASEDIR and KERNEL are correct:
38.Bd -literal 38.Bd -literal
39RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-aarch64/" 39RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-aarch64/"
40.Ed 40.Ed
41or 41or
42.Bd -literal 42.Bd -literal
43RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-earmv7hf/" 43RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-earmv7hf/"
44.Ed 44.Ed
45or 45or
46.Bd -literal 46.Bd -literal
47RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-earmv6hf/" 47RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-earmv6hf/"
48.Ed 48.Ed
49.Pp 49.Pp
50Make sure 50Make sure
51.Pa /boot 51.Pa /boot
52is mounted, and copy the new board-specific 52is mounted, and copy the new board-specific
53.Pa *.dts 53.Pa *.dts
54file into place, and 54file into place, and
55.Pa bootaa64.efi 55.Pa bootaa64.efi
56if applicable. 56if applicable.
57.Pp 57.Pp
58Finally: 58Finally:
59.Bd -literal 59.Bd -literal
60# sysupgrade fetch 60# sysupgrade fetch
61# sysupgrade kernel netbsd-GENERIC (or netbsd-GENERIC64) 61# sysupgrade kernel netbsd-GENERIC (or netbsd-GENERIC64)
62# sysupgrade modules 62# sysupgrade modules
63# reboot 63# reboot
64# sysupgrade sets 64# sysupgrade sets
65# reboot 65# sysupgrade etcupdate
66# sysupgrade postinstall 66# sysupgrade postinstall
 67# reboot
67.Ed 68.Ed
68.Pp 69.Pp
69This is the most careful possible path. 70Rebooting with a new kernel before updating the sets is the most
 71careful possible path.
70It is also possible to: 72It is also possible to:
71.Bd -literal 73.Bd -literal
72# sysupgrade auto 74# sysupgrade auto
73# reboot 75# reboot
74.Ed 76.Ed