Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tm-dev] TCF features - FileSystem

We've added some features to the example TCF implementation and I
wondered if there is interest in having them contributed back to
eclipse?

Here are two of them:

1. a client for the FileSystem service that transfers raw binary data to
and from the agent via stdin and stdout.

Syntax: tcfraw filesystem_command agent:port agent_filename offset bytes
<wordsize>

Example:

$ tcfraw read TCP:ds62:1534 /proc/cpuinfo 0 20
processor	: 0
cpu		: e500v2

2. Add mmap mmread and mmwrite support to the FileSystem service.  

There are some files in Linux that are only accessible from mmap (/sys
device resource files) 
and some that are best accessed from mmap (/dev/mem).  

Here's an example accessing a Linux-target physical memory:

$ tcfraw mmread TCP:ds62:1534 /dev/mem 0 20 1 | od -An -t x4
 65642077 61732068 65726520 20202020
 20202020 20202020 20202020 20202020

-EdS


Back to the top