public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] ca9x4_ct_vxp build failure
@ 2012-03-05  6:15 Marek Vasut
  2012-03-06  1:40 ` [U-Boot] [PATCH 1/1] arm: vexpress: Fixed get_ticks/get_tbclk build failures matt.waddel at linaro.org
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2012-03-05  6:15 UTC (permalink / raw)
  To: u-boot

Dear Matt Waddel,

ca9x4_ct_vxp does not build with ELDK4.2 . Can you please come up with a patch?

Thanks in advance!

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Configuring for ca9x4_ct_vxp board...
cmd_pxe.c: In function 'do_pxe_get':
cmd_pxe.c:334: warning: dereferencing type-punned pointer will break strict-
aliasing rules
cmd_pxe.c: In function 'get_relfile_envaddr':
cmd_pxe.c:374: warning: dereferencing type-punned pointer will break strict-
aliasing rules
common/libcommon.o: In function `cread_line':
/opt/work/jenkins/jobs/U-
Boot/workspace/workspace/compiler/eldk4.2/device/arm___ca9x4_ct_vxp/common/main.c:717: 
undefined reference to `get_ticks'
/opt/work/jenkins/jobs/U-
Boot/workspace/workspace/compiler/eldk4.2/device/arm___ca9x4_ct_vxp/common/main.c:717: 
undefined reference to `get_tbclk'
/opt/work/jenkins/jobs/U-
Boot/workspace/workspace/compiler/eldk4.2/device/arm___ca9x4_ct_vxp/common/main.c:720: 
undefined reference to `get_ticks'
arm-linux-ld: BFD (GNU Binutils) 2.17.90.20070806 assertion fail 
/opt/eldk/build/arm-2008-11-24/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-
glibc-20070515T2025-eldk/arm-linux-gnueabi/binutils-2.17.90/bfd/elf32-arm.c:8886
arm-linux-ld: BFD (GNU Binutils) 2.17.90.20070806 assertion fail 
/opt/eldk/build/arm-2008-11-24/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-
glibc-20070515T2025-eldk/arm-linux-gnueabi/binutils-2.17.90/bfd/elf32-arm.c:8886
arm-linux-ld: BFD (GNU Binutils) 2.17.90.20070806 assertion fail 
/opt/eldk/build/arm-2008-11-24/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-
glibc-20070515T2025-eldk/arm-linux-gnueabi/binutils-2.17.90/bfd/elf32-arm.c:9117
/bin/sh: line 1: 21550 Segmentation fault      (core dumped) arm-linux-ld -pie -
T u-boot.lds -Bstatic -Ttext 0x60800000 $UNDEF_SYM arch/arm/cpu/armv7/start.o --
start-group api/libapi.o arch/arm/cpu/armv7/libarmv7.o arch/arm/lib/libarm.o 
common/libcommon.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/spi/libspi_flash.o drivers/mtd/ubi/libubi.o drivers/net/libnet.o 
drivers/net/phy/libphy.o drivers/pci/libpci.o drivers/pcmcia/libpcmcia.o 
drivers/power/libpower.o drivers/rtc/librtc.o drivers/serial/libserial.o 
drivers/spi/libspi.o drivers/twserial/libtws.o drivers/usb/eth/libusb_eth.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/usb/ulpi/libusb_ulpi.o drivers/video/libvideo.o 
drivers/watchdog/libwatchdog.o fs/cramfs/libcramfs.o fs/ext2/libext2fs.o 
fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o fs/reiserfs/libreiserfs.o 
fs/ubifs/libubifs.o fs/yaffs2/libyaffs2.o lib/libfdt/libfdt.o lib/libgeneric.o 
lib/lzma/liblzma.o lib/lzo/liblzo.o lib/zlib/libz.o net/libnet.o post/libpost.o 
board/armltd/vexpress/libvexpress.o --end-group /opt/work/jenkins/jobs/U-
Boot/workspace/workspace/compiler/eldk4.2/device/arm___ca9x4_ct_vxp/arch/arm/lib/eabi_compat.o 
-L /opt/eldk-4.2-2008-11-24/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/soft-
float -lgcc -Map u-boot.map -o u-boot
make: *** [u-boot] Error 139
arm-linux-size: ./u-boot: File format not recognized

--------------------- SUMMARY ----------------------------
Boards compiled: 1
Boards with warnings or errors: 1 ( ca9x4_ct_vxp )
----------------------------------------------------------

Best regards,
Marek Vasut

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

* [U-Boot] [PATCH 1/1] arm: vexpress: Fixed get_ticks/get_tbclk build failures
  2012-03-05  6:15 [U-Boot] ca9x4_ct_vxp build failure Marek Vasut
@ 2012-03-06  1:40 ` matt.waddel at linaro.org
  2012-03-09  6:33   ` walimis
  0 siblings, 1 reply; 3+ messages in thread
From: matt.waddel at linaro.org @ 2012-03-06  1:40 UTC (permalink / raw)
  To: u-boot

From: Matt Waddel <matt.waddel@linaro.org>

Added get_ticks() and get_tbclk() routines

Signed-off-by: Matt Waddel <matt.waddel@linaro.org>
---
 board/armltd/vexpress/ca9x4_ct_vxp.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/board/armltd/vexpress/ca9x4_ct_vxp.c b/board/armltd/vexpress/ca9x4_ct_vxp.c
index da6f14d..22e5af1 100644
--- a/board/armltd/vexpress/ca9x4_ct_vxp.c
+++ b/board/armltd/vexpress/ca9x4_ct_vxp.c
@@ -226,3 +226,13 @@ void lowlevel_init(void)
 ulong get_board_rev(void){
 	return readl((u32 *)SYS_ID);
 }
+
+unsigned long long get_ticks(void)
+{
+	return get_timer(0);
+}
+
+ulong get_tbclk(void)
+{
+	return (ulong)CONFIG_SYS_HZ;
+}
-- 
1.7.5.4

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

* [U-Boot] [PATCH 1/1] arm: vexpress: Fixed get_ticks/get_tbclk build failures
  2012-03-06  1:40 ` [U-Boot] [PATCH 1/1] arm: vexpress: Fixed get_ticks/get_tbclk build failures matt.waddel at linaro.org
@ 2012-03-09  6:33   ` walimis
  0 siblings, 0 replies; 3+ messages in thread
From: walimis @ 2012-03-09  6:33 UTC (permalink / raw)
  To: u-boot

On Mon, Mar 05, 2012 at 06:40:36PM -0700, matt.waddel at linaro.org wrote:
>From: Matt Waddel <matt.waddel@linaro.org>
>
>Added get_ticks() and get_tbclk() routines
Hi Matt waddel,

I have posted the fix before:
http://patchwork.ozlabs.org/patch/142477/

Liming Wang
>
>Signed-off-by: Matt Waddel <matt.waddel@linaro.org>
>---
> board/armltd/vexpress/ca9x4_ct_vxp.c |   10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
>
>diff --git a/board/armltd/vexpress/ca9x4_ct_vxp.c b/board/armltd/vexpress/ca9x4_ct_vxp.c
>index da6f14d..22e5af1 100644
>--- a/board/armltd/vexpress/ca9x4_ct_vxp.c
>+++ b/board/armltd/vexpress/ca9x4_ct_vxp.c
>@@ -226,3 +226,13 @@ void lowlevel_init(void)
> ulong get_board_rev(void){
> 	return readl((u32 *)SYS_ID);
> }
>+
>+unsigned long long get_ticks(void)
>+{
>+	return get_timer(0);
>+}
>+
>+ulong get_tbclk(void)
>+{
>+	return (ulong)CONFIG_SYS_HZ;
>+}
>-- 
>1.7.5.4
>
>_______________________________________________
>U-Boot mailing list
>U-Boot at lists.denx.de
>http://lists.denx.de/mailman/listinfo/u-boot

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

end of thread, other threads:[~2012-03-09  6:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-05  6:15 [U-Boot] ca9x4_ct_vxp build failure Marek Vasut
2012-03-06  1:40 ` [U-Boot] [PATCH 1/1] arm: vexpress: Fixed get_ticks/get_tbclk build failures matt.waddel at linaro.org
2012-03-09  6:33   ` walimis

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