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: RedBoot + Configuration tool 2.11 question


Hi Jonathan


I am making the build every time after deleting the build dir using the script file below.
Please let me know if you find any thing wrong with this script file.


export TOPDIR=`pwd`
export ECOS_REPOSITORY=${TOPDIR}/packages
export VERSION=v1_24
rm -rf build
mkdir ${TOPDIR}/build
cd ${TOPDIR}/build
${TOPDIR}/ecosconfig new ixdp2400 redboot
${TOPDIR}/ecosconfig import ${ECOS_REPOSITORY}/hal/arm/ixdp2400/${VERSION}/misc/redboot_ROMRAM.ecm
${TOPDIR}/ecosconfig tree
make



I'll also try with the new tool chain as indicated in your mail and let you know.


regards
G.Muruganandam

G.Muruganandam wrote:
Hi Jonathan,
It looks fine in the hal/arm/arch/v1_24/src/arm.ld file. I have cut and pasted that section and highlighted the
KEEP statement.
#define SECTION_data(_region_, _vma_, _lma_) \
.data _vma_ : _lma_ \
{ __ram_data_start = ABSOLUTE (.); *(.data*) *(.data1) MERGE_IN_RODATA \
_GOT1_START_ = ABSOLUTE (.); *(.got1) _GOT1_END_ = ABSOLUTE (.); \
_GOT2_START_ = ABSOLUTE (.); *(.got2) _GOT2_END_ = ABSOLUTE (.); \
. = ALIGN (4); \
KEEP(*( SORT (.ecos.table.*))) ; \

If that's really the case but the command isn't included anyway, then you may be looking at a toolchain bug. May I suggest though that, just in case, you do a rebuild from a clean (empty) build tree just to be sure.


But otherwise you'll need to contact your supplier i.e. Intel for support with the toolchain. Or you could switch to the arm-elf tools distributed with eCos v2.0. Use the ecos-install.tcl script as if about to install eCos as described on the webpages *except* also use the "-t" argument to download only the tools.

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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


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