From owner-freebsd-arm@freebsd.org Mon May 23 04:04:01 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 9C8F7B44855 for ; Mon, 23 May 2016 04:04:01 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (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 6590A1FB7 for ; Mon, 23 May 2016 04:04:01 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 74ce8858-209b-11e6-a09e-4d61a6885157 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.34.117.227 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA for ; Mon, 23 May 2016 04:04:33 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u4N43xIH064620 for ; Sun, 22 May 2016 22:03:59 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1463976239.1180.406.camel@freebsd.org> Subject: Confirmed update procedure for a self-hosted armv6hf system From: Ian Lepore To: "freebsd-arm@FreeBSD.org" Date: Sun, 22 May 2016 22:03:59 -0600 Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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, 23 May 2016 04:04:01 -0000 Okay, I've finally confirmed this all the way to completion, the correct way to update an existing armv6hf system to the new armv6 that is hardfloat by default is to add TARGET_ARCH=armv6 to the make command line for *both* the build and install steps. I started with a fresh armv6hf system built from r300118, then updated to r300438 and built kernel and world with TARGET_ARCH=armv6. Then to install I took a bit of a shortcut over the normal freebsd update procedure and just did: make DESTDIR=/ TARGET_ARCH=armv6 KERNCONF=IMX6 installkernel init 1 cd /usr/src make DESTDIR=/ TARGET_ARCH=armv6 installworld reboot I'm not recommending anyone else shortcut their normal update procedure (mergemaster, all that stuff); I'm mostly trying to make sure this crossbuild stuff creates a bootable system, then I'm just going to erase it all. Most folks should just do whatever they normally do to update, but add TARGET_ARCH=armv6 to all make commands when updating an armv6hf system. -- Ian