From owner-svn-src-head@FreeBSD.ORG Sat May 5 17:16:03 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 00B54106566C; Sat, 5 May 2012 17:16:03 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 83A878FC0A; Sat, 5 May 2012 17:15:59 +0000 (UTC) Received: from 63.imp.bsdimp.com (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q45H9wZm042807 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sat, 5 May 2012 11:09:58 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <4FA552F7.70306@freebsd.org> Date: Sat, 5 May 2012 11:09:57 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <887183C8-204F-4240-9CA7-E9295B6219B9@bsdimp.com> References: <201205050715.q457FZ6v044678@svn.freebsd.org> <4FA552F7.70306@freebsd.org> To: Nathan Whitehorn X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Sat, 05 May 2012 11:09:58 -0600 (MDT) Cc: svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, Warner Losh Subject: Re: svn commit: r235050 - head/sys/arm/arm X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 17:16:03 -0000 On May 5, 2012, at 10:19 AM, Nathan Whitehorn wrote: > On 05/05/12 02:15, Warner Losh wrote: >> Author: imp >> Date: Sat May 5 07:15:34 2012 >> New Revision: 235050 >> URL: http://svn.freebsd.org/changeset/base/235050 >>=20 >> Log: >> Big endian arm boxes need to have a uname -m of armeb, not arm, so >> that the bootstrap from source works correctly. >>=20 >> MFC after: 4 days >>=20 >> Modified: >> head/sys/arm/arm/identcpu.c >>=20 >> Modified: head/sys/arm/arm/identcpu.c >> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >> --- head/sys/arm/arm/identcpu.c Sat May 5 02:53:19 2012 = (r235049) >> +++ head/sys/arm/arm/identcpu.c Sat May 5 07:15:34 2012 = (r235050) >> @@ -52,11 +52,16 @@ __FBSDID("$FreeBSD$"); >> #include >> #include >> #include >> +#include >>=20 >> #include >> #include >>=20 >> +#if _BYTE_ORDER =3D=3D _LITTLE_ENDIAN >> char machine[] =3D "arm"; >> +#else >> +char machine[] =3D "armeb"; >> +#endif >>=20 >> SYSCTL_STRING(_hw, HW_MACHINE, machine, CTLFLAG_RD, >> machine, 0, "Machine class"); >=20 > Didn't you mean to change MACHINE_ARCH in /sys/arm/include/param.h? = Setting MACHINE=3Darmeb will break lots of things, including = self-hosting. DOh! You're right... I'll fix that. :( Warner