[RFC] Add and armv7hf TARGET_ARCH

Andrew Turner andrew at fubar.geek.nz
Tue Oct 7 08:20:15 UTC 2014


On Mon, 06 Oct 2014 23:52:01 +0200
Andreas Tobler <andreast-list at fgznet.ch> wrote:

> On 06.10.14 14:46, Andrew Turner wrote:
> > I'm interested in peoples opinion on creating a new TARGET_ARCH to
> > target ARMv7 SoCs. This will target all the current Cortex-A chips
> > we support but not the Raspberry Pi. My intention with this is to
> > have it become the tier 1 arm platform.
> >
> > This platform will support 32-bit Cortex-A based SoCs with a VFP
> > unit. As it would be targeting ARMv7 we could look at supporting
> > Thumb-2.
> >
> > As the VFP unit is optional and future SoCs without it will only be
> > supported by the armv6 TARGET_ARCH, however I would expect almost
> > all ARMv7 designs to include it.
> >
> > There is a downside to this, and as far as I know the problems are:
> >   * It could be confusing to figure out which TARGET_ARCH you need.
> >   * The Raspberry Pi will not be supported as its core is too old.
> >
> > I've attached my patch to build as armv7hf. It has been tested on a
> > Wandboard Quad.
> >
> > Comments?
> 
> Here the patch does not apply. Manually applied.

It will need you to be on a recent revision as I've been committing
various fixes as I find them.

> 
> Configuring math/gmp shows a segfaulting clang++.

All I've worked on so far is getting base to compile and run, no ports
as yet. I'm planning on testing a few with poudriere later.

> Investigating later.
> 
> Went back to clang built v6hf, since gcc built pkg on v6 segfaults
> too. Sigh. I need more such board to test in parallel...
> 
> I think something like this part would also be needed, no?

Yes, I missed that.

Andrew


More information about the freebsd-arm mailing list