[U-Boot] Unable to build u-boot for Marvell Aspenite board
Fabrice Mousset
f.mousset at fde.fr
Wed Apr 3 16:41:18 CEST 2013
Hi all,
I want to build U-Boot 2013.01.01 for my PXA168 evaluation board, called Aspenite.
I have seen that this board is already supported by U-Boot.
For the compilation, I use the cross-compiler submitted by Marvell : arm-marvell-linux-gnueabi-gcc 4.2.0.
To compile U-Boot, I have used following commands (my OS is Ubuntu 12.04.2 LTS):
make CROSS_COMPILE=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi- ARCH=arm aspenite_config
make CROSS_COMPILE=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi- ARCH=arm
After seconds, compilation ends with following errors:
/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-ld: section .bss [00619c58 -> 006201fb] overlaps section .rel.dyn [00619c58 -> 0061cd77]
/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-ld: section .dynsym [0061cd78 -> 0061ce77] overlaps section .bss [00619c58 -> 006201fb]
/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-ld: u-boot: section .bss lma 0x619c58 overlaps previous sections
make: *** [u-boot] Erreur 1
I don't understand those error messages, I don't know what I do wrong.
I have found another board with PXA168 which is supported by U-Boot. This board is called dplugd, so I have tried to compile it:
First, I cleared the last settings:
make CROSS_COMPILE=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi- ARCH=arm mrproper
then I configure U-Boot for the GPLUGD board
make CROSS_COMPILE=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi- ARCH=arm gplugd_config
And finally start the compilation
make CROSS_COMPILE=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi- ARCH=arm
After some seconds, the compilation is finished without any error !
I don't understand why the compilation works for the DPLUGD Board and not for the Aspenite Board. Most of the files are common.
Can someone please help me to resolve this issue?
Best regards
Fabrice Mousset
More information about the U-Boot
mailing list