Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 2009 08:27:59 +0200
From:      Jacques Fourie <jacques.fourie@gmail.com>
To:        Stanislav Sedov <stas@freebsd.org>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: PXA27X support
Message-ID:  <be2f52430905012327g33ff7193h9228b739d1a42e9e@mail.gmail.com>
In-Reply-To: <20090502002910.8890ddac.stas@FreeBSD.org>
References:  <be2f52430905010626s212cf8ebt2a22899297629802@mail.gmail.com> <20090502002910.8890ddac.stas@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 1, 2009 at 10:29 PM, Stanislav Sedov <stas@freebsd.org> wrote:
> On Fri, 1 May 2009 15:26:22 +0200
> Jacques Fourie <jacques.fourie@gmail.com> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?be2f52430905012327g33ff7193h9228b739d1a42e9e>