[U-Boot] [RFC PATCH 0/2] Early panic support
Simon Glass
sjg at chromium.org
Mon Aug 29 18:05:08 CEST 2011
This patch set adds support for calling panic() before stdio is initialized.
At present this will just hang with little or no indication of what the
problem is.
A new board_panic_no_console() function is added to the board API. If provided
by the board it will be called in the event of a panic before the console is
ready. This function should turn on all UARTS and spray the message out if
it possibly can.
This is somewhat related to the Graeme's pre-console buffer patch, which is
why I am sending it for comment now.
Simon Glass (2):
Add board_panic_no_console to deal with early critical errors
Add check that console is ready before output
common/console.c | 4 ++--
include/common.h | 8 ++++++++
lib/vsprintf.c | 26 ++++++++++++++++++++++++--
3 files changed, 34 insertions(+), 4 deletions(-)
--
1.7.3.1
More information about the U-Boot
mailing list