Commit graph

1365 commits

Author SHA1 Message Date
Kinjal Pravinbhai Patel
f8ebe0ef56 openamp_matrix_multiplication: modified baremetal and platform code
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>
2015-03-21 17:51:28 +05:30
Kinjal Pravinbhai Patel
1258f37bff ThirdParty: openamp: change in header file and bm_env.c
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>
2015-03-21 17:51:27 +05:30
Harini Katakam
763c56936d qspipsu: Use DMA DONE instead of BUSY
Use DMA DONE to poll status of DMA transfer instead of BUSy as this
is recommended.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-19 13:55:47 +05:30
Harini Katakam
b337ae9801 gqspips: Clear and disable DMA interrupts initially
Clear and disable DMA interrupts/status register initially.
Correct DMA_CTRL reset value.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-19 13:55:46 +05:30
Harini Katakam
2b3a7c5e4c qspipsu: Switch to I/O mode before clearing RX FIFO
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>
2015-03-19 13:55:46 +05:30
Harini Katakam
21b87a69bf emacps: Add missing cache flush
Add cache flush after TX BD terminate entry for generic tx queue so
that it will be reflected.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-19 10:41:55 +05:30
Harini Katakam
54c0d04311 emacps: Dont treat used bit set as error
Remove used bit set from TX error interrupt masks as it is not an error.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-19 10:41:55 +05:30
Kinjal Pravinbhai Patel
83649a56f5 sw_apps: modified openamp rpc demo application
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>
2015-03-19 10:34:19 +05:30
Kinjal Pravinbhai Patel
ef031f7e2a sw_apps: modified openamp echo test application
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>
2015-03-19 10:34:18 +05:30
Kinjal Pravinbhai Patel
b020c90a28 sw_apps: modified openamp matrix_multiply application
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>
2015-03-19 10:34:18 +05:30
Kinjal Pravinbhai Patel
b4f312446f sw_services: openamp: removed platform specific APIs from library Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com> 2015-03-19 10:34:18 +05:30
VNSL Durga
16795cbacf ZDMA_v1_0: Added examples to ZDMA driver.
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-17 16:11:41 +05:30
VNSL Durga
08aea016bb ZDMA_V1_0: Added ZDMA driver
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-17 16:11:22 +05:30
Shakti Bhatnagar
32c3c2a8bc nandpsu_v1_0: Removed Assert check dest buf addr zero.
Destination buffer address zero is valid for ddr.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-16 23:01:43 +05:30
Jyotheeswar Reddy
2889468869 ipipsu_v1_0: Add IPI driver for ZynqMP
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>
2015-03-16 23:01:43 +05:30
Kinjal Pravinbhai Patel
e395d1bf1b sw_apps: FreeRTOS hello world application is added
This patch adds FreeRTOS helloworld application to be built with FreeRTOS BSP for cortex-R5

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-03-16 22:44:13 +05:30
Kinjal Pravinbhai Patel
f71d9971ae lib: sw_apps: added rpc_demo test for openamp R5
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>
2015-03-16 15:37:15 +05:30
Kinjal Pravinbhai Patel
a541441456 lib: sw_apps: added matrix_multiply test for openamp R5
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>
2015-03-16 15:37:14 +05:30
Kinjal Pravinbhai Patel
979a40a904 lib: sw_apps: added echo-test for openamp R5
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>
2015-03-16 15:37:14 +05:30
Kinjal Pravinbhai Patel
322504c6c6 lib: added initial version of openamp
This patch contains initial version of xilopenamp library. Currently
the library supports cortex-R5 processor

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-03-16 15:37:14 +05:30
Harini Katakam
dc90d1033a emacps: Remove unecessary comment
Remove comment line on top of header for all source files.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-16 11:21:48 +05:30
Harini Katakam
93f1486370 emacps: Disable extended mode and correct 64 bit support
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>
2015-03-16 11:21:47 +05:30
Harini Katakam
7aec13f790 emacps: Increase AHB burst size
Increase AHB burst size to 16 bytes to improve performance.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-03-16 11:21:47 +05:30
Harini Katakam
329377a604 emacps: Add support for jumbo frames in example
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>
2015-03-16 11:21:46 +05:30
Harini Katakam
9b8d665400 emacps: Add support for jumbo frames
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>
2015-03-16 11:21:46 +05:30
P L Sai Krishna
bf50cadd34 qspipsu_v1_0: Removed doxygen warnings.
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>
2015-03-15 19:05:13 +05:30
VNSL Durga
7c84757da1 csudma: Modified interrupt ids
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-15 18:47:08 +05:30
VNSL Durga
f155ce7d2f csudma: Modified source files of csudma driver.
Fixed compilation warning of xcsudma.c and
Modified PSS to PSU in xcsudma_g.c

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-15 18:47:08 +05:30
P L Sai Krishna
4b3db9b710 qspipsu_v1_0: Added support for unaligned data transfer in DMA mode.
This patch add support for unaligned data transfer support in DMA
mode.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-03-14 13:35:15 +05:30
P L Sai Krishna
c3145a93e3 qspipsu_v1_0: Added IO mode support in qspipsu.
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>
2015-03-14 13:35:15 +05:30
Shakti Bhatnagar
a516afcdf5 nandpsu_v1_0: Fixed Mark Block Bad bbt updation issue.
Corrected the target value calculation in XNandPsu_MarkBlockBad API.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-14 13:03:49 +05:30
Srinivas Goud
f0f16cc511 sw_apps:zynqmp_fsbl: Added GQSPI driver changes
Added GQSPI driver changes for
QSPI 24Bit and 32Bit boot modes
Added 32Bit boot mode

Signed-off-by: Srinivas Goud <srinivas.goud@xilinx.com>
2015-03-13 18:01:44 +05:30
Shakti Bhatnagar
61ce44e6b9 nandpsu_v1_0: Renamed integration test directory to "intgtest"
Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-13 12:47:03 +05:30
Shakti Bhatnagar
5ebc54dfa8 nandpsu_v1_0: Clear dmabuffer boundary register during the init.
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>
2015-03-13 12:47:03 +05:30
Jyotheeswar Reddy
66409812e8 sw_apps:zynqmp_pmufw: Adding initial set of files with PM
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>
2015-03-13 10:45:54 +05:30
Sarat Chand Savitala
370b4827f2 sw_apps:zynqmp_fsbl: Removed unnecessary files and set compiler options
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>
2015-03-12 23:30:19 +05:30
Sarat Chand Savitala
990cca15db sw_apps:zynqmp_fsbl: Added eMMC bootmode support in FSBL
eMMC uses same driver as SD.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-03-12 18:15:25 +05:30
Peter Crosthwaite
9efeaa8f17 zynq_fsbl: Auto-populate -mcpu argument
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>
2015-03-12 18:06:09 +05:30
Sarat Chand Savitala
4f2925975f sw_apps:zynqmp_fsbl: Added fallback and multiboot functionality
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>
2015-03-12 10:25:11 +05:30
Sarat Chand Savitala
918e66a41a sw_apps:zynqmp_fsbl: Added power on reset bit fields
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>
2015-03-11 14:33:53 +05:30
Nava kishore Manne
4837f2baf5 Change Log for 2015.1
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-03-01 09:56:03 +05:30
VNSL Durga
76c56a17d6 vtc: Modified vtc_v7_0 source files.
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>
2015-02-27 19:06:52 +05:30
VNSL Durga
57fe691a62 vtc: Deprecated vtc_v6_1 and added active version vtc_7_0
Deprecated 6_1 and added 7_0 version for vtc driver.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-02-27 19:06:51 +05:30
P L Sai Krishna
8336fa22da scuwdt_v2_1: Updated the modification history and copyright.
This patch update the modification history and copyright year to 2015.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-27 18:25:28 +05:30
P L Sai Krishna
74c8154158 scutimer_v2_1: Updated the modification history and copyright.
This patch updates the modification history and copyright year to 2015.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-27 18:25:28 +05:30
Sarat Chand Savitala
208a4977d0 sw_apps:zynqmp_fsbl: Fix to address change in arguments to f_mount
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>
2015-02-27 18:05:23 +05:30
P L Sai Krishna
7fc4f07ed2 usbps_v2_2: Removed IAR compilation errors.
This patch modifies the IAR compilation errors in usbps examples.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-27 16:12:03 +05:30
P L Sai Krishna
ab4f11c566 scuwdt_v2_1: Removed IAR, ARMCC compilation errors.
This patch removes IAR and ARMCC compilation errors.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-27 16:12:03 +05:30
P L Sai Krishna
eda5fe3e10 emacps_v3_0: Removed IAR compilation errors in examples.
This patch removes IAR compilation errors in emacps examples.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-02-27 16:12:03 +05:30
P L Sai Krishna
c5ad94e476 nandps_v2_2: Removed IAR compilation errors.
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>
2015-02-27 15:05:44 +05:30