Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » TCF on ARM
TCF on ARM [message #24859] Tue, 22 July 2008 04:45 Go to next message
Karun Saraswat is currently offline Karun Saraswat
Messages: 6
Registered: July 2009
Junior Member
Hello,

Has anybody tried porting TCF on ARM? I want to use it with ELDK and
integrate it with RSE. Can any body help me how i should proceed? I tried
compiling TCF agent with ELDK and found many structures missing like
user_reg_struct etc. What all things need to be kept in mind porting TCF
on any architecture?

Pointers are welcomed.

Thanks,
Karun
Re: TCF on ARM [message #25821 is a reply to message #24859] Wed, 06 August 2008 15:05 Go to previous message
Eugene Tarassov is currently offline Eugene Tarassov
Messages: 4
Registered: July 2009
Junior Member
Hi Karun,

As far as I know nobody has tried to port TCF on ARM.

Some things to keep in mind while porting TCF:

1. It should be much easier to do the port if you don't need all TCF
services. For RSE integration you only need File System and Processes
services, so you can disable all other services by editing config.h

2. context.c implements debugger support, however it is still pulled in
even if you disable all debugger related services. If you don't need
debugger support in the agent, you can replace context.c with a dummy
implementation that does nothing and always returns an error.

3. It is better to create a separate directory with alternative versions
of config.h, context.h, context.c, Makefile, etc., instead of editing
original files. The idea is that Makefile will search that directory
first, and if a file not found there, it will search original agent
sources. See examples/org.eclipse.tm.tcf.examples.daytime.agent for an
example of a custom TCF agent. Of course, if changes are generic enough to
be useful for other ports, then it is better to change code the main
directory.

Regards,
Eugene
Re: TCF on ARM [message #576600 is a reply to message #24859] Wed, 06 August 2008 15:05 Go to previous message
Eugene Tarassov is currently offline Eugene Tarassov
Messages: 4
Registered: July 2009
Junior Member
Hi Karun,

As far as I know nobody has tried to port TCF on ARM.

Some things to keep in mind while porting TCF:

1. It should be much easier to do the port if you don't need all TCF
services. For RSE integration you only need File System and Processes
services, so you can disable all other services by editing config.h

2. context.c implements debugger support, however it is still pulled in
even if you disable all debugger related services. If you don't need
debugger support in the agent, you can replace context.c with a dummy
implementation that does nothing and always returns an error.

3. It is better to create a separate directory with alternative versions
of config.h, context.h, context.c, Makefile, etc., instead of editing
original files. The idea is that Makefile will search that directory
first, and if a file not found there, it will search original agent
sources. See examples/org.eclipse.tm.tcf.examples.daytime.agent for an
example of a custom TCF agent. Of course, if changes are generic enough to
be useful for other ports, then it is better to change code the main
directory.

Regards,
Eugene
Previous Topic:RSE + SU
Next Topic:Secure FTP?
Goto Forum:
  


Current Time: Wed Jul 23 16:20:46 EDT 2014

Powered by FUDForum. Page generated in 0.02253 seconds