[U-Boot] [PATCH 2/2] Add check that console is ready before output

Wolfgang Denk wd at denx.de
Mon Oct 17 22:37:33 CEST 2011


Dear Simon Glass,

In message <CAPnjgZ3WBmJBs1zCd4_jQsUZcO2BOAOK865CaL6tWeUX9zVVWg at mail.gmail.com> you wrote:
> 
> Yes indeed -  I did actually submit an 'early panic' patch which I
> should take another look at - it is called 'Add board_panic_no_console
> to deal with early critical errors'. I think it was in the same patch
> set but I'm not sure.

It was (I even commented on it).

> It would panic when console output was performed before the console
> was ready - and therefore give the behaviour you desire.

Well, but there will probably be a large number of boards that don't
implement this function (or don;t enable it if we make it
configurable).  And all these will now fail silently.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
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
panic: kernel trap (ignored)


More information about the U-Boot mailing list