upgrading arm6hf
bob prohaska
fbsd at www.zefox.net
Fri May 20 02:16:37 UTC 2016
On my RPI2 the OS build/install cycle stopped at installkernel
(sorry, not buildworld) reporting an unknown architecture.
Using TARGET_ARCH=armv6 allowed the kernel install to complete,
with a normal reboot. However, an attempt to update and re-run
buildworld without options triggered the error
bmake[1]: "/usr/src/Makefile.inc1" line 242: Unknown target armv6hf:arm.
Invoking buildworld with TARGET_ARCH=armv6 then produces
bmake[1]: "/usr/src/Makefile.inc1" line 266: To cross-build, set TARGET_ARCH.
World and kernel were thus built with no options but the kernel was installed with
TARGET_ARCH=armv6, apparently causing an identity crisis 8-)
Uname -a reports
FreeBSD www.zefox.com 11.0-CURRENT FreeBSD 11.0-CURRENT #100 r300176M: Thu May 19 15:08:18 PDT 2016 root at www.zefox
.com:/usr/obj/usr/src/sys/RPI2 arm
What's the best way to repair the damage?
Thanks for reading,
bob prohaska
On Thu, May 19, 2016 at 04:21:02PM -0700, bob prohaska wrote:
> On RPI2
>
> make installworld TARGET_ARCH=armv6
>
> was sufficient.
>
> The only visible glitch on reboot was
>
> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 03 c9 6b a8 00 00 28 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command
>
> but that seems unrelated. Boot was otherwise normal.
>
> bob prohaska
>
> On Wed, May 18, 2016 at 12:24:21PM -1000, David Cornejo wrote:
> > I am trying that now, I'll report back when it finishes
> >
> > thanks!
> >
> > On Wed, May 18, 2016 at 12:12 PM, Warner Losh <imp at bsdimp.com> wrote:
> > > I believe, but I haven't tested, that all that should be required is
> > > an installworld / installkernel.
> > > You'll need to build with TARGET_ARCH=armv6 and may need to say DESTDIR=/ to get
> > > around the cross-threading safety checks.
> > >
> > > Warner
> > >
> > > On Wed, May 18, 2016 at 1:40 PM, David Cornejo <dave at dogwood.com> wrote:
> > >> Hi,
> > >>
> > >> What needs to be done to convert an arm6hf system to the new
> > >> hard-float arm6? can it be done?
> > >>
> > >> dave c
> > >> _______________________________________________
> > >> freebsd-arm at freebsd.org mailing list
> > >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> > _______________________________________________
> > freebsd-arm at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
More information about the freebsd-arm
mailing list