Commit graph

64 commits

Author SHA1 Message Date
Nava kishore Manne
6f6f2268ba pdf file updates for 2015.4 release
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-12-01 12:01:33 +05:30
Nava kishore Manne
057fcb7917 Removed version information from all drivers.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-11-20 16:32:15 +05:30
Kinjal Pravinbhai Patel
a4ecb119e1 lib: bsp: cortex-a9 bsp is modified for fixing iar compilation
This patch modifies assembly level barrier function definitions
in xpseudo_asm_iccarm.h for iar compiler to fix the compilation
error for coresight driver

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-By: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-11-04 18:23:00 +05:30
Anirudha Sarangi
cbbf0e86d7 standalone BSP: Disable TCM ECC checks in boot code
It is observed that when the C stack in put in TCM, ECC errors
get reported resulting in data abort.
This patch disables TCM ECC check temporarily before we come
to a proper conclusion regarding how to handle this use case.
Since we expect users to run code in R5 TCM, this patch removed
ECC check for TCMs to avoid data aborts.

Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-10-19 22:20:43 +05:30
Kinjal Pravinbhai Patel
b239d6a0db bsp: a53: asm instructions have been modified to return proper value
This patch modifies asm instruction ldr and mfcp for a53 64bit mode
to return 64bit values

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-19 22:04:35 +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
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
0fcc5be66f bsp: a53: modified a53 32bit asm_vectors.S for linker issue
This patch modifies a53 32bit asm_vectors.S to put proper
attribute for section .vectors

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-01 17:59:49 +05:30
Kinjal Pravinbhai Patel
a05a08e12a bsp: r5: modified Init_MPU for ddrless system
This patch modifies Init_MPU API in mpu.c for mpu region
to be configured for DDR, only when it is present. It will mark
the region only for TCMs in case of DDRless system

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-01 17:58:13 +05:30
Kinjal Pravinbhai Patel
ca800f5605 bsp: a53: modified bsp for ddrless system
This patch modifies translation table for a53 bsp 32bit and 64bit
to mark memory reserved in case of ddrless system

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-01 17:56:20 +05:30
Kinjal Pravinbhai Patel
f6e0b0a6db bsp: added a new minor version
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-01 17:54:05 +05:30
Kinjal Pravinbhai Patel
238cc65075 bsp: r5: updated copyright year information
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Nava kishore Manne <nava.manne@xilinx.com>
2015-09-01 15:02:12 +05:30
Kinjal Pravinbhai Patel
67fe878017 bsp: a53: updated copyright year information
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Nava kishore Manne <nava.manne@xilinx.com>
2015-09-01 15:01:56 +05:30
Kinjal Pravinbhai Patel
8c0fea1a5e bsp: a9: updated copyright year information
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Nava kishore Manne <nava.manne@xilinx.com>
2015-09-01 15:01:32 +05:30
Kinjal Pravinbhai Patel
f82f6df813 bsp: copyright year has been updated for common files
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Nava kishore Manne <nava.manne@xilinx.com>
2015-09-01 15:01:05 +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
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
Kinjal Pravinbhai Patel
c057e98588 bsp: a53: modified translation table in a53 32bit bsp
This patch modifies a53 32bit bsp translation table to fix the
incorrect translation table entries for addresses beyond
0xfA000000

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-10 14:26:48 +05:30
Kinjal Pravinbhai Patel
959f06aa0b bsp: a53: change in 32bit bsp makefile
This patch removes floating point flags from 32bit bsp makefile
as floating point unit is disabled in bsp for now

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-10 14:26:11 +05:30
Nava kishore Manne
7a47ffd9e8 Removed executable file permission from source code files.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-03 18:32:57 +05:30
Kinjal Pravinbhai Patel
60c693e0fe bsp: added support for 32bit bsp for A53
This patch modifies standalone bsp tcl to generate 32bit/64bit
a53 bsp by keeping compiler check in the tcl to copy the
appropriate source file while generating standalone bsp

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-07-31 16:56:22 +05:30
Nava kishore Manne
cabafea458 Fix for standalone os tcl to support MultiBd and Packaged Bd
Acked-for-series: Naga Sureshkumar Relli <nagasure@xilinx.com>
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-07-31 16:56:15 +05:30
Nava kishore Manne
a96825c608 Fix for xilikernel os tcl to support MultiBd and Packaged Bd
Acked-for-series: Naga Sureshkumar Relli <nagasure@xilinx.com>
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-07-31 16:56:15 +05:30
Kedareswara rao Appana
60efc68c14 lib: bsp: Add UPPER_32_BITS and LOWER_32_BITS macro's
UPPER_32_BITS(x) macro to handle shifts that may be >= the width of
the data type.
LOWER_32_BITS(x) macro to handle masking of 32-bit data types.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-07-31 16:55:53 +05:30
Kinjal Pravinbhai Patel
1f3de84cd2 bsp: a53: added memory attribute definition in xil_mmu.h
This patch adds various memory attribute definition
which can be used along with xil_settlbattributes API to
mark certain memory region with required attributes
such as cacheable or non-cacheable, inner/outer/non shareable
or executable or not etc.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-07-31 16:55:51 +05:30
Kinjal Pravinbhai Patel
39f94f2135 bsp: a53: change in boot.s to include more memory attributes
This patch inclues memory attributes like device memory and
write through cacheable memory attributes to memory
attribute index register in boot.S

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-07-31 16:55:49 +05:30
Nava kishore Manne
e35699808d Update Tcl files to support MultiBd and Packaged Bd Designs
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
2015-07-31 16:55:01 +05:30
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
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
04f120953b Revert "bsp: xil_printf: Specify attribute(format)"
This reverts commit 91606d4ae07a49dd5422b5e3bf2ed7a477296263.
2015-07-06 10:20:05 +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
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
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