]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/log
ipc/ipcdev.git
10 years agoDocs: Minor doc typo fix
Chris Ring [Tue, 30 Apr 2013 23:17:45 +0000 (16:17 -0700)]
Docs: Minor doc typo fix

10 years agoLinux: Moved IPC specific types file (Std.h) into the ti/ipc namespace
Arnie Reynoso [Tue, 30 Apr 2013 21:07:49 +0000 (14:07 -0700)]
Linux: Moved IPC specific types file (Std.h) into the ti/ipc namespace

10 years agoBIOS: Fix ti.ipc.transport build script for rpmsg2-based libs
Angela Stegmaier [Fri, 26 Apr 2013 22:48:50 +0000 (17:48 -0500)]
BIOS: Fix ti.ipc.transport build script for rpmsg2-based libs

Also rework ti.ipc.transport build scripts to remove unnecessary
platform-specific lib names.

Also update BIOS-side example to indicate the correct rpmsg version.

10 years agoQNX: Return E_NOTFOUND instead of E_FAIL if MQCopy_send fails
Angela Stegmaier [Mon, 29 Apr 2013 17:42:20 +0000 (12:42 -0500)]
QNX: Return E_NOTFOUND instead of E_FAIL if MQCopy_send fails

This allows MessageQ NameServer lookups to slaves that aren't
loaded to gracefully fail.

10 years agoIn VirtQueue_create, clear the VRING_USED_F_NO_NOTIFY flag to ensure all VirtQueue_ki...
VW [Mon, 29 Apr 2013 18:38:46 +0000 (11:38 -0700)]
In VirtQueue_create, clear the VRING_USED_F_NO_NOTIFY flag to ensure all VirtQueue_kick calls from the host results in an interrupt on slave.

10 years agoChanged GateAll to GateHwi since GateAll does not work in SMP BIOS according to SDOCM...
vwan@ti.com [Thu, 25 Apr 2013 17:42:22 +0000 (10:42 -0700)]
Changed GateAll to GateHwi since GateAll does not work in SMP BIOS according to SDOCM00100833

10 years agoFixed MultiProc config so that device names match the slave side on OMAP5
vwan@ti.com [Thu, 25 Apr 2013 17:40:05 +0000 (10:40 -0700)]
Fixed MultiProc config so that device names match the slave side on OMAP5

10 years agoQNX IPC: Vayu - Update Xbar Config for 16_eng
Angela Stegmaier [Fri, 26 Apr 2013 14:44:09 +0000 (09:44 -0500)]
QNX IPC: Vayu - Update Xbar Config for 16_eng

In the 16_eng release of IPC 3x, the mailbox
usages is updated, so the interrupt crossbar
configuration must be updated.  The new configuration
has the following mailbox usage:

Mailbox for DSP1->HOST is Mbox 5 User 2
Mailbox for IPU2->HOST is Mbox 6 User 2

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoBIOS IPC: Vayu - Update AMMU and MMU Configuration
Angela Stegmaier [Wed, 24 Apr 2013 18:44:21 +0000 (13:44 -0500)]
BIOS IPC: Vayu - Update AMMU and MMU Configuration

In the 16_eng release, the mailbox virtual address
changed to 0x60000000 block.  This was previously where
the TILER addresses were mapped.  As a consequence, the
TILER mappings needed to be moved, and the AMMU config
as well as the resource table needed to be updated
to reflect the changes.  Also, as a result of the move,
the VRING virtual addresses for the IPU have changed.

TILER VA: Moved from 0x60000000 to 0xA0000000
Peripherals and VRING: Moved from 0xA0000000 to 0x60000000

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC - Update to New Mailbox Usage
Angela Stegmaier [Tue, 23 Apr 2013 19:07:39 +0000 (14:07 -0500)]
QNX IPC - Update to New Mailbox Usage

With the latest 16_eng IPC 3.x release, the mailbox
usage has changed.

The QNX IPC is updated to be in sync with these
changes for communication with IPU2 and DSP1.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC: WA For DSP Not Receiving Messages
Angela Stegmaier [Wed, 24 Apr 2013 21:25:47 +0000 (16:25 -0500)]
QNX IPC: WA For DSP Not Receiving Messages

There is an issue observed when testing HOST->DSP1
communication using Vayu Virtio where if more than one
message is in the mailbox FIFO, then the DSP only
picks up one message, and the interrupt callback
stops running.

To avoid this issue, the workaround is to make sure
that we only send one message at a time from HOST->DSP1.

A side affect of this is that messages will be dropped,
but since (for the most part), the contents of the mailbox
message are the same, we can get away with this for now.

This may be just a Vayu Virtio issue, and we will
attempt to revert the WA in the future.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC: Build - Add Vayu Build to the QNX IPC
Angela Stegmaier [Mon, 8 Apr 2013 21:18:38 +0000 (16:18 -0500)]
QNX IPC: Build - Add Vayu Build to the QNX IPC

Add the Vayu Build to the QNX IPC and update the build
files to allow specification of the device in the
products.mak file.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoAdd Vayu Family Support for IPU2 (SMP) and DSP1
Angela Stegmaier [Mon, 1 Apr 2013 22:40:33 +0000 (17:40 -0500)]
Add Vayu Family Support for IPU2 (SMP) and DSP1

Add support for HOST->IPU2 and HOST->DSP1 support
for Vayu.

10 years agoQNX IPC: Vayu - Add Vayu IPU2 and DSP1 Support
Angela Stegmaier [Thu, 18 Apr 2013 18:34:39 +0000 (13:34 -0500)]
QNX IPC: Vayu - Add Vayu IPU2 and DSP1 Support

Add the Vayu family files to support IPC communication
between the HOST running QNX and the IPU2 and/or DSP1
running SYS/BIOS IPC3.x.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoAdd OMAP5 DSP Support for HLOS->SYSBIOS IPC
Angela Stegmaier [Mon, 11 Mar 2013 22:42:26 +0000 (17:42 -0500)]
Add OMAP5 DSP Support for HLOS->SYSBIOS IPC

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoTCI6638: Linux target side scripts for loading, running lad, dumping trace.
G Anthony [Mon, 29 Apr 2013 23:39:33 +0000 (16:39 -0700)]
TCI6638: Linux target side scripts for loading, running lad, dumping trace.

Useful scripts to be used for the 8 core TCI6638 platformm.

Signed-off-by: G Anthony <a0783926@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
10 years agoResource: Added config option to build images with SysMin trace resource only.
G Anthony [Mon, 29 Apr 2013 21:05:00 +0000 (14:05 -0700)]
Resource: Added config option to build images with SysMin trace resource only.

Set Resource.traceOnly to true in order to get an image with trace resources,
and without VDEV and VRING resources.

This feature was requested by the Keystone II (TCI6638) team for testing,
and so for now is only implemented for that platform's resource table.

Signed-off-by: Chris Ring <cring@ti.com>
10 years agoBuild: Fix SMP support for platforms without 'ipu' in the name
Chris Ring [Mon, 29 Apr 2013 19:30:53 +0000 (12:30 -0700)]
Build: Fix SMP support for platforms without 'ipu' in the name

A few SMP-aware packages only support platforms with the name
'ipu' in them.  Remove this explicit platform name check and replace
it with a more correct check (e.g. by detecting BIOS.smpEnabled, or
using the platform's .deviceName field - which doesn't vary across
platform names).

10 years agoLinux: Moved MultiProc config into the platform specific LAD daemon.
Arnie Reynoso [Thu, 25 Apr 2013 21:57:06 +0000 (14:57 -0700)]
Linux: Moved MultiProc config into the platform specific LAD daemon.

Also updated example apps to correctly call Ipc_start() before any
MultiProc functions.

10 years agoDocs: Updated doxygen documentation
Chris Ring [Fri, 26 Apr 2013 21:29:15 +0000 (14:29 -0700)]
Docs: Updated doxygen documentation

Doxygen-related review and cleanup.  In some cases, added notes that
some APIs are only available on SYS/BIOS, others only on Linux/QNX.

10 years agoLinux: Comment cleanup
Chris Ring [Wed, 24 Apr 2013 22:52:37 +0000 (15:52 -0700)]
Linux: Comment cleanup

Remove redundant commentary from source files, some SysLink name
removal, other very minor comment-only cleanup.

10 years agoBIOS: Fixed NameServerRemoteRpmsg MessageQ instanceName and name length 3.00.00.16_eng
Arnie Reynoso [Fri, 19 Apr 2013 18:40:31 +0000 (11:40 -0700)]
BIOS: Fixed NameServerRemoteRpmsg MessageQ instanceName and name length

    The MessageQ instanceName and name length wasn't taking into account the
    string's termination character causing instances where the MessageQ name
    couldn't be located (MessageQ_open(ed) on the slave core.

10 years agoMoved mailbox base virtual addresses to 0x60000000 block.
Ramsey Harris [Tue, 23 Apr 2013 05:15:30 +0000 (22:15 -0700)]
Moved mailbox base virtual addresses to 0x60000000 block.

10 years agoMust build .dlls in order to get all libraries.
Ramsey Harris [Mon, 22 Apr 2013 23:38:26 +0000 (16:38 -0700)]
Must build .dlls in order to get all libraries.

10 years agoUpdate Mailbox usage, Add support for NON-SMP BIOS
Judah Vang [Wed, 17 Apr 2013 23:34:26 +0000 (16:34 -0700)]
Update Mailbox usage, Add support for NON-SMP BIOS

10 years agoAdd config to allow VPSS-M3 to EVE communication
Chris Ring [Tue, 16 Apr 2013 00:53:41 +0000 (17:53 -0700)]
Add config to allow VPSS-M3 to EVE communication

This is a poor-man's cherry-pick of
b0b90ee18c62dc1d10a4f7e746eb6c5205bc3b71
from the IPC 1.25 (ipc-i) stream.

10 years agoSDOCM00100662: Move code to config shared RAMs to Boot module
Chris Ring [Tue, 16 Apr 2013 00:25:18 +0000 (17:25 -0700)]
SDOCM00100662: Move code to config shared RAMs to Boot module

This is a poor-man's cherry-pick of
1d2b0271c6d75e4a06c02875ec2841ef23467f84 and
e6c589ac8c5a15af450366c28f5bcf69d4b3d74a
from the IPC 1.25 (ipc-i) stream.

This change was tracked as SDOCM00100430 in IPC 1.x.

10 years agoQNX IPC: Headers - Change Location of Installed Headers
Angela Stegmaier [Tue, 9 Apr 2013 17:40:22 +0000 (12:40 -0500)]
QNX IPC: Headers - Change Location of Installed Headers

Change the location of the installed headers from
/usr/include/ti/syslink to /usr/include/ti/ipc.
This is part of the effort to remove
the syslink name from the QNX IPC product.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC: Client Lib - Change Lib Name to ipc_client
Angela Stegmaier [Tue, 9 Apr 2013 16:59:10 +0000 (11:59 -0500)]
QNX IPC: Client Lib - Change Lib Name to ipc_client

Change the client libarary name from syslink_client to
ipc_client.  This is part of the effort to remove
the syslink name from the QNX IPC product.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC: ResMgr - Change Binary Name to Ipc
Angela Stegmaier [Tue, 9 Apr 2013 17:01:53 +0000 (12:01 -0500)]
QNX IPC: ResMgr - Change Binary Name to Ipc

Change resource manager binary name from syslink to
ipc.  This is part of the effort to remove
the syslink name from the QNX IPC product.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC: Trace - Change Binary Name to IpcTraceDaemon
Angela Stegmaier [Tue, 9 Apr 2013 17:03:28 +0000 (12:03 -0500)]
QNX IPC: Trace - Change Binary Name to IpcTraceDaemon

Change trace device name from SyslinkTraceDaemon to
IpcTraceDaemon.  This is part of the effort to remove
the syslink name from the QNX IPC product.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC: Trace - Update Trace Device Name
Angela Stegmaier [Tue, 9 Apr 2013 15:55:18 +0000 (10:55 -0500)]
QNX IPC: Trace - Update Trace Device Name

Change trace device name from syslink-traceX to
ipc-traceX.  This is part of the effort to remove
the syslink name from the QNX IPC product.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoMerge remote-tracking branch 'ramsey/dev-3.00' into 15_eng 3.00.00.15_eng
Chris Ring [Wed, 10 Apr 2013 07:27:39 +0000 (00:27 -0700)]
Merge remote-tracking branch 'ramsey/dev-3.00' into 15_eng

10 years agoLinux IPC: Resticted KERNEL dir config variable to omap54xx_smp builds
Arnie Reynoso [Tue, 9 Apr 2013 16:25:18 +0000 (09:25 -0700)]
Linux IPC: Resticted KERNEL dir config variable to omap54xx_smp builds

Require KENREL_INSTALL_DIR to be set only for omap54xx_smp builds.
Other supported platforms will not build mmrpc library and test applications.

10 years agoRpMsg: Restore original rpmsg struct to fix non-OMAP5 devices
Chris Ring [Wed, 10 Apr 2013 07:08:36 +0000 (00:08 -0700)]
RpMsg: Restore original rpmsg struct to fix non-OMAP5 devices

The work to add MmRpc and related BIOS-side support broke compatibility
with existing rpmsg structs for all devices except OMAP5.  This commit
restores the original struct definitions for all devices except OMAP5,
and OMAP5 continues with the new APIs.

10 years agoBuild: Restructure SrvMgr build scripts
Chris Ring [Wed, 10 Apr 2013 00:05:55 +0000 (17:05 -0700)]
Build: Restructure SrvMgr build scripts

Rework some package.bld scripts into more traditional for() loops,
building all targets, all profiles.  No functional changes.

10 years agoSrvMgr: minor build script cleanup
Chris Ring [Tue, 9 Apr 2013 23:19:19 +0000 (16:19 -0700)]
SrvMgr: minor build script cleanup

Slight modification to how the package 'release' phase works to
follow conventions and better align with other ipc packages.

In addition, some minor whitespace and comment changes to better align
with other ipc build scripts.

10 years agoAdded meta-only modules to handle package dependencies.
Ramsey Harris [Tue, 9 Apr 2013 21:40:20 +0000 (14:40 -0700)]
Added meta-only modules to handle package dependencies.

10 years agoIncreased stack size of service manager task.
Ramsey Harris [Tue, 9 Apr 2013 21:36:55 +0000 (14:36 -0700)]
Increased stack size of service manager task.

10 years agoReplaced deprecated xdc.includeFile() with xdc.loadCapsule().
Ramsey Harris [Tue, 9 Apr 2013 21:33:19 +0000 (14:33 -0700)]
Replaced deprecated xdc.includeFile() with xdc.loadCapsule().

10 years agoAdded missing package dependencies.
Ramsey Harris [Tue, 9 Apr 2013 21:31:49 +0000 (14:31 -0700)]
Added missing package dependencies.

10 years agoAdd smp build profile only for ti.ipc.* packages.
Ramsey Harris [Tue, 9 Apr 2013 21:19:59 +0000 (14:19 -0700)]
Add smp build profile only for ti.ipc.* packages.

10 years agoVayu: TableInit Module should be metaonly
Chris Ring [Mon, 8 Apr 2013 23:48:36 +0000 (16:48 -0700)]
Vayu: TableInit Module should be metaonly

The TableInit Module is incorrectly specified to be a target module, yet has
no target code, and no TableInit.c.

In addition to being more efficient as a metaonly module, this fixes a build
failure for Vayu platforms when using the BIOS custom build.  The custom build
attempts to find/build a .c source file for all target modules... which
doesn't exist for TableInit.

10 years agoMultiProc: Improve error msg for invalid proc name
Chris Ring [Mon, 8 Apr 2013 22:59:04 +0000 (15:59 -0700)]
MultiProc: Improve error msg for invalid proc name

When the configured proc name isn't in the list of possible processor names,
the error message should report a list of potential processor names.  This
can help the user understand what to fix.

10 years agoOMAP5: Update ti.platforms.omap54xx.* to correct deviceName and M4 ISA
Chris Ring [Fri, 5 Apr 2013 18:07:40 +0000 (11:07 -0700)]
OMAP5: Update ti.platforms.omap54xx.* to correct deviceName and M4 ISA

The OMAP5 platforms were incorrectly using the OMAP4430 device name and M3
ISA for the IPU.  Update them to correctly support OMAP5430 and M4.

Add OMAP5430 device support to IPC, and update config scripts to use
appropriate MulticProc names for OMAP5.

10 years agoBuild: Remove dead non-SMP-supporting code for M3-based devices
Chris Ring [Fri, 5 Apr 2013 17:52:56 +0000 (10:52 -0700)]
Build: Remove dead non-SMP-supporting code for M3-based devices

OMAP4 is not currently supported, and OMAP5 only supports SMP-BIOS.  Remove
dead code to improve readability.

10 years agoOMAP5: Add M4 libs to a few build scripts
Chris Ring [Thu, 4 Apr 2013 04:04:10 +0000 (21:04 -0700)]
OMAP5: Add M4 libs to a few build scripts

Remove the non-SMP OMAP5 library (SMP BIOS is required for OMAP5).

Create M4 libraries for OMAP5 (in addition to existing M3 libraries
for backward compatibility - we may deprecate and/or remove M3 libs in the
future).

10 years agoOMAP5: Update ti.ipc.rpmsg build script
Chris Ring [Wed, 3 Apr 2013 23:39:28 +0000 (16:39 -0700)]
OMAP5: Update ti.ipc.rpmsg build script

Remove the non-SMP OMAP5 library (SMP BIOS is required for OMAP5).

Create M4 libraries for OMAP5 (in addition to existing M3 libraries
for backward compatibility - we may deprecate and/or remove M3 libs in the
future).

10 years agoOMAP5: Fixes to ti.ipc.family.omap54xx build script
Chris Ring [Wed, 3 Apr 2013 23:12:07 +0000 (16:12 -0700)]
OMAP5: Fixes to ti.ipc.family.omap54xx build script

Rename the actual library name from errant ti.ipc.rpmsg... to
ti.ipc.family.omap54xx...

Remove the non-SMP library (SMP BIOS is required for OMAP5).

Create M4 libraries in addition to existing M3 libraries (keeping M3 libs
for backward compatibility - we may deprecate and/or remove them in the
future).

10 years agoRemoved RPPC definitions which are now exported in rpmsg_rpc.h
Ramsey Harris [Thu, 28 Mar 2013 21:43:18 +0000 (14:43 -0700)]
Removed RPPC definitions which are now exported in rpmsg_rpc.h

10 years agoOmapRpc: Rename MessageQCopy to RPMessage symbols after rebase.
G Anthony [Mon, 1 Apr 2013 22:03:12 +0000 (15:03 -0700)]
OmapRpc:  Rename MessageQCopy to RPMessage symbols after rebase.

Updated to call RPMessage API, as this was renamed from MessageQCopy.

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agoping_rpmsg: Shut off diagnostic debug messages on BIOS side test.
G Anthony [Thu, 28 Mar 2013 00:54:36 +0000 (17:54 -0700)]
ping_rpmsg: Shut off diagnostic debug messages on BIOS side test.

Commented out Diags settings in cfg file to eliminate chatter.

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agoRPMessage: Renamed MessageQCopy module to RPMessage.
G Anthony [Wed, 27 Mar 2013 23:21:45 +0000 (16:21 -0700)]
RPMessage:  Renamed MessageQCopy module to RPMessage.

MessageQCopy is really an API which uses the RPMSG protocol to send and
receive fixed size payloads.

To avoid confusion with MessageQ, which can work over various transports,
MessageQCopy is renamed RPMessage.

This API is used directly by the TransportRpmsg MessageQ copy transport,
and the gRCM module.

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agoTransportRpmsg: Renamed TransportVirtio to TransportRpmsg.
G Anthony [Tue, 26 Mar 2013 23:46:26 +0000 (16:46 -0700)]
TransportRpmsg:  Renamed TransportVirtio to TransportRpmsg.

The transport for MessageQ actually goes over the RPMSG protocol on the BIOS
side, so this is a more accurate name than TransportVirtio.

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agoVirtQueue: TCI66xx: Added Swi/Thread protection for vrings.
G Anthony [Tue, 26 Mar 2013 21:37:57 +0000 (14:37 -0700)]
VirtQueue: TCI66xx: Added Swi/Thread protection for vrings.

Uses GateAll, since protection is needed between Swis and Threads.

Addresses SDOCM00099735: VirtQueue is not thread safe.

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agoVirtQueue: OMAPL138: Added Swi/Thread protection for vrings.
G Anthony [Mon, 25 Mar 2013 18:32:46 +0000 (11:32 -0700)]
VirtQueue: OMAPL138: Added Swi/Thread protection for vrings.

Uses GateAll, since protection is needed between Swis and Threads.

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agoMessageQCopy: Thread/Swi protection.
G Anthony [Fri, 22 Mar 2013 01:09:18 +0000 (18:09 -0700)]
MessageQCopy: Thread/Swi protection.

Replaced GateSwi with GateAll, since protection may need to come from threads
and SWIs.

Removed gate enter/leave around VirtQueue calls, as the protection has been
pushed down into VirtQueue.

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agoVirtQueue: OMAP5: Added Swi/Thread protection for vrings.
G Anthony [Thu, 21 Mar 2013 18:37:19 +0000 (11:37 -0700)]
VirtQueue: OMAP5: Added Swi/Thread protection for vrings.

VirtQueue: OMAP5: used GateAll, since protection is needed between Swis and
Threads.

This patch done only for OMAP5 VirtQueue, to allow granular merging.

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agoAdded missing files to package release (using Pkg.otherFiles). 3.00.00.14_eng
Ramsey Harris [Sat, 23 Mar 2013 04:26:03 +0000 (21:26 -0700)]
Added missing files to package release (using Pkg.otherFiles).

10 years agoMerge remote-tracking branch 'vincent-ext/3.00.00.14_eng' into 14_eng
Chris Ring [Fri, 22 Mar 2013 21:20:03 +0000 (14:20 -0700)]
Merge remote-tracking branch 'vincent-ext/3.00.00.14_eng' into 14_eng

10 years agoUpdated autoreconf generated files; Makefile.in, configure.
Ramsey Harris [Fri, 22 Mar 2013 21:13:56 +0000 (14:13 -0700)]
Updated autoreconf generated files; Makefile.in, configure.

10 years agoHide omaprpc on BIOS side under MmServiceMgr to improve client integration.
Ramsey Harris [Fri, 22 Mar 2013 19:36:12 +0000 (12:36 -0700)]
Hide omaprpc on BIOS side under MmServiceMgr to improve client integration.

Added MmServerMgr to manage the create/delete of service instances.
Added MmType to provide better integration for function publishing.
Worked up a simple example using MxServer and rpc_task.c for this
release. Will provide formal examples in next build. Added Mx on
host side to illustrate a better example.

10 years agoFixed 'make install' goal of ipc-qnx.mak for Windows to find recurse.mk
VW [Fri, 22 Mar 2013 19:00:59 +0000 (12:00 -0700)]
Fixed 'make install' goal of ipc-qnx.mak for Windows to find recurse.mk

10 years agoUpdated USE files for QNX tests
VW [Fri, 22 Mar 2013 00:06:11 +0000 (17:06 -0700)]
Updated USE files for QNX tests

10 years agoAdded pointer parameter and embedded pointers to mmrpc_test program.
Ramsey Harris [Thu, 21 Mar 2013 21:59:02 +0000 (14:59 -0700)]
Added pointer parameter and embedded pointers to mmrpc_test program.

Using the shared memory allocator on QNX, we added pointers to the
test program. Ran on QNX between HOST and IPU. Made ti/ipc/mm a package.

10 years agoMerge remote-tracking branch 'angela/13_eng_dev-ramsey-3.00.a' into dev-3.00
Ramsey Harris [Thu, 21 Mar 2013 00:03:39 +0000 (17:03 -0700)]
Merge remote-tracking branch 'angela/13_eng_dev-ramsey-3.00.a' into dev-3.00

10 years agoQNX IPC: Samples - Update rpmsg-rpc-stress.use
Angela Stegmaier [Wed, 20 Mar 2013 23:06:07 +0000 (18:06 -0500)]
QNX IPC: Samples - Update rpmsg-rpc-stress.use

Update the rpmsg-rpc-stress.use file to show the new
function index parameter "f".

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoSamples - Update rpc_task with new Functions
Angela Stegmaier [Wed, 20 Mar 2013 22:49:14 +0000 (17:49 -0500)]
Samples - Update rpc_task with new Functions

Added new functions to the rpc_task test to test the passing
of pointer param types and embedded pointer translations.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC: Samples - Add Pointer and Translations Tests for RPC Test
Angela Stegmaier [Wed, 20 Mar 2013 22:47:50 +0000 (17:47 -0500)]
QNX IPC: Samples - Add Pointer and Translations Tests for RPC Test

Add additional tests to the rpmsg_rpc sample to test sending
pointer param types and doing translations of embedded pointers.
Also, a check is added to make sure that the reverse translation
is done properly.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoUpdate OMAP5 and SharedMemAllocator carveouts
Angela Stegmaier [Tue, 19 Mar 2013 23:16:11 +0000 (18:16 -0500)]
Update OMAP5 and SharedMemAllocator carveouts

10 years agoQNX IPC: Add Reverse Translations to RPMSG_RPC
Angela Stegmaier [Wed, 20 Mar 2013 22:37:32 +0000 (17:37 -0500)]
QNX IPC: Add Reverse Translations to RPMSG_RPC

The translated embedded pointers should be translated
back to the original addresses when the response is
sent back to the user.

This patch adds that functionality.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC: Add Some Files to .gitignore
Angela Stegmaier [Wed, 20 Mar 2013 15:50:04 +0000 (10:50 -0500)]
QNX IPC: Add Some Files to .gitignore

Add some file types to .gitignore so that generated files
are ignored.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoInstall test binaries to bin/tests
VW [Wed, 20 Mar 2013 18:38:25 +0000 (11:38 -0700)]
Install test binaries to bin/tests

10 years agoDo not automatically install tests when doing a 'make all' in QNX
VW [Wed, 20 Mar 2013 18:36:53 +0000 (11:36 -0700)]
Do not automatically install tests when doing a 'make all' in QNX

10 years agoAdded make install goal for QNX
VW [Tue, 19 Mar 2013 20:14:09 +0000 (13:14 -0700)]
Added make install goal for QNX

10 years agoMoved mmrpc_test.c to common directory, it's used by both Linux and QNX.
Ramsey Harris [Wed, 20 Mar 2013 05:50:15 +0000 (22:50 -0700)]
Moved mmrpc_test.c to common directory, it's used by both Linux and QNX.

In order to minimize duplicate code, I moved the mmrpc_test.c source
file from a Linux folder to a common location in packages/ti/ipc/tests.
The Linux and QNX makefiles live in their respective linux and qnx
folders.

10 years agoAdd MmRpc and mmrpc_test to QNX build.
Ramsey Harris [Wed, 20 Mar 2013 04:41:30 +0000 (21:41 -0700)]
Add MmRpc and mmrpc_test to QNX build.

Added QNX makefiles to build mmrpc library and mmrpc_test program.
Added QNX generated files to .gitignore file. Added KERNEL_INSTALL_DIR
to Linux makefiles.

10 years agoQNX IPC: Samples - RPMSG-RPC Sample
Angela Stegmaier [Fri, 8 Mar 2013 16:37:34 +0000 (10:37 -0600)]
QNX IPC: Samples - RPMSG-RPC Sample

Created a new sample "rpmsg-rpc-stress" to use to
test the rpmsg-rpc interface.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC: RPMSG-RPC - Add New RPMSG-RPC Module
Angela Stegmaier [Fri, 8 Mar 2013 16:27:17 +0000 (10:27 -0600)]
QNX IPC: RPMSG-RPC - Add New RPMSG-RPC Module

This new module provides a more generic interface
for using rpmsg.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC: Update RPMSG_OMX msg Header to align with SYS/BIOS
Angela Stegmaier [Wed, 13 Mar 2013 21:06:58 +0000 (16:06 -0500)]
QNX IPC: Update RPMSG_OMX msg Header to align with SYS/BIOS

SYS/BIOS has been updated to remove the flags parameter
in the rpmsg_omx_hdr.  A corresponding change is made on
the QNX-side to be in sync.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC: Update Drivers that Use MessageQCopy_registerNotify
Angela Stegmaier [Wed, 13 Mar 2013 21:03:37 +0000 (16:03 -0500)]
QNX IPC: Update Drivers that Use MessageQCopy_registerNotify

Update the drivers that use MessageQCopy_registerNotify to
account for the new desc parameter being passed in the
callback.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC: Update MessageQCopy to Add Desc Field in Name Map
Angela Stegmaier [Wed, 13 Mar 2013 20:43:45 +0000 (15:43 -0500)]
QNX IPC: Update MessageQCopy to Add Desc Field in Name Map

The BIOS-side NameMap module now sends a new desc field.
MessageQCopy, the module that receives the name map
messages, is updated to take this field into account.

As such, the callback that users of MessageQCopy can
register for notifications of remote core endpoint
creation is updated to give the desc field.  All users
of the MessageQCopy_registerNotify function must
be updated.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoQNX IPC: Update HwSpinlock and MQCopy to Use IPC Device
Angela Stegmaier [Mon, 18 Mar 2013 20:15:14 +0000 (15:15 -0500)]
QNX IPC: Update HwSpinlock and MQCopy to Use IPC Device

The device name has changed from syslink to ipc.  The
user-side HwSpinlock and MessageQCopy are updated to
use the new device name.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoFixed build error after rebasing on top of ipcdev-2.00.00.13_eng.
Ramsey Harris [Mon, 18 Mar 2013 21:17:00 +0000 (14:17 -0700)]
Fixed build error after rebasing on top of ipcdev-2.00.00.13_eng.

10 years agoFinal merge of Suman and Angela's latest updates. Updates to MmRpc.
Ramsey Harris [Mon, 18 Mar 2013 17:18:05 +0000 (10:18 -0700)]
Final merge of Suman and Angela's latest updates. Updates to MmRpc.

The MmRpc module is now functional for remote function calls using
atomic parameters. Updated mmrpc_test to invoke fxnTriple and fxnAdd
remote functions.

10 years agoInitial rpmsgrpc merge from Suman's Mar 11 drop.
Ramsey Harris [Fri, 15 Mar 2013 04:00:30 +0000 (21:00 -0700)]
Initial rpmsgrpc merge from Suman's Mar 11 drop.

Merged in Suman's changes. Fixed build errors. Added open/close
calls to MmRpc.c. Minor fix up for check-in.

10 years agoAdded 'libs' goal to build just libraries.
Ramsey Harris [Fri, 15 Mar 2013 03:49:33 +0000 (20:49 -0700)]
Added 'libs' goal to build just libraries.

10 years agoOMAP5 VirtQueue: Removed VirtQueue_postInitDone(). 3.00.00.13_eng
G Anthony [Sat, 16 Mar 2013 01:40:13 +0000 (18:40 -0700)]
OMAP5 VirtQueue: Removed VirtQueue_postInitDone().

Looking at the Linux side trace, we see this message:

  omap-rproc omap-rproc.0: Dropping unknown message ffffff07

proving the Linux driver is not even processing this message.

Per Suman:
"This call was added as part of optimizing the boot-time for the Ducati image,
where in we starting loading at OPP100, and this message is used to trigger
releasing the OPP100 constraint.

You can remove it or keep it, the rproc message is discarding it anyway."

So, it was removed.

Signed-off-by: G Anthony <a0783926@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
10 years agoCoverity Fixes: Several fixes to coverity issues in some sysbios-rpmsg files.
G Anthony [Sat, 16 Mar 2013 01:08:37 +0000 (18:08 -0700)]
Coverity Fixes: Several fixes to coverity issues in some sysbios-rpmsg files.

The coverity fixes address (or supress) the errors reported by coverity.

NOTE: the virtio_ring.h file copyright header triggers a tisb filter check;
but this is copyrighted by Rusty Russel, so commit was entered with the check
disabled.

Signed-off-by: G Anthony <a0783926@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
10 years agoMessageQMulti: Removed result argument from pthread_join() call.
G Anthony [Thu, 14 Mar 2013 18:05:26 +0000 (11:05 -0700)]
MessageQMulti: Removed result argument from pthread_join() call.

The previous code was incorrect, as the memory returned by pthread_join()
result was never allocated, yet being freed and printed.

Sending in NULL simply avoids the issue.  The thread status is printed in
the thread anyways, and only used for informational purposes.

Signed-off-by: G Anthony <a0783926@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
10 years agoNameServerApp: Change NameServer instance names to other than "MessageQ".
G Anthony [Thu, 14 Mar 2013 17:32:11 +0000 (10:32 -0700)]
NameServerApp: Change NameServer instance names to other than "MessageQ".

The names used by NameServerApp can conflict with the "MessageQ" name used by
the MessageQ tests, if run simultaneously.

Signed-off-by: G Anthony <a0783926@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
10 years agoMerge remote-tracking branch 'vincent-ext/3.00.00.13_eng' into 12_eng
Chris Ring [Sun, 17 Mar 2013 18:13:22 +0000 (11:13 -0700)]
Merge remote-tracking branch 'vincent-ext/3.00.00.13_eng' into 12_eng

10 years agoRenamed log module into IpcLog to reduce chances of name collision
VW [Sat, 16 Mar 2013 00:41:30 +0000 (17:41 -0700)]
Renamed log module into IpcLog to reduce chances of name collision

10 years agoCleanup: Removed commented out code and unused variable
VW [Fri, 15 Mar 2013 23:42:33 +0000 (16:42 -0700)]
Cleanup: Removed commented out code and unused variable

10 years agoRemoved workaround in tiipc to treat MessageQ rpmsg port as a special case, now that...
VW [Fri, 15 Mar 2013 23:01:30 +0000 (16:01 -0700)]
Removed workaround in tiipc to treat MessageQ rpmsg port as a special case, now that MessageQCopy returns addresses above 1024 when MessageQCopy_ADDRANY is passed.

10 years agoQNX IPC - Increase Max Reserved Endpoint in MessageQCopy
Angela Stegmaier [Thu, 14 Mar 2013 22:28:49 +0000 (17:28 -0500)]
QNX IPC - Increase Max Reserved Endpoint in MessageQCopy

Max Reservd Endpoint in MessageQCopy needs to be increased
in order to be compatible with some BIOS-side IPC software.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
10 years agoAdded QNX client-side libraries and inserted functionality from Linux daemon into...
VW [Fri, 15 Mar 2013 21:58:47 +0000 (14:58 -0700)]
Added QNX client-side libraries and inserted functionality from Linux daemon into the resource manager.

10 years agoOMAP5: Fix package dependency which could result in link failure
Chris Ring [Fri, 15 Mar 2013 17:42:29 +0000 (10:42 -0700)]
OMAP5: Fix package dependency which could result in link failure

The ti.ipc.srvmgr.omx pkg currently only supports OMAP5, and currently has
a dependency on the ti.ipc.family.omap54xx.  This dependency needs to be
expressed so XDC's config-generated linker.cmd file orders the libraries
correctly.  This commit adds the necessary dependency.

Found when bringing up the C64T test executables.  Never reported when
building only for OMAP5's IPU, but the link failure is possible there, too.

10 years agoOMAP5: Use #define'd VRING0 addr and remove unnecessary #ifdef
Chris Ring [Fri, 15 Mar 2013 17:36:09 +0000 (10:36 -0700)]
OMAP5: Use #define'd VRING0 addr and remove unnecessary #ifdef

Minor code cleanup.  There is already a #define with the VRING0 address, but
there is a block of code that's not using that #define, rather it's
hardcoding the address.  Switching to the #define'd address enables further
cleanup in mapPAtoVA().

10 years agoOMAP5: trivial comment fix
Chris Ring [Fri, 15 Mar 2013 17:33:12 +0000 (10:33 -0700)]
OMAP5: trivial comment fix