Sat Jul 18 17:40:15 2020 UTC ()
Initial evbarm upgrade instructions - need work


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

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

--- src/distrib/notes/evbarm/upgrade 2009/04/23 01:56:49 1.2
+++ src/distrib/notes/evbarm/upgrade 2020/07/18 17:40:14 1.3
@@ -1,3 +1,74 @@ @@ -1,3 +1,74 @@
1.\" $NetBSD: upgrade,v 1.2 2009/04/23 01:56:49 snj Exp $ 1.\" $NetBSD: upgrade,v 1.3 2020/07/18 17:40:14 nia Exp $
 2.\"
 3.\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 4.\" All rights reserved.
 5.\"
 6.\" Redistribution and use in source and binary forms, with or without
 7.\" modification, are permitted provided that the following conditions
 8.\" are met:
 9.\" 1. Redistributions of source code must retain the above copyright
 10.\" notice, this list of conditions and the following disclaimer.
 11.\" 2. Redistributions in binary form must reproduce the above copyright
 12.\" notice, this list of conditions and the following disclaimer in the
 13.\" documentation and/or other materials provided with the distribution.
 14.\"
 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
 17.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 18.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
 19.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 20.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 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
 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
 25.\" POSSIBILITY OF SUCH DAMAGE.
 26.\"
2. 27.
3.so ../common/upgrade 28.Pp
 29The easiest way to upgrade to
 30.Nx
 31\*M
 32\*V
 33is by using the sysutils/sysupgrade package from pkgsrc.
 34.Pp
 35First, edit
 36.Pa /usr/pkg/etc/sysupgrade.conf .
 37Make sure RELEASEDIR and KERNEL are correct:
 38.Bd -literal
 39RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-aarch64/"
 40.Ed
 41or
 42.Bd -literal
 43RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-earmv7hf/"
 44.Ed
 45or
 46.Bd -literal
 47RELEASEDIR="https://cdn.netbsd.org/pub/NetBSD/NetBSD-\*V/evbarm-earmv6hf/"
 48.Ed
 49.Pp
 50Make sure
 51.Pa /boot
 52is mounted, and copy the new board-specific
 53.Pa *.dts
 54file into place, and
 55.Pa bootaa64.efi
 56if applicable.
 57.Pp
 58Finally:
 59.Bd -literal
 60# sysupgrade fetch
 61# sysupgrade kernel netbsd-GENERIC (or netbsd-GENERIC64)
 62# sysupgrade modules
 63# reboot
 64# sysupgrade sets
 65# reboot
 66# sysupgrade postinstall
 67.Ed
 68.Pp
 69This is the most careful possible path.
 70It is also possible to:
 71.Bd -literal
 72# sysupgrade auto
 73# reboot
 74.Ed