From: Stefan Agner <stefan@agner.ch>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] arm: build arch memset/memcpy in Thumb2 mode
Date: Mon, 15 Dec 2014 22:06:11 +0100 [thread overview]
Message-ID: <44623490a0cf0b7a02e1452f2b1fd86b@agner.ch> (raw)
In-Reply-To: <548EEF16.1090707@suse.de>
Hi Andreas,
On 2014-12-15 15:24, Andreas F?rber wrote:
> Hi Stefan,
>
> Am 03.12.2014 um 18:04 schrieb Stefan Agner:
>> Can this be fixed by the merger or should I create a new revision?
>
> It looks as if this was neither applied nor respun? I have some more
> patches to make CONFIG_USE_PRIVATE_LIBGCC build for Thumb that I would
> like to rebase on it.
Not sure what the expectation is... Probably I should just do a respin
since there are now three minor nits...
>
> In particular, I have pieced together a tiny asm/unified.h file with
> THUMB() and ARM() macros and doing the .syntax unified in that central
> place, and resyncing the various arch/arm/lib/_*.S files from Linux.
> https://github.com/afaerber/u-boot/commits/stm32
>
> Is there a particular reason you are doing the .syntax inline here?
No particular reason other than laziness :-)
>
> And looking beyond this patch, assuming this is for your Vybrid's M4, do
> you already have a concept for how to go about vectors.S, start.S and
> the like for ARMv7-M? :) I've stubbed them out for now but haven't
> managed to successfully link yet...
Actually no, I don't use U-Boot on the M4 (so far). For Linux on the
Vybrid M4, I use a special boot loader which runs on the A5 Linux. On
Vybrid (the variant we use at least) boots always from the A5 first,
hence I have a running Linux. Or alternatively, I could run the M4 from
U-Boot running on the A5. So far, I had no need to run U-Boot on the M4.
The reason I was interested in Thumb2 was the size: Due to lack of 5V on
the Colibri module we need to load the boot loader using Vybrid's serial
loader over UART which is somewhat slow. So the 25% reduction of size
means 25% less download time...
--
Stefan
next prev parent reply other threads:[~2014-12-15 21:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-21 15:34 [U-Boot] [PATCH v2] arm: build arch memset/memcpy in Thumb2 mode Stefan Agner
2014-11-27 23:02 ` Stefan Agner
2014-11-30 19:33 ` Simon Glass
2014-11-30 20:07 ` Stefan Agner
2014-12-03 15:44 ` Bill Pringlemeir
2014-12-03 17:04 ` Stefan Agner
2014-12-15 14:24 ` Andreas Färber
2014-12-15 21:06 ` Stefan Agner [this message]
2014-12-18 15:39 ` Albert ARIBAUD
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=44623490a0cf0b7a02e1452f2b1fd86b@agner.ch \
--to=stefan@agner.ch \
--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