From owner-freebsd-arm@freebsd.org Tue Jan 3 01:03:28 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 6234CC9BB9C for ; Tue, 3 Jan 2017 01:03:28 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (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 38AA2168C for ; Tue, 3 Jan 2017 01:03:28 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=a1m6jhDSwR/peQKXcPDWf5xnzO73YvXR9sg7R/Zjfh8=; b=ayf1y/ynL82bwAtAajOXbe9kVK O54xhyvsEIPXoCYGwV2jl0hhD/dIJLW8A5gaAv5P9WOZx+GmbVwTknfR9//GUH4uEDMllabKph/ut PbOzMuB7Jqh/bE0IZojX+XoTPRk6wIMAOcWvBU3EChPxi9h2RqatpvwOt3eXBXTuaVMc=; Received: from [114.125.81.19] (port=13327 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cOCnk-0004cd-U9; Mon, 02 Jan 2017 17:18:05 -0700 Date: Tue, 3 Jan 2017 08:17:59 +0800 From: Erich Dollansky To: Tim Kientzle Cc: tech-lists , freebsd-arm Subject: Re: aarch64 on pi3 advice Message-ID: <20170103081759.40624fbd@X220.alogt.com> In-Reply-To: References: <05fee124-ad8f-43e8-79d9-ccb99bc83214@zyxst.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: 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: Tue, 03 Jan 2017 01:03:28 -0000 Hi, On Mon, 2 Jan 2017 11:07:49 -0800 Tim Kientzle wrote: > > On Jan 2, 2017, at 3:54 AM, tech-lists wrote: > > 1. Can I mount /usr/ports on say a usb stick, compile from there and > > expect it to install OK? /usr/ports would be a symlink to > > /32GB-usbkey/ports. I see that ld & ldd are present, so I guess I > > can compile from ports? > > Compiling from ports directly on the board should always work. > If you're familiar with building ports on other FreeBSD systems, > this is probably the easiest approach. I am not able to compile and link any programs on my Raspberry. Compiling works but linking fails. This is a known problem. Linking on a x86 machine results in an working binary if you have the patched bin-utils. > > For some architectures, pre-built packages are available. > I've not played with arm64 enough to be familiar with the > situation there. > > > 2. I'd like to strip out WITNESS and friends and recompile the > > kernel. Can I do this on the rpi3 and expect it to work? > > You should expect it to work. Of course, arm64 support is very > new, so there could be issues. > Compiling works on a x86 machine with the patched bin-utils. > (At one point, I had a spare RPi where I did weekly > native system builds and upgrades for almost a year. > I was pleasantly surprised at how stable it was.) > The Raspberries are as robust as x86 machines. > > Erich