[U-Boot] Many Blackfin boards are broken
Masahiro Yamada
yamada.m at jp.panasonic.com
Thu Nov 21 09:18:46 CET 2013
Hello Sonic
Thanks for your patches.
And a discussion is going on to fix another error:
http://u-boot.10912.n7.nabble.com/PATCH-cmd-test-fix-a-compile-error-on-Blackfin-td167941.html
But it looks like there are still various errors and warnings
on Blackfin boards.
I pick up some of them I noticed:
(1)
For many boards
arch/blackfin/include/asm/serial1.h:238: warning: implicit declaration
of function ‘BUG’
(2)
For many boards
initcode.c: In function ‘serial_init’:
initcode.c:150: warning: unused variable ‘uart_base’
initcode.c: In function ‘initcode’:
initcode.c:743: warning: ‘sdivB’ is used uninitialized in this function
initcode.c:1004: note: ‘sdivB’ was declared here
initcode.c:743: warning: ‘divB’ is used uninitialized in this function
initcode.c:1004: note: ‘divB’ was declared here
initcode.c:744: warning: ‘vcoB’ is used uninitialized in this function
initcode.c:1004: note: ‘vcoB’ was declared here
(3)
For bf609-ezkit board
bf609-ezkit.c:26: error: ‘P_A3’ undeclared (first use in this function)
bf609-ezkit.c:26: error: (Each undeclared identifier is reported only once
bf609-ezkit.c:26: error: for each function it appears in.)
bf609-ezkit.c:28: error: ‘P_NORCK’ undeclared (first use in this function)
bf609-ezkit.c:41: error: ‘P_RMII0’ undeclared (first use in this function)
bf609-ezkit.c:41: error: invalid initializer
bf609-ezkit.c:43: error: ‘EMAC0_MACCFG’ undeclared (first use in this function)
bf609-ezkit.c:46: error: ‘P_RMII1’ undeclared (first use in this function)
bf609-ezkit.c:46: error: invalid initializer
bf609-ezkit.c:48: error: ‘EMAC1_MACCFG’ undeclared (first use in this function)
(4)
For some boards such as tcm-bf537, link error
bfin-elf-ld: u-boot section `.bss' will not fit in region `ram'
bfin-elf-ld: region `ram' overflowed by 8084 bytes
So, what I'd like you to do is to compile all Blackfin boards
and fix errors and warnings you find.
(Or send emals to board maintainers for the errors
you are not responsible for)
Best Regards
Masahiro Yamada
More information about the U-Boot
mailing list