* [U-Boot-Users] about to CONFIG_LOGBUFFER ..
@ 2004-08-05 7:01 Yongdae, Shin
2004-08-05 7:59 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Yongdae, Shin @ 2004-08-05 7:01 UTC (permalink / raw)
To: u-boot
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] about to CONFIG_LOGBUFFER ..
2004-08-05 7:01 [U-Boot-Users] about to CONFIG_LOGBUFFER Yongdae, Shin
@ 2004-08-05 7:59 ` Wolfgang Denk
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2004-08-05 7:59 UTC (permalink / raw)
To: u-boot
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
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
"Pull the wool over your own eyes!" - J.R. "Bob" Dobbs
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] about to CONFIG_LOGBUFFER ..
[not found] <4111F858.6080206@newmi.co.kr>
@ 2004-08-05 10:12 ` Wolfgang Denk
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2004-08-05 10:12 UTC (permalink / raw)
To: u-boot
In message <4111F858.6080206@newmi.co.kr> you wrote:
>
> Ok! I know that log buffer address in U-boot.
> How to know the log buffer address in Linux Kernel?
>
> Then, how to assign log buffer address for Linux Kernel.
> The "do_syslog()" in Linux kernel, log_buffer is only static array variable.
You need a modified / extended Linux kernel for this feature.
Please see the linux-2.4 Linux kernel tree on our CVS server; search
for CONFIG_LOGBUFFER.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
"I used to think that the brain was the most wonderful organ in my
body. Then I realized who was telling me this." - Emo Phillips
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-05 10:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-05 7:01 [U-Boot-Users] about to CONFIG_LOGBUFFER Yongdae, Shin
2004-08-05 7:59 ` Wolfgang Denk
[not found] <4111F858.6080206@newmi.co.kr>
2004-08-05 10:12 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.