Commit graph

225 commits

Author SHA1 Message Date
Harini Katakam
e33bf1144a lwip_echo_server: Add error message when used with PSU Microblaze
Add error message in tcl since there is no support for PSU Microblaze.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-09 16:09:16 +05:30
Harini Katakam
6d1cc7f29d lwip_echo_server: Display error when selecting 32 bit A53 compiler
Update tcl to show an error message when lwip_echo_server is selected
from the sw apps when using 32 bit A53 compiler.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-09 16:07:38 +05:30
Sarat Chand Savitala
b92ef0b31e sw_apps:zynq_fsbl: Added tcl procedures to validate processor and os
tcl procedures are added to facilitate validating the supported processor(s) and
os platform by FSBL.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-10-09 15:34:07 +05:30
Sarat Chand Savitala
f6f21678a4 sw_apps:zynqmp_fsbl: Added support for SD1 and SD1 with level shifter bootmodes
This patch adds support for SD1 and SD1 with level shifter bootmodes in FSBL

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-10-09 08:52:58 +05:30
Sarat Chand Savitala
5ed1c08082 sw_apps:zynqmp_fsbl: Removed UART initialization workaround in FSBL
UART initialization is now done correctly in psu_init file for emulation platforms.
Hence removing the workaround. Also, this workaround should not be present for
Silicon.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-10-09 08:51:34 +05:30
Sarat Chand Savitala
be737a95f5 sw_apps:zynqmp_fsbl: Added print for Silicon platform
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-10-09 08:50:09 +05:30
Sarat Chand Savitala
0fb011dcd9 sw_apps:zynqmp_fsbl: Power state not to be checked before sending powering up request
Currently power state of island is checked before giving corresponding power up
request. This fix removes this check as this condition is false at reset and
leading to the corresponding power up request not being sent.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-10-09 08:48:22 +05:30
Kinjal Pravinbhai Patel
44d2785d51 sw_apps: added support for cortexa9 to openamp rpc demo application
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-08 19:48:47 +05:30
Kinjal Pravinbhai Patel
5a398f8caa sw_apps: added support for cortexA9 to openamp matrix multiply application
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-08 19:48:38 +05:30
Kinjal Pravinbhai Patel
0bcca21961 sw_apps: added support for CortexA9 to openamp echo test application
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-08 19:48:30 +05:30
Kinjal Pravinbhai Patel
03ea09348d sw_apps: FreeRTOS support included for RPC demo
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-08 19:47:27 +05:30
Sarat Chand Savitala
b5d70fa084 sw_apps:zynqmp_fsbl: Added tcl procedures to validate processor and os
tcl procedures are added to facilitate validating the FSBL supported processor(s)
and os platform.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-10-08 19:21:54 +05:30
Jyotheeswar Reddy
b18bcbdb00 sw_apps:pmufw: Add tcl procedures to provide support info
Provide tcl procedures to query for processors and os
supported by pmufw app. SDK uses the return values of these
procedures to make sure that pmufw app shows up in the apps
list only when the supported processor type (psu_microblaze)
and OS (standalone) are selected.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-10-08 19:21:29 +05:30
Anurag Kumar Vulisha
1856379a9c rsa_auth_app: Added new procedures for providing support info
Added below procedures in rsa_auth_app.tcl file,
swapp_get_supported_processors: This returns the list of processors supported for this application.
swapp_get_supported_os: This returns the list of OS supported for this application

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-07 15:09:13 +05:30
Harini Katakam
a82d03ddb7 lwip_echo_server: Add new procedures providing support info
Add two new procedures to provide information on what is supported by
lwip_echo_server:
swapp_get_supported_processors
swapp_get_supported_os

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-06 11:51:11 +05:30
Anurag Kumar Vulisha
8b606d32ba xilkernel_thread_demo: Added new procedures for providing support info
Added below procedures in xilkernel_thread_demo.tcl file,
swapp_get_supported_processors: This returns the list of processors supported for this application.
swapp_get_supported_os: This returns the list of OS supported for this application.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-10-06 11:51:10 +05:30
Anurag Kumar Vulisha
1b5e7fd767 openamp_rpc_demo: Added new procedures for providing support info
Added below procedures in openamp_rpc_demo.tcl file,
swapp_get_supported_processors: This returns the list of processors supported for this application.
swapp_get_supported_os: This returns the list of OS supported for this application.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-10-06 11:51:09 +05:30
Anurag Kumar Vulisha
15bb986169 openamp_matrix_multiply: Added new procedures for providing support info
Added below procedure in openamp_matrix_multiply.tcl file,
swapp_get_supported_processors: This returns the list of processors supported for this application.
swapp_get_supported_os: This returns the list of OS supported for this application.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-10-06 11:51:09 +05:30
Anurag Kumar Vulisha
05ce8ca682 openamp_echo_test: Added new procedures for providing support info
Added new procedures in openamp_echo_test.tcl file,
swapp_get_supported_processors: This returns the list of processors supported for this application.
swapp_get_supported_os: This returns the list of OS supported for this application.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-10-06 11:51:07 +05:30
Anurag Kumar Vulisha
c76635d5b3 freertos_hello_world: Added new procedures for providing support info
Added below procedures in freertos_hello_world.tcl file,
swapp_get_supported_processors: This returns the list of processors supported for this application.
swapp_get_supported_os: This returns the list of OS supported for this application.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-10-06 11:51:07 +05:30
Sarat Chand Savitala
cc92596e56 sw_apps:zynq_fsbl: Updated release version to 2015.4
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-09-28 16:52:55 +05:30
Sarat Chand Savitala
9b2ec2375f sw_apps:zynqmp_fsbl: Updated release version to 2015.4
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-09-28 10:17:06 +05:30
Kinjal Pravinbhai Patel
3e171ddc9c sw_apps: openamp echo test modified for copyright year update
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Nava kishore Manne <nava.manne@xilinx.com>
2015-09-01 15:02:34 +05:30
Kinjal Pravinbhai Patel
dd7f6463e3 sw_apps: openamp matrix multiply modified for copyright year update
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Nava kishore Manne <nava.manne@xilinx.com>
2015-09-01 15:02:22 +05:30
Anirudha Sarangi
8a3a1575e7 RPCDemoOpenAMPApp: Fix warnings
This patch fixes existing warnings.

Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-09-01 11:12:36 +05:30
Anirudha Sarangi
2361f8e91a OpenAMPMatrixMultiplyApp: Fix warnings
This patch fixes warnings in the OpenAMP matrix multiply app.

Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-09-01 11:12:27 +05:30
Anirudha Sarangi
41a0f1035d OpenAMPEchoTestApp: Fix warnings
This patch makes changes to fix warnings in the OpenAMP echo test app.
Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-09-01 11:12:03 +05:30
Kinjal Pravinbhai Patel
9e44967224 sw_apps: openamp echo test is modified to support freertos
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-for-series: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-26 18:23:18 +05:30
Kinjal Pravinbhai Patel
0d7905e608 sw_apps: openamp rpc demo application is modified
This patch changes openamp rpc demo application linker script
to keep everything in DDR except vectors. It fixes the order
of text carve out memory.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-for-series: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-26 18:23:08 +05:30
Kinjal Pravinbhai Patel
e7d500deb7 sw_apps: openamp matrix multiply application is modified
This patch changes linker script to keep everything into DDR
except vectors. It removes frequent call to enable interrupt
and removed disable interrupt in between. It also fixes the
order of text carve out entry.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-for-series: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-26 18:22:45 +05:30
Anirudha Sarangi
77c1e57aee FreeRTOS_App: Update the FreeRTOS hello world application
This patch updates the FreeRTOS Hello World Demo application to
make it more meaningful. Also it updates the tcl to make it work for
R5, A9 and MicroBlaze.

Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
Acked by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-08-26 18:09:10 +05:30
Kinjal Pravinbhai Patel
984a96b8c4 sw_apps: openamp matrix multiply tcl modified for hsi change
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-25 20:27:05 +05:30
Sarat Chand Savitala
ceb7c06ab2 sw_apps:zynqmp_fsbl: Disable early handoff by default
Currently R5 applications are handedoff immediately after they are loaded.
This feature is configurable in FSBL and now with this change, early handoff
is disabled by default. User can enable this feature again by defining
FSBL_EARLY_HANDOFF_EXCLUDE_VAL as 1.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-25 18:07:54 +05:30
Kinjal Pravinbhai Patel
b38a8677a2 sw_apps: modified openamp matrix multiply for proper OS check
This patch modifies openamp matrix multiply application tcl file
to check if OS is standalone or freertos for which the application
is being built

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-21 15:01:41 +05:30
Kinjal Pravinbhai Patel
f119e134e9 sw_apps: modified openamp rpc demo application
This patch modifies openamp rpc demo to support the latest kernel
changes by modifying IPI channel bit mask, moving the code to DDR
from 0xfffc0000 to avoid conflict with ATF

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 23:14:25 +05:30
Kinjal Pravinbhai Patel
ebb97640ae sw_apps: modified openamp echo test application
This patch modifies openamp echo test to support the latest kernel
changes by modifying IPI channel bit mask, moving the code to DDR
from 0xfffc0000 to avoid conflict with ATF

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 23:14:11 +05:30
Kinjal Pravinbhai Patel
fefbadcdf0 sw_apps: modified openamp matrix_multiply application
This patch modifies openamp matrix multiply application to pick
correct linker script for baremetal and freertos. This patch
also modifies linker scripts to put the data into DDR instead
of part of OCM where ATF lies. This patch modifies IPI mask in
openamp application to support it with latest linux changes

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
2015-08-20 23:13:59 +05:30
Sarat Chand Savitala
5b3ea5f28f sw_apps:zynqmp_fsbl: Removed unnecessary file in sources
FSBL Tcl file changed to remove unnecessary file from build.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-17 09:09:35 +05:30
Sarat Chand Savitala
4fb856ad83 sw_apps:zynqmp_fsbl: Disabled debug prints in FSBL
Except banner all prints are disabled in FSBL.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-17 09:09:25 +05:30
Sarat Chand Savitala
71d7769303 sw_apps:zynqmp_fsbl: Change of invalid load address value for PL bitstream
When load address is not mentioned for PL bitstream, bootgen now makes this
as 0xFFFFFFFF to indicate it is invalid. Hence, FSBL uses default address to
load bitstream when load address from bootgen is 0xFFFFFFFF.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-17 09:09:03 +05:30
Jyotheeswar Reddy
73154541df PMUFW: lscript: Force generation of single loadable section
Bootgen currently has no support for multiple loadable sections
in elfs. So a workaround is being implemented in PMUFW linker
script. All sections are forced to be loadable and dummy bytes
are added to fill the gaps. This change causes linker to throw
a warning about bss section being made PROGBITS.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
2015-08-14 15:57:27 +05:30
Sarat Chand Savitala
e8ac191579 sw_apps:zynq_fsbl: Corrected the format specifier in print statements
Changed the format specifiers from %x to %lx and %d to %lu
while printing unsigned long variables.
Without these changes many warnings are shown in FSBL when xil_printf
type in BSP is changed to be compatible with printf.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-14 11:59:09 +05:30
Kinjal Pravinbhai Patel
da9e3d6e71 sw_apps: openamp matrix multiply: Added freertos support
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-14 11:43:33 +05:30
Kinjal Pravinbhai Patel
0cdcbdafd3 sw_apps: rpc demo: changed baremetal ipi_isr type
This patch modifies ipi_isr in baremetal.c to make it compatible
with freertos supported openamp library.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-14 11:43:23 +05:30
Kinjal Pravinbhai Patel
60a8d226c8 sw_apps: echo test: changed baremetal ipi_isr type
This patch modifies ipi_isr in baremetal.c to make it compatible
with freertos supported openamp library.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-14 11:43:15 +05:30
Sarat Chand Savitala
fe3cd5aba2 sw_apps:zynqmp_fsbl: Corrected compiler flags for R5
Currently for R5, compiler flag for, floating-point ABI is mentioned
as "softfp". This causes abort on encountering floating point arithmetic
operation. Hence changing this flag to "soft".

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-12 20:27:48 +05:30
Jyotheeswar Reddy
e9a4597006 PMUFW:lscript: Remove redundant serv ext table section
Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
Reviewed-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
2015-08-11 22:37:26 +05:30
Harini Katakam
1ec39318a8 lwip_echo_server: Add support for A53
Add support for A53:
- Add __aarch64__ in conditional compilation
- Disable data cache as lwip is not working on A53 with caches enabled

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha   Sarangi <anirudh@xilinx.com>
2015-08-11 15:54:18 +05:30
Harini Katakam
243210232c lwip_echo_server: Add support for A53 in the tcl
Add support for A53 in the tcl.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha   Sarangi <anirudh@xilinx.com>
2015-08-11 15:54:08 +05:30
Sarat Chand Savitala
1b1368305f sw_apps:zynqmp_fsbl: Fix to handle invalid cluster id
Added check to detect invalid cluster id and throw error accordingly.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-10 16:47:18 +05:30