Commit graph

208 commits

Author SHA1 Message Date
Kinjal Pravinbhai Patel
6e145b38ae bsp: r5: change in makefile for compiler check
Modified cortexr5/gcc/Makefile to keep a correct check of a compiler
to update ECC_FLAGS correctly.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Reviewed-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-07-31 16:54:41 +05:30
Kinjal Pravinbhai Patel
2645d56b26 bsp: a9: chnage in gcc makefile for compiler check
Modified cortexa9/gcc/Makefile to keep a correct check of a compiler
to update ECC_FLAGS to fix a bug introduced during new version creation
of BSP

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Reviewed-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-07-31 16:54:40 +05:30
Kinjal Pravinbhai Patel
363baf34d9 bsp: a53: xil_settlbattributes modified for addresses > 4GB
This patch modifies xil_settlbattributes API to work with
addresses > 4GB by modifying the address masking value
appropriate for higher addresses lies beyond 4GB

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Reviewed-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-07-31 16:54:39 +05:30
Harini Katakam
f85e3a62b3 lwip_echo_server: Add support for Zynq Ultrascale MPSoC
Add a separate platform file for Zynq Ultrascale MPSoC using the
respective timer and driver functions. The platform selection is
based on the processor recognized in the tcl file.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Reviewed-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-07-31 16:54:13 +05:30
Harini Katakam
1cb1e03722 lwip_echo_server: Add detection of A53 and R5 in tcl
Add support for recognizing processor A53 or R5 to work for
Zynq Ultrascale MPSoC

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Reviewed-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-07-31 16:54:04 +05:30
Harini Katakam
f406b72805 xilffs: Modify makefile to check for IAR compiler
Modify makefile to check for IAR compiler to use --create and
remove individual checks for all other compilers.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Reviewed-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-07-23 12:34:26 +05:30
P L Sai Krishna
0a1c15f45c xilffs: Card detection checked after disk status.
This patch does card detection check before disk
status call, since BaseAddress and card detect
variables will be assigned in disk_status API.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-07-17 20:32:25 +05:30
Sarat Chand Savitala
2f7303ed76 sw_apps:zynqmp_fsbl: Load address configuration in DDR for PL
Changed the location of temporary ddr address definition.
This address is for storing PL bitstream temporarily.
User can change this address till support is provided in bootgen
(for load address configuration for PL).

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-07-17 20:20:58 +05:30
Sarat Chand Savitala
487abcb1b4 sw_apps:zynqmp_fsbl: Power up check added for power islands
Added checks to power up power islands, if required, before first access.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-07-17 20:20:29 +05:30
Kinjal Pravinbhai Patel
a4ce0fd772 bsp: a53: changed the makefile to take compiler name from cpu tcl
This patch modifies the makefile for a53 to take the compiler and
archiver name from cpu tcl rather than fixing them.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-07-14 10:51:59 +05:30
Kinjal Pravinbhai Patel
9a266b1159 bsp: r5: changed the makefile to take compiler name from cpu tcl
This patch modifies the makefile for r5 to take the compiler and
archiver name from cpu tcl rather than fixing them.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-07-14 10:51:58 +05:30
Kinjal Pravinbhai Patel
a09427a546 bsp: a53: added 64bit print support in xil_printf
This patch modifies xil_printf to add support for 64bit
pointer value print in case of 64bit mode. It adds support
to print 64 bit value for long integer and long hex.
It also removes unknown specifier 'D'.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-07-14 10:19:00 +05:30
Nava kishore Manne
904528b4bd lib:sw_apps:get_cells is changed to ::hsi::get_cells
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-07-13 17:38:07 +05:30
P L Sai Krishna
b7134896b7 xilskey: Changed supported peripheral name to ps7_cortexa9.
This patch modifies the supported peripheral name
to ps7_cortexa9.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-07-09 19:47:17 +05:30
P L Sai Krishna
c54a28c510 xilrsa: Changed Support peripheral name to ps7_cortexa9.
This patch changes the supported peripheral name to
ps7_cortexa9.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-07-09 19:47:17 +05:30
P L Sai Krishna
71589358e1 xilffs: Added support for SD1.
This patch add support for SD1.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-07-09 19:33:51 +05:30
P L Sai Krishna
380282ca43 xilffs: Removed Change Bus Speed, Clock API's in glue layer.
This patch removes Change Bus Speed, Clock Freq, SelectCard
API's in glue layer since driver is taking care of those
things.

Signed-off-by: Srinivas Goud <sgoud@xilinx.com>
2015-07-09 19:33:50 +05:30
Nava kishore Manne
c635f10c8f Syncing ESW zynq_fsbl with HEAD zynq_fsbl 2015-07-09 18:56:17 +05:30
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