Date: Thu, 19 May 2016 22:46:18 -0600 From: Warner Losh <imp@bsdimp.com> To: bob prohaska <fbsd@www.zefox.net> Cc: David Cornejo <dave@dogwood.com>, freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: upgrading arm6hf Message-ID: <CANCZdfrRwnHvo1AyQxYrRQjyp9MWuNXYfX3HWub4Dc0Z%2BJ%2BFDg@mail.gmail.com> In-Reply-To: <20160520021633.GG1049@www.zefox.net> References: <CAFnjQbuH1%2Bmxid6_HdpayejNxayMHahB-JVi8=6oKNGjf9vtow@mail.gmail.com> <CANCZdfrx%2BUJdB0F9CRX=sE=2kfEBDjeLHjvADasvbUd95n56UQ@mail.gmail.com> <CAFnjQbsnEtaxRXHTvFLzWRFndUUFPyV5jW3o%2Bo=gPQxRU5bGCg@mail.gmail.com> <20160519232102.GF1049@www.zefox.net> <20160520021633.GG1049@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 19, 2016 at 8:16 PM, bob prohaska <fbsd@www.zefox.net> wrote: > 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 You should reboot hre before you try to > re-run buildworld without options triggered the error > bmake[1]: "/usr/src/Makefile.inc1" line 242: Unknown target armv6hf:arm. that's kinda expected. However, I'd reboot before trying this with the new kernel. > Invoking buildworld with TARGET_ARCH=armv6 then produces > bmake[1]: "/usr/src/Makefile.inc1" line 266: To cross-build, set TARGET_ARCH. Not sure about this > 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@www.zefox > .com:/usr/obj/usr/src/sys/RPI2 arm > > What's the best way to repair the damage? I'd reboot the new kernel and make sure uname reports armv6 for uname -p. If it doesn't, rebuild the kernel with TARGET=arm TARGET_ARCH=armv6 and reboot. Warner > 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@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@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@freebsd.org mailing list >> > >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> > >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> > _______________________________________________ >> > freebsd-arm@freebsd.org mailing list >> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrRwnHvo1AyQxYrRQjyp9MWuNXYfX3HWub4Dc0Z%2BJ%2BFDg>