Commit graph

527 commits

Author SHA1 Message Date
Kinjal Pravinbhai Patel
c8583fd9f7 sw_apps: openamp_echo_test: modified the code and license information
This patch modifies the code as per the opensource git changes and
updates the license information

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-03-25 19:02:54 +05:30
Kinjal Pravinbhai Patel
2eff0eedbb sw_apps: openamp_matrix_multiply: modified the code and license information
This patch modifies the code as per the opensource git changes and
updates the license information

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-03-25 19:02:54 +05:30
Kinjal Pravinbhai Patel
0a34042255 sw_services: Openamp: modified the code and license
This patch modifies the code according to wendy's openamp changes
and also updates the license information

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-03-25 19:02:54 +05:30
Kinjal Pravinbhai Patel
1da3451cff sw_apps: FreeRTOS hello world app: modified tcl file
This patch deletes the *.mss file and modified the tcl file
to prevent the  error in SDK log when any other processor or OS
is selected in create application project GUI of SDK

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-03-25 14:21:18 +05:30
Peter Crosthwaite
f325b4c8d8 fsbl qspi: Fix dummy mode in examples
QSPI HW doesn't actually care what the SPI mode is for the dummy phase
of flash commands. We have confirmed this with randomized testing.
However due to a core limitation of QEMU it is expected to match the
mode of the address phase for QEMU.

So since QEMU is the only platform that cares, set the dummy mode to
QEMUs expectation.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
2015-03-25 12:56:43 +05:30
Peter Crosthwaite
b9dc06aac8 qspi: Fix dummy mode in examples
QSPI HW doesn't actually care what the SPI mode is for the dummy phase
of flash commands. We have confirmed this with randomized testing.
However due to a core limitation of QEMU it is expected to match the
mode of the address phase for QEMU.

So since QEMU is the only platform that cares, set the dummy mode to
QEMUs expectation.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
2015-03-25 12:56:43 +05:30
Sarat Chand Savitala
dde36d829d sw_apps:zynqmp_fsbl: Added ATF handoff params and PMU FW download support
Provided support to pass handoff parameters to ATF
which it will use to load further partitions.
Provided support to load PMU firmware from FSBL.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-03-24 23:03:50 +05:30
P L Sai Krishna
9136dc1d92 iicps_v3_0: Modified the IICPS eeprom examples.
This patch modifies the eeprom page size to 32 for zynq ultrascale MP
in polled and interrupt examples.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-03-23 17:35:12 +05:30
VNSL Durga
53f21544f9 ZDMA_v1_0: Modified XZDma_TotalByteClear
clearing by writing read back value from the register instead of
writing predefined macro

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-23 17:29:30 +05:30
Sarat Chand Savitala
e3aad72bc2 sw_apps:zynqmp_fsbl: disable cache during ECC initialization
Disabling cache ensures proper initialization of ECC

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-03-21 20:50:12 +05:30
Kinjal Pravinbhai Patel
659a5ebfc2 openamp_rpc_demo: 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
07648bb90b openamp_echo_test: 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
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