Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2016 22:44:17 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        Ian Lepore <ian@freebsd.org>, "freebsd-arm@FreeBSD.org" <freebsd-arm@freebsd.org>
Subject:   Re: Confirmed update procedure for a self-hosted armv6hf system
Message-ID:  <CANCZdfqosAci0_CbbWa09_AMoWPHSLeEjN1%2BKqwRRq7wZF1sSg@mail.gmail.com>
In-Reply-To: <20160524043635.GD52783@www.zefox.net>
References:  <1463976239.1180.406.camel@freebsd.org> <20160523215248.GA52783@www.zefox.net> <1464055880.1180.433.camel@freebsd.org> <20160524024027.GB52783@www.zefox.net> <1464058197.1180.439.camel@freebsd.org> <20160524031855.GC52783@www.zefox.net> <1464060955.1180.441.camel@freebsd.org> <20160524043635.GD52783@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 23, 2016 at 10:36 PM, bob prohaska <fbsd@www.zefox.net> wrote:
> On Mon, May 23, 2016 at 09:35:55PM -0600, Ian Lepore wrote:
>>
>> Hmm, apparently my guess at the problem was wrong (although I think it
>> is true that the standard freebsd update sequence of booting to the new
>> kernel before installing world will fail here).
>>
>> I'm out of ideas right now.
>>
> I'll wait...mine are likely to be worse....
>
> An aside though: the hf upgrade seems unable to materially
> affect compilation and installation. Is this mostly a naming
> mismatch between old and new version?

If I did the job right, the armv6hf binaries will be the same as the new
armv6 binaries (with one minor niggle in how the elf files are marked,
but that marking isn't used).

All the naming mismatches are just in the name.

I'm surprised that

setenv MACHINE arm
setenv MACHINE_ARCH armv6
setenv UNAME_p armv6
make buildworld
make buildkernel
make installkernel
make installworld

wouldn't work, even if the kernel reported armv6hf (the defines are important
but the order of the makes likely doesn't so long as buildfoo comes
before installfoo,
and rebooting with the new kernel or continuing to use the old one.

Unlike the instructions Ian posted, I've not tested this recipie.
Works been bumpy
lately, so I've not had the time I'd like to pursue this.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqosAci0_CbbWa09_AMoWPHSLeEjN1%2BKqwRRq7wZF1sSg>