From owner-freebsd-arm@FreeBSD.ORG Sat Jun 23 18:58:38 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F96B1065678 for ; Sat, 23 Jun 2012 18:58:38 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 39E708FC08 for ; Sat, 23 Jun 2012 18:58:38 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q5NIwa37021203; Sat, 23 Jun 2012 18:58:36 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id rfx5jbzk4n6feb5qx8r6t5vtka; Sat, 23 Jun 2012 18:58:36 +0000 (UTC) (envelope-from kientzle@freebsd.org) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=windows-1252 From: Tim Kientzle In-Reply-To: <31C8D224-72D4-4BE8-8EC3-29B078C7DAC3@bsdimp.com> Date: Sat, 23 Jun 2012 11:58:36 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3F1A5B5F-0787-41CE-8C77-8B1F9A601172@freebsd.org> <31C8D224-72D4-4BE8-8EC3-29B078C7DAC3@bsdimp.com> To: Warner Losh X-Mailer: Apple Mail (2.1278) Cc: arm@freebsd.org Subject: Re: armv6 tree vs. buildkernel X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2012 18:58:38 -0000 On Jun 23, 2012, at 7:35 AM, Warner Losh wrote: >>=20 >> P.S. How is CPUTYPE/TARGET_CPUTYPE supposed to be inferred for = regular "buildworld"? >> The only option I can find is to set it explicitly in /etc/src.conf >=20 > It can't possibly work very well. We need to get TARGET_ARCH=3Darmv6 = working instead of continuing these kludges. Help get me oriented and I'll start grinding through this. What values of TARGET_ARCH should be supported? Right now, there are ARCH values of arm and armeb. Should there be armv6eb? armv7? I'm also unclear on the distinction between make's MACHINE_ARCH and uname -p; are these supposed to be the same? If so, shouldn't make be using a sysctl instead of a hard-coded value? Tim