1. Article purpose[edit source]
This article will help you to create a first TF-A device tree with STM32CubeMX, to bring up your board.
2. TF-A setup to get the serial log and USB boot[edit source]
- In STM32CubeMX:
- Create a new project from the MCU selector
- Select the STM32MP1 part number that is mounted on your board
- In Pinout & Configuration:
- RCC: enable the HSE according to your board setup. The HSE is needed for various PLL (USB, DDR).
- UARTx: setup the serial console.
- Assign UARTx to the "Cortex-A7 non-secure" and the "Boot loader" contexts
- Select the "Asynchronous" mode
- In the pinout view, change the RX and TX lines (if STM32CubeMX default proposal is not good)