[U-Boot] Pull request: u-boot-arm

Dirk Behme
2010-11-27T07:43:54Z

On 26.11.2010 21:55, Wolfgang Denk wrote:
> In message<20101126202955.B087D11D94F7@gemini.denx.de> you wrote:
>> The following changes since commit 6163f5b4c8873848ed023054bc401727301ea537:
>>
>> malloc: Fix issue with calloc memory possibly being non-zero (2010-11-17 22:06:40 +0100)
>>
>> are available in the git repository at:
>> git://git.denx.de/u-boot-arm.git master
...
>
> Applied.

Doing a './MAKEALL ARMV7' on the recent master (d4752d5d2...) doesn't
look nice [2].

The following configs build fine:

igep0020
mx51evk
omap3_beagle
omap3_overo
omap3_pandora
omap4_panda

The following boards fail to build:

am3517_evm board
ca9x4_ct_vxp
devkit8000
igep0030
omap3_evm
omap3_sdp3430
omap3_zoom1
omap3_zoom2
omap4_sdp4430
s5p_goni
smdkc100

I applied [1] to fix a beagle warning.

Are there any other pending patches to fix the compilation of the
failing boards?

Thanks

Dirk

[1] http://patchwork.ozlabs.org/patch/72453/

[2] > ./MAKEALL ARMV7
Configuring for am3517_evm board...
board.c: In function '__dram_init_banksize':
board.c:233: error: 'CONFIG_SYS_SDRAM_BASE' undeclared (first use in
this function)
board.c:233: error: (Each undeclared identifier is reported only once
board.c:233: error: for each function it appears in.)
board.c: In function 'board_init_f':
board.c:279: error: 'CONFIG_SYS_INIT_SP_ADDR' undeclared (first use in
this function)
board.c:312: error: 'CONFIG_SYS_SDRAM_BASE' undeclared (first use in
this function)
make[1]: *** [board.o] Error 1
make: *** [arch/arm/lib/libarm.o] Error 2
size: './u-boot': No such file
Configuring for ca9x4_ct_vxp board...
syslib.c:26:32: error: asm/arch/sys_proto.h: No such file or directory
make[1]: *** No rule to build the target ?.depend?,
needed from ?_depend?. End.
syslib.c:26:32: error: asm/arch/sys_proto.h: No such file or directory
make[1]: *** [syslib.o] Error 1
make: *** [arch/arm/cpu/armv7/libarmv7.o] Error 2
size: './u-boot': No such file
Configuring for devkit8000 board...
start.S: Assembler messages:
start.S:144: Error: constant expression expected -- `ldr
sp,=((0x4020FFFC-CONFIG_SYS_GBL_DATA_SIZE))'
make[1]: *** [start.o] Error 1
make: *** [arch/arm/cpu/armv7/start.o] Error 2
size: './u-boot': No such file
Configuring for igep0020 board...
text data bss dec hex filename
219538 7768 214536 441842 6bdf2 ./u-boot
Configuring for igep0030 board...
net/libnet.o: In function `rpc_req':
u-boot.git/net/nfs.c:193: undefined reference to `NetEthHdrSize'
u-boot.git/net/nfs.c:202: undefined reference to `NetSendUDPPacket'
u-boot.git/net/nfs.c:203: undefined reference to `NetTxPacket'
u-boot.git/net/nfs.c:203: undefined reference to `NetServerEther'
net/libnet.o: In function `NfsStart':
u-boot.git/net/nfs.c:741: undefined reference to `NetSetTimeout'
u-boot.git/net/nfs.c:742: undefined reference to `NetSetHandler'
u-boot.git/net/nfs.c:754: undefined reference to `BootFile'
u-boot.git/net/nfs.c:754: undefined reference to `NetServerIP'
u-boot.git/net/nfs.c:754: undefined reference to `NetOurIP'
u-boot.git/net/nfs.c:754: undefined reference to `NetOurGatewayIP'
u-boot.git/net/nfs.c:754: undefined reference to `NetOurSubnetMask'
u-boot.git/net/nfs.c:754: undefined reference to `NetBootFileSize'
u-boot.git/net/nfs.c:754: undefined reference to `NetServerEther'
net/libnet.o: In function `nfs_read_reply':
u-boot.git/net/nfs.c:563: undefined reference to `NetBootFileXferSize'
net/libnet.o: In function `NfsHandler':
u-boot.git/net/nfs.c:656: undefined reference to `NetSetTimeout'
u-boot.git/net/nfs.c:668: undefined reference to `NetState'
net/libnet.o: In function `NfsTimeout':
u-boot.git/net/nfs.c:574: undefined reference to `NetStartAgain'
u-boot.git/net/nfs.c:577: undefined reference to `NetSetTimeout'
arm-none-linux-gnueabi-ld: BFD (Sourcery G++ Lite 2009q1-203)
2.19.51.20090205 assertion fail
/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/binutils-src-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:12273
arm-none-linux-gnueabi-ld: BFD (Sourcery G++ Lite 2009q1-203)
2.19.51.20090205 assertion fail
/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/binutils-src-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:12273
arm-none-linux-gnueabi-ld: BFD (Sourcery G++ Lite 2009q1-203)
2.19.51.20090205 assertion fail
/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/binutils-src-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:12273
arm-none-linux-gnueabi-ld: BFD (Sourcery G++ Lite 2009q1-203)
2.19.51.20090205 assertion fail
/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/binutils-src-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:12273
arm-none-linux-gnueabi-ld: BFD (Sourcery G++ Lite 2009q1-203)
2.19.51.20090205 assertion fail
/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/binutils-src-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:12273
arm-none-linux-gnueabi-ld: BFD (Sourcery G++ Lite 2009q1-203)
2.19.51.20090205 assertion fail
/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/binutils-src-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:12507
/bin/sh: line 1: 8055 Segmentation fault arm-none-linux-gnueabi-ld
-Bstatic -T u-boot.lds -pie -Ttext 0x80008000 $UNDEF_SYM
arch/arm/cpu/armv7/start.o --start-group lib/libgeneric.o
lib/lzma/liblzma.o lib/lzo/liblzo.o arch/arm/cpu/armv7/libarmv7.o
arch/arm/cpu/armv7/omap3/libomap3.o arch/arm/lib/libarm.o
fs/cramfs/libcramfs.o fs/fat/libfat.o fs/fdos/libfdos.o
fs/jffs2/libjffs2.o fs/reiserfs/libreiserfs.o fs/ext2/libext2fs.o
fs/yaffs2/libyaffs2.o fs/ubifs/libubifs.o net/libnet.o disk/libdisk.o
drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o
drivers/dma/libdma.o drivers/fpga/libfpga.o drivers/gpio/libgpio.o
drivers/hwmon/libhwmon.o drivers/i2c/libi2c.o drivers/input/libinput.o
drivers/misc/libmisc.o drivers/mmc/libmmc.o drivers/mtd/libmtd.o
drivers/mtd/nand/libnand.o drivers/mtd/onenand/libonenand.o
drivers/mtd/ubi/libubi.o drivers/mtd/spi/libspi_flash.o
drivers/net/libnet.o drivers/net/phy/libphy.o drivers/pci/libpci.o
drivers/pcmcia/libpcmcia.o drivers/power/libpower.o
drivers/spi/libspi.o drivers/rtc/librtc.o drivers/serial/libserial.o
drivers/twserial/libtws.o drivers/usb/gadget/libusb_gadget.o
drivers/usb/host/libusb_host.o drivers/usb/musb/libusb_musb.o
drivers/usb/phy/libusb_phy.o drivers/video/libvideo.o
drivers/watchdog/libwatchdog.o common/libcommon.o lib/libfdt/libfdt.o
api/libapi.o post/libpost.o
arch/arm/cpu/armv7/omap-common/libomap-common.o
board/isee/igep0030/libigep0030.o --end-group
u-boot.git/arch/arm/lib/eabi_compat.o -L
/opt/codesourcery/arm-none-linux-gnueabi/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3
-lgcc -Map u-boot.map -o u-boot
make: *** [u-boot] Error 139
size: ./u-boot: File format not recognized
Configuring for mx51evk board...
text data bss dec hex filename
159945 6504 216928 383377 5d991 ./u-boot
Configuring for omap3_beagle board...
text data bss dec hex filename
249978 11288 203700 464966 71846 ./u-boot
Configuring for omap3_overo board...
text data bss dec hex filename
216254 10836 210628 437718 6add6 ./u-boot
Configuring for omap3_evm board...
start.S: Assembler messages:
start.S:144: Error: constant expression expected -- `ldr
sp,=((0x4020FFFC-CONFIG_SYS_GBL_DATA_SIZE))'
make[1]: *** [start.o] Error 1
make: *** [arch/arm/cpu/armv7/start.o] Error 2
size: './u-boot': No such file
Configuring for omap3_pandora board...
text data bss dec hex filename
326528 10480 205116 542124 845ac ./u-boot
Configuring for omap3_sdp3430 board...
board.c: In function '__dram_init_banksize':
board.c:233: error: 'CONFIG_SYS_SDRAM_BASE' undeclared (first use in
this function)
board.c:233: error: (Each undeclared identifier is reported only once
board.c:233: error: for each function it appears in.)
board.c: In function 'board_init_f':
board.c:279: error: 'CONFIG_SYS_INIT_SP_ADDR' undeclared (first use in
this function)
board.c:312: error: 'CONFIG_SYS_SDRAM_BASE' undeclared (first use in
this function)
make[1]: *** [board.o] Error 1
make: *** [arch/arm/lib/libarm.o] Error 2
size: './u-boot': No such file
Configuring for omap3_zoom1 board...
board.c: In function '__dram_init_banksize':
board.c:233: error: 'CONFIG_SYS_SDRAM_BASE' undeclared (first use in
this function)
board.c:233: error: (Each undeclared identifier is reported only once
board.c:233: error: for each function it appears in.)
board.c: In function 'board_init_f':
board.c:279: error: 'CONFIG_SYS_INIT_SP_ADDR' undeclared (first use in
this function)
board.c:312: error: 'CONFIG_SYS_SDRAM_BASE' undeclared (first use in
this function)
make[1]: *** [board.o] Error 1
make: *** [arch/arm/lib/libarm.o] Error 2
size: './u-boot': No such file
Configuring for omap3_zoom2 board...
board.c: In function '__dram_init_banksize':
board.c:233: error: 'CONFIG_SYS_SDRAM_BASE' undeclared (first use in
this function)
board.c:233: error: (Each undeclared identifier is reported only once
board.c:233: error: for each function it appears in.)
board.c: In function 'board_init_f':
board.c:279: error: 'CONFIG_SYS_INIT_SP_ADDR' undeclared (first use in
this function)
board.c:312: error: 'CONFIG_SYS_SDRAM_BASE' undeclared (first use in
this function)
make[1]: *** [board.o] Error 1
make: *** [arch/arm/lib/libarm.o] Error 2
size: './u-boot': No such file
Configuring for omap4_panda board...
text data bss dec hex filename
147402 5892 201256 354550 568f6 ./u-boot
Configuring for omap4_sdp4430 board...
net/libnet.o: In function `rpc_req':
u-boot.git/net/nfs.c:193: undefined reference to `NetEthHdrSize'
u-boot.git/net/nfs.c:202: undefined reference to `NetSendUDPPacket'
u-boot.git/net/nfs.c:203: undefined reference to `NetTxPacket'
u-boot.git/net/nfs.c:203: undefined reference to `NetServerEther'
net/libnet.o: In function `NfsStart':
u-boot.git/net/nfs.c:741: undefined reference to `NetSetTimeout'
u-boot.git/net/nfs.c:742: undefined reference to `NetSetHandler'
u-boot.git/net/nfs.c:754: undefined reference to `BootFile'
u-boot.git/net/nfs.c:754: undefined reference to `NetServerIP'
u-boot.git/net/nfs.c:754: undefined reference to `NetOurIP'
u-boot.git/net/nfs.c:754: undefined reference to `NetOurGatewayIP'
u-boot.git/net/nfs.c:754: undefined reference to `NetOurSubnetMask'
u-boot.git/net/nfs.c:754: undefined reference to `NetBootFileSize'
u-boot.git/net/nfs.c:754: undefined reference to `NetServerEther'
net/libnet.o: In function `nfs_read_reply':
u-boot.git/net/nfs.c:563: undefined reference to `NetBootFileXferSize'
net/libnet.o: In function `NfsHandler':
u-boot.git/net/nfs.c:656: undefined reference to `NetSetTimeout'
u-boot.git/net/nfs.c:668: undefined reference to `NetState'
net/libnet.o: In function `NfsTimeout':
u-boot.git/net/nfs.c:574: undefined reference to `NetStartAgain'
u-boot.git/net/nfs.c:577: undefined reference to `NetSetTimeout'
arm-none-linux-gnueabi-ld: BFD (Sourcery G++ Lite 2009q1-203)
2.19.51.20090205 assertion fail
/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/binutils-src-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:12273
arm-none-linux-gnueabi-ld: BFD (Sourcery G++ Lite 2009q1-203)
2.19.51.20090205 assertion fail
/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/binutils-src-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:12273
arm-none-linux-gnueabi-ld: BFD (Sourcery G++ Lite 2009q1-203)
2.19.51.20090205 assertion fail
/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/binutils-src-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:12273
arm-none-linux-gnueabi-ld: BFD (Sourcery G++ Lite 2009q1-203)
2.19.51.20090205 assertion fail
/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/binutils-src-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:12273
arm-none-linux-gnueabi-ld: BFD (Sourcery G++ Lite 2009q1-203)
2.19.51.20090205 assertion fail
/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/binutils-src-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:12273
arm-none-linux-gnueabi-ld: BFD (Sourcery G++ Lite 2009q1-203)
2.19.51.20090205 assertion fail
/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/binutils-src-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:12507
/bin/sh: line 1: 4529 Segmentation fault arm-none-linux-gnueabi-ld
-Bstatic -T u-boot.lds -pie -Ttext 0x80e80000 $UNDEF_SYM
arch/arm/cpu/armv7/start.o --start-group lib/libgeneric.o
lib/lzma/liblzma.o lib/lzo/liblzo.o arch/arm/cpu/armv7/libarmv7.o
arch/arm/cpu/armv7/omap4/libomap4.o arch/arm/lib/libarm.o
fs/cramfs/libcramfs.o fs/fat/libfat.o fs/fdos/libfdos.o
fs/jffs2/libjffs2.o fs/reiserfs/libreiserfs.o fs/ext2/libext2fs.o
fs/yaffs2/libyaffs2.o fs/ubifs/libubifs.o net/libnet.o disk/libdisk.o
drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o
drivers/dma/libdma.o drivers/fpga/libfpga.o drivers/gpio/libgpio.o
drivers/hwmon/libhwmon.o drivers/i2c/libi2c.o drivers/input/libinput.o
drivers/misc/libmisc.o drivers/mmc/libmmc.o drivers/mtd/libmtd.o
drivers/mtd/nand/libnand.o drivers/mtd/onenand/libonenand.o
drivers/mtd/ubi/libubi.o drivers/mtd/spi/libspi_flash.o
drivers/net/libnet.o drivers/net/phy/libphy.o drivers/pci/libpci.o
drivers/pcmcia/libpcmcia.o drivers/power/libpower.o
drivers/spi/libspi.o drivers/rtc/librtc.o drivers/serial/libserial.o
drivers/twserial/libtws.o drivers/usb/gadget/libusb_gadget.o
drivers/usb/host/libusb_host.o drivers/usb/musb/libusb_musb.o
drivers/usb/phy/libusb_phy.o drivers/video/libvideo.o
drivers/watchdog/libwatchdog.o common/libcommon.o lib/libfdt/libfdt.o
api/libapi.o post/libpost.o
arch/arm/cpu/armv7/omap-common/libomap-common.o
board/ti/sdp4430/libsdp4430.o --end-group
u-boot.git/arch/arm/lib/eabi_compat.o -L
/opt/codesourcery/arm-none-linux-gnueabi/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3
-lgcc -Map u-boot.map -o u-boot
make: *** [u-boot] Error 139
size: ./u-boot: File format not recognized
Configuring for s5p_goni board...
board.c: In function 'board_init_f':
board.c:279: error: 'CONFIG_SYS_INIT_SP_ADDR' undeclared (first use in
this function)
board.c:279: error: (Each undeclared identifier is reported only once
board.c:279: error: for each function it appears in.)
make[1]: *** [board.o] Error 1
make: *** [arch/arm/lib/libarm.o] Error 2
size: './u-boot': No such file
Configuring for smdkc100 board...
board.c: In function 'board_init_f':
board.c:279: error: 'CONFIG_SYS_INIT_SP_ADDR' undeclared (first use in
this function)
board.c:279: error: (Each undeclared identifier is reported only once
board.c:279: error: for each function it appears in.)
make[1]: *** [board.o] Error 1
make: *** [arch/arm/lib/libarm.o] Error 2
size: './u-boot': No such file

--------------------- SUMMARY ----------------------------
Boards compiled: 17
Boards with warnings or errors: 11 ( am3517_evm ca9x4_ct_vxp
devkit8000 igep0030 omap3_evm omap3_sdp3430 omap3_zoom1 omap3_zoom2
omap4_sdp4430 s5p_goni smdkc100 )
----------------------------------------------------------