From: Aneesh V <aneesh@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 4/6] armv7: Use -march=armv7-a and thereby enable Thumb-2
Date: Fri, 06 Jul 2012 16:43:46 -0700 [thread overview]
Message-ID: <4FF77832.2000807@ti.com> (raw)
In-Reply-To: <F18CD1A2-79A4-4726-A460-2968579A5F05@kmckk.co.jp>
Hi Marek,
On 07/06/2012 04:32 PM, Tetsuyuki Kobayashi wrote:
> Hello,
>
> On 2012/07/07, at 8:02, Marek Vasut wrote:
>
>> Dear Aneesh V,
>>
>>> Enable -march=armv7-a for armv7 platforms if the tool-chain
>>> supports it. This in turn results in Thumb-2 code generated
>>> for these platforms if CONFIG_SYS_THUMB_BUILD is enabled.
>>>
>>> Signed-off-by: Aneesh V<aneesh@ti.com>
>>> ---
>>
>> For some reason, this patch breaks USB EHCI on mx51 efika boards. The board just
>> freezes instead of detecting USB devices. Reverting this patch fixes the issue.
>>
>> Note I use gcc 4.7.1 (!), might be compiler issue?
>>
>> Tom, can you try on one of your beagle-dogs please? :)
>>
>
> Just for your information,
> I doubt unaligned access causes this problem.
>
> My investigation is here,
> http://lists.denx.de/pipermail/u-boot/2012-June/127020.html
> My patch
> [PATCH] arm: armv7: add compile option -mno-unaligned-access if available
> http://lists.denx.de/pipermail/u-boot/2012-July/127260.html
This makes sense. You might want to try this patch. Also, to be sure
that it's nothing to do with Thumb you can make sure you are not
enabling CONFIG_SYS_THUMB_BUILD.
best regards,
Aneesh
next prev parent reply other threads:[~2012-07-06 23:43 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-08 17:20 [U-Boot] [PATCH v4 0/6] Enable Thumb build for ARM platforms Aneesh V
2012-03-08 17:20 ` [U-Boot] [PATCH v4 1/6] arm: adapt asm/linkage.h from Linux Aneesh V
2012-03-11 2:01 ` Mike Frysinger
2012-03-12 8:11 ` Aneesh V
2012-03-08 17:20 ` [U-Boot] [PATCH v4 2/6] armv7: add appropriate headers for assembly functions Aneesh V
2012-03-11 2:02 ` Mike Frysinger
2012-03-08 17:20 ` [U-Boot] [PATCH v4 3/6] ARM: enable Thumb build Aneesh V
2012-03-11 2:02 ` Mike Frysinger
2012-03-12 8:20 ` Aneesh V
2012-03-08 17:20 ` [U-Boot] [PATCH v4 4/6] armv7: Use -march=armv7-a and thereby enable Thumb-2 Aneesh V
2012-05-23 15:01 ` Thierry Reding
2012-05-23 15:20 ` Stephen Warren
2012-05-24 6:46 ` Thierry Reding
2012-07-06 23:02 ` Marek Vasut
2012-07-06 23:32 ` Tetsuyuki Kobayashi
2012-07-06 23:43 ` Aneesh V [this message]
2012-07-07 7:59 ` Marek Vasut
2012-07-07 10:08 ` Albert ARIBAUD
2012-03-08 17:20 ` [U-Boot] [PATCH v4 5/6] omap4+: Avoid using __attribute__ ((__packed__)) Aneesh V
2012-03-08 17:20 ` [U-Boot] [PATCH v4 6/6] OMAP4: enable Thumb build Aneesh V
2012-03-15 13:25 ` [U-Boot] [PATCH v4 0/6] Enable Thumb build for ARM platforms Aneesh V
2012-03-15 16:29 ` Tom Rini
2012-04-03 22:48 ` Allen Martin
2012-04-03 22:59 ` Måns Rullgård
2012-03-15 20:23 ` Tom Rini
2012-03-15 20:46 ` Wolfgang Denk
2012-03-15 20:54 ` Tom Rini
2012-03-15 21:01 ` Wolfgang Denk
2012-03-15 21:12 ` Tom Rini
2012-03-15 22:21 ` Tom Rini
2012-03-16 7:16 ` Wolfgang Denk
2012-03-16 7:48 ` Sricharan R
2012-03-16 14:36 ` Tom Rini
2012-03-17 7:10 ` R, Sricharan
2012-03-16 15:27 ` [U-Boot] [PATCH 1/2] tools, config.mk: Add gcc-version.sh, cc-version test from Linux Tom Rini
2012-03-16 15:27 ` [U-Boot] [PATCH 2/2] Makefile: Add a 'checkthumb' rule Tom Rini
2012-03-16 16:07 ` Mike Frysinger
2012-03-16 17:09 ` Tom Rini
2012-03-16 16:34 ` [U-Boot] [PATCH v2] " Tom Rini
2012-03-16 19:40 ` Mike Frysinger
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=4FF77832.2000807@ti.com \
--to=aneesh@ti.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