Commit graph

43 commits

Author SHA1 Message Date
Kinjal Pravinbhai Patel
ba8cacf8f0 BSP: R5: clean up xparamters_ps.h
This patch removes the non-required definitions of XPS_*_BASEADDR in xparameters_ps.h

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-26 10:30:31 +05:30
Kinjal Pravinbhai Patel
4ff34113d2 BSP: A53: clean up xparamters_ps.h
This patch removes the non-required definitions of XPS_*_BASEADDR in xparameters_ps.h

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-26 10:30:30 +05:30
Kinjal Pravinbhai Patel
35c11ded6a BSP: A53: clean up xil-crt0.s
This patch removes unused variable definitions from xil-crt0.s

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-26 10:30:30 +05:30
Kinjal Pravinbhai Patel
bff62dfbe7 BSP: A53: clean up for sleep routine
This patch cleans up the sleep and usleep routines for A53

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-26 10:30:27 +05:30
Nava kishore Manne
febf5d437d xilkernel : added namespace for all HSI TCL commands.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-04-26 10:30:15 +05:30
Kishore Kumar Korathaluri
2ddc06574e standalone : added namespace for all HSI TCL commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:30:13 +05:30
Venkata Naga Sai Krishna Kolapalli
0044befaca standalone : Reverted back the signature of xil_printf.
This patch reverts back the function signature in a53,a9 and
r5 xil_printf API.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-26 10:29:34 +05:30
Venkata Naga Sai Krishna Kolapalli
2dee01e56d standalone : Updated copyright contents.
This patch updates the standalone files copyright information with the
latest content.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-26 10:29:33 +05:30
Venkata Naga Sai Krishna Kolapalli
b1562d0c85 standalone : xpm_counter.c file was modified to compile for armcc.
This patch modifies xpm_counter file. Removed old notation uint32 and used u32.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-26 10:29:30 +05:30
Kinjal Pravinbhai Patel
e6d6e901cb BSP: cortexa9: change in boot code
Modified boot code to enable scu after MMU is enabled and
removed incorrect initialization of TLB lockdown register in
gcc/boot.S & cpu_init.S, armcc/boot.S and iccarm/boot.s

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-26 10:29:26 +05:30
Kinjal Pravinbhai Patel
6d8be37a23 BSP: common: added new APIs for differentiating Zynq and Zynq MP
This patch includes APIs for differentiating between Zynq and Zynq
Ultrascale MP

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-26 10:29:25 +05:30
Venkata Naga Sai Krishna Kolapalli
6bc29be8b6 standalone : Modified L2CacheInvalidate API for flushing stack region in A9.
This patch modifies cortex-a9 L2CacheInvalidate API for calculating stack
region and flushing out to memory before cache invalidation. This safeguards link
register value in stack from being corrupted due to cache invalidation.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-26 10:29:24 +05:30
Venkata Naga Sai Krishna Kolapalli
800c8793fb standalone : Included xil_types.h in xil_assert.h.
This patch includes the xil_types.h in missing header files like xil_assert.h,sleep.h, xil_testcache.h and xpseudo_asm_gcc.h.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-26 10:29:19 +05:30
Nava kishore Manne
16ff3b4e03 standalone : Modified namespace from HSM to HSI.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-04-13 14:36:57 +05:30
Venkata Naga Sai Krishna Kolapalli
93ece4087a standalone : Modified .mld file to support ZynqMP
This patch modified .mld that is required for the
unifing process of standalone code.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-13 14:36:56 +05:30
Venkata Naga Sai Krishna Kolapalli
3f6f63b07e standalone : Modified code for MISRA-C:2012 compliance.
This patch unifies standalone for both Zynq and ZynqMP
platforms. Also follows misrac guidelines.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-13 14:36:56 +05:30
Kedareswara rao Appana
8a2a79d0f3 bsp: Fix bug in the xilernel bsp tcl
This patch fixes the xilkernel_thread_demo app compilation error
when microblaze is configured with mmu(C_USE_MMU) greater than one.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2014-11-25 21:38:29 +05:30
Kinjal Pravinbhai Patel
1d7759dbd0 BSP: modified translation table for armcc and iar compiler cortexa9
This patch modifies translation table entries in armcc/translation_table.s and
iccarm/translation_table.s to fix the compilation error

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2014-09-26 19:50:18 +05:30
Harini Katakam
8bff16d07c xilkernel: Update documentation
Update existing documentation with new document properties.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2014-09-26 19:50:17 +05:30
Harini Katakam
ac73bf5763 bsp: Update documentation
Publish updated documentation with new version number and document
properties.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2014-09-26 19:50:16 +05:30
Kinjal Pravinbhai Patel
2279391b34 BSP: modified translation table for cortexa9
This patch modifies translation table entries for cortexa9 in armcc/translation_table.s,
gcc/translation_table.s and iccarm/translation_table.s to match with the address map of
zynq

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2014-09-26 19:50:13 +05:30
Kinjal Pravinbhai Patel
df0b3b1a00 BSP: modified iccarm makefile
this patch modifies makefile of cortexa9/iccarm for proper linking of object file

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2014-09-02 11:21:25 +05:30
Jagannadha Sutradharudu Teki
2338f905a4 bsp: handle mb profiling correctly
Do not use r16 to pass arguments to mcount

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:21:19 +05:30
Subbaraya Sundeep Bhatta
6b6fb58d15 bsp: handle mb profiling correctly
Do not use r16 to pass arguments to mcount

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:21:18 +05:30
Subbaraya Sundeep Bhatta
1c5721387d bsp: Add declarations for cache APIs
Added microblaze_flush_cache_ext_range, microblaze_invalidate_
cache_ext_range declarations.

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:21:18 +05:30
Kinjal Pravinbhai Patel
c361aa8b5b BSP: removed PEEP related code
This patch removes PEEP related code from standalone
BSP cortexa9 and also removes uart.c and smc.c.

Also removed function definition of XSmc_NorInit and
XSmc_NorInit from cortexa9/smc.h

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:21:14 +05:30
Kinjal Pravinbhai Patel
65aed475af BSP: removed nanosleep routine from usleep.c
This patch removes unimplemented nanosleep routine from cortexa9/usleep.c

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:21:14 +05:30
Kedareswara rao Appana
8b74cbc739 xilkernel: fix issue with the static_pthread_support
Enable the static_pthread_support when there is
valid entries in the static_pthread_table.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:21:13 +05:30
Kinjal Pravinbhai Patel
396886d88e BSP: change for IAR compiler
This patch make changes for IAR compiler in default
handler routine for data abort and prefetch abort.

Also it contains one modification in xil_cache.c for
correct register in Xil_DCacheInvalidateRange routine
for IAR compiler.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:21:08 +05:30
Kinjal Pravinbhai Patel
7cf85a2151 BSP: included xil_types.h in xil_mmu.h
This patch fixes issue of "unknown type name u32" for xil_mmu.h
file by including xil_types.h in xil_mmu.h

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:21:08 +05:30
Kinjal Pravinbhai Patel
dee9a0a9ec BSP: changed reset value of event counter
This patch fixes issue of incorrect reset value of event
counter in Xpm_ResetEventCounters function in src/cortexa9/xpm_counter.c file

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:21:08 +05:30
Srikanth Thokala
cb889f976a bsp: Define intptr and ptrdiff types
This patch defines intptr and ptrdiff types.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:21:00 +05:30
Srikanth Thokala
fd8550d509 bsp: Use data types that are defined in stdint.h
This patch uses the data typess from stdint.h (in the toolchain
instead of type defining standard data types.  This addition
makes the file xil_types.h independent of 32/64-bit platform.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:21:00 +05:30
Kinjal Pravinbhai Patel
ba3fd939c8 BSP : Added notes for the Xil_ExceptionInit function in xil_exceptio.c
This patch adds notes for the  Xil_ExceptionInit function for
modification of exception handler initilization.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:21:00 +05:30
Kinjal Pravinbhai Patel
84e5fc4775 BSP: Added weak attribute into functions of BSP which are also present in tool chain
This patch fixes issue of multiple definition of function in
toolchain and BSP for some special cases.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:20:59 +05:30
Kinjal Pravinbhai Patel
ed539f88e4 BSP: Makefile for armcc has been changed for proper linking of translation_table.s
This patch fixes the issue of improper linking of translation_table.s
by changing the cortexa9/armcc/Makefile

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:20:59 +05:30
Kinjal Pravinbhai Patel
4830d9527a BSP: Enabled asynchronous abort exception and added dafault exception handler for data abort and prefetch abort
This patch enables asynchronous abort exception in boot.s and
adds default exception handler for data abort and prefetch abort
for debug purpose.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:20:59 +05:30
Kedareswara rao Appana
325a09c284 bsp: Fix for the issues in the xilkernel tcl file
This patch fixes the issues in the xilkernel tcl file
Using MB & Xilkernal with config_bufmalloc with config_msgq fails with unclear error

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:20:57 +05:30
Srikanth Thokala
9c2b0736a0 bsp: Remove '#undef DEBUG' in xdebug.h
This patch removes this line and doing so it allows to output the
xdbg_printf() debug logs when -DDEBUG flag is enabled for BSP.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:20:56 +05:30
Kinjal Pravinbhai Patel
6ef2a1bae2 BSP: Added IAR support for cortexa9
This patch adds support for iar compiler into standalone BSP for cortexa9

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2014-09-02 11:20:56 +05:30
Subbaraya Sundeep Bhatta
afea227828 bsp: Remove PowerPC references
Remove PowerPC references from mld file

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
2014-09-02 11:20:54 +05:30
Kishore Kumar Korathaluri
08092b8d48 Renaming of common TCL procs of HSM
CR: 767582

Wall Data:
  Originally submitted from RDI_kkorath_new
  Build Type: full
  Test Types: pre-commits, gui pre-commits
[git-p4: depot-paths = "//Rodin/HEAD/data/embeddedsw/": change = 926519]
2014-09-02 11:20:54 +05:30
Jagannadha Sutradharudu Teki
2c8f92039d embeddesw: Add initial code support
Added initial support Xilinx Embedded Software.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
2014-06-24 16:45:01 +05:30