]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/open-amp.git/log
processor-sdk/open-amp.git
8 years agozynqmp: drivers use platform_isr instead of hil_isr
Sam Sortais [Mon, 29 Feb 2016 05:37:45 +0000 (21:37 -0800)]
zynqmp: drivers use platform_isr instead of hil_isr

Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
8 years agozynqmp: replace logical-AND by bit-AND with ipi_chn_mask
Sam Sortais [Mon, 29 Feb 2016 05:19:17 +0000 (21:19 -0800)]
zynqmp: replace logical-AND by bit-AND with ipi_chn_mask

Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
8 years agoAvoid using zero length arrays in sh_mem_pool structure
Michal Princ (NXA17570) [Tue, 23 Feb 2016 08:12:26 +0000 (09:12 +0100)]
Avoid using zero length arrays in sh_mem_pool structure

- unsigned long bitmap[0] removed from sh_mem_pool structure

Signed-off-by: Michal Princ (NXA17570) <michal.princ@nxp.com>
8 years agoFix the way the create endpoint function returns the address number when RPMSG_ADDR_A...
Michal Princ (NXA17570) [Thu, 18 Feb 2016 07:12:08 +0000 (08:12 +0100)]
Fix the way the create endpoint function returns the address number when RPMSG_ADDR_ANY is passed the parameter

This bug has been revealed when performing following steps:
1. create one endpoint with address RPMSG_ADDR_ANY.
2. get the address of that endpoint after it is created successfully.
3. use that address to create another endpoint.
It should not create the second endpoint with address of the first endpoint but somehow both endpoints were created successfully.

Restrict the endpoint address - zero address can't be assigned (due to the conflict in Linux world)

Signed-off-by: Michal Princ (NXA17570) <michal.princ@nxp.com>
8 years agoAvoid using zero length arrays in rpmsg_hdr struct
Michal Princ (NXA17570) [Wed, 17 Feb 2016 09:47:38 +0000 (10:47 +0100)]
Avoid using zero length arrays in rpmsg_hdr struct

- unsigned char data[1] removed from rpmsg_hdr structure

Signed-off-by: Michal Princ (NXA17570) <michal.princ@nxp.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoremoteproc: zynqmp to a53: always enable IPI intr
Wendy Liang [Wed, 10 Feb 2016 07:38:15 +0000 (23:38 -0800)]
remoteproc: zynqmp to a53: always enable IPI intr

Need to always unmask IPI interrupt since the IPI interrupt
can be initailly masked.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoAvoid memory leak in rpmsg_init()
Michal Princ (NXA17570) [Thu, 11 Feb 2016 10:00:29 +0000 (11:00 +0100)]
Avoid memory leak in rpmsg_init()

rpmsg_deinit() did not delete proc instance initialized during the rpmsg_rdev_init()

8 years agoSwitch params for sh_mem_free_buffer call
Marian Cingel (B37642) [Wed, 9 Sep 2015 17:01:13 +0000 (19:01 +0200)]
Switch params for sh_mem_free_buffer call

This is the bugfix of the wrong param order for sh_mem_free_buffer call

8 years agoAdd rpc_demo README
Wendy Liang [Sat, 2 Jan 2016 06:35:49 +0000 (22:35 -0800)]
Add rpc_demo README

Add description on how to use the rpc_demo.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoAdd matrix_multiply README
Wendy Liang [Sat, 2 Jan 2016 06:17:15 +0000 (22:17 -0800)]
Add matrix_multiply README

Provide description on how to use the matrix_multiply demo.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoAdd echo_test demo README.
Wendy Liang [Sat, 2 Jan 2016 06:03:43 +0000 (22:03 -0800)]
Add echo_test demo README.

Provide a description on how to use the echo_test demo.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRemove obsolete getting started guide
Wendy Liang [Sat, 2 Jan 2016 05:30:41 +0000 (21:30 -0800)]
Remove obsolete getting started guide

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoUpdate README for the OpenAMP
Wendy Liang [Fri, 1 Jan 2016 07:44:53 +0000 (23:44 -0800)]
Update README for the OpenAMP

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRemove Makefile
Wendy Liang [Mon, 11 Jan 2016 09:13:14 +0000 (01:13 -0800)]
Remove Makefile

Since the compilation has been moved to use CMake, remove
Makefiles

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoUse CMake for compilation
Wendy Liang [Mon, 11 Jan 2016 09:09:35 +0000 (01:09 -0800)]
Use CMake for compilation

using cmake is in order to make OpenAMP compilation
easier to cross OSes and compilers

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agozynqmp_r5: remove IPI handler
Wendy Liang [Tue, 2 Feb 2016 06:51:12 +0000 (22:51 -0800)]
zynqmp_r5: remove IPI handler

It is not necessary to have IPI handler.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agozynqmp_r5: rename machine.c to machine_system.c
Wendy Liang [Mon, 1 Feb 2016 22:08:17 +0000 (14:08 -0800)]
zynqmp_r5: rename machine.c to machine_system.c

rename lib/system/generic/machine/zynqmp_r5/machine.c to
lib/system/generic/machine/zynqmp_r5/machine_system.c

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoUpdate for splited system/machine implementation
Wendy Liang [Mon, 1 Feb 2016 21:58:01 +0000 (13:58 -0800)]
Update for splited system/machine implementation

Adjust the lib/Makefile and the apps demos for the updated
system/machine implementation.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoSplit zynqmp_r5 machine.c
Wendy Liang [Mon, 1 Feb 2016 21:52:13 +0000 (13:52 -0800)]
Split zynqmp_r5 machine.c

zynqmp_r5 machine.c includes OpenAMP and non-OpenAMP but baremetal specific application helper functions.
This patch split it into:
* lib/system/generic/machine/zynqmp_r5/machin_system.c for OpenAMP zynqmp_r5 generic implementation
* apps/system/generic/machine/zynqmp_r5/helper.c for zynqmp_r5 baremetal app helper functions.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agozynq7: split the machine.c/.h
Wendy Liang [Mon, 1 Feb 2016 19:17:10 +0000 (11:17 -0800)]
zynq7: split the machine.c/.h

The old machine.c/.h has included the basic baremetal functions which doesn't belong to OpenAMP lib itself.
it is split into:
* obsolete: which provides the generic Zynq baremetal functions, which will be replaced with Xilinx standalone lib in future
* lib/system/generic/machine/zynq7/machine_system.c, OpenAMP implementation for Zynq7 generic
* apps/system/generic/machine/zynq7/helper.c, helper function for demo apps.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove remoteproc drv from system/machaine to remoteproc
Wendy Liang [Sun, 31 Jan 2016 06:57:48 +0000 (22:57 -0800)]
Move remoteproc drv from system/machaine to remoteproc

Move the remoteproc drivers from system/machine directory
to remoteproce/drivers directory.

Different machines can enable the same remoteproc drivers.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRemove *.a from ignore
Wendy Liang [Mon, 11 Jan 2016 09:04:27 +0000 (01:04 -0800)]
Remove *.a from ignore

Since there is *.a in the repository, remove *.a from ignore.
It will be removed in future.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRemove obsolete open_amp_build.sh
Wendy Liang [Mon, 11 Jan 2016 07:47:17 +0000 (23:47 -0800)]
Remove obsolete open_amp_build.sh

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoapps:generic:zynq7:correct common app source files
Wendy Liang [Mon, 11 Jan 2016 07:28:36 +0000 (23:28 -0800)]
apps:generic:zynq7:correct common app source files

Set the right common source files for zynq7 generic
non remoteproc master application.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agozynqmp_r5:remoteproc:fix compilation warning
Wendy Liang [Mon, 11 Jan 2016 01:41:12 +0000 (17:41 -0800)]
zynqmp_r5:remoteproc:fix compilation warning

Since the intr vector ID is unsinged int, when trying to
compare it against 0 to see if it is less than 0, it post
compilation warning.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agozynqmp-r5:remoteproc:solve unused variable warning
Wendy Liang [Mon, 11 Jan 2016 01:37:25 +0000 (17:37 -0800)]
zynqmp-r5:remoteproc:solve unused variable warning

There are functions in the remoteproc driver not using
all the arguments because those functions need to meet
the function type in order to be used as function
variables.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove Linux userspace/kernelspace demo to obsolete
Wendy Liang [Mon, 11 Jan 2016 01:16:57 +0000 (17:16 -0800)]
Move Linux userspace/kernelspace demo to obsolete

The Linux userspace and kernelspace demo applications are not
built with OpenAMP library, move them to obsolete directory.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoapps:func_test_suite:generic:zynq7:remoteproc master
Wendy Liang [Mon, 11 Jan 2016 01:01:59 +0000 (17:01 -0800)]
apps:func_test_suite:generic:zynq7:remoteproc master

Add remoteproc master support for zynq7 generic app.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoapps: don't compile rpc_demo for remoteproc master
Wendy Liang [Mon, 11 Jan 2016 00:56:07 +0000 (16:56 -0800)]
apps: don't compile rpc_demo for remoteproc master

RPC demo application doesn't support remoteproc master.
Don't compile the demo if remoteproc master is selected.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoapps:matrix multiply:zynq7: remoteproc master
Wendy Liang [Mon, 11 Jan 2016 00:54:20 +0000 (16:54 -0800)]
apps:matrix multiply:zynq7: remoteproc master

Add zynq7 generic remoteproc master support for matrix multiply

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoapps:echo_test:zynq7: generic remoteproc master
Wendy Liang [Mon, 11 Jan 2016 00:31:59 +0000 (16:31 -0800)]
apps:echo_test:zynq7: generic remoteproc master

Add remoteproc master support to zynq7 generic echo_test.

8 years agoapps:generic:zynq7: add remotproc master support
Wendy Liang [Mon, 11 Jan 2016 00:31:25 +0000 (16:31 -0800)]
apps:generic:zynq7: add remotproc master support

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoAdd linux_firmware sample app for zynq7
Wendy Liang [Mon, 11 Jan 2016 00:24:52 +0000 (16:24 -0800)]
Add linux_firmware sample app for zynq7

Add linux_firmware sample application for zynq7 remoteproc
master.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRemove unused directory apps/firmware
Wendy Liang [Sat, 9 Jan 2016 07:23:08 +0000 (23:23 -0800)]
Remove unused directory apps/firmware

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoapps:generic:zynq7: Add ACRH_CFLAGS to CFLAGS
Wendy Liang [Sat, 9 Jan 2016 02:12:53 +0000 (18:12 -0800)]
apps:generic:zynq7: Add ACRH_CFLAGS to CFLAGS

include ARCH CFLAGS into CFLAGS

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agogeneric: zynqmp_r5: allow extern generic headers
Wendy Liang [Sat, 9 Jan 2016 01:10:17 +0000 (17:10 -0800)]
generic: zynqmp_r5: allow extern generic headers

Allow user to use extern generic headers instead of
those in the obsolete/ directory.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoapps:generic:zynqmp_r5: Add Makefile.include
Wendy Liang [Sat, 9 Jan 2016 01:06:11 +0000 (17:06 -0800)]
apps:generic:zynqmp_r5: Add Makefile.include

Add zynqmp_r5 generic Makefile.include for common
compilation settings for zynqmp_r5 generic applications.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agogeneric:zynqmp_r5:remoteproc: include machine.h
Wendy Liang [Sat, 9 Jan 2016 01:04:02 +0000 (17:04 -0800)]
generic:zynqmp_r5:remoteproc: include machine.h

Includes machine.h for the machine specific functions.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRestruct obsolete directory
Wendy Liang [Sat, 9 Jan 2016 00:25:32 +0000 (16:25 -0800)]
Restruct obsolete directory

Restruct obsolete directory to make it
obsolete/system/<SYSTEM>/machine/<MACHINE>/

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove func_test_suite to directly under apps/
Wendy Liang [Fri, 8 Jan 2016 23:09:19 +0000 (15:09 -0800)]
Move func_test_suite to directly under apps/

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove rpc_demo to directly under apps/
Wendy Liang [Fri, 8 Jan 2016 22:57:30 +0000 (14:57 -0800)]
Move rpc_demo to directly under apps/

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove matrix_multiply/ to directly under apps/
Wendy Liang [Fri, 8 Jan 2016 22:21:37 +0000 (14:21 -0800)]
Move matrix_multiply/ to directly under apps/

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove echo_test directly under apps/
Wendy Liang [Fri, 8 Jan 2016 21:49:51 +0000 (13:49 -0800)]
Move echo_test directly under apps/

It is not necessary to have other directories between
echo_test/ and apps/, move it under apps/

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoapps: Update Makefile
Wendy Liang [Fri, 8 Jan 2016 21:56:55 +0000 (13:56 -0800)]
apps: Update Makefile

Update apps' Makefile for the changes to move
applicaitons directly under apps/ directory.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoAdd zynq7 apps common Makefile.include
Wendy Liang [Fri, 8 Jan 2016 21:55:12 +0000 (13:55 -0800)]
Add zynq7 apps common Makefile.include

Introduce common zynq7 apps' Makefile.include
for compilation settings to build zynq7 applications.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agofix warning of redefining __section
Wendy Liang [Fri, 8 Jan 2016 21:51:17 +0000 (13:51 -0800)]
fix warning of redefining __section

In the resource table, it redefine __section to allow
tokens in the input arguments. However, using the
same name will generate compilation warnning.
Rename the redefined __section.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove apps/common/system to apps/system
Wendy Liang [Thu, 7 Jan 2016 23:57:33 +0000 (15:57 -0800)]
Move apps/common/system to apps/system

Additional common/ directory is not nessary.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove the resource tables to common
Wendy Liang [Thu, 7 Jan 2016 21:06:22 +0000 (13:06 -0800)]
Move the resource tables to common

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoremove MASTER macro
Wendy Liang [Thu, 7 Jan 2016 19:49:23 +0000 (11:49 -0800)]
remove MASTER macro

Macro MAMSTER is not used, remove it.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoAdd REMOTERPROC_MASTER
Wendy Liang [Thu, 7 Jan 2016 19:47:45 +0000 (11:47 -0800)]
Add REMOTERPROC_MASTER

Use REMOTEPROC_MASTER to define if the applicaiton is
remoteproc master

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRemove OPENAMP_BAREMETAL
Wendy Liang [Thu, 7 Jan 2016 19:39:24 +0000 (11:39 -0800)]
Remove OPENAMP_BAREMETAL

bm_env.c will be picked when the system is set to generic.
It is not required to set OPENAMP_BAREMETAL macro anymore.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoUse lib/ for source files for OpenAMP library
Wendy Liang [Fri, 8 Jan 2016 04:10:12 +0000 (20:10 -0800)]
Use lib/ for source files for OpenAMP library

Move OpenAMP source files into lib/ directory.

Porting/ is not necessary, move porting/system/ to system/

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove porting/system/ to system/
Wendy Liang [Fri, 8 Jan 2016 02:15:37 +0000 (18:15 -0800)]
Move porting/system/ to system/

extra porting/ directory is not required.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove libs/ to obsolete/
Wendy Liang [Thu, 7 Jan 2016 18:12:56 +0000 (10:12 -0800)]
Move libs/ to obsolete/

The libs/ directory is used to build extra required libs maybe
required by applications.
They are not part of the OpenAMP lib. Move them to obsolete.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRemove unused zynq7 Makefiles
Wendy Liang [Thu, 7 Jan 2016 18:11:57 +0000 (10:11 -0800)]
Remove unused zynq7 Makefiles

Remove unused zynq7 Makefiles in the buildling extra libs directory.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoleave xil_standalone_lib only in the zynqmp_r5 extra libs dir
Wendy Liang [Thu, 7 Jan 2016 18:04:35 +0000 (10:04 -0800)]
leave xil_standalone_lib only in the zynqmp_r5 extra libs dir

Leave xil_standalone_lib only in the zymqmp_r5 extra libs
directory.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove files in common/*/ directly under common/
Wendy Liang [Thu, 7 Jan 2016 06:16:17 +0000 (22:16 -0800)]
Move files in common/*/ directly under common/

Move files in the subdirectories under common/ directly under
common/

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove linker scripts to apps/
Wendy Liang [Thu, 7 Jan 2016 02:02:57 +0000 (18:02 -0800)]
Move linker scripts to apps/

Move the example linker scripts to apps/ directory

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRename baremetal to generic
Wendy Liang [Thu, 7 Jan 2016 01:37:01 +0000 (17:37 -0800)]
Rename baremetal to generic

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMerge platform.h and baremetal.h
Wendy Liang [Thu, 7 Jan 2016 01:04:37 +0000 (17:04 -0800)]
Merge platform.h and baremetal.h

Merge platform and baremeta.h into machine.h

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRemove including platform.h from platform_info.c
Wendy Liang [Thu, 7 Jan 2016 00:39:08 +0000 (16:39 -0800)]
Remove including platform.h from platform_info.c

It is not required to include the platform.h in the
platform_info.c file.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMakefile.commons:Set default OpenAMP home dir
Wendy Liang [Thu, 7 Jan 2016 07:34:28 +0000 (23:34 -0800)]
Makefile.commons:Set default OpenAMP home dir

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove zynqmp_r5 baremetal.c to OpenAMP lib
Wendy Liang [Wed, 6 Jan 2016 23:56:55 +0000 (15:56 -0800)]
Move zynqmp_r5 baremetal.c to OpenAMP lib

Move zynqmp_r5 baremetal.c to OpenAMP lib instead
of building it as a separate lib.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoInclude zynq7 baremetal.c in the OpenAMP lib
Wendy Liang [Wed, 6 Jan 2016 23:50:57 +0000 (15:50 -0800)]
Include zynq7 baremetal.c in the OpenAMP lib

Include the zynq7 baremetal in the OpenAMP lib
instead of building it as a separate lib.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoInclude proxy lib into OpenAMP lib
Wendy Liang [Wed, 6 Jan 2016 23:20:13 +0000 (15:20 -0800)]
Include proxy lib into OpenAMP lib

include proxy lib which is used by a processor
to access the device on the other processor with
file operations.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRename zc702evk to zynq7
Wendy Liang [Wed, 6 Jan 2016 23:07:04 +0000 (15:07 -0800)]
Rename zc702evk to zynq7

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRename zynqMP_r5 to zynqmp_r5
Wendy Liang [Wed, 6 Jan 2016 23:04:50 +0000 (15:04 -0800)]
Rename zynqMP_r5 to zynqmp_r5

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRemove unused Makefiles
Wendy Liang [Wed, 6 Jan 2016 22:22:56 +0000 (14:22 -0800)]
Remove unused Makefiles

Remove Makefiles which are not used.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove platform_info.c to apps
Wendy Liang [Wed, 6 Jan 2016 22:18:38 +0000 (14:18 -0800)]
Move platform_info.c to apps

The platform_info.c application specific.
Move it to apps/ directory.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agozc702evk: rename remoteproc file platform.c
Wendy Liang [Wed, 6 Jan 2016 22:06:06 +0000 (14:06 -0800)]
zc702evk: rename remoteproc file platform.c

Rename zc702evk remoteproc file to remoteproc_zynq7.c
and put remote related files to this directory:
porting/system/baremeta/machine/zc702evk/

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agozynqMP_r5:rename remoteproc file platform.c
Wendy Liang [Wed, 6 Jan 2016 21:57:13 +0000 (13:57 -0800)]
zynqMP_r5:rename remoteproc file platform.c

Rename zynqMP_r5 platform.c to remoteproc_zynqmp.c
and move it to porting/system/baremetal/machine/zynqMP_r5/

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoIntroduce system
Wendy Liang [Wed, 6 Jan 2016 21:26:21 +0000 (13:26 -0800)]
Introduce system

Use system for target OS.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoIntroduce machine
Wendy Liang [Wed, 6 Jan 2016 19:44:46 +0000 (11:44 -0800)]
Introduce machine

Introduce machine for hardware specific implementation.
A machine is specific to a hardware platform.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agozc702evk: baremetal.h: remove internal function from header
Wendy Liang [Fri, 1 Jan 2016 05:01:24 +0000 (21:01 -0800)]
zc702evk: baremetal.h: remove internal function from header

Remove internal function from header and do not use internal type
for the functions which will be used externally.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agobaremetal.h: remove mem barrier define
Wendy Liang [Fri, 1 Jan 2016 04:48:29 +0000 (20:48 -0800)]
baremetal.h: remove mem barrier define

Remove mem barrier definition since it is already defined in
platform.h

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMakefile.commons:Set default OpenAMP home
Wendy Liang [Thu, 7 Jan 2016 07:57:47 +0000 (23:57 -0800)]
Makefile.commons:Set default OpenAMP home

Set default OpenAMP home directory if it is not set.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove Makefile.commons.XXX to OS/platform directory
Wendy Liang [Fri, 1 Jan 2016 04:41:15 +0000 (20:41 -0800)]
Move Makefile.commons.XXX to OS/platform directory

Move the OS/platform Makefile to OS/platform directory

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agozynqMP_r5: move get processor info and fw function to platform.c
Wendy Liang [Fri, 1 Jan 2016 04:34:02 +0000 (20:34 -0800)]
zynqMP_r5: move get processor info and fw function to platform.c

Move the platform_get_processor_info() and platform_get_processor_for_fw()
from platform_info.c to platform.c since they don't rely on
app. However, platform_info.c is app specific.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove platform specific implementation out of bm_env.c
Wendy Liang [Fri, 1 Jan 2016 01:56:19 +0000 (17:56 -0800)]
Move platform specific implementation out of bm_env.c

Move platform specific implementation out of bm_env.c
and into each platform.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agokeep zynqMP_r5 remoteproc implementation in platform.c
Wendy Liang [Fri, 1 Jan 2016 01:42:54 +0000 (17:42 -0800)]
keep zynqMP_r5 remoteproc implementation in platform.c

Keep all the zynqMP_r5 remoteproc internal implementation
inside the platform.c.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoKeep zynq remotproc implementation in platform.c
Wendy Liang [Fri, 1 Jan 2016 01:35:26 +0000 (17:35 -0800)]
Keep zynq remotproc implementation in platform.c

Keep internal Zynq platform.c implementation
inside the file.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
Conflicts:
porting/zc702evk/platform.c

8 years agoMove headers to include/
Wendy Liang [Fri, 1 Jan 2016 01:17:30 +0000 (17:17 -0800)]
Move headers to include/

Use include/ for all the headers

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agomove porting/config to common/firmware
Wendy Liang [Fri, 1 Jan 2016 00:31:17 +0000 (16:31 -0800)]
move porting/config to common/firmware

porting/config is to implementation firmware parsing.
Move it to common/firmware

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoRemove isr from porting/config/config.h
Wendy Liang [Fri, 1 Jan 2016 00:28:32 +0000 (16:28 -0800)]
Remove isr from porting/config/config.h

Only firmware related implementation is left
in porting/config/config.h

Signed-off-by: Wendy Liang <jliang@xilinx.com>
Conflicts:
porting/config/config.h

8 years agoRemove firmware from gitignore
Wendy Liang [Fri, 1 Jan 2016 00:16:59 +0000 (16:16 -0800)]
Remove firmware from gitignore

The firmware is going to be a directory for parsing firmware.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoCovert to Linux indentation
Wendy Liang [Tue, 5 Jan 2016 23:10:19 +0000 (15:10 -0800)]
Covert to Linux indentation

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoCovert to Linux file format
Wendy Liang [Tue, 5 Jan 2016 22:43:36 +0000 (14:43 -0800)]
Covert to Linux file format

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoPacked macros renaming
Michal Princ (NXA17570) [Thu, 4 Feb 2016 12:24:18 +0000 (13:24 +0100)]
Packed macros renaming

8 years agoIntroduce packet struct macros for supported compilers
Michal Princ (NXA17570) [Wed, 27 Jan 2016 15:33:57 +0000 (16:33 +0100)]
Introduce packet struct macros for supported compilers

see https://github.com/OpenAMP/open-amp/pull/9

8 years agoproxy dev driver: set driver data before send msg to proxy ept
Wendy Liang [Fri, 1 Jan 2016 05:54:07 +0000 (21:54 -0800)]
proxy dev driver: set driver data before send msg to proxy ept

Set driver data before sending the msg with proxy ept.
Otherwise, the data may not be set when the message from the proxy
ept is received.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMove memory barrier define from bm_env.c to baremetal.h
Wendy Liang [Thu, 13 Aug 2015 03:56:33 +0000 (20:56 -0700)]
Move memory barrier define from bm_env.c to baremetal.h

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoporting: zynqMP_r5: correct copyright
Wendy Liang [Wed, 9 Dec 2015 04:48:10 +0000 (20:48 -0800)]
porting: zynqMP_r5: correct copyright

Add Mentor copyright back

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoUse stdint.h instead of private definition
Feng Wei [Thu, 20 Aug 2015 09:41:01 +0000 (17:41 +0800)]
Use stdint.h instead of private definition

This patch helps to avoid duplicated type definition issue when the
application uses stdint.h.
At the same time, buffer length type is uniformed.

Signed-off-by: Feng Wei <wei.feng@freescale.com>
8 years agoporting: zynMP_r5: run wmb() before kick
Wendy Liang [Thu, 13 Aug 2015 03:54:19 +0000 (20:54 -0700)]
porting: zynMP_r5: run wmb() before kick

Need to run wmb() before kick another processor in order to
make sure memory operations' finished.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoporting: zynqMP: update IPI APU mask
Wendy Liang [Wed, 12 Aug 2015 11:44:28 +0000 (04:44 -0700)]
porting: zynqMP: update IPI APU mask

Since PMU occupies default APU IPI, use PL0 IPI for OpenAMP APU

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMakefile: Update to use armr5 toolchain
Wendy Liang [Wed, 12 Aug 2015 11:43:39 +0000 (04:43 -0700)]
Makefile: Update to use armr5 toolchain

Since toolchain prefix has been changed, the make files
are updated to reflect the changes

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agolibs:zynqMP_r5:baremetal.h: remove IPI Intr ID
Wendy Liang [Fri, 28 Aug 2015 16:54:47 +0000 (09:54 -0700)]
libs:zynqMP_r5:baremetal.h: remove IPI Intr ID

the IPI is specified in the platform.h,
and it should not be in the baremetal.h.

Removing it.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agolibs:zynqMP_r5:baremetal: Add xil_mpu.h to includes
Wendy Liang [Fri, 28 Aug 2015 17:40:48 +0000 (10:40 -0700)]
libs:zynqMP_r5:baremetal: Add xil_mpu.h to includes

Missing xil_mpu.h from includes

Signed-off-by: Wendy Liang <jliang@xilinx.com>
8 years agoMerge pull request #10 from cyrilchemparathy/master
Cyril Chemparathy [Tue, 8 Sep 2015 23:10:14 +0000 (16:10 -0700)]
Merge pull request #10 from cyrilchemparathy/master

Rewrap README.md and add link to mailing list.

8 years agoRewrap README.md and add link to mailing list.
Cyril Chemparathy [Tue, 8 Sep 2015 22:35:11 +0000 (15:35 -0700)]
Rewrap README.md and add link to mailing list.

This commit rewraps the README.md content to fit within 80 columns (for
most sane editors :)).  We also add a link pointing visitors to the
mailing list hosted on googlegroups.  Please subscribe!