[U-Boot-Users] about to CONFIG_LOGBUFFER ..

I do not understand the CONFIG_LOGBUFFER. What's the CONFIG_LOGBUFFER? How to use the CONFIG_LOGBUFFER in U-Boot and Linux Kernel?
Why that excluded log buffer in linux system memory?

In message 4111DB52.40308@newmi.co.kr you wrote:
I do not understand the CONFIG_LOGBUFFER. What's the CONFIG_LOGBUFFER?
It's a feature so that both U-Boto and Linux can use the same memory as log buffer.
How to use the CONFIG_LOGBUFFER in U-Boot and Linux Kernel?
In U-Boot, for example the POST code can output messages to the log buffer. Or you can redirect the standard output of (some or all) commands to be stored in the log buffer.
In Linux, the syslog mechanism makes use of the log buffer.
This way you can for example have the standard Linux systlog toolset process the boot messages or the POST diagnosis. Or you can use U-Boot to print the Linux kernels log buffer after a crash.
Why that excluded log buffer in linux system memory?
This is to make sure that the log buffer is kept intact over reboots. Even after a Linux crash you can use U-Boot (or Linux after the next boot) to print the log buffer contents.
Best regards,
Wolfgang Denk
participants (2)
-
Wolfgang Denk
-
Yongdae,Shin