This patch modifies the baremetal code to include ipi related code.
It moves the baremetal specific platform API from platform.c to
baremetal.c. It also moves the platform specific information from
baremetal.h to platform.h. The patch also updates license information
in linker script
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch modifies the hil and virtqueue header files to keep the
declaration after license information. It also modifies the bm_env.c
to remove the extern definitions and correct the env_map_memory function
The patch also updates license information for rpmsg_retarget.* files
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
There is a bug wherein the DMA listening to RX empty status goes busy
if RX FIFO clear bit is set in the FIFO control register, even if there
is no transfer request. So switch to I/O mode always to clear RX FIFO and
restore the mode in the end.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
This patch includes platform specific functions to platform.c and
platform.h which are being called by openamp library. The patch also
removes Disable DCache API from the application which was being used as a
workaround for a cache issue.
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch includes platform specific functions to platform.c and
platform.h which are being called by openamp library. The patch also
removes Disable DCache API from the application which was being used as a
workaround for a cache issue.
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch includes platform specific functions to platform.c and
platform.h which are being called by openamp library. The patch also
removes Disable DCache API from the application which was being used as a
workaround for a cache issue.
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This is the initial version of Inter Processor Interrupt (IPI) driver
for ZynqMP,including the required tcl and an example on using the driver.
Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
This patch adds FreeRTOS helloworld application to be built with FreeRTOS BSP for cortex-R5
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch includes rpc_demo test application which should be built
with R5 openamp library for creating baremetal slave application
for openamp
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch includes matrix_multiply test application which should be built
with R5 openamp library for creating baremetal slave application
for openamp
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch includes echo test application which should be built
with R5 openamp library for creating baremetal slave application
for openamp
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch contains initial version of xilopenamp library. Currently
the library supports cortex-R5 processor
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
The existing changes done under EXTENDED_DESC_MODE should in fact
be done for arch 64. Extended mode needs additional BD words and since
there is no test for it at present, it is disabled.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Enable jumbo option and use updated API's for zynqmp.
Increase array size to support jumbo frames - these can be decreased by user if
not required.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Add an option to enable jumbo frames for zynqmp.
Add frame size and receive buffer length masks to instance so that they can
be updated dynamically with jumbo enable/disable.
Provide new API XEmacPs_GetRxFrameSize instead of XEmacPs_BdGetLength to
find frame size in case of jumbo frames or otherwise.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
This patch documented the parameters of XQspiPsu_SelectFlash API
to remove doxygen warnings and modified the xqspipsu.h file
header as number of characters in a line are more than usual.
Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
This patch does following things
1. Added IO mode support for qspipsu.
2. Modified the GenFifoEntryData API since unaligned data should
be the last entry in GenFifo.
Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Ensure that the dma buffer boundary interrupt is disabled as driver
is using the contiguous buffer for the whole page size and enabling
this interrupt would cause failures if the buffer boundary is
configured for other values (not the page size)
Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
This is the first functional set of files with
-Power Management
-Error Handlers
-Basic Timer based Scheduler
Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
Made changes in FSBL tcl file so that unnecessary files are deleted
from build. Since HSI and SDK create their own Makefile,
static Makefile is also removed from build. Also based on CPU,
compiler optins are set to match to those set in SDK.
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
FSBL has R5 specific behaviours so -mcpu must be passed to the build.
Automatically do this on app generation.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Adding this feature in FSBL enables BootROM to search for
next available image in the boot devices. Also user can
jump to a different image with the help of multiboot.
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
While releasing resets, power on reset bit fields of
the corresponding CPU core also considered now.
These bit fields are added in RST_FPD_APU register from RTL 5.0.
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Added interlaced and progressive mode switching functionality.
Removed XVtc_RegUpdate as there were 2 APIS with same functionality
provided backward compatibility.
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Signature for function f_mount() is changed.
Now three arguments are expected (earlier had two arguments).
In FSBL code, now f_mount() is called with new set of arguments.
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
This patch removes the IAR compilation errors.
Modified the OnfiNand_Geometry structure declaration according to IAR compiler
Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>