...
It is important to note that the STM32H750 device has only 128KB of internal (on-chip) Flash. This implies that the initial firmware binary must be small enough to fit into this amount of Flash. U-Boot supports this, by implementing the concept of the "U-Boot SPL". When the U-Boot SPL build-time option (CONFIG_SPL_BUILD
) is enabled in the U-Boot configuration file (include/configs/stm32h7-som.h
), the U-Boot build procedure will build two separately loadable firmware images:
...
Code Block |
---|
./stm32h7-som-prog.kermit <tty> <uboot_img> [<rtos_img>] [<splash_img>] |
tty
- is a serial device name as seen on the Linux host, e.g./dev/ttyUSB0
, where the debug console of the STM32H750 is connected to (mandatory);uboot_img
- is the path to the main U-Boot image, i.e.u-boot.img
(mandatory);rtos_img
- is the path to the RTOS image, i.e.freertos_stm32h750.img
(optional);splash_img
- is the path to the splash screen image (optional).
...