This is the mail archive of the ecos-discuss@sourceware.org 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: eCos 3.0 and TS2750


JJ

gmail wrote:

> I think that I am making progress as at least I've been able to build
> the library and the tests.
> 
> Though I am not able to load the tests either via the 'Run Tests' or the
> Redboot 'load' command.
> 
> The 'load' command appears to indicate that the file is not linked
> correctly as I get the error message:
> 
>     Abort! Attempt to load ELF data to address: 0x00008000 which is not
> in RAM.
> 
> I've tried configuring the Startup type: to RAM but I get a build error
> that the mlt_arm_arm9_ts7250_ram.ldi does not exist.
> 
> I am trying build  and load via the Redboot monitor, is this the right
> method for building for that scenario?

I have not looked at the sources, but you would generally build eCos for
RAM startup if you wish to download to RAM via the RedBoot "load"
command or RedBoot's GDB stub. It would appear that the TS7250 RedBoot
port does not include a linker script for RAM startup, hence the build
error. Perhaps the TS7250 RedBoot port was developed primarily for
launching non-eCos executables?

Compare your TS7250 platform HAL package with other platform HAL
packages to see how mlt_arm_arm9_ts7250_ram.ldi and
mlt_arm_arm9_ts7250_ram.h could be implemented. These files are usually
located in the include/pkgconf/ directory of the various eCos platform
HAL packages.

I hope this helps.

John Dallaway
eCos maintainer
http://www.dallaway.org.uk/john

-- 
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]