[PATCH v2] console: flush consoles on newline when debugging

Sascha Hauer s.hauer at pengutronix.de
Wed Mar 13 04:38:42 PDT 2024


On Wed, 13 Mar 2024 11:00:48 +0100, Ahmad Fatoum wrote:
> For debugging hangs, CONFIG_DEBUG_PROBES and CONFIG_DEBUG_INITCALLS are
> useful tools to pinpoint where the issue is. FOr issues that lock up the
> SoC, their output can be misleading if we have bigger UART FIFO and not
> all output has managed to make it out.
> 
> Add a new DEBUG_FLUSH_LINE_BREAK to make debugging this easier.
> The option is unnecessary outside of debugging, so for now we don't add
> a prompt by default and select it as needed.
> 
> [...]

Applied, thanks!

[1/1] console: flush consoles on newline when debugging
      https://git.pengutronix.de/cgit/barebox/commit/?id=50cbfd91b573 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list