[U-Boot] Microblaze and Sparc boards are broken because of common timer func
Michal Simek
monstr at monstr.eu
Mon Nov 18 14:50:54 CET 2013
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 <rob.herring at calxeda.com> 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 <rob.herring at calxeda.com>
>>>>>
>>>>> 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: <http://lists.denx.de/pipermail/u-boot/attachments/20131118/2fe1df41/attachment.pgp>
More information about the U-Boot
mailing list