Skip to main content
Visitor II
November 18, 2020
Question

Help getting console on UART4

  • November 18, 2020
  • 1 reply
  • 786 views

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.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    November 20, 2020

    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.