Skip to content

arm: socfpga: cleanup UART for serial console

Michael Tretter barebox 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20260605-socfpga-debug-uart-d840aa594751

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3arm: socfpga: replace custom UART with ns16550include/mach/socfpga/debug_ll.h+35 -690 replies
2/3arm: socfpga: get rid of UART address for low-level debugcommon/Kconfig.debug_ll include/mach/socfpga/debug_ll.h+18 -350 replies
3/3arm: socfpga: axe5-eagle: always use UART0arch/arm/boards/arrow-axe5-eagle/lowlevel.c+4 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] arm: socfpga: cleanup UART for serial console

Configuring debug console output for the PBL and low level code on SoCFPGA boards is surprisingly complex and an inconsistent configuration bit me more than once.

Get rid of the custom UART implementation and the base addresses for the debug UART in the barebox configuration.

While at it, set the debug UART for the Arrow AXE5 board in the board code and don't force the developer to know and configure the correct debug UART in the configuration.

---
Michael Tretter (3):
arm: socfpga: replace custom UART with ns16550
arm: socfpga: get rid of UART address for low-level debug
arm: socfpga: axe5-eagle: always use UART0

 arch/arm/boards/arrow-axe5-eagle/lowlevel.c |   6 +-
 common/Kconfig.debug_ll                     |  44 +++--------
 include/mach/socfpga/debug_ll.h             | 113 +++++++++++-----------------
 3 files changed, 57 insertions(+), 106 deletions(-)

---
base-commit: 713a1e59dfea4516446822323b7c0db571cb214f
change-id: 20260605-socfpga-debug-uart-d840aa594751

Best regards,

Signature · 1 line
Michael Tretter <[email protected]>