upgrading arm6hf
Ian Lepore
ian at freebsd.org
Sat May 21 02:17:50 UTC 2016
On Fri, 2016-05-20 at 19:12 -0700, bob prohaska wrote:
> Hi Ian,
>
> It looks as if three kernels are available. The one called
> kernel.spare reports
> root at www:~ # uname -a
> FreeBSD www.zefox.com 11.0-CURRENT FreeBSD 11.0-CURRENT #71 r297769:
> Sat Apr 9 18:11:07 PDT 2016 bob at www.zefox.com:/usr/obj/usr/src/s
> ys/RPI2 arm
>
> kernel.old reports
> root at www:~ # uname -a
> FreeBSD www.zefox.com 11.0-CURRENT FreeBSD 11.0-CURRENT #101
> r300255M: Thu May 19 23:26:52 PDT 2016 root at www.zefox.com:/usr/ob
> j/usr/src/sys/RPI2 arm
>
> kernel (the latest one) reports
> root at www:~ # uname -a
> FreeBSD www.zefox.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r300334M:
> Fri May 20 15:47:30 PDT 2016 root at www.zefox.com:/usr/obj/arm.armv
> 6hf/usr/src/sys/RPI2 arm
>
> Would it help to back down to one of the older kernels, given that
> userland is closer to
> the latest kernel?
>
> Thank you!
>
> bob prohaska
>
It might be worth trying to use kernel.old, verify that uname -p says
armv6hf again when booted from it, then see if you can buildworld and
buildkernel with TARGET_ARCH=armv6. If so, then you should be able to
install those (remember to use the TARGET_ARCH=armv6 when installing
too!), and then you'll be on the new armv6 with hardfloat. I think.
-- Ian
>
> On Fri, May 20, 2016 at 07:46:54PM -0600, Ian Lepore wrote:
> > On Fri, 2016-05-20 at 17:28 -0700, bob prohaska wrote:
> > > Something is still amiss. First try at buildworld stopped with a
> > > missing object file/directory,
> > > so I cleaned out /usr/obj and tried again. The build stopped,
> > > this
> > > time wanting a TARGET_ARCH,
> > > prompting
> > > root at www:/usr/src # make -j6 buildworld TARGET_ARCH=armv6 >
> > > buildworld.log &
> > > [1] 3753
> > > root at www:/usr/src # 1 error
> > >
> > > [1] Exit 2 make -j6 buildworld
> > > TARGET_ARCH=armv6 > buildworld.log
> > > root at www:/usr/src # tail *.log
> > > --- buildworld ---
> > > make[1]: "/usr/src/Makefile.inc1" line 266: To cross-build, set
> > > TARGET_ARCH.
> > > *** [buildworld] Error code 1
> > >
> > > make: stopped in /usr/src
> > >
> > > Re-fetching Makefile and Makefil.inc1 seems to have no effect.
> > > The system wants a TARGET_ARCH, then seems to ignore it.
> > > Is there a syntax error in the buildworld command?
> > > Thanks for reading,
> > >
> > > bob prohaska
> >
> > I wonder if you could get back to the older kernel that was still
> > reporting armv6hf, would that then let you update the system by
> > doing a
> > cross-build?
> >
> > That may be the answer for others who haven't started on this yet.
> > If
> > you're building on an armv6hf system and you want to update, you
> > may ha
> > ve to build and install with TARGET_ARCH=armv6, and it's going to
> > be
> > treated like a full crossbuild (meaning an extra copy of clang gets
> > built, it'll take forever*2).
> >
> > -- Ian
> >
> _______________________________________________
> 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