public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Microblaze and Sparc boards are broken because of common timer func
@ 2013-11-12  2:12 Masahiro Yamada
  2013-11-12  8:19 ` Michal Simek
  0 siblings, 1 reply; 12+ messages in thread
From: Masahiro Yamada @ 2013-11-12  2:12 UTC (permalink / raw)
  To: u-boot

Hello, Rob, Tom, Michal, Daniel.

Commit 8dfafdde88eb (Introduce common timer functions)
broke Microblaze and Sparc boards.

$ git checkout 8dfafdde88eb
$ CROSS_COMPILE=microblaze-unknown-linux-gnu- ./MAKEALL -a microblaze
<snipped>
lib/time.c:45: undefined reference to `timer_read_counter'
lib/libgeneric.o: In function `__udelay':
lib/time.c:86: relocation truncated to fit: R_MICROBLAZE_32_PCREL_LO
against symbol `get_ticks' defined in .text section in
arch/microblaze/cpu/libmicroblaze.o
lib/time.c:88: relocation truncated to fit: R_MICROBLAZE_32_PCREL_LO
against symbol `get_ticks' defined in .text section in
arch/microblaze/cpu/libmicroblaze.o
lib/libgeneric.o: In function `udelay':
lib/time.c:101: relocation truncated to fit: R_MICROBLAZE_32_PCREL_LO
against symbol `__udelay' defined in .text section in
arch/microblaze/cpu/libmicroblaze.o
lib/libgeneric.o: In function `timer_get_us':
lib/time.c:70: relocation truncated to fit: R_MICROBLAZE_32_PCREL_LO
against symbol `get_ticks' defined in .text section in
arch/microblaze/cpu/libmicroblaze.o
lib/libgeneric.o: In function `get_timer':
lib/time.c:65: relocation truncated to fit: R_MICROBLAZE_32_PCREL_LO
against symbol `get_ticks' defined in .text section in
arch/microblaze/cpu/libmicroblaze.o



$ CROSS_COMPILE=sparc-elf- ./MAKEALL grsim_leon2
Configuring for grsim_leon2 board...
sparc-elf-size: './u-boot': No such file
lib/libgeneric.o: In function `tick_to_time':
/home/yamada/workspace/arm-linux-pf/u-boot/lib/time.c:56: undefined reference to `get_tbclk'
lib/libgeneric.o: In function `get_ticks':
/home/yamada/workspace/arm-linux-pf/u-boot/lib/time.c:45: undefined reference to `timer_read_counter'
lib/libgeneric.o: In function `usec_to_tick':
/home/yamada/workspace/arm-linux-pf/u-boot/lib/time.c:74: undefined reference to `get_tbclk'
/home/yamada/workspace/arm-linux-pf/u-boot/lib/time.c:75: undefined reference to `get_tbclk'



(I can notice broken boards because I quite often build all boards
for the test of Kbuild porting.)


Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-11-18 13:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12  2:12 [U-Boot] Microblaze and Sparc boards are broken because of common timer func Masahiro Yamada
2013-11-12  8:19 ` Michal Simek
2013-11-12  9:04   ` Masahiro Yamada
2013-11-12 12:32     ` Michal Simek
2013-11-12 13:46       ` Rob Herring
2013-11-12 15:37         ` Michal Simek
2013-11-18 13:24           ` Tom Rini
2013-11-18 13:50             ` Michal Simek
2013-11-14  0:37       ` Masahiro Yamada
2013-11-18  9:36         ` Michal Simek
2013-11-18 10:50           ` Masahiro Yamada
2013-11-18 10:53             ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox