Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2018 11:59:52 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        John Baldwin <jhb@freebsd.org>, Kyle Evans <kevans@freebsd.org>,  src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r331209 - head
Message-ID:  <CANCZdfra%2B6%2BKnf=XndOWinG15J02v3t45qn5t=DyiFzN8KZCXw@mail.gmail.com>
In-Reply-To: <2d94ac2c-491b-391b-d5ff-5545b6d83a82@FreeBSD.org>
References:  <201803191527.w2JFRr7B058668@repo.freebsd.org> <4168709.idJmbTaMPK@ralph.baldwin.cx> <2d94ac2c-491b-391b-d5ff-5545b6d83a82@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 19, 2018 at 11:51 AM, Andriy Gapon <avg@freebsd.org> wrote:

> On 19/03/2018 18:20, John Baldwin wrote:
> > On Monday, March 19, 2018 03:27:53 PM Kyle Evans wrote:
> >> Author: kevans
> >> Date: Mon Mar 19 15:27:53 2018
> >> New Revision: 331209
> >> URL: https://svnweb.freebsd.org/changeset/base/331209
> >>
> >> Log:
> >>   Add note to UPDATING about UEFI changes requiring loader(8) update
> >>
> >>   These problems have only been observed with boards using U-Boot (e.g.
> ARM)
> >>   where virtual addresses are already set in the memory map by the
> firmware
> >>   and the firmware is expecting a call to SetVirtualAddressMap to be
> made.
> >>   I refrain from mentioning this in the note because this could also be
> the
> >>   case on some not-yet-tested firmware on amd64 and it's not a bad
> >>   recommendation for the general case.
> >
> > How does this fit with the recommended installation steps of doing
> > 'make installkernel' and rebooting before doing a 'make installworld'?
>
> Installation of /boot/loader along with likes of cat and cut has always
> puzzled
> me very much.
>

Historical reason. We've always installed /boot/loader with installworld.
We also install the other boot loaders, but don't deploy them (so there's a
new /boot/boot, but it isn't installed into /).

To get around this issue, though, is trivial:

make installkenrel
cd stand
make install
reboot
make installworld

in this weird case.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfra%2B6%2BKnf=XndOWinG15J02v3t45qn5t=DyiFzN8KZCXw>