Commit graph

59 commits

Author SHA1 Message Date
Venkata Naga Sai Krishna Kolapalli
e11c340f01 standalone : Removed profiling support for A53/R5.
This patch modifies standalone.tcl, A53 gcc makefile and
R5 gcc makefile such that profiling support for these
A53/R5 bsps was removed.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-27 12:57:06 +05:30
Venkata Naga Sai Krishna Kolapalli
cdc6fc65cd standalone : Modified .tcl for psu_microblaze support.
This patch modifies standalone.tcl for supporting psu_microblaze
and also pss_* notation was replaced to psu_*.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-27 12:57:05 +05:30
Kedareswara rao Appana
6338e23782 bsp: xilkernel: Update xilkernel pdf doc
This patch updates the xilkernel pdf doc

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-04-27 12:57:05 +05:30
Kinjal Pravinbhai Patel
110990e920 bsp: cortexa9: change floating point flag
This patch modifies floating point flag to vfpv3 in BSP makefile
for armcc compiler

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-27 12:56:56 +05:30
Kinjal Pravinbhai Patel
ae8df4249a bsp: cortexa9: change floating point flag
This patch changes floating point flag in BSP make file for iar compiler

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-27 12:56:55 +05:30
Nava kishore Manne
4871302707 bsp: update documentation pdf
This patch updates the documentation pdf for stanalone bsp

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-04-27 12:56:54 +05:30
Venkata Naga Sai Krishna Kolapalli
cf44439081 standalone : Modified the lseek function signature.
This patch modifies the function signature of lseek
to compile on ICC ARM compiler.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-27 12:56:50 +05:30
Venkata Naga Sai Krishna Kolapalli
2f0a954631 standalone : Modification history updated.
This patch updates the modification history in
the changelog.txt

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-27 12:56:29 +05:30
Venkata Naga Sai Krishna Kolapalli
be537c52ca standalone : Updated range list.
This patch modifies uartns550 peripheral name from
axi_uartns550 to axi_uart16550.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-27 12:56:11 +05:30
Kinjal Pravinbhai Patel
0200c8a4c7 bsp: a9: change in translation table
this patch modifies translation table to select ddr size from hdf file

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-26 10:36:01 +05:30
Venkata Naga Sai Krishna Kolapalli
f828b274f9 standalone : Modified the signedness of a variable.
This patch modifies a variable num to be u32 instead
of s32.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-26 10:35:59 +05:30
Anirudha Sarangi
a018a667bb standalone BSP: Changed the IP names in the mld file
This patch changes the IP names in the range property for
uartlite and uartns550 to axi_uartlite and axi_uartns550.

Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-04-26 10:35:53 +05:30
Anirudha Sarangi
b91fe7dc6b standalone BSP: Update the standalone mld file for proper STDIN/STDOUT range
This patch updates the mld file with range properties for
STDIN and STDOUT.

Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-04-26 10:35:06 +05:30
Kinjal Pravinbhai Patel
8333590e2d BSP: A9: modified xparameters_ps.h in cortexa9
This patch adds definitions for ttc interrupt IDs for TESTAPP GEN

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-04-26 10:31:19 +05:30
Kishore Kumar Korathaluri
6d2f321321 xilkernel : added common namespace to all common tcl commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:31:11 +05:30
Kishore Kumar Korathaluri
ef6ffd7cef standalone : added common namespace to all common tcl commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
2015-04-26 10:31:10 +05:30
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