Linux: Comment cleanup
Remove redundant commentary from source files, some SysLink name
removal, other very minor comment-only cleanup.
Remove redundant commentary from source files, some SysLink name
removal, other very minor comment-only cleanup.
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.
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.
Moved mailbox base virtual addresses to 0x60000000 block.
Must build .dlls in order to get all libraries.
Update Mailbox usage, Add support for NON-SMP BIOS
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.
This is a poor-man's cherry-pick of
b0b90ee18c62dc1d10a4f7e746eb6c5205bc3b71
from the IPC 1.25 (ipc-i) stream.
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.
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Merge remote-tracking branch 'ramsey/dev-3.00' into 15_eng
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.
Require KENREL_INSTALL_DIR to be set only for omap54xx_smp builds.
Other supported platforms will not build mmrpc library and test applications.
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.
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.
Build: Restructure SrvMgr build scripts
Rework some package.bld scripts into more traditional for() loops,
building all targets, all profiles. No functional changes.
Rework some package.bld scripts into more traditional for() loops,
building all targets, all profiles. No functional changes.
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.
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.
Added meta-only modules to handle package dependencies.
Increased stack size of service manager task.
Replaced deprecated xdc.includeFile() with xdc.loadCapsule().
Added missing package dependencies.
Add smp build profile only for ti.ipc.* packages.
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.
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.
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.
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.
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.
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.
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.
OMAP4 is not currently supported, and OMAP5 only supports SMP-BIOS. Remove
dead code to improve readability.
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).
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).
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).
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).
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).
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).
Removed RPPC definitions which are now exported in rpmsg_rpc.h
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>
Updated to call RPMessage API, as this was renamed from MessageQCopy.
Signed-off-by: G Anthony <a0783926@ti.com>
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>
Commented out Diags settings in cfg file to eliminate chatter.
Signed-off-by: G Anthony <a0783926@ti.com>
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>
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>
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>
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>
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>
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>
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>
Uses GateAll, since protection is needed between Swis and Threads.
Signed-off-by: G Anthony <a0783926@ti.com>
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>
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>
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>
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>
Added missing files to package release (using Pkg.otherFiles).
Merge remote-tracking branch 'vincent-ext/3.00.00.14_eng' into 14_eng
Updated autoreconf generated files; Makefile.in, configure.
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.
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.
Fixed 'make install' goal of ipc-qnx.mak for Windows to find recurse.mk
Updated USE files for QNX tests
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.
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.
Merge remote-tracking branch 'angela/13_eng_dev-ramsey-3.00.a' into dev-3.00
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>
Update the rpmsg-rpc-stress.use file to show the new
function index parameter "f".
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
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>
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>
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>
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>
Update OMAP5 and SharedMemAllocator carveouts
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>
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>
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>
Add some file types to .gitignore so that generated files
are ignored.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Install test binaries to bin/tests
Do not automatically install tests when doing a 'make all' in QNX
Added make install goal for QNX
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.
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.
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.
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.
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>
Created a new sample "rpmsg-rpc-stress" to use to
test the rpmsg-rpc interface.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
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>
This new module provides a more generic interface
for using rpmsg.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
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>
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>
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>
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>
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>
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>
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>
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>
Fixed build error after rebasing on top of ipcdev-2.00.00.13_eng.
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.
The MmRpc module is now functional for remote function calls using
atomic parameters. Updated mmrpc_test to invoke fxnTriple and fxnAdd
remote functions.
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.
Merged in Suman's changes. Fixed build errors. Added open/close
calls to MmRpc.c. Minor fix up for check-in.
Added 'libs' goal to build just libraries.
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>
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>
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>
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>
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>
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>
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>
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>
Merge remote-tracking branch 'vincent-ext/3.00.00.13_eng' into 12_eng
Renamed log module into IpcLog to reduce chances of name collision
Cleanup: Removed commented out code and unused variable
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.
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>
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>
Added QNX client-side libraries and inserted functionality from Linux daemon into the resource manager.
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.
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.
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().
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().
OMAP5: trivial comment fix
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.
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.
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.
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.
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>
This includes adding the OMAP5 SMP _MultiProc_cfg, and the platform
independent ping_rpmsg test.
Signed-off-by: G Anthony <a0783926@ti.com>
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>
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>
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>
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>
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
MessageQ_attach(CORE1,....).
Signed-off-by: G Anthony <a0783926@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
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
MessageQ_attach(CORE1,....).
Signed-off-by: G Anthony <a0783926@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
Build: Add autotools-generated makefiles and scripts
Merge commit 'cff00' into 12_eng
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.
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.
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>
Remove SysLink_create/destroy and replaced them with Ipc_start/stop functions
Signed-off-by: Chris Ring <cring@ti.com>
Fixed filename comments in files
Signed-off-by: Chris Ring <cring@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
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.
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.
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.
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.
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.
ti.grcm was merged with unused files; remove those files. Also give
package.bld some TLC.
Remoteproc patches for OMAPL138 on Linux v3.8.0
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.
Removed #include <stdio.h>, per MISRA complaint, from ServiceMgr.c.
Added #include <RcmTypes.h> to RcmServer.h, to resolve USE_MESSAGEQCOPY
per MISRA complaint.
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.
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.
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.
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.
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.
The GateSwi patch moved the GateSwi_leave() call too far down
the function. This placed Semaphore_pend() inside the GateSwi
which is illegal.
Merge remote-tracking branch 'ramsey/ready' into 11_eng
Conflicts:
packages/ti/sdo/utils/Build.xs
Conflicts:
packages/ti/sdo/utils/Build.xs