* [ECOS] eCos 3.0 and TS2750
@ 2011-08-01 22:36 gmail
2011-08-01 22:58 ` Gary Thomas
0 siblings, 1 reply; 8+ messages in thread
From: gmail @ 2011-08-01 22:36 UTC (permalink / raw)
To: ecos-discuss
Hi,
I am starting a 'personal project' and would like to use eCos, and I am
trying to get all of the pieces together.
The board is from Technologic Systems (www.embeddedARM.com) and is the
TS7250 w/ an ARM9 Cirrus Logic EP9302 on it.
It comes with a redboot loader that loads their Linux port.
I've got cygwin on an XP box and have installed eCos 3.0, but cannot
find any package for the TS7250 or the ARM9-EP9302 processor.
The s/w that came with the board appears to have the redboot source but
I think it is a eCos 2.x version.
Is there an existing package for this board or is there a way to
'import' it from the 2.x source?
Thanks for any pointers in getting going in the right direction!
--JJ--
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ECOS] eCos 3.0 and TS2750
2011-08-01 22:36 [ECOS] eCos 3.0 and TS2750 gmail
@ 2011-08-01 22:58 ` Gary Thomas
2011-08-01 23:52 ` gmail
0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2011-08-01 22:58 UTC (permalink / raw)
To: gmail; +Cc: ecos-discuss
On 2011-08-01 16:36, gmail wrote:
> Hi,
> I am starting a 'personal project' and would like to use eCos, and I am trying to get all of the pieces together.
>
> The board is from Technologic Systems (www.embeddedARM.com) and is the TS7250 w/ an ARM9 Cirrus Logic EP9302 on it.
>
> It comes with a redboot loader that loads their Linux port.
>
> I've got cygwin on an XP box and have installed eCos 3.0, but cannot find any package for the TS7250 or the ARM9-EP9302 processor.
>
> The s/w that came with the board appears to have the redboot source but I think it is a eCos 2.x version.
>
> Is there an existing package for this board or is there a way to 'import' it from the 2.x source?
>
> Thanks for any pointers in getting going in the right direction!
This board is not part of the public tree.
You should be able to get the original sources from Technologic Systems
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ECOS] eCos 3.0 and TS2750
2011-08-01 22:58 ` Gary Thomas
@ 2011-08-01 23:52 ` gmail
2011-08-02 7:06 ` [ECOS] " John Dallaway
0 siblings, 1 reply; 8+ messages in thread
From: gmail @ 2011-08-01 23:52 UTC (permalink / raw)
To: Gary Thomas; +Cc: ecos-discuss
On 8/1/2011 3:58 PM, Gary Thomas wrote:
> On 2011-08-01 16:36, gmail wrote:
>> Hi,
>> I am starting a 'personal project' and would like to use eCos, and I
>> am trying to get all of the pieces together.
>>
>> The board is from Technologic Systems (www.embeddedARM.com) and is
>> the TS7250 w/ an ARM9 Cirrus Logic EP9302 on it.
>>
>> It comes with a redboot loader that loads their Linux port.
>>
>> I've got cygwin on an XP box and have installed eCos 3.0, but cannot
>> find any package for the TS7250 or the ARM9-EP9302 processor.
>>
>> The s/w that came with the board appears to have the redboot source
>> but I think it is a eCos 2.x version.
>>
>> Is there an existing package for this board or is there a way to
>> 'import' it from the 2.x source?
>>
>> Thanks for any pointers in getting going in the right direction!
>
> This board is not part of the public tree.
> You should be able to get the original sources from Technologic Systems
>
I believe the source for the redboot is on the CD supplied from
Technologic Systems, but I believe that it is for eCos 2.x tree.
Can I just copy that over to the eCos 3.0 tree that I've installed or
does it need to be 'Imported' via the config tool?
Thanks!
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ECOS] Re: eCos 3.0 and TS2750
2011-08-01 23:52 ` gmail
@ 2011-08-02 7:06 ` John Dallaway
2011-08-02 14:29 ` Frank Pagliughi
2011-08-02 23:26 ` gmail
0 siblings, 2 replies; 8+ messages in thread
From: John Dallaway @ 2011-08-02 7:06 UTC (permalink / raw)
To: gmail; +Cc: ecos-discuss
JJ
gmail wrote:
> On 8/1/2011 3:58 PM, Gary Thomas wrote:
>> On 2011-08-01 16:36, gmail wrote:
[ snip ]
>>> I've got cygwin on an XP box and have installed eCos 3.0, but cannot
>>> find any package for the TS7250 or the ARM9-EP9302 processor.
>>>
>>> The s/w that came with the board appears to have the redboot source
>>> but I think it is a eCos 2.x version.
>>>
>>> Is there an existing package for this board or is there a way to
>>> 'import' it from the 2.x source?
>>>
>>> Thanks for any pointers in getting going in the right direction!
>>
>> This board is not part of the public tree.
>> You should be able to get the original sources from Technologic Systems
>>
> I believe the source for the redboot is on the CD supplied from
> Technologic Systems, but I believe that it is for eCos 2.x tree.
>
> Can I just copy that over to the eCos 3.0 tree that I've installed or
> does it need to be 'Imported' via the config tool?
As a starting point, you should be able to copy the directories
containing the additional eCos HAL and driver packages from your TS7250
repository to an eCos 3.0 or eCos CVS repository and then copy the
relevant "package" and "target" declarations from the ecos.db file in
the root of your TS7250 repository to the eCos 3.0 or eCos CVS ecos.db file.
Note that there is also a patch providing full eCos support (not just
RedBoot) for a number of EP93xx parts:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000739
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ECOS] Re: eCos 3.0 and TS2750
2011-08-02 7:06 ` [ECOS] " John Dallaway
@ 2011-08-02 14:29 ` Frank Pagliughi
2011-08-02 23:26 ` gmail
1 sibling, 0 replies; 8+ messages in thread
From: Frank Pagliughi @ 2011-08-02 14:29 UTC (permalink / raw)
To: John Dallaway; +Cc: gmail, ecos-discuss, Austin, Brian
On 08/02/2011 03:05 AM, John Dallaway wrote:
> JJ
>
> gmail wrote:
>
>> On 8/1/2011 3:58 PM, Gary Thomas wrote:
>>> On 2011-08-01 16:36, gmail wrote:
> [ snip ]
>
>>>> I've got cygwin on an XP box and have installed eCos 3.0, but cannot
>>>> find any package for the TS7250 or the ARM9-EP9302 processor.
>>>>
>>>> The s/w that came with the board appears to have the redboot source
>>>> but I think it is a eCos 2.x version.
>>>>
>>>> Is there an existing package for this board or is there a way to
>>>> 'import' it from the 2.x source?
>>>>
>>>> Thanks for any pointers in getting going in the right direction!
>>> This board is not part of the public tree.
>>> You should be able to get the original sources from Technologic Systems
>>>
>> I believe the source for the redboot is on the CD supplied from
>> Technologic Systems, but I believe that it is for eCos 2.x tree.
>>
>> Can I just copy that over to the eCos 3.0 tree that I've installed or
>> does it need to be 'Imported' via the config tool?
> As a starting point, you should be able to copy the directories
> containing the additional eCos HAL and driver packages from your TS7250
> repository to an eCos 3.0 or eCos CVS repository and then copy the
> relevant "package" and "target" declarations from the ecos.db file in
> the root of your TS7250 repository to the eCos 3.0 or eCos CVS ecos.db file.
>
> Note that there is also a patch providing full eCos support (not just
> RedBoot) for a number of EP93xx parts:
>
> http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000739
>
> John Dallaway
> eCos maintainer
> http://www.dallaway.org.uk/john
>
From what I could tell, the original Technologic boards (TS7200, etc)
were based pretty closely on the Cirrus eval boards. Technologic started
their version Redboot using the Cirrus modifications to eCos 2.x from
about 2005. Cirrus updated their code for a while and released it
publicly on their web site, but I believe that Technologic stayed with
the original fork. A few years back, Brian Austin at Cirrus claimed
that the company was going to release the code to the public repository,
but no more was heard from them.
http://sourceware.org/ml/ecos-discuss/2009-04/msg00189.html
http://sourceware.org/ml/ecos-discuss/2009-05/msg00066.html
Frank
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ECOS] Re: eCos 3.0 and TS2750
2011-08-02 7:06 ` [ECOS] " John Dallaway
2011-08-02 14:29 ` Frank Pagliughi
@ 2011-08-02 23:26 ` gmail
2011-08-03 7:38 ` John Dallaway
1 sibling, 1 reply; 8+ messages in thread
From: gmail @ 2011-08-02 23:26 UTC (permalink / raw)
To: John Dallaway; +Cc: ecos-discuss
On 8/2/2011 12:05 AM, John Dallaway wrote:
> JJ
>
> gmail wrote:
>
>> On 8/1/2011 3:58 PM, Gary Thomas wrote:
>>> On 2011-08-01 16:36, gmail wrote:
> [ snip ]
>
>>>> I've got cygwin on an XP box and have installed eCos 3.0, but cannot
>>>> find any package for the TS7250 or the ARM9-EP9302 processor.
>>>>
>>>> The s/w that came with the board appears to have the redboot source
>>>> but I think it is a eCos 2.x version.
>>>>
>>>> Is there an existing package for this board or is there a way to
>>>> 'import' it from the 2.x source?
>>>>
>>>> Thanks for any pointers in getting going in the right direction!
>>> This board is not part of the public tree.
>>> You should be able to get the original sources from Technologic Systems
>>>
>> I believe the source for the redboot is on the CD supplied from
>> Technologic Systems, but I believe that it is for eCos 2.x tree.
>>
>> Can I just copy that over to the eCos 3.0 tree that I've installed or
>> does it need to be 'Imported' via the config tool?
> As a starting point, you should be able to copy the directories
> containing the additional eCos HAL and driver packages from your TS7250
> repository to an eCos 3.0 or eCos CVS repository and then copy the
> relevant "package" and "target" declarations from the ecos.db file in
> the root of your TS7250 repository to the eCos 3.0 or eCos CVS ecos.db file.
>
> Note that there is also a patch providing full eCos support (not just
> RedBoot) for a number of EP93xx parts:
>
> http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000739
>
> John Dallaway
> eCos maintainer
> http://www.dallaway.org.uk/john
>
Thanks for the suggestion!
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?
Thanks again!
I owe you more than just a couple of beers...
--JJ--
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ECOS] Re: eCos 3.0 and TS2750
2011-08-02 23:26 ` gmail
@ 2011-08-03 7:38 ` John Dallaway
2011-08-04 18:31 ` gmail
0 siblings, 1 reply; 8+ messages in thread
From: John Dallaway @ 2011-08-03 7:38 UTC (permalink / raw)
To: gmail; +Cc: ecos-discuss
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ECOS] Re: eCos 3.0 and TS2750
2011-08-03 7:38 ` John Dallaway
@ 2011-08-04 18:31 ` gmail
0 siblings, 0 replies; 8+ messages in thread
From: gmail @ 2011-08-04 18:31 UTC (permalink / raw)
To: John Dallaway; +Cc: ecos-discuss
On 8/3/2011 12:38 AM, John Dallaway wrote:
> 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
>
I did implement a mlt_arm_arm9_ts7250_ram.ldi and .h file but it still
looks like all of the test programs are getting linked at the 0x8000
starting point.
Running the arm-eabi-size program on one of the test programs (i.e.
bin_sem0) yields:
bin_sem0 :
section size addr
.debug_aranges 0x2318 0x0
.debug_pubnames 0x73b0 0x0
.debug_info 0x469e8 0x0
.debug_abbrev 0x92be 0x0
.debug_line 0xa811 0x0
.debug_frame 0x7d1c 0x0
.debug_str 0x873b 0x0
.debug_loc 0xa020 0x0
.fixed_vectors 0x140 0x20
.rom_vectors 0x40 0x8000
.text 0xc824 0x9000
.rodata 0x3cc 0x15824
.data 0x434 0x15bf0
.bss 0x42b0 0x16024
.ARM.attributes 0x2c 0x0
.debug_ranges 0x2180 0x0
.comment 0x8f7 0x0
Total 0x91eed
Looking at the tree in the configtool, this base appears to come from
the 'Configuration | Redboot for ARM options | Provides the exec command
in RedBoot | Default physical base address of linux kernel'.
The property info for this value indicates: "This is the physical
address of the base of the Linux kernel image. This option gets set by
the platform CDL."
I guess at this point I am totally confused as to how to change this, or
if I am on the right path.
All I am trying to do is build an executable that can be loaded via the
onboard RedBoot.
"Clueless at this point"
Thanks for any pointers!
--JJ--
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-08-04 18:31 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-01 22:36 [ECOS] eCos 3.0 and TS2750 gmail
2011-08-01 22:58 ` Gary Thomas
2011-08-01 23:52 ` gmail
2011-08-02 7:06 ` [ECOS] " John Dallaway
2011-08-02 14:29 ` Frank Pagliughi
2011-08-02 23:26 ` gmail
2011-08-03 7:38 ` John Dallaway
2011-08-04 18:31 ` gmail
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).