log: Add a new logging feature
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 13 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 13 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 00/13] log: Add a new logging feature
Dear Simon,
sorry for jumping in so late...
Quoted 4 lines · In message <[email protected]> you wrote:
At present U-Boot has a logbuffer feature which records output in a memory buffer for later display or storage. This is useful but is not at present enabled for any board.
Background explanation: When this was implemented, the buffer handling was fully compatible with the Linux kernel logbuffer. And U-Boot was able to reserve memory (at the top of the RAM) that could be shared between U-Boot and Linux, so you could for example write U-Boot POST results into the log buffer, and read it using standard syslog tools in Linux. Or keep the panic messages of the previous crash and read it after reboot.
IIRC this was in production use only on Power architectre systems, and it broke (and nover got fixed) when the Linux log buffer was reworked.
Quoted 5 lines
This series introduced a new logging system which supports:
- various log levels from panic to debug
- log categories including all uclasses and a few others
- log drivers to which all log records can be sent
- log filters which control which log records make it to which drivers
You don't mention it here, but would it be possible to keep compatibility with the Linux logbuffer implementation in mind?
So we could re-implement this shared logbuffer thingy in case someone finds it useful?
Thanks!
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The only thing necessary for the triumph of evil is for good men to do nothing. - Edmund Burke