Commit graph

404 commits

Author SHA1 Message Date
Sarat Chand Savitala
c023b29bc4 sw_services:xilsecure: Fix for authentication failures
Acknowledge DMA transfer is complete by clearing DONE status.
This will make sure that the next transfer doesn’t assume DONE when it isn’t.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-10-17 00:17:42 +05:30
RamyaSree
d29d6bdcd0 sw_apps:zynqmp_fsbl: Modified PMU Trigger logic
This patch corrects the logic used to trigger PMU_0 IPI.
Also added code to Enable PMU_0 IPI.

Signed-off-by: RamyaSree <rdarapun@xilinx.com>
Acked-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-10-16 19:47:46 +05:30
VNSL Durga
5e98df225c Xilskey: Modified efuse example
Added new lines in example prints.
Modified CRC calculation API name and
provided backward compatability.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 18:56:09 +05:30
VNSL Durga
545e14f93b xilskey: Modified changelog txt
Modifications for 4.0 and 3.0 are added to changelog

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 18:56:02 +05:30
VNSL Durga
09c1374102 xilskey: Corrected error code names
Error codes names of efuse PL Ultrascale are corrected

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 18:55:54 +05:30
VNSL Durga
2af5aa5b71 xilskey: Added BBRAM Ps example
To program Bbram PS example is provided this example
doesnot require any input.h file it doesnot contain any control
bits to be programmed.
It has only one feature is to program AES key into BBRAM.
User can edit the macro XSK_ZYNQMP_BBRAMPS_AES_KEY with the key
to be programmed.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 18:55:45 +05:30
VNSL Durga
507e33c593 Xilskey: Added Example for Zynq MP efusePs
To program efuse PS of Zynq MP user has to edit input.h file
in input.h file default all will be in FALSE sate which ever has to be
programmed need to be changed to TRUE.
In example after programming cache will be reloaded and keys will be
read from cache. If user wants read API can be changed to read from
efuse memory.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 18:55:36 +05:30
VNSL Durga
b92437c68b xilskey: Added BBRAM PS functionality
Added BBRAM PS programming APIs for Zynq MP platform
In BBRAM there is no provision for saperate CRC check
CRC check can be performed only while programming AES key
So user no need to calculate CRC of key if they provide key
for programming CRC check will also be performed internally.
User can also make BBRAM key to Zero at any time.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 18:55:27 +05:30
VNSL Durga
e7aeea3a1f xilskey: cleaned library's makefile
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 18:55:19 +05:30
VNSL Durga
53ebf58e2e xilskey: Added efuseps APIs for Zynq MP
For ZynqMp platform's Efuse PS interface functions are added.
In efuse PS we can programm AES, User keys and PPK0, PPK1 hashs
SPK Id, JTAG  user code and including some control bits.
If Tbits are not programmed some programming features can't be
programme, user no need to call any API to program this Tbits
they are programmed internally when you tried to program any
of the programming bits if Tbits are not programmed on efuse.
PPK hash accepts input in the form bootgen's hash output
user no need to change HASH.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 18:55:10 +05:30
VNSL Durga
72073f36fe xilskey: Added Xilskey write and read regs APIs
Modified CRC calculation API to calculate CRC of
ZynqMP efuse PS's AES CRC.
Added Ceil function to calculate ceil.
Added write and read registers APIs.
Modified Xilskey_CrcCalculation API to
XilSKey_CrcCalculation

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 18:55:00 +05:30
VNSL Durga
66a63c151b xilskey: Provided conditional compilation
To support Zynq MP platform conditional compilation
is provided.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 18:54:49 +05:30
VNSL Durga
f8ed126215 xilskey: Added efuse PS and bbram PS support
Added dependencies.props file is addded to pick required
.h file for selected example file.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 18:52:20 +05:30
Kinjal Pravinbhai Patel
3c80ca4b5b sw_apps: updated openamp rpc demo description for zynq support
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 18:21:31 +05:30
Kinjal Pravinbhai Patel
fe5cf411ba sw_apps: updated openamp matrix multiply description for zynq support
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 18:21:20 +05:30
Kinjal Pravinbhai Patel
50e5bc791b sw_apps: updated openamp echo test description for zynq support
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 18:21:06 +05:30
P L Sai Krishna
a285a07ea5 xilsecure: Corrected Makefile error for IAR.
This patch modifies the Makefile of xilsecure to
remove the compilation errors for IAR compiler.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 13:09:03 +05:30
P L Sai Krishna
9b24ae0a67 xilisf: Corrected the Makefile error for IAR.
This patch modifies the Makefile of xilisf to
remove the compilation errors for IAR compiler.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 13:08:54 +05:30
P L Sai Krishna
07a30bad5b xilflash: Corrected the Makefile error for IAR.
This patch modifies the xilflash Makefile to
remove the compilation error for IAR compiler.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 13:08:43 +05:30
P L Sai Krishna
2e94f1a88e xilffs: Corrected Makefile error for IAR.
This patch modifies the make file of xilffs to
remove the compilation error for IAR compiler.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 13:08:14 +05:30
VNSL Durga
f421c75450 Xilskey: Modified JtagWrite API
According to IEEE 1149.1 programming will start after
TCK toggle at higher edge of clock and will be ended at
RTI state change and followed TCK toggle.
So JtagWrite API is modified accordingly.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 10:46:24 +05:30
VNSL Durga
601ba781fb xilskey: Added DFT control bits programming
DFT JTAG disable and DFT mode disable control bits
programming and reading from status register are added
to efuse example and also input macros in xilskey_input.h
file.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 10:46:13 +05:30
VNSL Durga
1553beac28 xilskey: Added DFT control bits
DFT control bits of efusePS for Zynq Platform is
added.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 10:46:01 +05:30
VNSL Durga
41169b9bfd xilskey: Added new version
Support for programming DFT bits is provided.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 10:45:31 +05:30
Naga Sureshkumar Relli
abdedc5daf xilisf: Updated IntelStmDevices list
This patch updates the IntelStmDevices list to support
Micron N25Q256A flash device.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Acked-by: Harini Katakam <harinik@xilinx.com>
2015-10-11 11:29:04 +05:30
Harini Katakam
65acc4d4c3 lwip_echo_server: Update tcl supported OS
Remove freertos from proc reporting supported OS as lwip echo server
only supports standalone.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-11 11:28:54 +05:30
Kinjal Pravinbhai Patel
9f455efaa1 bsp: a9: modified assembly function definition for iccarm
This patch modifies xpseudo_asm_iccarm.h to fix the compilation
when dsb, isb and dmb is used by modifying for correct
function definitions

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-11 11:28:01 +05:30
Harini Katakam
e33bf1144a lwip_echo_server: Add error message when used with PSU Microblaze
Add error message in tcl since there is no support for PSU Microblaze.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-09 16:09:16 +05:30
Harini Katakam
6d1cc7f29d lwip_echo_server: Display error when selecting 32 bit A53 compiler
Update tcl to show an error message when lwip_echo_server is selected
from the sw apps when using 32 bit A53 compiler.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-09 16:07:38 +05:30
Sarat Chand Savitala
b92ef0b31e sw_apps:zynq_fsbl: Added tcl procedures to validate processor and os
tcl procedures are added to facilitate validating the supported processor(s) and
os platform by FSBL.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-10-09 15:34:07 +05:30
Sarat Chand Savitala
f6f21678a4 sw_apps:zynqmp_fsbl: Added support for SD1 and SD1 with level shifter bootmodes
This patch adds support for SD1 and SD1 with level shifter bootmodes in FSBL

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-10-09 08:52:58 +05:30
Sarat Chand Savitala
5ed1c08082 sw_apps:zynqmp_fsbl: Removed UART initialization workaround in FSBL
UART initialization is now done correctly in psu_init file for emulation platforms.
Hence removing the workaround. Also, this workaround should not be present for
Silicon.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-10-09 08:51:34 +05:30
Sarat Chand Savitala
be737a95f5 sw_apps:zynqmp_fsbl: Added print for Silicon platform
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-10-09 08:50:09 +05:30
Sarat Chand Savitala
0fb011dcd9 sw_apps:zynqmp_fsbl: Power state not to be checked before sending powering up request
Currently power state of island is checked before giving corresponding power up
request. This fix removes this check as this condition is false at reset and
leading to the corresponding power up request not being sent.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-10-09 08:48:22 +05:30
Kinjal Pravinbhai Patel
44d2785d51 sw_apps: added support for cortexa9 to openamp rpc demo application
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-08 19:48:47 +05:30
Kinjal Pravinbhai Patel
5a398f8caa sw_apps: added support for cortexA9 to openamp matrix multiply application
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-08 19:48:38 +05:30
Kinjal Pravinbhai Patel
0bcca21961 sw_apps: added support for CortexA9 to openamp echo test application
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-08 19:48:30 +05:30
Kinjal Pravinbhai Patel
516c7af2cb bsp: a9: added support for openamp slave application in BSP
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-08 19:48:13 +05:30
Kinjal Pravinbhai Patel
20f9a33b64 bsp: r5: modified Init_MPU for the case when starting DDR>2GB
This patch modifies mpu settings in Init_MPU to truncate the
DDR size to 2Gb when DDR located at 0x0 is greater than 2GB
in the hdf

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-08 19:48:03 +05:30
Kinjal Pravinbhai Patel
ed9789b2a9 bsp: a53: modified translation table for DDR size > 2GB
This patches modifies translation_table.S for 32bit and 64bit
BSP to limit the DDR size to 2GB if hdf contains DDR greater than
2GB size at 0x0 to comply with the specifications.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-08 19:47:50 +05:30
Kinjal Pravinbhai Patel
03ea09348d sw_apps: FreeRTOS support included for RPC demo
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-08 19:47:27 +05:30
Sarat Chand Savitala
b5d70fa084 sw_apps:zynqmp_fsbl: Added tcl procedures to validate processor and os
tcl procedures are added to facilitate validating the FSBL supported processor(s)
and os platform.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-10-08 19:21:54 +05:30
Jyotheeswar Reddy
b18bcbdb00 sw_apps:pmufw: Add tcl procedures to provide support info
Provide tcl procedures to query for processors and os
supported by pmufw app. SDK uses the return values of these
procedures to make sure that pmufw app shows up in the apps
list only when the supported processor type (psu_microblaze)
and OS (standalone) are selected.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-10-08 19:21:29 +05:30
Anurag Kumar Vulisha
1856379a9c rsa_auth_app: Added new procedures for providing support info
Added below procedures in rsa_auth_app.tcl file,
swapp_get_supported_processors: This returns the list of processors supported for this application.
swapp_get_supported_os: This returns the list of OS supported for this application

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-07 15:09:13 +05:30
Harini Katakam
a82d03ddb7 lwip_echo_server: Add new procedures providing support info
Add two new procedures to provide information on what is supported by
lwip_echo_server:
swapp_get_supported_processors
swapp_get_supported_os

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-06 11:51:11 +05:30
Anurag Kumar Vulisha
8b606d32ba xilkernel_thread_demo: Added new procedures for providing support info
Added below procedures in xilkernel_thread_demo.tcl file,
swapp_get_supported_processors: This returns the list of processors supported for this application.
swapp_get_supported_os: This returns the list of OS supported for this application.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-10-06 11:51:10 +05:30
Anurag Kumar Vulisha
1b5e7fd767 openamp_rpc_demo: Added new procedures for providing support info
Added below procedures in openamp_rpc_demo.tcl file,
swapp_get_supported_processors: This returns the list of processors supported for this application.
swapp_get_supported_os: This returns the list of OS supported for this application.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-10-06 11:51:09 +05:30
Anurag Kumar Vulisha
15bb986169 openamp_matrix_multiply: Added new procedures for providing support info
Added below procedure in openamp_matrix_multiply.tcl file,
swapp_get_supported_processors: This returns the list of processors supported for this application.
swapp_get_supported_os: This returns the list of OS supported for this application.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-10-06 11:51:09 +05:30
Anurag Kumar Vulisha
05ce8ca682 openamp_echo_test: Added new procedures for providing support info
Added new procedures in openamp_echo_test.tcl file,
swapp_get_supported_processors: This returns the list of processors supported for this application.
swapp_get_supported_os: This returns the list of OS supported for this application.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-10-06 11:51:07 +05:30
Anurag Kumar Vulisha
c76635d5b3 freertos_hello_world: Added new procedures for providing support info
Added below procedures in freertos_hello_world.tcl file,
swapp_get_supported_processors: This returns the list of processors supported for this application.
swapp_get_supported_os: This returns the list of OS supported for this application.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-10-06 11:51:07 +05:30