Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2014 09:20:03 +0100
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Andreas Tobler <andreast-list@fgznet.ch>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: [RFC] Add and armv7hf TARGET_ARCH
Message-ID:  <20141007092003.6cb99027@bender.lan>
In-Reply-To: <54330F01.4050108@fgznet.ch>
References:  <20141006134626.59cc5573@bender.lan> <54330F01.4050108@fgznet.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 06 Oct 2014 23:52:01 +0200
Andreas Tobler <andreast-list@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



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