PXA27X support
Stanislav Sedov
stas at FreeBSD.org
Fri May 1 20:29:02 UTC 2009
On Fri, 1 May 2009 15:26:22 +0200
Jacques Fourie <jacques.fourie at 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()
> #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
More information about the freebsd-arm
mailing list