From owner-freebsd-arm@freebsd.org Wed Nov 30 03:54:48 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 AED60C59FA4 for ; Wed, 30 Nov 2016 03:54:48 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-pg0-x233.google.com (mail-pg0-x233.google.com [IPv6:2607:f8b0:400e:c05::233]) (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 7C1AF1975 for ; Wed, 30 Nov 2016 03:54:48 +0000 (UTC) (envelope-from tim@kientzle.com) Received: by mail-pg0-x233.google.com with SMTP id f188so76666143pgc.3 for ; Tue, 29 Nov 2016 19:54:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kientzle-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=d1ATgPHEuNrVv+EQ8FFGXdHHeeLfjsuf1M5XZRnumHU=; b=WyF1t4AF/Uj2pBKz6Z2KNyeb2nbTrPNfIGNCth6o2I/sUs2qSMfrZcivIudyVikC1O ILl5BWNbQxGMZizMye7Tqq8G9R8aAlxy/uf6g7/5hR6JkmpILyqqItyLus38PiQoYeSW lVg11NWPAFKPI6k+BFgKsCC00dwsa1dEqs03j6vb4y1bjdMGuEjjFQNIqa0/LougSOi9 W4uHSVpiffoGXjkr7ruiPVg0vCCH8eWgWA+8Ax80mSsadRXfwynIkmlL3OVE8owRDvMD znmqUXykPocEqEdi825xc2TB5DvdjpAqd8+ASKDIgb2WfOjChA9RmkzWseDQEkeECDAa KMSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=d1ATgPHEuNrVv+EQ8FFGXdHHeeLfjsuf1M5XZRnumHU=; b=N9pUJMFDe7WpGmNPAQMu4iEnxL/Bbm59Wa/IALeA9Nx5A8+2pKEl3LrYEB9iZt8uxZ Ov8fFymfWR1op2E7ARNOK0FXUEd/H+lU14KJwEudav5QD8VVK5w3Y5F4PZfDYqL1dXkY zQU8GbNmqNDNKEg5TsQvTvwm880dN1sTXPOJ2BL0nUxy/3EYMYTP+gAuTK1wgFwz+whu wLoEx6VWP04r7cq9KqlusNXAAYXGbp2DPkbZKI3XN7C/p2Fbsejw+Zjlwy1lluvNP4LS 8qFJcCGA6lJmvVY8WOVnpsuOmtuGLpYJv7w+1/G4DVBtYXNwLDV7g3D+soFiaANeSXZ8 y0iw== X-Gm-Message-State: AKaTC00ouux93ow7w5Khyh4cXZ3U53n+r0fwrWKaniawTVsFiiDu5+apKoCX8i1JKiRX5Q== X-Received: by 10.99.178.6 with SMTP id x6mr55735691pge.63.1480478087852; Tue, 29 Nov 2016 19:54:47 -0800 (PST) Received: from [192.168.1.101] (c-24-6-102-176.hsd1.ca.comcast.net. [24.6.102.176]) by smtp.gmail.com with ESMTPSA id i76sm98270490pfk.89.2016.11.29.19.54.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Nov 2016 19:54:47 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: Alien OS (Linux) cross build support From: Tim Kientzle In-Reply-To: Date: Tue, 29 Nov 2016 19:54:48 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: =?utf-8?Q?Eddy_Petri=C8=99or?= X-Mailer: Apple Mail (2.3251) 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, 30 Nov 2016 03:54:48 -0000 > On Nov 29, 2016, at 1:44 PM, Eddy Petri=C8=99or = wrote: >=20 > Hi all, >=20 > I looked at the current code, the handbook and whatever documentation = I > could find on the topic, and my conclusion was that alien OS cross = building > of FreeBSD is NOT supported. Is this correct? Do I need to have a = FreeBSD > host to cross build for ARM or ARM64? Can I at least build part of the > system on a non-FreeBSD host? I think that with VM solutions (VirtualBox, VMWare, etc) being so common and easy to use, there hasn=E2=80=99t been much demand for it. For starters, I suggest: * Download and install VirtualBox or some other VM system https://www.virtualbox.org/wiki/Linux_Downloads * Install FreeBSD/amd64 onto it * Build there. Cheers, Tim P.S. FreeBSD has prebuilt images for many boards already. So you could download a prebuilt ARM or ARM64 image, then use that to build a custom image for the same or different hardware.