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>
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>
This fix enables the compiler flags specified in HSI command line
to be appended to those specified in FSBL tcl file.
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
This patch adds support for FSBL running in A53 32-bit mode and
also supports handing off to A53 32-bit applications from FSBL.
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
While creating new FSBL+BSP project, made xilsecure library
to be selected by default. This avoids compilation errors
when FSBL project is created.
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
This patch adds call to check the supported OS platform when
application is Zynq MP FSBL.
This enables correct error message to be displayed when trying
to create FSBL project with OS platform other than Standalone.
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Removing compiler optimization level and debug level flags from FSBL tcl file.
These flags can be passed on as arguments while compiling using make.
O2 optimization will be required while building FSBL to reduce the
size of FSBL and hence to accomodate ATF in OCM.
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Made changes in FSBL tcl file so that unnecessary files are deleted
from build. Since HSI and SDK create their own Makefile,
static Makefile is also removed from build. Also based on CPU,
compiler optins are set to match to those set in SDK.
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
FSBL has R5 specific behaviours so -mcpu must be passed to the build.
Automatically do this on app generation.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
HSI API is now also generating PMU configuration source file
which is not needed in FSBL. Hence deleting it.
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>