ZynqMP_R5: Add support to out of repo libxil
Allow CMake to search for libxil and its header files.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Allow CMake to search for libxil and its header files.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
shared mem: fix the get first zero bit function
The previous API doesn't work on 64bit machine.
This patch is to fix it.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
The previous API doesn't work on 64bit machine.
This patch is to fix it.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
swap the trace and devmem rsc handler
Match the resource handlers sequence in the resource
handlers table to the resource type definition sequence.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Match the resource handlers sequence in the resource
handlers table to the resource type definition sequence.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Fixed cast to (void *) preventing error free compilation with g++ (#24)
virtio: Redefine vring_avail_event
Redefine vring_avail_event to avoid accessing ring.id as
a 16bit integer and breaking the C aliasing rules.
This fixes a build warning:
virtio/virtqueue.c: In function ‘vq_ring_must_notify_host’:
virtio/virtqueue.c:658:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
event_idx = vring_avail_event(&vq->vq_ring);
^
No functional change.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Redefine vring_avail_event to avoid accessing ring.id as
a 16bit integer and breaking the C aliasing rules.
This fixes a build warning:
virtio/virtqueue.c: In function ‘vq_ring_must_notify_host’:
virtio/virtqueue.c:658:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
event_idx = vring_avail_event(&vq->vq_ring);
^
No functional change.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Use standard types in resource table
Resource table fields are declared as unsigned int or char.
As the lengths of these types varies between different platforms,
reousrce table may change shape. Change these fields to uint32_t
or uint8_t.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Resource table fields are declared as unsigned int or char.
As the lengths of these types varies between different platforms,
reousrce table may change shape. Change these fields to uint32_t
or uint8_t.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
rpmsg.h: move code to maximize match against Linux
Move rpmsg_send() and rpmsg_sendto() to maximize match against
Linux include/linux/rpmsg.h
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Cyril Chemparathy <cyril.chemparathy@xilinx.com>
Move rpmsg_send() and rpmsg_sendto() to maximize match against
Linux include/linux/rpmsg.h
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Cyril Chemparathy <cyril.chemparathy@xilinx.com>
Remove redundant checking in rpmsg send
As rpmag_send_offchannel_raw() does the input arguments
checking, remove the redundant checking in its caller
rpmsg send functions.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
As rpmag_send_offchannel_raw() does the input arguments
checking, remove the redundant checking in its caller
rpmsg send functions.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
rpmsg.h: remove leading space of function declare
Remove leading spece of function declaration and definition.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Cyril Chemparathy <cyril.chemparathy@xilinx.com>
Remove leading spece of function declaration and definition.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Cyril Chemparathy <cyril.chemparathy@xilinx.com>
Use standard types in rpmsg
The use of integer types in rpmsg headers is wrong, and consequently
doesn't match the Linux definitions on 64-bit platforms.
This patch fixes the issue by replacing with stdint types.
Signed-off-by: Cyril Chemparathy <cyril.chemparathy@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
The use of integer types in rpmsg headers is wrong, and consequently
doesn't match the Linux definitions on 64-bit platforms.
This patch fixes the issue by replacing with stdint types.
Signed-off-by: Cyril Chemparathy <cyril.chemparathy@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Correct the name of the Xilinx supported platform
Correct the name of Xilinx Zynq UltraScale+ MPSoC platform.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Correct the name of Xilinx Zynq UltraScale+ MPSoC platform.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
change rpmsg error base
This is to fix the issue that RPMSG and VQUEUE use the same
error base.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
This is to fix the issue that RPMSG and VQUEUE use the same
error base.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Fix rpmsg_end on REMOTE causes buffer "leak"
void getting tx buffer out of the buffers pool when the payload
to be sent does not fit into the buffer length.
Signed-off-by: Michal Princ (NXA17570) <michal.princ@nxp.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
void getting tx buffer out of the buffers pool when the payload
to be sent does not fit into the buffer length.
Signed-off-by: Michal Princ (NXA17570) <michal.princ@nxp.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Add env_assert() API
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Add missing #else statement into the compiler.h
Signed-off-by: Michal Princ (NXA17570) <michal...@nxp.com>
Signed-off-by: Michal Princ (NXA17570) <michal...@nxp.com>
Add maintainers file
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Add license file
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Change the NXP copyright to Freescale
Signed-off-by: Michal Princ (NXA17570) <michal.princ@nxp.com>
Signed-off-by: Michal Princ (NXA17570) <michal.princ@nxp.com>
Fix double free, occurs if a channel destroyed callback is fired from interrupt during the rpmsg_deinit function running in non-interrupt context.
- rpmsg_rdev_get_chnl_from_addr() removed because it is not used
Signed-off-by: Michal Princ (NXA17570) <michal.princ@nxp.com>
- rpmsg_rdev_get_chnl_from_addr() removed because it is not used
Signed-off-by: Michal Princ (NXA17570) <michal.princ@nxp.com>
Fix deadlock in rpmsg_send_ns_message caused by error
handling
Signed-off-by: Michal Princ (NXA17570) <michal.princ@nxp.com>
handling
Signed-off-by: Michal Princ (NXA17570) <michal.princ@nxp.com>
fix deallocation issue on deinit
Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
rm compilation warnings, clean comments, file rename
Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
rename and define some local var/funcs static
Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
invalidate cache instead of disabling
Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
zynqmp: drivers use platform_isr instead of hil_isr
Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
zynqmp: replace logical-AND by bit-AND with ipi_chn_mask
Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
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>
- unsigned long bitmap[0] removed from sh_mem_pool structure
Signed-off-by: Michal Princ (NXA17570) <michal.princ@nxp.com>
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>
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>
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>
- 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>
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>
Need to always unmask IPI interrupt since the IPI interrupt
can be initailly masked.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Avoid memory leak in rpmsg_init()
rpmsg_deinit() did not delete proc instance initialized during the rpmsg_rdev_init()
rpmsg_deinit() did not delete proc instance initialized during the rpmsg_rdev_init()
Switch params for sh_mem_free_buffer call
This is the bugfix of the wrong param order for sh_mem_free_buffer call
This is the bugfix of the wrong param order for sh_mem_free_buffer call
Add rpc_demo README
Add description on how to use the rpc_demo.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Add description on how to use the rpc_demo.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Add matrix_multiply README
Provide description on how to use the matrix_multiply demo.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Provide description on how to use the matrix_multiply demo.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Add echo_test demo README.
Provide a description on how to use the echo_test demo.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Provide a description on how to use the echo_test demo.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Remove obsolete getting started guide
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Update README for the OpenAMP
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Remove Makefile
Since the compilation has been moved to use CMake, remove
Makefiles
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Since the compilation has been moved to use CMake, remove
Makefiles
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
using cmake is in order to make OpenAMP compilation
easier to cross OSes and compilers
Signed-off-by: Wendy Liang <jliang@xilinx.com>
zynqmp_r5: remove IPI handler
It is not necessary to have IPI handler.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
It is not necessary to have IPI handler.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
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>
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>
Adjust the lib/Makefile and the apps demos for the updated
system/machine implementation.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
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>
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>
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>
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>
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>
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>
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>
Remove obsolete open_amp_build.sh
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
Set the right common source files for zynq7 generic
non remoteproc master application.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
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>
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>
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>
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>
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>
apps:func_test_suite:generic:zynq7:remoteproc master
Add remoteproc master support for zynq7 generic app.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Add remoteproc master support for zynq7 generic app.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
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>
apps:matrix multiply:zynq7: remoteproc master
Add zynq7 generic remoteproc master support for matrix multiply
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Add zynq7 generic remoteproc master support for matrix multiply
Signed-off-by: Wendy Liang <jliang@xilinx.com>
apps:echo_test:zynq7: generic remoteproc master
Add remoteproc master support to zynq7 generic echo_test.
Add remoteproc master support to zynq7 generic echo_test.
apps:generic:zynq7: add remotproc master support
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Add linux_firmware sample app for zynq7
Add linux_firmware sample application for zynq7 remoteproc
master.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Add linux_firmware sample application for zynq7 remoteproc
master.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Remove unused directory apps/firmware
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
apps:generic:zynq7: Add ACRH_CFLAGS to CFLAGS
include ARCH CFLAGS into CFLAGS
Signed-off-by: Wendy Liang <jliang@xilinx.com>
include ARCH CFLAGS into CFLAGS
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
Allow user to use extern generic headers instead of
those in the obsolete/ directory.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
Add zynqmp_r5 generic Makefile.include for common
compilation settings for zynqmp_r5 generic applications.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
generic:zynqmp_r5:remoteproc: include machine.h
Includes machine.h for the machine specific functions.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Includes machine.h for the machine specific functions.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Restruct obsolete directory
Restruct obsolete directory to make it
obsolete/system/<SYSTEM>/machine/<MACHINE>/
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Restruct obsolete directory to make it
obsolete/system/<SYSTEM>/machine/<MACHINE>/
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Move func_test_suite to directly under apps/
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Move rpc_demo to directly under apps/
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Move matrix_multiply/ to directly under apps/
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
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>
apps: Update Makefile
Update apps' Makefile for the changes to move
applicaitons directly under apps/ directory.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Update apps' Makefile for the changes to move
applicaitons directly under apps/ directory.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
Introduce common zynq7 apps' Makefile.include
for compilation settings to build zynq7 applications.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
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>
Move apps/common/system to apps/system
Additional common/ directory is not nessary.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Additional common/ directory is not nessary.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Move the resource tables to common
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
remove MASTER macro
Macro MAMSTER is not used, remove it.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Macro MAMSTER is not used, remove it.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Add REMOTERPROC_MASTER
Use REMOTEPROC_MASTER to define if the applicaiton is
remoteproc master
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Use REMOTEPROC_MASTER to define if the applicaiton is
remoteproc master
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
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>
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>
Move OpenAMP source files into lib/ directory.
Porting/ is not necessary, move porting/system/ to system/
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Move porting/system/ to system/
extra porting/ directory is not required.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
extra porting/ directory is not required.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
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>
Remove unused zynq7 Makefiles
Remove unused zynq7 Makefiles in the buildling extra libs directory.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Remove unused zynq7 Makefiles in the buildling extra libs directory.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
Leave xil_standalone_lib only in the zymqmp_r5 extra libs
directory.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
Move files in the subdirectories under common/ directly under
common/
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Move linker scripts to apps/
Move the example linker scripts to apps/ directory
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Move the example linker scripts to apps/ directory
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Rename baremetal to generic
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Merge platform.h and baremetal.h
Merge platform and baremeta.h into machine.h
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Merge platform and baremeta.h into machine.h
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
It is not required to include the platform.h in the
platform_info.c file.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Makefile.commons:Set default OpenAMP home dir
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
Move zynqmp_r5 baremetal.c to OpenAMP lib instead
of building it as a separate lib.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
Include the zynq7 baremetal in the OpenAMP lib
instead of building it as a separate lib.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
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>
Rename zc702evk to zynq7
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Rename zynqMP_r5 to zynqmp_r5
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Remove unused Makefiles
Remove Makefiles which are not used.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Remove Makefiles which are not used.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
The platform_info.c application specific.
Move it to apps/ directory.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
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>
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>
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>
Introduce system
Use system for target OS.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Use system for target OS.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Introduce machine
Introduce machine for hardware specific implementation.
A machine is specific to a hardware platform.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Introduce machine for hardware specific implementation.
A machine is specific to a hardware platform.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
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>
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>
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>
Remove mem barrier definition since it is already defined in
platform.h
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Makefile.commons:Set default OpenAMP home
Set default OpenAMP home directory if it is not set.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
Set default OpenAMP home directory if it is not set.
Signed-off-by: Wendy Liang <jliang@xilinx.com>