Tux
Communication
Mailing lists
Documentation
User Manual
Target board info.
Target chip info.
Support
Linux support
Bugzilla
Downloads
STLinux
Updates
Search
Google


The web
stlinux.com
Getting Started
ST RPC support
ST Logo
Previous   Contents   Next

ST RPC is a lightweight inter-processor communication system, which allows remote procedure calls between two CPUs, typically in a system on chip environment. For example, it can be used between the ST40 and ST20 on a STi5528. It is not related to Sun Microsystems' RPC, which is what most Unix programmers understand by RPC, and was originally described in RFC 1040, and later updated by Open Network Computing (ONC). This is also supported by the ST Linux distribution, in the usual way.

This section refers to the RPC 2.1 release.

RPC is provided in two packages:

  • stm-cross-rpc_develop: it contains only object files (tools, docs, libraries and examples).
  • stm-cross-rpc_src: source only package. This package allows the user to re-built the EMBX-RPC libraries on the host, against his own kernel version.

By default all the RPC contents are installed on the host in the /opt/STM/rpc-2.1-1 directory.

Once installed, the user has do the following in order to complete the setup:

  • create the RPC devices on the Linux target Root File System:
    • target# mknod /dev/strpcs c 240 0
    • target# ln -s /dev/strpcs /dev/userver
  • copy the Linux RPC and EMBX loadable modules from the install directory into the the target Root FS:
    ...devkit/sh4/target/usr/lib....
    in order to make them available to Linux on the target board.

To help the user, some examples are provided within the package. Refer to the example and the RPC-EMBX User Guide Chap. 7 for further information, the Appendix A; it's important since it describes the parameters to be used when loading the RPC Linux modules for the platforms supported.

Previous   Contents   Next
Valid HTML 4.01! Last updated: 2004/12/13 08:39:44
© Copyright STMicroelectronics Limited, 2005
Printer