Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tcf-dev] Investigating TCF Agent Port to RTEMS
  • From: Eugene Tarassov <eugenet@xxxxxxxxxx>
  • Date: Fri, 30 Oct 2020 19:56:42 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=xilinx.com; dmarc=pass action=none header.from=xilinx.com; dkim=pass header.d=xilinx.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EcgzsFnFPGEiPJAX+m8t3oq7CXtjn/JdnCAq643HDhg=; b=nIxMxnjKSx+oJs+DvRuYrvMJD8irG+49pP1NyE2OrSioc+8HnLU5/9UK9R1bYGRDz9pUMxsZDAh2HdDlFbKRzsNr1IWnKGXK6fzZk10QVWV4qmzIxgghzcRL4sYGNmMGw869uFH2awZEtkKwvmqE7AldtrolQ0TW4+FCzSm88+Fx0WzG/grePjbRYV5xO4mRy5ciEGJKVM7EKyuLrv/sOhJtZA0cgfxsAgskSr+T6gsl/55SyOaBajP4dXivfx/uCfxJNH2XjB/QMdNYQozxIqAHz6yqJuRH0jlMCwZRwZUsMCcI8fpCSEOZVmXCEVEwstNixu6MX1Afa4S6+Y+GAQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jyR4+8aiPMDQxtCeVjiuuO909dPgZxkGFbxYI6lZE8tsgjzDuuc3m3IiwyGNmZaF8qOsjMQLAFezSuaKehE4MMGZDBR/Brt1VKR7LQQYtB86MbwsRaql6Sqeui95A+piaS8h7Zorq3wXVPsTCsnRzp+KufenvuFnvJiJ/DynUa9S8Ctvhhoqg3n+ayHBR2QVRN9YWoyfuA2o9G78GEff97pXqGabyaZUnYhhEq90fGLjWb3PIZsBuX/vfuvgfSikA3VMOHzgiVJGnAVbgIaqlwXxj0OIplDklw26HtQn7gyNvcHW2Ko2SHbSbZ6WEJGkqSXuvdd60DpvvtiGETurqw==
  • Delivered-to: tcf-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/tcf-dev>
  • List-help: <mailto:tcf-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tcf-dev>, <mailto:tcf-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tcf-dev>, <mailto:tcf-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWrjvU6YaD6If0AU2dxmr6/h2/EamwinrA
  • Thread-topic: [tcf-dev] Investigating TCF Agent Port to RTEMS

Hi Joel,

 

To make long story short, I’ve committed a script, which creates a git repo for agent porting project.

The repo is an example of how to start such project.

 

Run the script:

org.eclipse.tcf.agent/agent/bin/create-agent-project -n rtems

 

Then look into tcf.agent.rtems/system/rtems/tcf/context-rtems.c.

It contains stubs of all functions you need to implement using debug APIs available in RTEMS.

HTH.

 

Regards,

Eugene

 

 

From: tcf-dev-bounces@xxxxxxxxxxx <tcf-dev-bounces@xxxxxxxxxxx> On Behalf Of Joel Sherrill
Sent: Thursday, October 29, 2020 2:38 PM
To: tcf-dev@xxxxxxxxxxx
Subject: [tcf-dev] Investigating TCF Agent Port to RTEMS

 

CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.

 

Hi

 

I am starting to work through porting the TCF Agent to RTEMS. RTEMS is a single process, multi-threading open source RTOS. Executables are usually statically linked and the TCF Agent is running as a thread.  I have pushed through the build system and gotten the Agent running enough for the portable services to work. By that, I mean those services that compiled out of the box. This is enough to have the FileSystem service working.

 

I am now feeling a bit overwhelmed with a list of services that have names that seem like I want to enable them but I don't know which are the minimum required. I am sure we don't want any that resolve symbolic information on the target and SysMonitor that depends on /proc which RTEMS does not have.

 

Which services should I focus on? 

 

I started on RunControl which quickly got me into addressing context area definitions and ptrace(). I don't see any other way to implement this in the git source, so my current plan is to implement a minimal ptrace() for RTEMS. 

 

What needs to be done to present a single process and multiple threads via the agent? 

 

Is there any guidance on which Services support which perspectives in Eclipse? How can I know when I have done enough to make a specific perspective work?

 

Sorry to ask so many questions. There is a lot of magic to decipher and adapt.  :)

 

Thanks.

 

--joel

RTEMS


Back to the top