2026-01-15 10:17 AM - edited 2026-01-15 1:24 PM
I have a STM32MP257 custom board and I'm listening on UART6.
When I boot, I get nothing. No messages or other text. I have not yet implemented any Linux onto my SD-card.
The issue is that I have my USART6 boot pins on PF13 and PF14, instead of PF4 and PF5. Are there any way to change this in ROM?
Or do I need to load TF-A from my SD-card so TF-A can change USART6 pins?
Solved! Go to Solution.
2026-01-15 11:26 PM
hi @DMårt
not to confuse two different things
It is for the sake of ease of use that our boards uses same UART pins for Console than the ones fixed for serial boot (i.e. USART2 PA8/PA4). This is not mandatory.
Regards.
2026-01-15 11:26 PM
hi @DMårt
not to confuse two different things
It is for the sake of ease of use that our boards uses same UART pins for Console than the ones fixed for serial boot (i.e. USART2 PA8/PA4). This is not mandatory.
Regards.
2026-01-16 12:06 AM
Hi @PatrickF
This clarifying much!
Well, it seems to be all in order then. I just need to deploy TF-A to make USART6 speak.
By the way. Your URL link says that USART6 having the pins PC4 and PC0. That's differ from getting started manual of the MP257.
2026-01-16 12:16 AM
@DMårt wrote:
By the way. Your URL link says that USART6 having the pins PC4 and PC0. That's differ from getting started manual of the MP257.
could you please capture the issue on your side, on my side I see it aligned (sometimes internally we see ongoing edits views of the wiki pages, but seems not the case here).
Regards,
2026-01-16 12:22 AM
Hi,
got it, the wiki page is outdated and the public visibility of the updates were missing. We are going to correct it asap.
Thanks for pointing that.
Regards.
2026-01-29 3:11 PM - edited 2026-01-29 3:51 PM
Hi @PatrickF
When you're saying that tf-a could use usart6 as console output. The MP2RomTracesDump works perfectly for usart6. But why does not the device tree from CubeMX enable the output? I think that something informative about usart6 is missing at the wiki of MP2. It seems that everyone here facing issues when they try to enable usart6 from the device tree.
Edit:
But it's very intersting that op-tee cannot be configured for usart6 in CubeMX! And it's the ONLY usart/uart peripheral that cannot be configured by op-tee in CubeMX. Perhaps this will tell me something that I need to find another USART/UART port...
I will do some soldering and try to hook up some wiries for USART2. That will at least be working.