[U-Boot] Microblaze and Sparc boards are broken because of common timer func

Michal Simek monstr at monstr.eu
Mon Nov 18 10:36:57 CET 2013


On 11/14/2013 01:37 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?
> 
> 
> Microblaze crosstools I use is available at:
> http://dev.gentoo.org/~vapier/u-boot/microblaze.tar.xz

Not sure if Mike maintains this toolchain.


> Before commit 8dfafdde88eb, I could build the microblaze-generic
> board with it.
> But I can't build for the current u-boot/master.

You can use this one and follow Rob's comments.
https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.8.0/

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/c3cd71e4/attachment.pgp>


More information about the U-Boot mailing list