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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>