From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Mon, 18 Nov 2013 14:50:54 +0100 Subject: [U-Boot] Microblaze and Sparc boards are broken because of common timer func In-Reply-To: <20131118132400.GA420@bill-the-cat> References: <20131112111245.8872.AA925319@jp.panasonic.com> <5281E490.3020906@monstr.eu> <20131112180400.8883.AA925319@jp.panasonic.com> <52821FD7.7000503@monstr.eu> <5282312D.3050908@gmail.com> <52824B3E.3060507@monstr.eu> <20131118132400.GA420@bill-the-cat> Message-ID: <528A1B3E.2030804@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/18/2013 02:24 PM, Tom Rini wrote: > On Tue, Nov 12, 2013 at 04:37:34PM +0100, Michal Simek wrote: >> On 11/12/2013 02:46 PM, Rob Herring wrote: >>> On 11/12/2013 06:32 AM, Michal Simek wrote: >>>> Hi Masahiro, >>>> >>>> On 11/12/2013 10:04 AM, Masahiro Yamada wrote: >>>>> Hello Michal >>>>> >>>>> >>>>>> This should be fixed by this patch - at least for microblaze. >>>>>> >>>>>> commit 65ba7add0d609bbd035b8d42fafdaf428ac24751 Author: Rob >>>>>> Herring Date: Fri Nov 8 08:40:43 >>>>>> 2013 -0600 >>>>>> >>>>>> time: add weak annotation to timer_read_counter declaration >>>>>> >>>>>> A weak annotation is needed in order to prevent link errors >>>>>> when get_ticks is overridden. This fixes sandbox build. >>>>>> >>>>>> Signed-off-by: Rob Herring >>>>> >>>>> No. I tried both the current u-boot/master and commit >>>>> 65ba7add0d, but Microblaze board failed with the same error >>>>> message. >>>>> >>>> >>>> Look at this log - uboot section. >>>> http://www.monstr.eu/wiki/doku.php?id=log:2013-11-12_13_29_22 >>>> >>>> Which toolchain do you use? >>> >>> It builds for me with 4.8.0 from kernel.org, but I had to disable >>> systemace driver otherwise I get this error: >> >> yes. That's my behaviour too when I use this toolchain. >> I have to ping toolchain people to find out status of stack support >> in mainline gcc. > > Well, why is the assembler part failing? And what is the toolchain > people should use here? > That's not question to me but to our toolchain guys what it is missing in the mainline gcc. I have sent them an email. Will see what I get. I do use these two toolchains[1] depends if you want to compile little or big endian targets. Mainline u-boot, because of ll_temac driver, must be compiled by big endian toolchains. [1] http://www.monstr.eu/20131118-microblaze-toolchains.tar.gz md5sum 20131118-microblaze-toolchains.tar.gz 940b8464154d3f1b58fe977156203b2a 20131118-microblaze-toolchains.tar.gz Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: