Commit graph

190 commits

Author SHA1 Message Date
Nava kishore Manne
ce10360848 Revert "sw_apps:zynqmp_fsbl: Changed alignment of MMU tables for A53"
This reverts commit 6713239caf3a66e29826de88ef0638ca39c0628c.
2015-07-06 23:45:58 +05:30
Naga Sureshkumar Relli
0a7fcbc746 xilflash_v4_1: Added Pass/Fail string to readwrite_example.
This patch adds Pass/Fail string to xilflash_readwrite_example.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
2015-07-06 11:49:25 +05:30
Bhavik Ameta
a2f0af55aa sw_services:xilsecure: Windows build issue fixed
Makefile has been corrected to fix the build issue on Windows

Signed-off-by: Bhavik Ameta <bameta@xilinx.com>
2015-07-06 10:48:30 +05:30
Sarat Chand Savitala
64e5e95917 sw_apps:zynqmp_fsbl: Fix in ATF handoff parameters for destination CPU
This fix populates the correct A53 CPU to which FSBL has to
hand off when partition is ATF.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-07-06 10:30:08 +05:30
Sarat Chand Savitala
0133313ae5 sw_apps:zynqmp_fsbl: Changed alignment of MMU tables for A53
This enables saving of some OCM space for FSBL.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-07-06 10:30:06 +05:30
Sarat Chand Savitala
9083a0a512 sw_apps:zynqmp_fsbl: Fix to avoid conflict with ATF Handoff parameters location
This fix stores FSBL's ATF Handoff parameters at fixed address towards
end of OCM so that ATF can avoid conflict with its sections.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-07-06 10:30:05 +05:30
Nava kishore Manne
04f120953b Revert "bsp: xil_printf: Specify attribute(format)"
This reverts commit 91606d4ae07a49dd5422b5e3bf2ed7a477296263.
2015-07-06 10:20:05 +05:30
P L Sai Krishna
42f46f2ddb xilffs: Added notes in the example.
This patch add notes in the example.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-07-02 17:22:51 +05:30
P L Sai Krishna
cfc2e87b18 zynqmp_fsbl: Added read only option and enabled it.
This patch add read only option and enabled it in mss
file for the Zynqmp fsbl.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-07-02 17:22:51 +05:30
P L Sai Krishna
d2fc5aa4ab xilffs: Added Read_Only option.
This patch modifies .mld and .tcl files to provide the
Read_Only option to the user. By default this option
is false.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-07-02 17:22:50 +05:30
P L Sai Krishna
746db5f257 xilffs: Removed compilation errors,added ReadOnly option.
This patch removes compilation errors in xilffs library.
This errors are coming when we configure ReadOnly, use
StringFunctions and use LFN options. This patch also does
configuring _FS_READONLY macro based on the option given
by the user.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-07-02 17:22:50 +05:30
Sarat Chand Savitala
58e0fb3ac2 sw_apps:zynqmp_fsbl: Updated reset release sequence for A53
Clock enable is now done before release of reset for A53.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-07-01 11:57:44 +05:30
Sarat Chand Savitala
1f87f492b1 sw_apps:zynqmp_fsbl: Updated bin file naming scheme for SD
For SD and eMMC, BIN filenames now follow convention BOOTXXXX.BIN.
FSBL now updated as per this change.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-07-01 11:57:43 +05:30
Nava kishore Manne
0ce98191e9 Revert "bsp: a53: added support for 64bit print in xil_printf"
This reverts commit 546c719e6729eb90daea3027269373542b198668.
2015-07-01 11:41:06 +05:30
P L Sai Krishna
456ed53663 xilisf: Removed compilation errors on DC1.
This patch removes compilation errors by enabling the
IntelStmFlashInitialize function for STM flash family
on DC1.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-06-26 16:56:17 +05:30
Kinjal Pravinbhai Patel
133156ba96 bsp: r5: added MPU Region setting API with size
This patch modifies xil_mpu.c to add the API Xil_SetMPURegion
which provide the settings for a MPU region with size

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-26 16:56:16 +05:30
Kinjal Pravinbhai Patel
42bc9f3698 bsp: a53: added support for 64bit print in xil_printf
This patch modifies xil_printf to support prints for 64bit digits
for hexadecimal format

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-26 16:56:15 +05:30
Soren Brinkmann
bacc86609f bsp: xil_printf: Specify attribute(format)
Specify the format attribute for the xil_printf() function to allow the
compiler to do printf-style checking of the format string and arguments.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-22 15:32:59 +05:30
Soren Brinkmann
ef374e062b bsp: xil_printf: Handle 'u' conversions
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-22 15:32:59 +05:30
Soren Brinkmann
3620711f05 bsp: xil_printf: Handle 'p' conversions
Treat 'p' conversions as alias of 'x'. Strictly, not fully correct, but
better than ignoring them.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-22 15:32:58 +05:30
Soren Brinkmann
b0c3014a99 bsp: xil_printf: Handle 'X' conversions
Treat 'X' conversions as alias of 'x'. Strictly, that is not fully
correct, but still better than ignoring them.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-22 15:32:58 +05:30
Soren Brinkmann
68f0238f9a bsp: xil_printf: Handle 'i' conversion specifier
Treat 'i' as alias for 'd'.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-22 15:32:57 +05:30
Sarat Chand Savitala
c7791d8bb0 sw_services:xilsecure: Secure bitstream support added
This patch adds support to decrypt PL bitstream.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-06-22 11:31:52 +05:30
Sarat Chand Savitala
3b07202f16 sw_apps:zynqmp_fsbl: Added PL bitstream support
PL bitstream download support added.
Both secure and non-secure bitstreams are supported.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-06-20 13:08:13 +05:30
Sarat Chand Savitala
a01d2a94ac sw_services:xilsecure: Fix to avoid clearing of AES key
Clearing the CSU_AES_KEY_CLEAR register to avoid clearing of AES key.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-06-19 17:57:08 +05:30
Venkata Naga Sai Krishna Kolapalli
b07d492a65 Standalone BSP : Add Coresight DCC support in .mld
This patch adds coresight DCC support for Zynq Ultrascale+
MP Platform by modifying stdin and stdout range options.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-06-17 15:13:24 +05:30
Kinjal Pravinbhai Patel
3459d888f6 bsp: r5: removes Init_Uart call from boot flow
This patch modifies xil-crt0.S to remove Init_Uart API call
as fsbl is initializing the UART

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-17 14:50:51 +05:30
Kinjal Pravinbhai Patel
46c5e55478 bsp: a53: removes Init_Uart call from boot flow
This patch modifies xil-crt0.S to remove Init_Uart API call
as fsbl is initializing the UART

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-17 14:50:51 +05:30
Kinjal Pravinbhai Patel
d0c41612d8 bsp: r5: enabling the asynchronous abort in boot code
This patch unmasks the A bit in CPSR to enable the
asynchronous abort in boot.S

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-17 14:50:50 +05:30
Kinjal Pravinbhai Patel
3f2478472f bsp: a53: enabling the SError exception in boot code
This patch enables Serror exception in boot flow for catching the
asynchronous aborts

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-17 14:50:50 +05:30
Kinjal Pravinbhai Patel
99a46157eb bsp: a53: added support for 64bit addressing mode
This patch modifies Xil_DCacheFlushRange, Xil_DCacheInvalidateRange
and Xil_ICacheInvalidateRange API to add support for addresses higher
than 4GB by not truncating the addresses to 32bit

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-17 14:50:50 +05:30
Soren Brinkmann
c4df8f0dd2 PMUFW: lscript: Add section for ROM extension table
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-17 14:24:09 +05:30
Soren Brinkmann
d185a3a6d1 PMUFW: lscript: Sync memory definition with PMUFW repo
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-17 14:24:08 +05:30
Soren Brinkmann
368c173e5d PMUFW: lscript: Remove redundant blank lines
Sync with PMUFW sources.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-17 14:24:08 +05:30
Sarat Chand Savitala
fd800dfb46 sw_apps:zynqmp_fsbl: Removed redundant calls to Xil_DCacheFlush()
Xil_DCacheDisable() function internally has call to Xil_DCacheFlush().
Hence removing redundant calls to Xil_DCacheFlush from FSBL.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-06-10 20:36:58 +05:30
Sarat Chand Savitala
4766bcb9f6 sw_apps:zynqmp_fsbl: Registering exception handlers
Exception handlers are now registered unconditionally for both A53 and R5
Removed enabling of IRQ from FSBL(to be enabled in user application)

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-06-10 20:36:57 +05:30
Sarat Chand Savitala
83eaa550d6 sw_apps:zynqmp_fsbl: Updated release version to 2015.3
Updated release version from 2015.1 SW Beta2 to 2015.3

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-06-10 20:36:56 +05:30
naga sureshkumar relli
d9923bc7bf xilflash_v4_1: Fix Write buffer programming for IntelStrataFlash
This patch fixes the writebufer programming for IntelStrataFlash.

Signed-off-by: naga sureshkumar relli <nagasure@xilinx.com>
2015-06-10 20:36:54 +05:30
naga sureshkumar relli
3b8769e4f8 xilflash_v4_1: Fix warnings.
This patch fixes the warnings.

Signed-off-by: naga sureshkumar relli <nagasure@xilinx.com>
2015-06-10 20:36:52 +05:30
naga sureshkumar relli
cc85685a73 xilflash_v4_1: Fix Spansion write buffer programming.
This patch fixes the spansion write buffer programming
issue.

Signed-off-by: naga sureshkumar relli <nagasure@xilinx.com>
2015-06-10 20:36:51 +05:30
naga sureshkumar relli
6c21998270 xilflash_v4_0: deprecated version 4.0 and created new version 4.1
This patch deprecates the xilflash_v4_0 and
creates new version xilflash_v4_1.

Signed-off-by: naga sureshkumar relli <nagasure@xilinx.com>
2015-06-10 20:36:49 +05:30
Kinjal Pravinbhai Patel
7307299d94 bsp: a9: modified translation_table.s for DDR-less system
This patch modifies translation_table.S to put check whether
the DDR is present or not to fix the compilation error in
case of DDR-less system

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-10 20:18:18 +05:30
Kinjal Pravinbhai Patel
4baf4b5e6e bsp: a53: added src files for cortex-a53 32bit mode
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-08 12:07:35 +05:30
Kinjal Pravinbhai Patel
6b6e985817 bsp: r5: removed xmpu, slcr, xppu header files from cortexr5 folder
This patch removes xmpu, slcr, xppu header files from cortexr5 folder
and standalone tcl has been modified to copy the header files from
cortexa53/includes_ps. Makefile has been modified to include the
header files in include folder while compilation

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-08 12:07:33 +05:30
Kinjal Pravinbhai Patel
9b5cb9a6de bsp: a53: rearranging the Cortex A53 folder structure
This patch creates folder 64bit to accomodate cortex-a53 64bit
mode BSP files and creates another folder includes_ps for
xmpu, xppu, slcr header files. It also changes the standalone tcl to
reflect the necessary changes

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-08 12:07:32 +05:30
Kinjal Pravinbhai Patel
b2f279c410 bsp: a53: added interrupt IDs for RTC
This patch modifies xparameters_ps.h to include RTC interrupt IDs

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-08 12:07:30 +05:30
Kinjal Pravinbhai Patel
f6ab7e5199 bsp: r5: added interrupt IDs for RTC
This patch modifies xparameters_ps.h to include RTC interrupt IDs

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-08 12:07:30 +05:30
Kinjal Pravinbhai Patel
54eda83e22 bsp: deprecated the older version 5.1 and created new minor vesion 5.2
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I have attached standalone BSP patch for deprecating the older version and creating a new version as it is a big patch<o:p></o:p></p>
<p class="MsoNormal">It is located at <o:p></o:p></p>
<p class="MsoNormal">/proj/epdsw2/kinjal/2015.2/0001-bsp-deprecated-the-older-version-5.1-and-created-new<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Kinjal<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

From 256718ca92a9b3407cac916c7c5c3ab048488aaa Mon Sep 17 00:00:00 2001
From: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Date: Thu, 28 May 2015 17:10:25 +0530
Subject: [EMBEDDEDSW PATCH 1/6] bsp: deprecated the older version 5.1 and created new minor vesion 5.2

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-08 12:07:28 +05:30
P L Sai Krishna
01c429ca1a xilisf: Modified the check in flash read APIs for parallel case.
This patch modifies the check for whether bank crossover
in flash read functions for parallel case. This will fix
the bug where wrap around occurs to the top of flash when
reading very bottom..

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-06-04 13:09:43 +05:30
P L Sai Krishna
dbff6b1fe4 xilisf: Created new minor version.
This patch deprecates the xilisf_v5_2 and created new
minor version xilisf_v5_3.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-06-04 13:09:42 +05:30