Re: [U-Boot] [PATCH 0/2] ARMV7: Fixing Vexpress build errors and warnings

2010-12-08 Thread Wolfgang Denk
Dear Dirk Behme,

In message <4cf3f77b.9080...@googlemail.com> you wrote:
>
> With recent master, besides the two patches above, I additionally need 
> something like below to get ca9x4_ct_vxp build:
> 
> ARMV7: Vexpress: Fix build error
> 
> Fix ca9x4_ct_vxp build error
> 
> Configuring for ca9x4_ct_vxp board...
> board/armltd/vexpress/libvexpress.o: In function `udelay':
> u-boot.git/board/armltd/vexpress/ca9x4_ct_vxp.c:161: multiple 
> definition of `udelay'
> lib/libgeneric.o:u-boot.git/lib/time.c:34: first defined here 
> 
> lib/libgeneric.o: In function `udelay': 
> 
> zlib.c:(.text+0x1ee8): undefined reference to `__udelay'
> 
> Signed-of-by: Dirk Behme 
> 
> ---
>   board/armltd/vexpress/ca9x4_ct_vxp.c |2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Many Myths are based on truth
-- Spock, "The Way to Eden",  stardate 5832.3
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 0/2] ARMV7: Fixing Vexpress build errors and warnings

2010-11-29 Thread Dirk Behme
On 29.11.2010 19:13, Albert ARIBAUD wrote:
> Le 03/11/2010 00:25, matt.wad...@linaro.org a écrit :
>> From: Matt Waddel
>>
>> These patches fix several build errors and warnings. A successful build for
>> this platform depends on Steve Sakoman's "ARMV7: Fix build for non-OMAP3
>> boards" patch.
>>
>> Matt Waddel (2):
>> ARMV7: Vexpress build errors
>> ARMV7: Vexpress compile warnings
>>
>>arch/arm/include/asm/arch-armv7/sys_proto.h |   29 
>>board/armltd/vexpress/ca9x4_ct_vxp.c|9 +++-
>>board/armltd/vexpress/config.mk |3 +-
>>board/armltd/vexpress/u-boot.lds|   65 
>> ---
>>4 files changed, 36 insertions(+), 70 deletions(-)
>>create mode 100644 arch/arm/include/asm/arch-armv7/sys_proto.h
>>delete mode 100644 board/armltd/vexpress/u-boot.lds
>
> Wofgang, maybe I can take over u-boot-arm now and start by applying
> these two patches (and let you pull u-boot-arm later this week)?

With recent master, besides the two patches above, I additionally need 
something like below to get ca9x4_ct_vxp build:

ARMV7: Vexpress: Fix build error

Fix ca9x4_ct_vxp build error

Configuring for ca9x4_ct_vxp board...
board/armltd/vexpress/libvexpress.o: In function `udelay':
u-boot.git/board/armltd/vexpress/ca9x4_ct_vxp.c:161: multiple 
definition of `udelay'
lib/libgeneric.o:u-boot.git/lib/time.c:34: first defined here 

lib/libgeneric.o: In function `udelay': 

zlib.c:(.text+0x1ee8): undefined reference to `__udelay'

Signed-of-by: Dirk Behme 

---
  board/armltd/vexpress/ca9x4_ct_vxp.c |2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Index: u-boot.git/board/armltd/vexpress/ca9x4_ct_vxp.c
===
--- u-boot.git.orig/board/armltd/vexpress/ca9x4_ct_vxp.c
+++ u-boot.git/board/armltd/vexpress/ca9x4_ct_vxp.c
@@ -157,7 +157,7 @@ void reset_cpu(ulong addr)
   * Delay x useconds AND perserve advance timstamp value
   * assumes timer is ticking at 1 msec
   */
-void udelay(ulong usec)
+void __udelay(ulong usec)
  {
ulong tmo, tmp;




___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 0/2] ARMV7: Fixing Vexpress build errors and warnings

2010-11-29 Thread Albert ARIBAUD
Le 03/11/2010 00:25, matt.wad...@linaro.org a écrit :
> From: Matt Waddel
>
> These patches fix several build errors and warnings. A successful build for
> this platform depends on Steve Sakoman's "ARMV7: Fix build for non-OMAP3
> boards" patch.
>
> Matt Waddel (2):
>ARMV7: Vexpress build errors
>ARMV7: Vexpress compile warnings
>
>   arch/arm/include/asm/arch-armv7/sys_proto.h |   29 
>   board/armltd/vexpress/ca9x4_ct_vxp.c|9 +++-
>   board/armltd/vexpress/config.mk |3 +-
>   board/armltd/vexpress/u-boot.lds|   65 
> ---
>   4 files changed, 36 insertions(+), 70 deletions(-)
>   create mode 100644 arch/arm/include/asm/arch-armv7/sys_proto.h
>   delete mode 100644 board/armltd/vexpress/u-boot.lds

Wofgang, maybe I can take over u-boot-arm now and start by applying 
these two patches (and let you pull u-boot-arm later this week)?

Amicalement,
-- 
Albert.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 0/2] ARMV7: Fixing Vexpress build errors and warnings

2010-11-17 Thread Loïc Minier
Hey Wolfgang!

 Would you mind considering these patches from earlier this month for
 u-boot-arm?  These fixes the build of ca9x4_ct_vxp which currently
 fails for me:
 http://hudson.dooz.org/job/u-boot_master/BOARD=ca9x4_ct_vxp/39/console
arm-linux-gnueabi-gcc  -g  -Os   -fno-common -ffixed-r8 -msoft-float   
-D__KERNEL__ 
-I/srv/hudson.dooz.org/home/jobs/u-boot_master/workspace/BOARD/ca9x4_ct_vxp/include
 -fno-builtin -ffreestanding -nostdinc -isystem 
/usr/lib/gcc/arm-linux-gnueabi/4.4.5/include -pipe  -DCONFIG_ARM -D__ARM__ 
-marm  -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall 
-Wstrict-prototypes -DBUILD_TAG='"hudson-BOARD=ca9x4_ct_vxp-39"' 
-fno-stack-protector   \
-o syslib.o syslib.c -c
syslib.c:26: fatal error: asm/arch/sys_proto.h: No such file or directory
compilation terminated.

Thanks!

On Tue, Nov 02, 2010, Matt Waddel wrote:
> From: Matt Waddel 
> 
> These patches fix several build errors and warnings. A successful build for 
> this platform depends on Steve Sakoman's "ARMV7: Fix build for non-OMAP3 
> boards" patch.
> 
> Matt Waddel (2):
>   ARMV7: Vexpress build errors
>   ARMV7: Vexpress compile warnings
> 
>  arch/arm/include/asm/arch-armv7/sys_proto.h |   29 
>  board/armltd/vexpress/ca9x4_ct_vxp.c|9 +++-
>  board/armltd/vexpress/config.mk |3 +-
>  board/armltd/vexpress/u-boot.lds|   65 
> ---
>  4 files changed, 36 insertions(+), 70 deletions(-)
>  create mode 100644 arch/arm/include/asm/arch-armv7/sys_proto.h
>  delete mode 100644 board/armltd/vexpress/u-boot.lds

-- 
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 0/2] ARMV7: Fixing Vexpress build errors and warnings

2010-11-02 Thread matt . waddel
From: Matt Waddel 

These patches fix several build errors and warnings. A successful build for 
this platform depends on Steve Sakoman's "ARMV7: Fix build for non-OMAP3 
boards" patch.

Matt Waddel (2):
  ARMV7: Vexpress build errors
  ARMV7: Vexpress compile warnings

 arch/arm/include/asm/arch-armv7/sys_proto.h |   29 
 board/armltd/vexpress/ca9x4_ct_vxp.c|9 +++-
 board/armltd/vexpress/config.mk |3 +-
 board/armltd/vexpress/u-boot.lds|   65 ---
 4 files changed, 36 insertions(+), 70 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-armv7/sys_proto.h
 delete mode 100644 board/armltd/vexpress/u-boot.lds

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot