From: Bill Pringlemeir <bpringlemeir@nbsps.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [GIT PULL] Zynq SoC changes
Date: Mon, 26 Jan 2015 10:42:47 -0500 [thread overview]
Message-ID: <87d261y2dk.fsf@nbsps.com> (raw)
In-Reply-To: <54C20E0C.2050808@monstr.eu> (Michal Simek's message of "Fri, 23 Jan 2015 10:02:04 +0100")
On 23 Jan 2015, monstr at monstr.eu wrote:
> On 01/23/2015 02:05 AM, Tom Rini wrote:
>> I can't find a toolchain that doesn't give me something like: arm: +
>> zynq_zc70x +(zynq_zc70x) arch/arm/cpu/armv7/zynq/lowlevel_init.S:
>> Assembler messages: +(zynq_zc70x)
>> arch/arm/cpu/armv7/zynq/lowlevel_init.S:19: Error: selected processor
>> doe s not support ARM mode `fmrx r1,FPEXC' +(zynq_zc70x)
>> On Wed, Jan 21, 2015 at 10:38:47AM +0100, Michal Simek wrote:
> ok. I see. We have neon instructions enabled by default in xilinx
> toolchain. I have sent the patch which create and add
> PLATFORM_RELFLAGS += -mfpu=neon to config.mk.
> This should solve the problem with compilation. No problem to add
> this patch as the first in this serial not to break bisectability of
> the tree.
I think you can add something like,
.fpu neon-vfpv4 # or whatever FPU is appropriate.
to the lowlevel_init.S and then you can use the 'fmxr' instruction even
without compiler flags (and of course gas needs to know about it). It
makes sense if the platform turns on floating point by default and you
need to disable it in lowlevel_init.S and don't want anyone else to be
using floating point.
... but I am not sure what exactly is going on so maybe it is not a good
fit here?
Fwiw,
Bill Pringlemeir.
prev parent reply other threads:[~2015-01-26 15:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-21 9:38 [U-Boot] [GIT PULL] Zynq SoC changes Michal Simek
2015-01-23 1:05 ` Tom Rini
2015-01-23 9:02 ` Michal Simek
2015-01-23 11:59 ` Tom Rini
2015-01-23 13:39 ` Michal Simek
2015-01-23 14:12 ` Tom Rini
2015-01-23 14:33 ` Michal Simek
2015-01-23 15:19 ` Tom Rini
2015-01-26 8:09 ` [U-Boot] [GIT PULL] Zynq SoC changes v2 Michal Simek
2015-01-27 11:51 ` Tom Rini
2015-01-26 15:42 ` Bill Pringlemeir [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d261y2dk.fsf@nbsps.com \
--to=bpringlemeir@nbsps.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox