From: Wolfgang Denk Date: Tue, 29 Jun 2010 14:49:11 +0200 Subject: [U-Boot] u boot error In-Reply-To: <29023152.post@talk.nabble.com> References: <29023152.post@talk.nabble.com> Message-ID: <20100629124911.0787014EBF8@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear VOC, In message <29023152.post@talk.nabble.com> 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. > > 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 -- 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