Commit graph

1078 commits

Author SHA1 Message Date
Kinjal Pravinbhai Patel
ebb97640ae sw_apps: modified openamp echo test application
This patch modifies openamp echo test to support the latest kernel
changes by modifying IPI channel bit mask, moving the code to DDR
from 0xfffc0000 to avoid conflict with ATF

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 23:14:11 +05:30
Kinjal Pravinbhai Patel
fefbadcdf0 sw_apps: modified openamp matrix_multiply application
This patch modifies openamp matrix multiply application to pick
correct linker script for baremetal and freertos. This patch
also modifies linker scripts to put the data into DDR instead
of part of OCM where ATF lies. This patch modifies IPI mask in
openamp application to support it with latest linux changes

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 23:13:59 +05:30
Kinjal Pravinbhai Patel
a23fcf5be9 sw_services: openamp: added missing include file for freertos
This patch modifies openamp library to include missing header
files to bm_env.c for freertos.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 23:13:48 +05:30
Kinjal Pravinbhai Patel
07e5abb299 bsp: R5_freertos: modified freertos asm_vectors
This patch modifies asm_vectors in freertos R5 to put the vectors
beyond 32MB from code

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 23:13:33 +05:30
Kedareswara rao Appana
cbf1285e40 axidma: Fix bug in the number of words in a buffer descriptor
With the 64-bit support a new filed got added to the buffer
descriptor the number of words in a buffer desctipor
should be changed accordingly. This patch updates the same.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 22:51:20 +05:30
Kedareswara rao Appana
004d36f379 lwip: Fix bsp compilation errors when elite is configured with interrupts though a concat IP
This patch fixes the bsp compilation errors when elite is configured
with interrupts though a concat IP.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 22:35:57 +05:30
Shubhrajyoti Datta
6fd0d9fb68 trafficgen: 64-bit support
Add 64-bit support for traffic generator.

Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-20 22:05:39 +05:30
Harini Katakam
ed4a66f256 lwip: Give error message when A53 32 bit compiler is used
Error out from tcl when A53 32 bit compiler is used as lwip
library does not support it.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-19 23:18:56 +05:30
Andrei-Liviu Simion
9fbce794b4 video_common: Added new timings for resolutions.
Interlaced:
- 1440x480 @ 60Hz
- 1440x576 @ 50Hz

Progressive:
- 1440x240 @ 60Hz
- 1680x720 @ 50Hz,60Hz,100Hz,120Hz
- 1680x1050 @ 50Hz
- 1920x1080 @ 100Hz,120Hz
- 2560x1080 @ 50Hz,60Hz,100Hz,120Hz
- 4096x2160 @ 24Hz,25Hz,30Hz,50Hz,60Hz

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:18:01 +05:30
Andrei-Liviu Simion
4b989a1221 hdcp1x: cipher: Fixed disable function for unplug scenario.
During an unplug event, the clock may not be stable which will
cause the disable function to stall.

Removing the wait for the encryption function to finish after the
cipher has been disabled will not affect functionality.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:17:49 +05:30
Andrei-Liviu Simion
ea3f5c9215 hdcp1x: Added an API to check the traffic's encryption status.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:17:39 +05:30
Andrei-Liviu Simion
71c5daf609 hdcp1x: cipher: No need to use a wrapper function around enable/disable.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:17:24 +05:30
Andrei-Liviu Simion
c76fca1e0f hdcp1x: Added local KSV debug to the info print.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked by: Rohit Consul <rohitco@xilinx.com>
2015-08-19 23:16:59 +05:30
P L Sai Krishna
20398c29dc bsp: Corrected interrupt ID's of TTC.
This patch correct the interrupt ID's of TTC which
will be used by TEST APP.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-08-19 19:06:42 +05:30
Punnaiah Choudary Kalluri
ee8bf3f411 nandpsu: Remove QEMU specific workarounds
Now the QEMU nand model supports extended parameter page
information. So, removing the QEMU specific hacks from the
driver.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Acked-by: Sai Pavan Boddu <saipava@xilinx.com>
2015-08-18 15:58:16 +05:30
P L Sai Krishna
8eaf69e7fc bsp: Added PSU definitions for TEST APP.
This patch add PSU definitions for TEST APP in
xparameters_ps.h file for a53 (32,64 bit) and r5.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-08-18 12:26:54 +05:30
P L Sai Krishna
0cdc67eb82 spips: Modified the examples to support peripheral tests.
This patch modifies the examples such that peripheral tests
will include spips.
Modified API prototypes.
Added TESTAPP macro checks.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-08-18 12:25:40 +05:30
P L Sai Krishna
d81bd4063a spips: Added polled, interrupt tests in peripheral tests.
This patch changes testapp tcl file to add polled and
interrupt tests in peripheral tests.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-08-18 12:24:40 +05:30
P L Sai Krishna
a1f6e45ede iicps: Modified the examples to support peripheral tests.
This patch modifies the examples such that these examples
will run smoothly in peripheral tests.
Modified the API prototypes.
Added TESTAPP macro checks.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-08-18 12:23:28 +05:30
P L Sai Krishna
fed6612c67 iicps: Added polled, interuupt tests in peripheral test.
This patch modifies the testapp tcl file to add polled
and interrupt tests in peripheral tests.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-08-18 12:18:18 +05:30
Shadul Shaikh
894b8a57a8 video_common: Removed extra DP159 register programming
This patch does
	- add bit error count function,
	- remove extra DP159 programming as per DP159 programming guide,
	- modify DP159 enum config type.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-18 11:24:18 +05:30
Kinjal Pravinbhai Patel
ab0e0327d9 bsp: FreeRTOS: modified freertos for bug fix and openamp support
This patch modifies tcl file to correct configCLEAR_TICK_INTERRUPT API
definition and added ttc stop & initialize ttc again if ttc config fails
on rerun.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-17 17:43:22 +05:30
Sarat Chand Savitala
5b3ea5f28f sw_apps:zynqmp_fsbl: Removed unnecessary file in sources
FSBL Tcl file changed to remove unnecessary file from build.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-17 09:09:35 +05:30
Sarat Chand Savitala
4fb856ad83 sw_apps:zynqmp_fsbl: Disabled debug prints in FSBL
Except banner all prints are disabled in FSBL.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-17 09:09:25 +05:30
Sarat Chand Savitala
71d7769303 sw_apps:zynqmp_fsbl: Change of invalid load address value for PL bitstream
When load address is not mentioned for PL bitstream, bootgen now makes this
as 0xFFFFFFFF to indicate it is invalid. Hence, FSBL uses default address to
load bitstream when load address from bootgen is 0xFFFFFFFF.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-17 09:09:03 +05:30
Harini Katakam
aca7c184d4 lwip: Use updated autonegotiation for Zynq as well
Read specific status register for negotiated speed and return the same.
The updated masks are only used for ZynqMP currently; follow the same
for Zynq as well. Corrected alignment in a couple of lines.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-14 15:58:09 +05:30
Jyotheeswar Reddy
73154541df PMUFW: lscript: Force generation of single loadable section
Bootgen currently has no support for multiple loadable sections
in elfs. So a workaround is being implemented in PMUFW linker
script. All sections are forced to be loadable and dummy bytes
are added to fill the gaps. This change causes linker to throw
a warning about bss section being made PROGBITS.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
2015-08-14 15:57:27 +05:30
P L Sai Krishna
b7424e35f0 sdps: Removed alignment for local variables.
This patch removes alignment for local variables
which is not necessary.Iar compiler does not allow
alignment to local variables.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-08-14 12:25:50 +05:30
Sarat Chand Savitala
e8ac191579 sw_apps:zynq_fsbl: Corrected the format specifier in print statements
Changed the format specifiers from %x to %lx and %d to %lu
while printing unsigned long variables.
Without these changes many warnings are shown in FSBL when xil_printf
type in BSP is changed to be compatible with printf.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-14 11:59:09 +05:30
Kinjal Pravinbhai Patel
da9e3d6e71 sw_apps: openamp matrix multiply: Added freertos support
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-14 11:43:33 +05:30
Kinjal Pravinbhai Patel
0cdcbdafd3 sw_apps: rpc demo: changed baremetal ipi_isr type
This patch modifies ipi_isr in baremetal.c to make it compatible
with freertos supported openamp library.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-14 11:43:23 +05:30
Kinjal Pravinbhai Patel
60a8d226c8 sw_apps: echo test: changed baremetal ipi_isr type
This patch modifies ipi_isr in baremetal.c to make it compatible
with freertos supported openamp library.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-14 11:43:15 +05:30
Kinjal Pravinbhai Patel
7cec02a399 sw_services: xilopenamp: Added freertos support to openamp library
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-14 11:43:06 +05:30
Nava kishore Manne
396482866c ddrps: Added @addtogroup tag with appropriate version information
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-14 11:40:13 +05:30
Nava kishore Manne
2a9dd94f2e dp: Added @addtogroup tag with appropriate version information
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-14 11:40:04 +05:30
Nava kishore Manne
a8d64830d6 dprxss: Added @addtogroup tag with appropriate version information
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-14 11:39:52 +05:30
Nava kishore Manne
a8a21ab14d dptxss: Added @addtogroup tag with appropriate version information
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-14 11:39:43 +05:30
Nava kishore Manne
5125df28f8 hdcp1x: Added @addtogroup tag with appropriate version information
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-14 11:39:31 +05:30
Nava kishore Manne
70b838978e intc: Added @addtogroup tag with appropriate version information
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-14 11:39:20 +05:30
Nava kishore Manne
1fb0b91e37 vprocss: Added @addtogroup tag with appropriate version information
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-14 11:39:10 +05:30
Nava kishore Manne
c188bcc141 scugic: Added @addtogroup tag with appropriate version information
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-14 11:38:58 +05:30
Nava kishore Manne
c1968cdda3 axiethernet: Added @addtogroup tag with appropriate version information
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-14 11:37:45 +05:30
Sarat Chand Savitala
fe3cd5aba2 sw_apps:zynqmp_fsbl: Corrected compiler flags for R5
Currently for R5, compiler flag for, floating-point ABI is mentioned
as "softfp". This causes abort on encountering floating point arithmetic
operation. Hence changing this flag to "soft".

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-12 20:27:48 +05:30
Jyotheeswar Reddy
e9a4597006 PMUFW:lscript: Remove redundant serv ext table section
Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
Reviewed-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
2015-08-11 22:37:26 +05:30
Shadul Shaikh
c04ad88a10 dprxss: Added examples for new driver DisplayPort Receiver Subsystem
This patch adds examples for driver DisplayPort Receiver Subsystem

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-11 22:37:08 +05:30
Shadul Shaikh
a540e65ca9 dprxss: Added new driver DisplayPort Receiver Subsystem
This patch adds DisplayPort Receiver Subsystem (dprxss) driver.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-11 22:36:23 +05:30
Harini Katakam
1ec39318a8 lwip_echo_server: Add support for A53
Add support for A53:
- Add __aarch64__ in conditional compilation
- Disable data cache as lwip is not working on A53 with caches enabled

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha   Sarangi <anirudh@xilinx.com>
2015-08-11 15:54:18 +05:30
Harini Katakam
243210232c lwip_echo_server: Add support for A53 in the tcl
Add support for A53 in the tcl.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha   Sarangi <anirudh@xilinx.com>
2015-08-11 15:54:08 +05:30
Harini Katakam
20feb14f15 lwip: Update autonegotiation for ZynqMP
- Update mac address form s32 to u32
- Update autonegotiation for ZynqMP when checking status register for
negotiated speed. Report error when autonegotiation has failed for ~30 secs.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha   Sarangi <anirudh@xilinx.com>
2015-08-11 15:53:56 +05:30
Harini Katakam
d73b594273 lwip: Add support for A53
Add support for A53 by doing the following:
- Update conditional checks with __aarch64__
- Update typecast to UINTPTR
- Update u32_t type
- Update debug prints to reflect 64 bit address
- Disable data cache as lwip is not working on A53 with caches at the moment
- Update changelog for previouos missing history as well

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha   Sarangi <anirudh@xilinx.com>
2015-08-11 15:53:45 +05:30