Xilinx® provides a bare metal software stack called the standalone board support package (BSP) as part of the Vitis™ software platform. The Standalone BSP gives you a simple, single-threaded environment that provides basic features such as standard input/output and access to processor hardware features. The BSP and included libraries are configurable to provide the necessary functionality with the least overhead. You can locate the standalone drivers at the following path:
<Xilinx Installation Directory>\Vitis\<version>\data\embeddedsw\XilinxProcessorIPLib\drivers
You can locate libraries at the following path:
<Xilinx Installation Directory>\Vitis\<version>\data\embeddedsw\lib\sw_services
The following figure illustrates the bare metal software stack in the APU.
The key components of this bare metal stack are:
- Software drivers for peripherals including core routines needed for using the Arm® Cortex™-A53, Arm® Cortex™-R5F processors in the PS as well as the Xilinx® MicroBlaze™ processors in the PL.
- Bare metal drivers for PS peripherals and optional PL peripherals.
- Standard C libraries: libc and libm, based upon the open source Newlib library, ported to the Arm Cortex-A53, Arm Cortex-R5F, and the MicroBlaze processors.
- Additional middleware libraries that provide networking, file system, and encryption support.
- Application examples including the first stage boot loader (FSBL) and test applications.