2020-11-18 11:41 AM
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.
2020-11-20 08:30 AM
Hi,
maybe these link could help you
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.