ARMv6 support -- was: OMAP3530 - Beagleboard and I2C problems
Rafal Jaworowski
raj at semihalf.com
Wed Aug 11 09:40:00 UTC 2010
On 2010-08-10, at 11:05, Olivier Houchard wrote:
> On Mon, Aug 09, 2010 at 10:42:17PM +0100, Ben Gray wrote:
>> Hi,
>>
>
> Hi Ben,
>
>> I've been working on a port of FreeBSD to Texas Instruments OMAP3530
>> for a while now. I have the basic drivers, Clocks, MMC, DMA, GPIO's,
>> etc. The kernel is coming up, however it crashes with a seg fault when
>> starting the init process, this is probably caused by the hacks I had to
>> put in the pmap code to get it to work with ARMv7 MMU's, but that's an
>> email for another day.
>>
>
> That's great to hear !
> How hackish is your work ? There's an ongoing work to support armv6/armv7, so
> maybe it's best to avoid duplicating efforts ?
Olivier,
As we spoke, I've put a diff of our ARMv6 work to freefall, see: http://people.freebsd.org/~raj/patches/arm/dove_v6.diff
This is against HEAD 2009.08.03, and is part of support for the following hardware:
- CPU core: Marvell Sheeva2 (88SV581x), ARMv6
- SOC: 88F6781 (Armada 500 alias Dove)
The DB-88F6781 kernel won't rather build, as there are a couple of platform-specific bits missing (GPIO rework, PM etc.), but the common ARM code should apply to the above baseline and give you an idea what kind of changes and adaptations were introduced in order to get this working. It's an initial attempt, but working stable. The main areas are pmap / busdma rework for v6; in order to have a clear situation during development we have decided to cut off from the legacy v5 files (and come up with separate -v6 derivatives), although we could converge back to a single file approach if this proves better eventually.
Rafal
More information about the freebsd-arm
mailing list