This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: not within region rom


On Mon, Apr 05, 2004 at 11:10:05AM +0530, Sai Naidu wrote:
> hi!
> i am trying to build an redboot image for ixp425 , grg processor .Iam
> new to this field and hence iam finding it hard to debug at the moment.
> iam getting the following error for my compilation. It says that the
> .text,.rodata, .fini,.fixup,.gcc_except_table ,.mmu_tables is not within
> region rom. 
> Please let me know, what is to be done.
> regards
> -----------------------------------------------------------------------
>  cc1: warning: "-Woverloaded-virtual" is valid for C++ but not for
> C/ObjC
> cc1: warning: "-frtti" is valid for C++ but not for C/ObjC
> cc1: warning: "-fvtable-gc" is valid for C++ but not for C/ObjC
> xscale-elf-gcc -mbig-endian -Wl,--gc-sections -Wl,-static -g -O2
> -nostdlib -L/src/redboot-intel-xscale-030618/http/install/lib
> -Ttarget.ld -o
> /src/redboot-intel-xscale-030618/http/install/bin/redboot.elf
> /src/redboot-intel-xscale-030618/http/install/lib/version.o
> /opt/H-i686-pc-linux-gnulibc2.2/bin/../lib/gcc-lib/xscale-elf/RedHat-3.3/../../../../xscale-elf/bin/ld: address 0x500451b8 of /src/redboot-intel-xscale-030618/http/install/bin/redboot.elf section .text is not within region rom
> /opt/H-i686-pc-linux-gnulibc2.2/bin/../lib/gcc-lib/xscale-elf/RedHat-3.3/../../../../xscale-elf/bin/ld: address 0x500451b8 of /src/redboot-intel-xscale-030618/http/install/bin/redboot.elf section .fini is not within region rom

This normally means you have done something wrong with your memory
map. It could be as simple as your image is bigger than the size of
ROM you have allocated for the image. Take a look at the linker
control file, install/lib/target.ld, and the memory map files in
packages/hal/arm/<...>/current/include/pkgconf/*_rom.*

        Andrew


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]