Commit graph

539 commits

Author SHA1 Message Date
VNSL Durga
1e13788ab4 ZDMA: Modified mdd file according to hardware design
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-31 12:23:01 +05:30
Kinjal Pravinbhai Patel
381054af18 sw_services: openamp: change in makefile
This patch modifies openamp Makefile to fix the compilation error
produced in windows

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-03-31 12:03:29 +05:30
Shakti Bhatnagar
092cc995df nandpsu_v1_0: Correct the length to be read for signature and version when No OOB enabled.
Modified the number of bytes of data to be read for signature and version when
NO OOB option is enabled.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-30 10:54:12 +05:30
Shakti Bhatnagar
33888ecc4d nandpsu_v1_0: Modified number of bytes to be read for bbt.
Modified number of bytes to be read for bbt in oob and bbt with signature
and version for no oob option. This change is done kept in mind that it
should support flashes with small page size as well.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-27 17:45:17 +05:30
Sarat Chand Savitala
4f84389e6c sw_apps:zynqmp_fsbl: Flash load address for SD
For file system based devices, flash offset address
(location of image) should be independednt of multiboot
and should always be 0.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-03-26 21:40:07 +05:30
Shakti Bhatnagar
23469c67ec nandpsu_v1_0: Modified InitBbtDesc function for OOB and No OOB feature.
Setting BBT option at the beginning and checking afterwards to set
the offset for signature and version.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-26 21:04:45 +05:30
Shakti Bhatnagar
f22adb128b nandpsu_v1_0: Ensure ecc error interrupts are not masked in fifo read mode for all the packets.
Performing Read modify write operation for the interrupt status enable
and interrupt status register in readpage function instead of directly
writing to fix the masking error interrupts in case ecc enabled.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-26 21:04:45 +05:30
Shakti Bhatnagar
72d11a1a8a nandpsu_v1_0: Modified Ecc Address Calculation based upon the oob size.
If oob size is less than 64 bytes, ecc position should start from 0 position
of oob area, else should be at the end of the oob area.
Keeping ecc start position in alligned with the Linux nand base ecc layout.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-03-26 21:04:44 +05:30
Bhavik Ameta
8764622019 sw_services:xilsecure_v1_0: changed RSA api
Changed RSA api after code review
2015-03-26 11:19:34 +05:30
Bhavik Ameta
ad78049acf sw_services:xilsecure_v1_0: indentation changes after code review
Changed indentation after code review.
2015-03-26 11:19:33 +05:30
Bhavik Ameta
888308d4a2 sw_services:xilsecure_v1_0: updated tcl file
changed include directories in tcl file
2015-03-26 11:19:33 +05:30
Kinjal Pravinbhai Patel
b48c668c9a sw_apps: openamp_rpc_demo: 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:55 +05:30
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