From owner-freebsd-arm@FreeBSD.ORG Fri May 1 20:29:02 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68A781065670 for ; Fri, 1 May 2009 20:29:02 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id 1B3058FC0C for ; Fri, 1 May 2009 20:29:02 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from DSPAM-Daemon (localhost [127.0.0.1]) by mx0.deglitch.com (Postfix) with SMTP id 5A3D38FC4E for ; Sat, 2 May 2009 00:28:59 +0400 (MSD) Received: from orion.SpringDaemons.com (unknown [77.232.3.143]) by mx0.deglitch.com (Postfix) with ESMTPA id 1DC858FC2B for ; Sat, 2 May 2009 00:28:58 +0400 (MSD) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id 0989339827 for ; Sat, 2 May 2009 00:29:11 +0400 (MSD) Date: Sat, 2 May 2009 00:29:10 +0400 From: Stanislav Sedov To: freebsd-arm@freebsd.org Message-Id: <20090502002910.8890ddac.stas@FreeBSD.org> In-Reply-To: References: Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Sat May 2 00:28:59 2009 X-DSPAM-Confidence: 0.9899 X-DSPAM-Improbability: 1 in 9809 chance of being spam X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 49fb5b8b834456212220701 Subject: Re: PXA27X support 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: Fri, 01 May 2009 20:29:02 -0000 On Fri, 1 May 2009 15:26:22 +0200 Jacques Fourie mentioned: > Hi, > > I've been working on getting FreeBSD to boot on my Yoggie > (http://www.yoggie.com/open-firewall-soho) platform. > The only major missing piece is that set_cpufuncs() doesn't support the PXA270 : > > --- a/sys/arm/arm/cpufunc.c > +++ b/sys/arm/arm/cpufunc.c > @@ -1192,6 +1192,7 @@ set_cpufuncs() > #ifdef CPU_XSCALE_PXA2X0 > /* ignore core revision to test PXA2xx CPUs */ > if ((cputype & ~CPU_ID_XSCALE_COREREV_MASK) == CPU_ID_PXA250 || > + (cputype & ~CPU_ID_XSCALE_COREREV_MASK) == CPU_ID_PXA27X || > (cputype & ~CPU_ID_XSCALE_COREREV_MASK) == CPU_ID_PXA210) { > > There are some other differences between the PXA255 and PXA270 such as > different gpio pins etc. but I'm > unsure as to what the best way is to handle this elegantly in the > current pxa code. Currently I'm using a bunch > of #ifdefs in files such as pxa_machdep.c. > Hi! Can you, please, share you code so we can see how to better intergrate it with the current code? -- Stanislav Sedov ST4096-RIPE