[U-Boot] uboot on microblaze, compilation error

Mike Frysinger vapier at gentoo.org
Thu Mar 18 00:08:25 CET 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100317/e3100f28/attachment.pgp 


More information about the U-Boot mailing list