From owner-freebsd-arm@freebsd.org Tue May 24 04:44:18 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 BAF4CB47A3A for ; Tue, 24 May 2016 04:44:18 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x244.google.com (mail-it0-x244.google.com [IPv6:2607:f8b0:4001:c0b::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DEBF1859 for ; Tue, 24 May 2016 04:44:18 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x244.google.com with SMTP id p81so849735itd.3 for ; Mon, 23 May 2016 21:44:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=fKWiKVVNNmh/IIezMkGf9OtDbUlwrK352cQRTf21mZg=; b=WNzr8xnlTt8z82ziNar9TvnxiyDr557yW6KXty3nvuuyW4FLlja8ewWe19cGd/zyAA FzfaayBTiAG84i3Hm+QuNX/pmzFcLUv79ZtgkgfHi1f/Y8qwQCNmdMRqrnKngCvMjJrG mFKpKvUMvK12GJKr5rU6mHAuhYMKHk6QH6x0DdQjhJ9gU5Yh4NZwEM0P9Ge61J2ikEWc Lfa/VL229xJLHatWPl1eFuKFS13K3AzTUFCxCrepj6GHBYq05Wn9OkJSvxaqQlOI5fy0 rMtJ6K84Hit4iy5H5bv2XtniU6j1cEZzk3nyq0RU7ZCNfW13WG5lLDXyoJLy1aT87mrH UvBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=fKWiKVVNNmh/IIezMkGf9OtDbUlwrK352cQRTf21mZg=; b=Prew7lF7/WlZqyOQqGIoS/wTFn8zR7Tzw17LH5yC91J87MK7fnoK3nWLS8N7beBXtx HuIRxZ0u2ITcH+aVL6H/1HGo7aio5kncjyFJW39uAx3G4AO2rraXeq627U7a1+1LpC7+ bEVAvz25D7j3yy8ysjOiDYysbQxdtS6EbHn6o/LEvCDz5FPipD/9+NaESfGleZH2ck8F odWgAaLJx/JQAwXnI4UvC3ez4BWhTKytbVcZrZGnStBrXVKSB9wkzGDCPa9fII8f4ysl SpcpspR3jTteA2K+0BCOSP8iB2EB5WByKJ3ZiqSSr2OChwnge6Tzcl6eRFCpyUxntJMl 7h1Q== X-Gm-Message-State: AOPr4FVVTYOvzhcpcdeVNMlGiHjt7YRs+7rbhmIFtQvS5teodI7OVf+ZP5UfpUpkJwOrCbXdYp2ecwPcT7ci+Q== MIME-Version: 1.0 X-Received: by 10.36.78.67 with SMTP id r64mr15374960ita.72.1464065057848; Mon, 23 May 2016 21:44:17 -0700 (PDT) Sender: wlosh@bsdimp.com Received: by 10.79.75.68 with HTTP; Mon, 23 May 2016 21:44:17 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: <20160524043635.GD52783@www.zefox.net> References: <1463976239.1180.406.camel@freebsd.org> <20160523215248.GA52783@www.zefox.net> <1464055880.1180.433.camel@freebsd.org> <20160524024027.GB52783@www.zefox.net> <1464058197.1180.439.camel@freebsd.org> <20160524031855.GC52783@www.zefox.net> <1464060955.1180.441.camel@freebsd.org> <20160524043635.GD52783@www.zefox.net> Date: Mon, 23 May 2016 22:44:17 -0600 X-Google-Sender-Auth: 1dadmTm53r7S8CM4GsiV5M1Je24 Message-ID: Subject: Re: Confirmed update procedure for a self-hosted armv6hf system From: Warner Losh To: bob prohaska Cc: Ian Lepore , "freebsd-arm@FreeBSD.org" Content-Type: text/plain; charset=UTF-8 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: Tue, 24 May 2016 04:44:18 -0000 On Mon, May 23, 2016 at 10:36 PM, bob prohaska wrote: > On Mon, May 23, 2016 at 09:35:55PM -0600, Ian Lepore wrote: >> >> Hmm, apparently my guess at the problem was wrong (although I think it >> is true that the standard freebsd update sequence of booting to the new >> kernel before installing world will fail here). >> >> I'm out of ideas right now. >> > I'll wait...mine are likely to be worse.... > > An aside though: the hf upgrade seems unable to materially > affect compilation and installation. Is this mostly a naming > mismatch between old and new version? If I did the job right, the armv6hf binaries will be the same as the new armv6 binaries (with one minor niggle in how the elf files are marked, but that marking isn't used). All the naming mismatches are just in the name. I'm surprised that setenv MACHINE arm setenv MACHINE_ARCH armv6 setenv UNAME_p armv6 make buildworld make buildkernel make installkernel make installworld wouldn't work, even if the kernel reported armv6hf (the defines are important but the order of the makes likely doesn't so long as buildfoo comes before installfoo, and rebooting with the new kernel or continuing to use the old one. Unlike the instructions Ian posted, I've not tested this recipie. Works been bumpy lately, so I've not had the time I'd like to pursue this. Warner