From owner-freebsd-arm@freebsd.org Sun May 22 20:36:07 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 975E1B4548B for ; Sun, 22 May 2016 20:36:07 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (kientzle.com [142.254.26.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 78B271DA0 for ; Sun, 22 May 2016 20:36:06 +0000 (UTC) (envelope-from tim@kientzle.com) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id u4MKa4F3008203; Sun, 22 May 2016 20:36:04 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.102] (192.168.1.101 [192.168.1.101]) by kientzle.com with SMTP id xgwft8qm9qaujuadyg9xhxefb2; Sun, 22 May 2016 20:36:04 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: How do you guys cross compile for Zynq (Cortex A9)? From: Tim Kientzle In-Reply-To: Date: Sun, 22 May 2016 13:36:04 -0700 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Emb Aud 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: Sun, 22 May 2016 20:36:07 -0000 > On May 22, 2016, at 11:48 AM, Emb Aud wrote: >=20 > Hi Everyone, >=20 > I've got FreeBSD compiled and running on my Zybo (Xilinx Zynq CPU). >=20 > But I can't figure out how to compile programs to run on it. I've not used the Zybo specifically, but for Beaglebone and Raspberry = Pi, I found it easiest to just compile directly on the board. = Everything should just work, though for certain larger packages, you may = need to configure some form of swap. With two or more boards, you can dedicate one to building, create = packages, and then distribute those packages to your other boards. >=20 > It also looks like the Cortex A9 is armv7-a, but the FreeBSD compile > instructions I've found (and that work) are for armv6. FreeBSD uses the term "armv6" to refer generically to armv6 *and later* = 32-bit processors, including armv7. Tim