Skip to contentSkip to conversation

u boot error

U-Boot VOC 2 participants 4 messages Jun 29, 2010

lore
Share & tools
lore

VOC

author
#0 lore raw

Hi,

i am trying to build the uboot for at91sam9xeek board.But while building the uboot by using cross compiler it gives some error from start.s file.Please let me know how can I correct it.

I tried the same for at91sam9260 board also.I gives the same error.

arm-linux-as -o start.o start.s
start.s: Assembler messages:
start.s:387: Error: symbol irq' is already defined start.s:393: Error: symbol fiq' is already defined
make[1]: *** [start.o] Error 1
make[1]: Leaving directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/cpu/arm926ejs

Signature · 2 lines
View this message in context: http://old.nabble.com/u-boot-error-tp29023152p29023152.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#1 lore raw

Dear VOC,

Quoted 9 lines · In message <[email protected]> you wrote:

Hi,

i am trying to build the uboot for at91sam9xeek board.But while building the uboot by using cross compiler it gives some error from start.s file.Please let me know how can I correct it.

I tried the same for at91sam9260 board also.I gives the same error.

Quoted 7 lines

arm-linux-as -o start.o start.s
start.s: Assembler messages:
start.s:387: Error: symbol irq' is already defined start.s:393: Error: symbol fiq' is already defined
make[1]: *** [start.o] Error 1
make[1]: Leaving directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/cpu/arm926ejs

I cannot confirm this. Current code builds just fine:

MAKEALL_LOGDIR=/work/wd/tmp-arm-LOG \
BUILD_DIR=/work/wd/tmp-arm \
./MAKEALL at91sam9xeek
... with environment variable in SPI DATAFLASH CS1
Configuring for at91sam9xeek board...
cpu.c:26:2: warning: #warning Your board is using legacy SoC access. Please update!
text data bss dec hex filename
170718 7563 267520 445801 6cd69 /work/wd/tmp-arm/u-boot

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

Best regards,

Wolfgang Denk

Signature · 5 lines
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: wd at denx.de
The biggest difference between time and space is that you can't reuse
time.                                                 - Merrick Furst
author
#2 lore raw

Hi,

I am using uboot and atmel patch from
http://://www.at91.com/linux4sam/bin/view/Linux4SAM/U-Boot
http://://www.at91.com/linux4sam/bin/view/Linux4SAM/U-Boot . I hope I' not doing some mistakes.

Quoted 41 lines · wd

Dear VOC,

Quoted 11 lines · In message <[email protected]> you wrote:

Hi,

i am trying to build the uboot for at91sam9xeek board.But while building the
uboot by using cross compiler it gives some error from start.s file.Please
let me know how can I correct it.

I tried the same for at91sam9260 board also.I gives the same error.

Quoted 7 lines

arm-linux-as -o start.o start.s
start.s: Assembler messages:
start.s:387: Error: symbol irq' is already defined start.s:393: Error: symbol fiq' is already defined
make[1]: *** [start.o] Error 1
make[1]: Leaving directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/cpu/arm926ejs

I cannot confirm this. Current code builds just fine:

MAKEALL_LOGDIR=/work/wd/tmp-arm-LOG \
BUILD_DIR=/work/wd/tmp-arm \
./MAKEALL at91sam9xeek
... with environment variable in SPI DATAFLASH CS1 Configuring for at91sam9xeek board...
cpu.c:26:2: warning: #warning Your board is using legacy SoC access. Please update!
text data bss dec hex filename
170718 7563 267520 445801 6cd69 /work/wd/tmp-arm/u-boot

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

Quoted 16 lines

Best regards,

Wolfgang Denk

Signature · 9 lines
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: wd at denx.de
The biggest difference between time and space is that you can't reuse
time.                                                 - Merrick Furst
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

http://old.nabble.com/file/p29023668/UBOOTERROR UBOOTERROR

Signature · 2 lines
View this message in context: http://old.nabble.com/u-boot-error-tp29023152p29023668.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#3 lore raw

Dear VOC,

Please do not top post / full quote. Make sure to read
http://www.netmeister.org/news/learn2quote.html

Quoted 5 lines · In message <[email protected]> you wrote:

I am using uboot and atmel patch from
http://://www.at91.com/linux4sam/bin/view/Linux4SAM/U-Boot
http://://www.at91.com/linux4sam/bin/view/Linux4SAM/U-Boot . I hope I' not doing some mistakes.

Well, as I told you, the code builds fine in mainline, which is what we support here.

Please either use mainline code, or direct your complaints to the responsible developers at www.at91.com, but not here.

Thanks.

Wolfgang Denk

Signature · 9 lines
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: wd at denx.de
The project was large enough and management communication poor enough
to prompt many members of the team to see themselves  as  contestants
making  brownie  points,  rather  than as builders making programming
products. Each suboptimized  his  piece  to  meet  his  targets;  few
stopped to think about the total effect on the customer.
                              - Fred Brooks, "The Mythical Man Month"