From: Dieter Kiermaier <dk-arm-linux@gmx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] kirkwood (openrd): saveenv will not work with environment in NAND
Date: Wed, 30 Sep 2009 10:15:35 +0200 [thread overview]
Message-ID: <200909301015.35321.dk-arm-linux@gmx.de> (raw)
In-Reply-To: <20090930095710.3480bb58@marrow.netinsight.se>
Am Mittwoch 30 September 2009 09:57:10 schrieb Simon Kagstrom:
> On Wed, 30 Sep 2009 09:40:07 +0200
> Dieter Kiermaier <dk-arm-linux@gmx.de> wrote:
>
> > > Sounds like you might have problems with USE_PRIVATE_LIBGCC. See this
> > > mail for how to test this:
> > >
> > > http://lists.denx.de/pipermail/u-boot/2009-August/059313.html
> >
> > export USE_PRIVATE_LIBGCC=yes
> > seems to solve my problem - even if I don't exactly understand what I'm doing :(
>
> You use a libgcc from uboot/lib_arm, built when you build uboot,
> instead of the one you built with gcc. Basically you will build this
> with the same ABI options as you build the rest of uboot, so it will
> avoid the linker errors you got before.
Ahh, ok. Thanks for pointing this out!
>
> > @Prafulla:
> > Hi Prafulla,
> > is there anywhere a document how to build open source u-boot for sheevaplug which explains all these details?
> > (haven't found some documentation about this)
>
> (Wearing my Prafulla hat): I guess this should be described on the
> plugwiki:
>
> http://www.openplug.org/plugwiki/index.php/Das_U-boot_plug_support#Open_U-boot_support_for_SheevaPlug
Yes - I know this page but there are no information regarding the latest u-boot changes (e.g. openrd support, movement from git.marvell.com to denx , the
toolchain problems...)
;)
>
> but we really just need to solve the EABI problem.
>
>
> Wolfgang/Stefan/Tom/Prafulla: Would a patch like the one below be
> acceptable until we find out a proper fix? I realise that this also
> affects other arm926ejs-boards, but is there some way to isolate this
> to kirkwood?
>
> // Simon
Again, many thanks for helping!
Dieter
>
>
> From 29ff02ca77406e820203ad27369e0684aa1a098c Mon Sep 17 00:00:00 2001
> From: Simon Kagstrom <simon.kagstrom@netinsight.net>
> Date: Fri, 4 Sep 2009 11:15:20 +0200
> Subject: [PATCH] Make arm926ejs use -mabi=apcs-gnu and private libgcc
>
> Using -mabi=apcs-gnu allows Marvell Kirkwood-based boards to boot with
> the EABI changes introduced in commit
> f772acf8a584067033eff1e231fcd1fb3a00d3d9. Since this changes the ABI,
> USE_PRIVATE_LIBGCC is also defined.
>
> Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
> ---
> cpu/arm926ejs/config.mk | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/cpu/arm926ejs/config.mk b/cpu/arm926ejs/config.mk
> index f8ef90f..1c9d547 100644
> --- a/cpu/arm926ejs/config.mk
> +++ b/cpu/arm926ejs/config.mk
> @@ -20,10 +20,11 @@
> # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
> # MA 02111-1307 USA
> #
> +USE_PRIVATE_LIBGCC = yes
>
> PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
>
> -PLATFORM_CPPFLAGS += -march=armv5te
> +PLATFORM_CPPFLAGS += -march=armv5te -mabi=apcs-gnu
> # =========================================================================
> #
> # Supply options according to compiler version
next prev parent reply other threads:[~2009-09-30 8:15 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-29 13:55 [U-Boot] kirkwood (openrd): saveenv will not work with environment in NAND Dieter Kiermaier
2009-09-29 15:16 ` Dieter Kiermaier
2009-09-30 6:21 ` Simon Kagstrom
2009-09-30 7:02 ` Dieter Kiermaier
2009-09-30 7:08 ` Simon Kagstrom
2009-09-30 7:40 ` Dieter Kiermaier
2009-09-30 7:57 ` Simon Kagstrom
2009-09-30 8:15 ` Dieter Kiermaier [this message]
2009-09-30 8:17 ` Simon Kagstrom
2009-09-30 8:25 ` Dieter Kiermaier
2009-09-30 9:28 ` [U-Boot] Flash sanity checks Prafulla Wadaskar
2009-09-30 9:58 ` Dieter Kiermaier
2009-09-30 12:19 ` Stefan Roese
2009-10-06 17:16 ` [U-Boot] kirkwood (openrd): saveenv will not work with environment in NAND Prafulla Wadaskar
2009-09-30 20:32 ` Wolfgang Denk
2009-10-01 7:29 ` [U-Boot] [PATCH] Make arm926ejs use -mabi=apcs-gnu to avoid EABI problems Simon Kagstrom
2009-10-01 9:56 ` Prafulla Wadaskar
2009-10-01 18:27 ` Wolfgang Denk
2009-10-02 14:44 ` Simon Kagstrom
2009-10-05 13:23 ` [U-Boot] [PATCH] arm926ejs: 16-byte align stack to avoid LDRD/STRD problems Simon Kagstrom
2009-10-05 14:30 ` Andrew Dyer
2009-10-05 14:35 ` Stefan Roese
2009-10-05 14:53 ` [U-Boot] [PATCH v2] " Simon Kagstrom
2009-10-05 15:44 ` Dieter Kiermaier
2009-10-05 18:37 ` Tom
2009-10-06 7:07 ` Simon Kagstrom
2009-10-05 22:07 ` Måns Rullgård
2009-10-06 4:13 ` Prafulla Wadaskar
2009-10-06 6:44 ` [U-Boot] [PATCH v3] arm926ejs: 8-byte " Simon Kagstrom
2009-10-06 16:50 ` Tom
2009-10-18 2:15 ` Tom
2009-10-05 14:40 ` [U-Boot] [PATCH] arm926ejs: 16-byte " Simon Kagstrom
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=200909301015.35321.dk-arm-linux@gmx.de \
--to=dk-arm-linux@gmx.de \
--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