From: Simon Kagstrom Date: Wed, 30 Sep 2009 09:57:10 +0200 Subject: [U-Boot] kirkwood (openrd): saveenv will not work with environment in NAND In-Reply-To: <200909300940.07301.dk-arm-linux@gmx.de> References: <200909291555.55911.dk-arm-linux@gmx.de> <200909300902.15225.dk-arm-linux@gmx.de> <20090930090831.689a1b42@marrow.netinsight.se> <200909300940.07301.dk-arm-linux@gmx.de> Message-ID: <20090930095710.3480bb58@marrow.netinsight.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 30 Sep 2009 09:40:07 +0200 Dieter Kiermaier 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. > @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 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