
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@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@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