cancel
Showing results for 
Search instead for 
Did you mean: 

Help getting console on UART4

marcusdufrane
Associate III

Are there any specific kernel config options to get the console to work on UART4?

I feel like I've tried every permutation of build, DT, and loading configuration at this point.

I'm working on a custom board with a new 'machine' building on the Distribution package

I have the choosen node in the Device Tree with stdout-path set to the aliases uart4, deubg UART options enabled along with early printf, I tried disabling all display and touchscreen options.

The output is correctly directed for u-boot and tf-a.

I was able to configure and attach the debugger and the kernel appears to be running.

1 REPLY 1
PatrickF
ST Employee

Hi,

maybe these link could help you

https://community.st.com/s/article/FAQ-STM32MP1-How-to-create-a-device-tree-with-STM32CubeMx-for-your-design

https://community.st.com/s/article/FAQ-STM32MP1-Bring-up-procedure

Have you checked that your DT is correctly assigning the pin muxing for UART4 ? STM32CubeMx could help to generate this part.

As UART4 is our default console on our EV1 and DK2 boards, you may have to look to DT provided for these boards.

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.