On Wed, 06 Mar 2024 19:45:18 +0100, Ahmad Fatoum wrote: > The default value of 1000 messages is too small with > CONFIG_COMPILE_LOGLEVEL=7, because the many driver debug messages > will evict any earlier error or warning messages that have been > in the log. > > Assuming a log record size of 128 bytes, 1000 messages translates to > 128kB, which has quite a bit of breathing room. Let's instead scale the > maximum with the available memory: one message per 32KiB of malloc area. > > [...] Applied, thanks! [1/2] console: scale number of log messages with available RAM https://git.pengutronix.de/cgit/barebox/commit/?id=2c04db069871 (link may not be stable) [2/2] commands: dmesg: support aborting dmesg output with ctrl-c https://git.pengutronix.de/cgit/barebox/commit/?id=9eb0055d0ae9 (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>