From: Raghu Bulusu <RBulusu@reptron.com>
To: "'ecos-discuss@sources.redhat.com'" <ecos-discuss@sources.redhat.com>
Subject: [ECOS] Build Error for new Hardware
Date: Fri, 01 Jul 2005 18:37:00 -0000 [thread overview]
Message-ID: <798224455D1F52429C9A29E5374CDED886A701@k-byteexchange.kbyte.net> (raw)
Hi,
I am getting the following error when I am building ecos for a custom
hardware board with SH7750 on it. What could be possibly wrong
make[1]: Leaving directory
`/ecos-c/MDP/ecos/sh7750/mdp7750_build/hal/common/current'
/ecos-c/MDP/ecos/sh7750/mdp7750_install/lib/libtarget.a(redboot_main.o): In
function `valid_address':
make: Leaving directory `/ecos-c/MDP/ecos/sh7750/mdp7750_build'
/ecos-c/cygwin/opt/ecos/ecos-cvs/packages/redboot/current/src/main.c:160:
multiple definition of `_cyg_start'
src/stubrom/gdb_module.o:/ecos-c/cygwin/opt/ecos/ecos-cvs/packages/hal/commo
n/current/src/stubrom/stubrom.c:57: first defined here
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.2.1/../../../../sh-elf
/bin/ld: Warning: size of symbol `_cyg_start' changed from 24 to 656 in
/ecos-c/MDP/ecos/sh7750/mdp7750_install/lib/libtarget.a(redboot_main.o)
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.2.1/../../../../sh-elf
/bin/ld: address 0x8c00538 of
/ecos-c/MDP/ecos/sh7750/mdp7750_install/bin/gdb_module.img section .data is
not within region ram
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.2.1/../../../../sh-elf
/bin/ld: address 0x8c05794 of
/ecos-c/MDP/ecos/sh7750/mdp7750_install/bin/gdb_module.img section .bss is
not within region ram
collect2: ld returned 1 exit status
make[1]: *** [/ecos-c/MDP/ecos/sh7750/mdp7750_install/bin/gdb_module.img]
Error 1
make: *** [build] Error 2
This is what my ..rom.ldi file look like
MEMORY
{
ram : ORIGIN = 0x8c000000, LENGTH = 0x04000000
rom : ORIGIN = 0x80000000, LENGTH = 0x01000000
}
SECTIONS
{
SECTIONS_BEGIN
SECTION_vectors (rom, 0x80000000, LMA_EQ_VMA)
SECTION_text (rom, ALIGN (0x4), LMA_EQ_VMA)
SECTION_fini (rom, ALIGN (0x4), LMA_EQ_VMA)
SECTION_rodata1 (rom, ALIGN (0x8), LMA_EQ_VMA)
SECTION_rodata (rom, ALIGN (0x8), LMA_EQ_VMA)
SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA)
SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA)
SECTION_data (ram, 0x8c000000, FOLLOWING (.gcc_except_table))
SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA)
CYG_LABEL_DEFN(__heap1) = ALIGN (0x8);
SECTIONS_END
}
I observed that the address pointed by error is no where in the region of
ram or rom.Any help would be great.
Thanks,
Raghu
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next reply other threads:[~2005-07-01 18:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-01 18:37 Raghu Bulusu [this message]
2005-07-01 18:46 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=798224455D1F52429C9A29E5374CDED886A701@k-byteexchange.kbyte.net \
--to=rbulusu@reptron.com \
--cc=ecos-discuss@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).