On 12.10.2008 20:04, Corey Osgood wrote:
I'm attaching a minicom log file. From the looks of things, it also looks like I'm losing all output from stage0/1.
AFAICS you're not losing any output from after serial init. Things look as I expect them to look. stage0 has no output and stage1 is rather silent (except the banner, which is indeed printed). The stuff before the banner comes from a not-yet-setup serial port. I said in the past that we shouldn't send stuff to serial before serial is set up, but my pleas have been ignored largely due to the fact that some hardware has working serial by default, so the problems were not seen in practice.
And yes, this is easy to fix. Keep a global variable (working_serial) and check it before sending stuff to the serial port. Set that variable directly after serial console init.
Regards, Carl-Daniel