public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Compiling U-Boot
@ 2013-11-27 12:26 Alexey Smishlayev
  2013-11-27 13:39 ` Andreas Bießmann
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Smishlayev @ 2013-11-27 12:26 UTC (permalink / raw)
  To: u-boot

Hello!
I would like to compile U-Boot with custom configuration.
I downloaded source from the master git repository 
(http://git.denx.de/?p=u-boot.git;a=summary).
I am trying to compile using following commands:
$ cd u-boot/
$ make ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnu- 
at91sam9g20ek_nandflash_config
$ make ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnu- all

It goes on for a while, and then I get the error:
crt0.S: Assembler messages:
crt0.S:70: Error: register expected, not '#(184)' -- `sub sp,#(184)'
make[1]: *** [crt0.o] Error 1
make[1]: Leaving directory `/root/u-boot/arch/arm/lib'
make: *** [arch/arm/lib/built-in.o] Error 2

The "arm-unknown-linux-gnu-" is a toolchain prefix for my devboard.
I am trying to compile on 64bit Ubuntu computer. I have also tried 32bit 
debian lenny virtual machine.
Can I correct this error or is there something I am doing wrong?

Best regards,
Alexey Smishlayev

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

end of thread, other threads:[~2013-11-27 13:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-27 12:26 [U-Boot] Compiling U-Boot Alexey Smishlayev
2013-11-27 13:39 ` Andreas Bießmann
2013-11-27 13:53   ` Alexey Smishlayev
2013-11-27 13:59     ` Andreas Bießmann

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