[U-Boot] Fail to compile a DEBUG version of u-boot.bin for Freescale MPC8536DS
Yuming Chen
yuming.usa at gmail.com
Fri Aug 10 20:24:24 CEST 2012
Hi,
I tried to build a u-boot.bin for Freescale MPC8526DS with original
version 2010.12 source code, it succeeds if I do not define DEBUG in
the MPC8536DS.h file. But after I added #define DEBUG in
include/configs/MPC8536DS.h to turn on many printf, the build of the
uboot fails as follows,
/eldk/eldk-4.1/usr/bin/ppc_85xx-ld: section .bootpg [effff000 ->
effff22f] overlaps section .data [efffec1c -> f0006caf]
/eldk/eldk-4.1/usr/bin/ppc_85xx-ld: section .resetvec [effffffc ->
efffffff] overlaps section .data [efffec1c -> f0006caf]
/eldk/eldk-4.1/usr/bin/ppc_85xx-ld: u-boot: section .bootpg lma
0xeffff000 overlaps previous sections
/eldk/eldk-4.1/usr/bin/ppc_85xx-ld: u-boot: section .resetvec lma
0xeffffffc overlaps previous sections
/eldk/eldk-4.1/usr/bin/ppc_85xx-ld: u-boot: section .u_boot_cmd lma
0xf0006cb0 overlaps previous sections
make: *** [u-boot] Error 1
Is there an easy solution? How can I adjust the space usage to build
a debug version of u-boot.bin?
Thanks.
--
Yuming Chen
More information about the U-Boot
mailing list