From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Thu, 18 Mar 2010 10:29:19 +0100 Subject: [U-Boot] uboot on microblaze, compilation error In-Reply-To: <201003171908.26181.vapier@gentoo.org> References: <001701cac601$5a380c50$c801a8c0@xeon> <201003171908.26181.vapier@gentoo.org> Message-ID: <4BA1F26F.3010501@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Mike Frysinger wrote: > On Wednesday 17 March 2010 14:36:38 Horst Gall wrote: >> Hi, >> >> I try to compile an actual version of u-boot for xilinx microblaze. >> The linker ends with the error-message: >> >> ... mb-ld.real:u-boot.lds:1: parse error >> >> In u-boot main-directory I found the file 'u-boot.lds': >> >> OUTPUT_ARCH(1) >> ENTRY(_start) >> ... >> cpu/1/start.o (.text) >> ... >> >> When I change the "1" to "microblaze" it works: >> >> OUTPUT_ARCH(microblaze) >> ENTRY(_start) >> ... >> cpu/microblaze/start.o (.text) >> ... >> >> >> After "make ...config" my modification is overwritten. >> How can I fix this problem? > > add "#undef microblaze" to the top of board/xilinx/microblaze-generic/u- > boot.lds Mike is right. I expect you are using toolchain from EDK where the problem is. Linux toolchain are ok. Michal > -mike > > > ------------------------------------------------------------------------ > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian