]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipc-examples.git/log
ipc/ipc-examples.git
6 years agoAM6x: ex11_ping: Update to use MMU 3.50.00.00_eng
Sam Nelson [Wed, 7 Mar 2018 16:09:59 +0000 (11:09 -0500)]
AM6x: ex11_ping: Update to use MMU

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
6 years agoAM6x: ex02_messageq: Updates to enable MMU on A53 and R5F
Sam Nelson [Wed, 7 Mar 2018 16:09:18 +0000 (11:09 -0500)]
AM6x: ex02_messageq: Updates to enable MMU on A53 and R5F

Changes also include
- Remove usage of config.bld
- Minor update to memory map

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
6 years agoex11_ping: Fix build issues for ex11_ping
Sam Nelson [Fri, 22 Dec 2017 20:43:22 +0000 (15:43 -0500)]
ex11_ping: Fix build issues for ex11_ping

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
6 years agoex02_messageq: Update to fix issues with Config file
Sam Nelson [Fri, 22 Dec 2017 20:42:51 +0000 (15:42 -0500)]
ex02_messageq: Update to fix issues with Config file

- Disable GateHWspinlock override
- Update Timer settings with something working

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
6 years agoex02_messageq: Fix build issues
Sam Nelson [Fri, 22 Dec 2017 20:25:53 +0000 (15:25 -0500)]
ex02_messageq: Fix build issues

Remove repetition of R5FLink.cmd

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
6 years agoex02_messageq: Limit code and data to MSMC
Sam Nelson [Fri, 22 Dec 2017 20:24:46 +0000 (15:24 -0500)]
ex02_messageq: Limit code and data to MSMC

Also fix issues with memory map

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
6 years agoex02_messageq: Update to 32 bit address
Sam Nelson [Fri, 22 Dec 2017 20:23:39 +0000 (15:23 -0500)]
ex02_messageq: Update to 32 bit address

Testing with VLAB is only with 32 bit addresses.
Limiting to 32 bit addressing for now.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
6 years agoex11_ping: Update memory map handling
Sam Nelson [Wed, 25 Oct 2017 19:34:14 +0000 (15:34 -0400)]
ex11_ping: Update memory map handling

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
6 years agoex02_messageq: Update to memory map
Sam Nelson [Wed, 25 Oct 2017 19:33:32 +0000 (15:33 -0400)]
ex02_messageq: Update to memory map

The memory map is updated with properly partitioned addresses
SR0 handling is moved to Linker.cmd of each core separately
Linux build issues fixed

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
6 years agoAM6X: Add messageq and ping examples for AM6X
Sam Nelson [Thu, 12 Oct 2017 16:14:44 +0000 (12:14 -0400)]
AM6X: Add messageq and ping examples for AM6X

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
6 years agomakefile: Update to allow independent compilation of examples
Sam Nelson [Thu, 12 Oct 2017 16:12:52 +0000 (12:12 -0400)]
makefile: Update to allow independent compilation of examples

Intention is to allow parallelization of the build and hence reduce
build time

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
6 years agoAdd back building of TDA3XX examples 3.46.02.04 3.46.02.04_eng
Angela Stegmaier [Wed, 12 Jul 2017 15:10:20 +0000 (10:10 -0500)]
Add back building of TDA3XX examples

Commit bc51211e accidentally removed building of TDA3XX examples.
This commit adds it back.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
7 years agoexamples: Update makefile with dummy target 3.45.00.00 3.46.01.03
Sam Nelson [Fri, 3 Feb 2017 18:23:37 +0000 (13:23 -0500)]
examples: Update makefile with dummy target

In case PLATFORM is set to be UNKNOWN or with no example,nothing need to
be built.
Defining release target by default avoid failure in these cases.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexample: makefile : ex01 hello: Correct install_rov path 3.44.01.01 3.45.00.00_eng
Sam Nelson [Tue, 13 Dec 2016 16:24:08 +0000 (11:24 -0500)]
example: makefile : ex01 hello: Correct install_rov path

Install rov path was getting into top level path instead of ex01_hello
directory.
Corrected with this patch

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agomakefile: Cleanup compiler flags
Sam Nelson [Tue, 13 Dec 2016 15:43:20 +0000 (10:43 -0500)]
makefile: Cleanup compiler flags

cleanly separate compiler command and flags

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexamples: makefile: Update definitions for building using sysroot dir
Sam Nelson [Tue, 13 Dec 2016 15:41:40 +0000 (10:41 -0500)]
examples: makefile: Update definitions for building using sysroot dir

Compiler definitions and flags set to build with linux sysroot directory
where depenant components are installed.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexamples: Fix issue with ARFLAGs 3.44.00.00C
Sam Nelson [Mon, 28 Nov 2016 22:01:16 +0000 (17:01 -0500)]
examples: Fix issue with ARFLAGs

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexamples: ex13_notifypeer: Add release part to be built as well
Sam Nelson [Mon, 28 Nov 2016 18:54:45 +0000 (13:54 -0500)]
examples: ex13_notifypeer: Add release part to be built as well

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexample: Add install_rov target
Sam Nelson [Mon, 28 Nov 2016 16:29:54 +0000 (11:29 -0500)]
example: Add install_rov target

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexample: Remove debug code
Sam Nelson [Mon, 28 Nov 2016 16:29:32 +0000 (11:29 -0500)]
example: Remove debug code

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexamples: ex13_notifypeer: Fix issue with directory name
Sam Nelson [Mon, 28 Nov 2016 16:22:51 +0000 (11:22 -0500)]
examples: ex13_notifypeer: Fix issue with directory name

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexample: Update makefile to create examples only for platform 3.44.00.00B
Sam Nelson [Wed, 23 Nov 2016 03:15:39 +0000 (22:15 -0500)]
example: Update makefile to create examples only for platform

Updated  duplicate PLATFORM usage by adding new variable
PLATFORM_DIR_NAME

Remove deprecated platforms

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexamples: Update to install rov files
Sam Nelson [Tue, 22 Nov 2016 22:01:22 +0000 (17:01 -0500)]
examples: Update to install rov files

Added new target to install rov files. These files are used for test
automation.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agomakefile: Update to remove restriction on parallel build
Sam Nelson [Tue, 22 Nov 2016 21:59:40 +0000 (16:59 -0500)]
makefile: Update to remove restriction on parallel build

Specifying j=1 restricted it to single thread on build.
Removing restriction to allow improvement in build time.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexamples: Update to help build IPC examples in linux build environments
Sam Nelson [Tue, 22 Nov 2016 21:56:14 +0000 (16:56 -0500)]
examples: Update to help build IPC examples in linux build environments

For the Linux build environment like Yocto here are the main changes
needed for a successful build.
a) The macros for the compilation tools are already defined, so local
defines need to be removed.
b) IPC libraries are located in the SYSROOT directory ( instead of
IPC_INSTALL_DIR. To allow compatiblity with building the IPC package, a
new variable LINUX_SYSROOT_DIR is introduced to build in the linux
environment.
c) Added "install" target for some of the missing examples

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexample_makefile: Add compilation of release mode
Sam Nelson [Wed, 16 Nov 2016 18:59:44 +0000 (13:59 -0500)]
example_makefile: Add compilation of release mode

- This helps test the release configuration of IPC as well.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexample_makefile: Add back compilation of release mode 3.44.00.00A
Sam Nelson [Mon, 7 Nov 2016 17:05:10 +0000 (12:05 -0500)]
example_makefile: Add back compilation of release mode

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexamples_makefile: Add -pthread to compiler flags
Sam Nelson [Sat, 5 Nov 2016 16:34:59 +0000 (12:34 -0400)]
examples_makefile: Add -pthread to compiler flags

The build which require pthread needs to have "-pthread" to avoid
compilation errors with new version of compilers

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexample_makefile: Update gcc runtime library location
Sam Nelson [Sat, 5 Nov 2016 16:15:03 +0000 (12:15 -0400)]
example_makefile: Update gcc runtime library location

reentrant runtime libraries now distributed with BIOS package starting
with BIOS version 6.40

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoreadme: Update to the same proclist in makefile 3.44.00.00
Sam Nelson [Fri, 28 Oct 2016 17:01:28 +0000 (13:01 -0400)]
readme: Update to the same proclist in makefile

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agomakefile: Add copyright
Sam Nelson [Fri, 28 Oct 2016 17:00:53 +0000 (13:00 -0400)]
makefile: Add copyright

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agomakefile: Update to make install work 3.43.02.04 3.43.03.05
Sam Nelson [Tue, 13 Sep 2016 17:45:28 +0000 (13:45 -0400)]
makefile: Update to make install work

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoex02_messageq: Update to include dsp2 in default proc list for DRA7
Sam Nelson [Wed, 10 Aug 2016 18:53:30 +0000 (14:53 -0400)]
ex02_messageq: Update to include dsp2 in default proc list for DRA7

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoex11_ping: Update to remove eve processors from default Proc list
Sam Nelson [Wed, 20 Jul 2016 19:23:59 +0000 (15:23 -0400)]
ex11_ping: Update to remove eve processors from default Proc list

- The examples here are maintained still as a super set for all DRA7XX
family processors
-With this commit the EVE cores are taken out from the proc list by
default to avoid issues with build for platforms where EVE cores are not
available.
- Platforms needing EVE cores can manually enable it by editing the
PROCLIST

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoexample: Update makefile to remove "tr" usage 3.43.01.03
Sam Nelson [Mon, 27 Jun 2016 23:30:14 +0000 (19:30 -0400)]
example: Update makefile to remove "tr" usage

-tr usage causes issue when building with windows host

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoex02_messageq-Added SMP for K2 3.43.01.02
John Godbey [Fri, 10 Jun 2016 14:17:45 +0000 (10:17 -0400)]
ex02_messageq-Added SMP for K2

Fixed the config file for K2 and re-added it.

Signed-off-by: John Godbey <j-godbey@ti.com>
7 years agoex02_messageq-Remove SMP for K2 3.43.00.01
John Godbey [Fri, 27 May 2016 21:42:59 +0000 (17:42 -0400)]
ex02_messageq-Remove SMP for K2

SMP on K2 does not work and needs to be removed until patched.

Signed-off-by: John Godbey <j-godbey@ti.com>
7 years agoexamples: Update example products.mak and readme.txt
Sam Nelson [Wed, 25 May 2016 19:22:32 +0000 (15:22 -0400)]
examples: Update example products.mak and readme.txt

Updated the product to use products.mak in the top level ipc directory.
This change allows the example to be installed in the platform specific
directory itself. ( instead of in the example directory)
This doesnot affect compiling the examples from an independent directory

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoex68_power: Remove usage of INTMEM
Angela Stegmaier [Thu, 19 May 2016 20:27:43 +0000 (15:27 -0500)]
ex68_power: Remove usage of INTMEM

Starting in Linux k4.x the INTMEM type for the resource table
is removed. Internal memory section definition and loading
is handled entirely in the kernel now.

This patch updates the examples to remove usage of the INTMEM
type.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
7 years agoex02_messageq-Enable SMP for A15
John Godbey [Wed, 18 May 2016 12:20:21 +0000 (08:20 -0400)]
ex02_messageq-Enable SMP for A15

The host running on ARM A15 cores supports SMP.  These
changes enable BIOS SMP for DRA7XX and the Keystone family,
excluding K2G which only has a single A15 core.

Signed-off-by: John Godbey <j-godbey@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
7 years agoex02_messageq: Fixed MultiProc config for Linux
John Godbey [Thu, 28 Apr 2016 15:52:28 +0000 (11:52 -0400)]
ex02_messageq: Fixed MultiProc config for Linux

The template for the Linux MessageQ example was not
set to include cores 1-7 on platforms that supported
them.  K2H and K2L had their config files expanded
to include all of the cores in their makefile proclist.

Signed-off-by: John Godbey <j-godbey@ti.com>
7 years agoInitialize transport factory before parsing args
John Godbey [Tue, 26 Apr 2016 19:35:21 +0000 (15:35 -0400)]
Initialize transport factory before parsing args

The transport factory must be initialized before parsing arguments
when using the "-l" option.

Signed-off-by: John Godbey <j-godbey@ti.com>
7 years agomakefile: Update to build only OS specific examples
Sam Nelson [Fri, 22 Apr 2016 16:29:50 +0000 (12:29 -0400)]
makefile: Update to build only OS specific examples

Without this fix all examples were built. This change allows to build
only Bios or Linux examples alone

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
8 years agoex02: Update messageq example with updated non-cached area configuration 3.42.01.03
Sam Nelson [Wed, 9 Mar 2016 21:49:52 +0000 (16:49 -0500)]
ex02: Update messageq example with updated non-cached area configuration

In keystone, with the latest design in remoteproc driver, the vring
location and buffers are allocated from the dsp_common_cma_pool.
The dsp common pool is expected to be allocated from the memory
used by the linux kernel.
The example is changed to make the entire linux memory uncacheable
to keep it generic.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
8 years agomessageq: k2e linux: Move code to external memory 3.42.00.02
Sam Nelson [Thu, 25 Feb 2016 12:59:14 +0000 (07:59 -0500)]
messageq: k2e linux: Move code to external memory

- Does not fit within smaller L2 RAM in K2E compared to other K2 devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
8 years agoexample: Add DSP directories for linux build as well
Sam Nelson [Thu, 25 Feb 2016 10:18:13 +0000 (05:18 -0500)]
example: Add DSP directories for linux build as well

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
8 years agomakefile: Update to fix issues with extract
Sam Nelson [Wed, 24 Feb 2016 15:56:46 +0000 (10:56 -0500)]
makefile: Update to fix issues with extract

- Remove debug code

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
8 years agoipc_examples: Add templates and scripts to create IPC examples 3.42.00.01_eng
Sam Nelson [Thu, 21 Jan 2016 04:37:33 +0000 (23:37 -0500)]
ipc_examples: Add templates and scripts to create IPC examples

Includes example templates and makefile to create the examples for
different platforms

Signed-off-by: Sam Nelson <sam.nelson@ti.com>