

config file located in the build directory, with the same makefile target. Like the kernel, the U-Boot build system is based on configuration symbols (defined in Kconfig files). Hence to compile U-Boot, select the and the device tree for the board in order to choose a predefined configuration. įor example, CONFIG_ SPL activates the SPL compilation. DeviceTree: U-Boot binaries include a device tree blob that is parsed at runtimeĪll the configuration flags (prefixed by CONFIG_) are described in the source code, either in the README file or in the documentation directory.STM32MP15x lines : include/configs/stm32mp15_st_common.h.STM32MP13x lines : include/configs/stm32mp13_st_common.h.The file name is configured through CONFIG_SYS_CONFIG_NAME, for example on STMicroelectronics boards:

other compilation flags defined in include/configs/stm32mp*.h (these flags are progressively migrated to Kconfig).the selected configuration file: configs/stm32mp*_defconfig.options defined in Kconfig files (CONFIG_ compilation flags).Kbuild infrastructure (as in Linux Kernel, you can use make menuconfig in U-Boot).The U-Boot binary configuration is based on pass the control to the Linux kernel (or to another target application).
STM32 HEADER FILR E INSTALL
STM32 HEADER FILR E SERIAL
STM32 HEADER FILR E DRIVERS
board_init_r(): initialization of the other drivers activated in the SPL device tree.configuration of heap in DDR memory (CONFIG_ SPL_SYS_MALLOC_F_LEN).board_init_f(): driver initialization including DDR initialization (mininimal stack and heap: CONFIG_ SPL_STACK_R_MALLOC_SIMPLE_LEN).SPL executes the following main steps in SYSRAM: SPL is not supported in OpenSTLinux as alternate FSBL: it cannot be used for product development. It loads the SSBL ( U-Boot) into the DDR memory.It performs the initial CPU and board configuration (clocks and DDR memory).It is a small binary (bootstrap utility) generated from the U-Boot source and stored in the internal limited-size embedded RAM. The U-Boot SPL or SPL is an alternate first stage bootloader ( FSBL).
