[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Re: A good Bootloader for cdb89712 ?
From:       Jonathan Larmour <jlarmour () redhat ! com>
Date:       2002-02-28 17:27:52
[Download RAW message or body]

Thomas TESTASECCA wrote:
> 
> oh yes, as you say, redboot is hard to compile :)
> could you help me in the compile process ?
> 
> this what i do and what i get :
> 
> ecosconfig new ecb7xxx
> ecosconfig import edb7212_redboot_ROM.ecm
> ecosconfig tree
> make
> 
> and the result :
> 
> arm-linux-gcc -mcpu=arm7tdmi -Wl,--gc-sections -Wl,-static -g -nostdlib
> -L/home/cross-arm/cvs/ecos/toto/install/lib -Ttarget.ld -o
> /home/cross-arm/cvs/ecos/toto/install/bin/redboot.elf
> /home/cross-arm/cvs/ecos/toto/install/lib/version.o
> /usr/local/arm/2.95.3/arm-linux/bin/ld: warning: no memory region
> specified for section `._edb7xxx_provide_eth0_esa'
> /usr/local/arm/2.95.3/arm-linux/bin/ld: warning: no memory region
> specified for section `.cs8900a_deliver'
> /usr/local/arm/2.95.3/arm-linux/bin/ld: warning: no memory region
> specified for section `.cs8900a_int_vector'
> /usr/local/arm/2.95.3/arm-linux/bin/ld: warning: no memory region
> specified for section `.cs8900a_init'
> /usr/local/arm/2.95.3/arm-linux/bin/ld: warning: no memory region
> specified for section `.cs8900a_stop'
> /usr/local/arm/2.95.3/arm-linux/bin/ld: warning: no memory region
> specified for section `.cs8900a_start'
> /usr/local/arm/2.95.3/arm-linux/bin/ld: warning: no memory region
> specified for section `.cs8900a_control'
> /usr/local/arm/2.95.3/arm-linux/bin/ld: warning: no memory region

Looks like the tools you're using don't support gc-sections. Either
recompile without -fdata-sections -ffunction-sections and without
-Wl,--gc-sections when linking (but this will result in a bigger binary) -
or use newer tools.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic