From owner-freebsd-arm@FreeBSD.ORG Sat May 2 06:28:01 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 D9DCC106566B for ; Sat, 2 May 2009 06:28:01 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: from mail-fx0-f162.google.com (mail-fx0-f162.google.com [209.85.220.162]) by mx1.freebsd.org (Postfix) with ESMTP id 192A48FC1B for ; Sat, 2 May 2009 06:28:00 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: by fxm6 with SMTP id 6so2620815fxm.43 for ; Fri, 01 May 2009 23:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ZQvRRrO0YfO3UoVuYotWKo1Wek8lFJOX+bngLvfYYhM=; b=HFJJgGLaL3UuxhP3sALUhGATDIVy83lFHYIhItFKUI3+uUsjLaJyhwkjSk1UbZ783j glLhaIB8qRbFb9YBJtuL2Pj1YFiCOBbHHhLTqYwuqyL4MK8DVBl9S3ws8Gy7CWX5SztJ D/ez387lfj4doZWYlOOIOhC29zgUNWQ+T/P64= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=pC0QQOpj4QsiQWVUjQmFP7kVT0uBheYwckwxwow0SI1H0tSq8VjfwFCvEFfufQa23o /Ca+TyRRR/C/PiWDRIs7E7P2HNu7Cw8u3/yle09JHYBZzHeG2Kg87hX0vWt6WKeQakw1 3QJQuO9v5MS/s9WwgnWy4/4HpWiio5uaELwPE= MIME-Version: 1.0 Received: by 10.86.82.6 with SMTP id f6mr3521666fgb.69.1241245679962; Fri, 01 May 2009 23:27:59 -0700 (PDT) In-Reply-To: <20090502002910.8890ddac.stas@FreeBSD.org> References: <20090502002910.8890ddac.stas@FreeBSD.org> Date: Sat, 2 May 2009 08:27:59 +0200 Message-ID: From: Jacques Fourie To: Stanislav Sedov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-arm@freebsd.org 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: Sat, 02 May 2009 06:28:02 -0000 On Fri, May 1, 2009 at 10:29 PM, Stanislav Sedov wrote: > 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() >> =A0#ifdef CPU_XSCALE_PXA2X0 >> =A0 =A0 =A0 =A0 /* ignore core revision to test PXA2xx CPUs */ >> =A0 =A0 =A0 =A0 if ((cputype & ~CPU_ID_XSCALE_COREREV_MASK) =3D=3D CPU_I= D_PXA250 || >> + =A0 =A0 =A0 =A0 =A0 (cputype & ~CPU_ID_XSCALE_COREREV_MASK) =3D=3D CPU= _ID_PXA27X || >> =A0 =A0 =A0 =A0 =A0 =A0 (cputype & ~CPU_ID_XSCALE_COREREV_MASK) =3D=3D C= PU_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? I'll be happy to share the code but I really need to clean it up first. I t= hink the PXA support can do with some seperation of functionality into board support files. I'll try to put something together... > > -- > Stanislav Sedov > ST4096-RIPE > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >