From owner-freebsd-arm@freebsd.org Wed Nov 1 22:40:52 2017 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 EE4E9E6604C for ; Wed, 1 Nov 2017 22:40:52 +0000 (UTC) (envelope-from carlj@peak.org) Received: from filter01.peak.org (filter01.peak.org [207.55.16.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.peak.org", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CAA84196B for ; Wed, 1 Nov 2017 22:40:52 +0000 (UTC) (envelope-from carlj@peak.org) Received: from zmail-mta02.peak.org ([207.55.16.112]) by filter01.peak.org ({e1c81c21-e4c4-4528-aa90-7a27869c545a}) via TCP (outbound) with ESMTPS id 20171101224045879_0000 for ; Wed, 01 Nov 2017 15:40:45 -0700 X-RC-FROM: X-RC-RCPT: Received: from zmail-mta02.peak.org (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTPS id 54EC24C659 for ; Wed, 1 Nov 2017 15:40:43 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTP id 3A1884C6B7 for ; Wed, 1 Nov 2017 15:40:43 -0700 (PDT) Received: from zmail-mta02.peak.org ([127.0.0.1]) by localhost (zmail-mta02.peak.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ixICq17LSldA for ; Wed, 1 Nov 2017 15:40:43 -0700 (PDT) Received: from mailproxy-lb-05.peak.org (mailproxy-lb-05.peak.org [207.55.17.95]) by zmail-mta02.peak.org (Postfix) with ESMTP id CD81C4C659 for ; Wed, 1 Nov 2017 15:40:42 -0700 (PDT) Received: from carlj by elm.localnet with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1eA1gf-000ENh-BW for freebsd-arm@freebsd.org; Wed, 01 Nov 2017 15:40:41 -0700 From: Carl Johnson To: freebsd-arm@freebsd.org Subject: Re: Make packages for armv7 makes armv6 packages References: <86lgjxo74h.fsf@elm.localnet> <1509058543.56824.61.camel@freebsd.org> <86h8ulntob.fsf@elm.localnet> <1509118047.56824.69.camel@freebsd.org> <868tfwoa86.fsf@elm.localnet> <861slonde2.fsf@elm.localnet> X-Clacks-Overhead: GNU Terry Pratchett Date: Wed, 01 Nov 2017 15:40:41 -0700 In-Reply-To: <861slonde2.fsf@elm.localnet> (Carl Johnson's message of "Fri, 27 Oct 2017 20:45:57 -0700") Message-ID: <86mv45mxli.fsf@elm.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-MAG-OUTBOUND: peakinternet.redcondor.net@207.55.16/22 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 22:40:53 -0000 Carl Johnson writes: > Carl Johnson writes: > >> Ian Lepore writes: >> >>> On Thu, 2017-10-26 at 20:41 -0700, Carl Johnson wrote: >>>> Ian Lepore writes: >>>> > I think the problem is that pkg itself hasn't been updated to know >>>> > about armv7. =C2=A0If you apply this patch to ports-mgmt/pkg >>>> >=20 >>>> > https://bz-attachments.freebsd.org/attachment.cgi?id=3D187008 >>>> >=20 >>>> > then I think it should create armv7 packages for you. >>>> Thanks, but what is supposed to handle that file?=C2=A0=C2=A0I see two= patches in >>>> there, but I don't know what the other lines are supposed to do. >>>>=20 >>> >>> The extra stuff is subversion properties that are only important if the >>> changes are committed. =C2=A0The standard patch(1) will ignore that ext= ra >>> stuff, so you can just apply the patches as Boris showed in his reply. >> >> Thanks, I didn't realize how much patch would ignore. I will try that >> today, and then see if I can upgrade to armv7 that way. > > I patched pkg and used that to build the packages, and this time it did > build for armv7. The attempt to upgrade from armv6 to armv7 did not go > so well. I installed the new kernel and rebooted and everything worked > fine. I then installed everything else and rebooted, but this time it > reported that init had died and then dropped into ddb. I haven't > figured out anything else, but chroot from another RPi2 with > 11.1-RELEASE shows that init was installed properly from the package. > This was just an experiment, so I didn't really lose anything > important. This is just another followup on what I have found. I just tried the latest snapshot (r325156) and it will not boot. It shows exactly the same symptoms as my upgrade attempt. It loads the kernel, then reports that init has died, and then drups into ddb. I will start a new thread about that problem. --=20 Carl Johnson carlj@peak.org