ARMv6 / ARMv7 support

Rafal Jaworowski raj at semihalf.com
Wed May 4 13:41:58 UTC 2011


On 2011-04-27, at 13:08, Damjan Marion wrote:

> Hi guys,
> 
> I just found in latest status report that you're working on Sheeva 88SV581 CPU core (ARMv6) support. 
> 
> Is there some repository where I can see your code?
> 
> I'm specially interested in ARMv6 architecture modifications (i.e. pmap.c) as similar thing we need for OMAP3/OMAP4 support. So far Ben Grey made some patches but there is lot of things to do to make code suitable for submitting to -CURRENT.

Hi Damjan,
Sorry for a slow response, but I was very busy and Greg was on vacation.

[Adding arm@ ML to CC..]

What we currently have in terms of common arch layer is a pretty complete and cleaned up support for ARMv6/v7, which is supposed to be in a quite good condition and quality (there are possible bugs here or there as our testing environment and approach was somewhat limited due to the hardware config and booting scenarios), but it's considered almost complete as far as functionality goes:

- separate pmap file for v6/v7 machines (new ARMv6 page descriptors support, removed unnecessary cache sync, operations,  removed tracking multiple mappings / virtual aliasing tracking etc.)
- busdma(9) based on Mark Tinguely's patches
- ARMv7 processor identification/cache identification schema (for the purpose of mach specific call dipatcher and output during bootstrap)
- tested and used with two SOC systems based on Sheeva 88SV58x CPU core: Marvell Armada 500 (88F6781) and Frey (88F9580), which are ARMv6/v7 compliant
- there's more coming as we have work under way for up to quad-core SMP systems support for FreeBSD/arm

I will try to create a project in FreeBSD SVN repo to import the changes for people's review and/or adaptations for their OMAP platform code perhaps etc. The problem is I cannot promise any solid date as am pretty loaded with other work..

Rafal



More information about the freebsd-arm mailing list