From owner-freebsd-arm@freebsd.org Mon May 2 20:22:17 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EA94B2A638 for ; Mon, 2 May 2016 20:22:17 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-154.reflexion.net [208.70.211.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 15B361B28 for ; Mon, 2 May 2016 20:22:16 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 23570 invoked from network); 2 May 2016 20:22:41 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 2 May 2016 20:22:41 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v7.90.3) with SMTP; Mon, 02 May 2016 16:22:19 -0400 (EDT) Received: (qmail 4381 invoked from network); 2 May 2016 20:22:19 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 2 May 2016 20:22:19 -0000 X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.8] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 8648E1C43D3; Mon, 2 May 2016 13:22:10 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: RE: rpi2 snapshots not booting? Message-Id: <8B4E345E-1BB0-4D07-9730-740BA48E800F@dsl-only.net> Date: Mon, 2 May 2016 13:22:13 -0700 To: Adrian Chadd , freebsd-arm Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2016 20:22:17 -0000 On Mon May 2 18:02:16 UTC 2016 Adrian Chadd wrote: > On 30 April 2016 at 14:34, Adrian Chadd > Hiya, > > > > I'm trying to boot the -HEAD snapshot on a rpi2. I've tried two, to = no success. >=20 > [snip] >=20 > ping - the last two snapshots didn't boot, and so anyone trying > freebsd-head on this will have a very crappy day. >=20 > Is anyone able to help figure out what broke? >=20 >=20 > -a (Any following quoted text is my copy and paste of my own local = material.) I have an rpi2 running: > # uname -apKU > FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #21 r297769M: Sat Apr = 9 22:51:03 PDT 2016 = markmi@FreeBSDx64:/usr/obj/clang/arm.armv6/usr/src/sys/RPI2-NODBG arm = armv6 1100105 1100105 -r297769 would be between CHECKSUM.SHA256-FreeBSD-11.0-CURRENT-arm-armv6-RPI2-20160408-r297692 and CHECKSUM.SHA256-FreeBSD-11.0-CURRENT-arm-armv6-RPI2-20160429-r298793 At the time it was a buildworld buildkernel update based on a = cross-build from an amd64 context. I do remember having to update = rpi.dtb on the FAT partition at some point along the way. ( = https://lists.freebsd.org/pipermail/freebsd-arm/2016-April/013657.html = "No usable event timer found on RPI2" ) Overall this makes me wonder if there is something more specific to the = snapshots that is a problem instead of there being a general = 11.0-CURRENT problem. I did (and generally do) use compiler options in src.conf to force = targeting armv7a/cortex-a7 for the rpi2: > WITH_LIBSOFT=3D > WITH_LIBCPLUSPLUS=3D > WITH_BINUTILS_BOOTSTRAP=3D > WITH_CLANG=3D > WITH_CLANG_IS_CC=3D > WITH_CLANG_FULL=3D > WITH_LLDB=3D > WITH_CLANG_EXTRAS=3D > WITH_BOOT=3D > # > WITHOUT_LIB32=3D > WITHOUT_ELFTOOLCHAIN_BOOTSTRAP=3D > WITHOUT_CLANG_BOOTSTRAP=3D > WITHOUT_GCC_BOOTSTRAP=3D > WITHOUT_GCC=3D > WITHOUT_GNUCXX=3D > # > NO_WERROR=3D > MALLOC_PRODUCTION=3D > # > WITH_DEBUG_FILES=3D > # > .if ${.MAKE.LEVEL} =3D=3D 0 > XCC=3D/usr/bin/clang -target armv6--freebsd11.0-gnueabi -march=3Darmv7a = -mcpu=3Dcortex-a7 -mno-unaligned-access > XCXX=3D/usr/bin/clang++ -target armv6--freebsd11.0-gnueabi = -march=3Darmv7a -mcpu=3Dcortex-a7 -mno-unaligned-access > XCPP=3D/usr/bin/clang-cpp -target armv6--freebsd11.0-gnueabi = -march=3Darmv7a -mcpu=3Dcortex-a7 -mno-unaligned-access > .export XCC > .export XCXX > .export XCPP > .endif > # > .if ${.MAKE.LEVEL} =3D=3D 0 > CC=3D/usr/bin/clang > CXX=3D/usr/bin/clang++ > CPP=3D/usr/bin/clang-cpp > .export CC > .export CXX > .export CPP > .endif The amd64 context was updated to 11.0-CURRENT -r297769 before the rpi2 = rebuild was done. So clang was already the matching version, no clang = bootstrap needed as far as I know. make.conf was empty. =3D=3D=3D Mark Millard markmi at dsl-only.net