]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/log
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 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

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

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

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

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

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).
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/' into 14_eng
Chris Ring [Fri, 22 Mar 2013 21:20:03 +0000 (14:20 -0700)]
Merge remote-tracking branch 'vincent-ext/' 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

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)]

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

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-
Ramsey Harris [Mon, 18 Mar 2013 21:17:00 +0000 (14:17 -0700)]
Fixed build error after rebasing on top of ipcdev-

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().
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

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/' into 12_eng
Chris Ring [Sun, 17 Mar 2013 18:13:22 +0000 (11:13 -0700)]
Merge remote-tracking branch 'vincent-ext/' 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

10 years agoTCI6638K2K: Update to ti.platforms.evmTCI6638K2K platform
Chris Ring [Tue, 12 Mar 2013 23:42:44 +0000 (16:42 -0700)]
TCI6638K2K: Update to ti.platforms.evmTCI6638K2K platform

XDC 3.25 introduced the official ti.platforms.evmTCI6638K2K package.  Now that
we've moved to XDC 3.25, we switch from the simulator platform
(ti.platforms.simKepler) to this official platform.

10 years agoTrace: Update ti.trace.SysMin to be compatible with XDC 3.25
Chris Ring [Tue, 12 Mar 2013 23:37:42 +0000 (16:37 -0700)]
Trace: Update ti.trace.SysMin to be compatible with XDC 3.25

XDC 3.25 includes device support we will need, as well as support for CCS 5.4,
a key development environment.  Unfortunately, there is a small compatibility
break between XDC 3.24 and 3.25 for the [rare] modules that implement
xdc.runtime.ISystemSupport.  Unfortunately, ti.trace.SysMin is susceptible to
this break, and requires a slight change.

Prior to this commit, we must use XDC 3.24.  After this commit, we must use
XDC 3.25.

10 years agoOMAP54XX_SMP: Added OMAP5 SMP Platform support to Linux build, removed OMAP4.
G Anthony [Tue, 12 Mar 2013 23:16:59 +0000 (16:16 -0700)]
OMAP54XX_SMP: Added OMAP5 SMP Platform support to Linux build, removed OMAP4.

This includes adding the OMAP5 SMP _MultiProc_cfg, and the platform
independent ping_rpmsg test.

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agoMessageQCopy: Fixed bug due a Semaphore_reset() in a MessageQCopy_send() loop.
G Anthony [Fri, 8 Mar 2013 01:16:07 +0000 (17:16 -0800)]
MessageQCopy: Fixed bug due a Semaphore_reset() in a MessageQCopy_send() loop.

This was introduced in the omapzoom sysbios-repo repo:

commit 2a8a0f5b67bfc06b4fdd4440d8b9e7df82a6ec36
Author: Fernando Guzman Lugo <fernando.lugo@ti.com>
Date:   Fri May 11 17:55:37 2012 -0500

    IPC: Wait for available buffers in MessageCopy_send

    If there are no buffers available for sending messages, wait until
    the host adds more buffers instead of failing.

    This is a short-term solution to resolve the issue with the new
    kernel in which the slave processor is ready even before the host
    has added the necessary remote processor transmit buffers, and
    tries to publish its services. A suitable long-term solution is
    needed to resolve this timing issue in a generic fashion.

This commit added a Semaphore_pend() loop if no send buffers were available to
send to the host.  The VirtQueue_getAvailBuf() call would set a flag
signalling the host to kick the slave on the next available buffer.

However, the Semaphore_reset() basically ensures the Semaphore_pend() will
pend indefinitely, in the case the host has already kicked the slave with
the primed send buffers before MessaegQCopy_send() is called.

Signed-off-by: G Anthony <a0783926@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
10 years agoping_tasks: Removed implicit MessageQCopy_finalize() definition warning.
G Anthony [Tue, 5 Mar 2013 00:14:31 +0000 (16:14 -0800)]
ping_tasks: Removed implicit MessageQCopy_finalize() definition warning.

Remove the function call, since the HLOS side doesn't really expect the
NS announcement to delete the service port for this sample.

Signed-off-by: G Anthony <a0783926@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
10 years agoIpuSmp.cfg: Removed CORE1 from the MultiProc_setConfig list for SMP OMAP5.
G Anthony [Mon, 4 Mar 2013 23:30:32 +0000 (15:30 -0800)]
IpuSmp.cfg: Removed CORE1 from the MultiProc_setConfig list for SMP OMAP5.

This, to simplify the logic of MessageQ stack on HLOS, which currently
iterates over a static table of MultiProc IDs.  The CORE1 slot was not
being used, which can cause problems for lower level drivers that support

Signed-off-by: G Anthony <a0783926@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
10 years agoBuild: Add autotools-generated makefiles and scripts
Chris Ring [Tue, 12 Mar 2013 23:23:11 +0000 (16:23 -0700)]
Build: Add autotools-generated makefiles and scripts

10 years agoMerge commit 'cff00' into 12_eng
Chris Ring [Tue, 12 Mar 2013 22:54:03 +0000 (15:54 -0700)]
Merge commit 'cff00' into 12_eng

10 years agoTest: Fix bug in dual_transports test cfg script
Chris Ring [Tue, 12 Mar 2013 19:41:40 +0000 (12:41 -0700)]
Test: Fix bug in dual_transports test cfg script

Fix a bug in assigning the NotifyDriver's InterruptProxy.

This was exposed when validating with a newer version of XDC, which
[thankfully!] added some extra parameter checking in XDC 3.25.

10 years agoLinux: Converted all SysLink references to Ipc
Arnie Reynoso [Fri, 8 Mar 2013 19:59:11 +0000 (11:59 -0800)]
Linux: Converted all SysLink references to Ipc

Remove SysLink_create/destroy and replaced them with Ipc_start/stop functions

Signed-off-by: Chris Ring <cring@ti.com>
10 years agoFixed filename comments in files
Arnie Reynoso [Fri, 8 Mar 2013 19:16:27 +0000 (11:16 -0800)]
Fixed filename comments in files

Signed-off-by: Chris Ring <cring@ti.com>
10 years agoTCI6638: Add support for ti.platforms.evmTCI6638K2K
Chris Ring [Fri, 8 Mar 2013 00:59:49 +0000 (16:59 -0800)]
TCI6638: Add support for ti.platforms.evmTCI6638K2K

XDC 3.25 includes support for the new TCI6638K2K EVM.  IPC 3 supported the
simulator for this device (ti.platforms.simKepler).  This commit adds
initial support for the new ti.platforms.evmTCI6638K2K EVM.

10 years agoProduct: Add missing files to package release phase
Chris Ring [Thu, 7 Mar 2013 01:25:25 +0000 (17:25 -0800)]
Product: Add missing files to package release phase

The ti.ipc.remoteproc, ti.ipc.rpmsg, ti.trace, and ti.ipc.family.omap54xx
packages fail to export all their files during the release phase of their
package build.  Add the missing files.

10 years agogrcm: package.bld cleanup and removal of unnecessary files
Chris Ring [Thu, 7 Mar 2013 00:30:02 +0000 (16:30 -0800)]
grcm: package.bld cleanup and removal of unnecessary files

ti.grcm was merged with unused files; remove those files.  Also give
package.bld some TLC.

10 years agoRemoteproc patches for OMAPL138 on Linux v3.8.0
Robert Tivy [Tue, 12 Mar 2013 21:27:06 +0000 (14:27 -0700)]
Remoteproc patches for OMAPL138 on Linux v3.8.0

10 years agoFixes to address MISRA complaints
Robert Tivy [Tue, 12 Mar 2013 17:59:01 +0000 (10:59 -0700)]
Fixes to address MISRA complaints

Removed #include <stdio.h>, per MISRA complaint, from ServiceMgr.c.

Added #include <RcmTypes.h> to RcmServer.h, to resolve USE_MESSAGEQCOPY
per MISRA complaint.

10 years agoNew MmRpc module and santiy test program.
Ramsey Harris [Tue, 12 Mar 2013 20:32:28 +0000 (13:32 -0700)]
New MmRpc module and santiy test program.

This module provides remote procedure call functionality similar
to the omaprpc module developed for the multimedia stack. Currently,
this module builds only for Linux user mode.

10 years agoResource: Fixed Resource.xdt to define OMAP5 for rsc_table_omap5_ipu.h.
Ramsey Harris [Mon, 11 Mar 2013 23:47:24 +0000 (16:47 -0700)]
Resource: Fixed Resource.xdt to define OMAP5 for rsc_table_omap5_ipu.h.

This was lost when moving omapzoom ti.resource to ti.ipc.remoteproc, and
resulted in an incorrect VRING address being used on Linux side.

This did not affect the QNX side.

10 years agoReverted GateSwi patch in MessageQCopy_send.
Ramsey Harris [Thu, 7 Mar 2013 20:08:15 +0000 (12:08 -0800)]
Reverted GateSwi patch in MessageQCopy_send.

The GateSwi patch moved the GateSwi_leave() call too far down
the function. This placed Semaphore_pend() inside the GateSwi
which is illegal.

10 years agoMerge remote-tracking branch 'ramsey/ready' into 11_eng
Chris Ring [Wed, 6 Mar 2013 00:24:37 +0000 (16:24 -0800)]
Merge remote-tracking branch 'ramsey/ready' into 11_eng


10 years agoFixed kepler build error.
Ramsey Harris [Tue, 5 Mar 2013 23:58:53 +0000 (15:58 -0800)]
Fixed kepler build error.

Custom build flow was making invalid assumption regarding
ti.sdo.ipc.Build participation. Cleaned up dependencies. Added
null makefile template to spoof the build (phase 7) when needed.

10 years agoMerge remote-tracking branch 'vincent/' into tmp
Chris Ring [Tue, 5 Mar 2013 23:48:40 +0000 (15:48 -0800)]
Merge remote-tracking branch 'vincent/' into tmp

10 years agoSrvMgr: Fix comment to be strict ansi-c compliant
Chris Ring [Tue, 5 Mar 2013 17:15:38 +0000 (09:15 -0800)]
SrvMgr: Fix comment to be strict ansi-c compliant

Strict ansi-c doesn't allow C++ style comments.

Identified by misra-related, static code checkers.

10 years agoMerge remote-tracking branch 'arnie/' into tmp
Chris Ring [Tue, 5 Mar 2013 23:45:15 +0000 (15:45 -0800)]
Merge remote-tracking branch 'arnie/' into tmp

10 years agoSMP: More SMP-related build cleanup
Chris Ring [Tue, 5 Mar 2013 23:32:59 +0000 (15:32 -0800)]
SMP: More SMP-related build cleanup

With a recent merge, more SMP-related build scripts were introduced that
required cleanup.

10 years agoMoved files from the ipc3x_dev branch in syslink_qnx repository into direct
VW [Tue, 5 Mar 2013 17:44:49 +0000 (09:44 -0800)]
Moved files from the ipc3x_dev branch in syslink_qnx repository into direct
ory qnx/src/ipc3x_dev

Reference point is https://gforge01.dal.design.ti.com/gf/project/syslink_qnx/scmgit/?p=syslink_qnx;a=shortlog;h=refs/heads/ipc3x_dev, commit id 0eafb4c5a0025248a745cf6c42a0e4e80c34d6b4

10 years agoMerge tag 'test_omx_omap5' into cleanup
Chris Ring [Tue, 5 Mar 2013 15:48:27 +0000 (07:48 -0800)]
Merge tag 'test_omx_omap5' into cleanup

test_omx sample built for OMAP5 SMP


10 years agoOMAP5: Remove BIOS-side SMP build flag
Chris Ring [Fri, 1 Mar 2013 21:30:14 +0000 (13:30 -0800)]
OMAP5: Remove BIOS-side SMP build flag

Always build both SMP and non-SMP libraries.  The intention is to build
all libraries during the package build step, and make getLibs() smart
enough to return the appropriate library depending on the application's
cfg script.

Also includes some minor build script cleanup in that package.

10 years agoOMAP5: Remove unnecessary ti.gates.hwspinlock pkg
Chris Ring [Fri, 1 Mar 2013 20:34:20 +0000 (12:34 -0800)]
OMAP5: Remove unnecessary ti.gates.hwspinlock pkg

When OMAP5 suppport was initially added, this ti.gates.hwspinlock package was
also introduced.  It is redundant with existing GateMP implementations, so
has been removed.

10 years agotest_omx: Pull in the test_omx sample from omapzomm sysbios-rpmsg repo.
G Anthony [Fri, 1 Mar 2013 18:24:29 +0000 (10:24 -0800)]
test_omx: Pull in the test_omx sample from omapzomm sysbios-rpmsg repo.

Configure and build for OMAP5 SMP only.

Pulled from omapzoom.org, sysbios-rpmsg, master branch, tag:

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agoSrvMgr: Pulled in ServiceMgr (and OmxSrvMgr) from omapzoom sysbios-rpmsg.
G Anthony [Fri, 1 Mar 2013 18:19:04 +0000 (10:19 -0800)]
SrvMgr: Pulled in ServiceMgr (and OmxSrvMgr) from omapzoom sysbios-rpmsg.

This is required by the test_omx sample for OMAP5.

Pulled from omapzoom.org, sysbios-rpmsg, master branch, tag:

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agogRCM: Pulled in gRCM from omapzoom sysbios-rpmsg wholsale.
G Anthony [Fri, 1 Mar 2013 18:08:53 +0000 (10:08 -0800)]
gRCM:  Pulled in gRCM from omapzoom sysbios-rpmsg wholsale.

This is required by the ServiceMgr and test_omx sample for OMAP5.

Pulled from omapzoom.org, sysbios-rpmsg, master branch, tag:

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agoOMAP5: Add OMAP5 support to ti.ipc.remoteproc, remove ti.resources
Chris Ring [Fri, 1 Mar 2013 05:21:26 +0000 (21:21 -0800)]
OMAP5: Add OMAP5 support to ti.ipc.remoteproc, remove ti.resources

Previously, ti.resources was moved to ti.ipc.remoteproc.  When OMAP5 was added,
it was using the older ti.resources pkg name.  This commit adds support for
OMAP5 to the updated ti.ipc.remoteproc pkg, and deletes the temporarily added
ti.resources pkg.

10 years agoBuild: Removed reference to ti.sdo.io package
Chris Ring [Fri, 1 Mar 2013 04:40:47 +0000 (20:40 -0800)]
Build: Removed reference to ti.sdo.io package

The ti.sdo.io package is removed in IPC 3.x, and this deletes a lingering
reference to that package.

10 years agoOMAP5 MessageQ: Got MessageQ stack over RPMSG to build for OMAP5 SMP only.
G Anthony [Fri, 1 Mar 2013 00:27:20 +0000 (16:27 -0800)]
OMAP5 MessageQ:  Got MessageQ stack over RPMSG to build for OMAP5 SMP only.

Re-enabled messageq_single and messageq_multi tests in ti/ipc/tests, and
update the config to switch off OMAP5 IPU platform and others.

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agoIpcMgr: Commented usage of various IPC startup functions.
G Anthony [Fri, 1 Mar 2013 00:25:52 +0000 (16:25 -0800)]
IpcMgr:  Commented usage of various IPC startup functions.

Three startup functions need to be configured for IPC apps using RPMSG.
These have been better documented.

Signed-off-by: G Anthony <a0783926@ti.com>
10 years agoBuild: Add generated .tar.gz files to .gitignore
Chris Ring [Thu, 28 Feb 2013 21:46:53 +0000 (13:46 -0800)]
Build: Add generated .tar.gz files to .gitignore

Now that the package 'release' goal is supported, .tar.gz files can be
generated.  This commit tells git to ignore those generated files.

10 years agoBuild: Fix ti.pm to support package release goal
Chris Ring [Thu, 28 Feb 2013 21:43:27 +0000 (13:43 -0800)]
Build: Fix ti.pm to support package release goal

The ti.pm package incorrectly uses the Program object in its package.xs
init() method, regardless of the 'phase' of the build.  The Program object
is only valid in the 'cfg' phase.  Now init() correctly checks that it's in
the 'cfg' phase before using the Program object.

10 years agoMerge remote-tracking branch 'gil/' into
Arnie Reynoso [Thu, 28 Feb 2013 20:05:36 +0000 (12:05 -0800)]
Merge remote-tracking branch 'gil/' into

10 years agoDisabled automake maintainer mode for Linux-side config to prevent unnecessary regen...
Arnie Reynoso [Thu, 28 Feb 2013 19:43:51 +0000 (11:43 -0800)]
Disabled automake maintainer mode for Linux-side config to prevent unnecessary regen of configure script requiring users to have autotools installed.

10 years agoUpdate linux autoconf build to cleanup the top-level directory
Arnie Reynoso [Thu, 28 Feb 2013 18:45:25 +0000 (10:45 -0800)]
Update linux autoconf build to cleanup the top-level directory
 - Auxiliary build files are in the linux sub-dir
 - Added TI copyright stamp to autoconf and automake source files