Status: Untriaged
Owner: ----
CC:
gabebl...@chromium.org,
s...@chromium.org
Labels: Type-Bug Pri-2 Area-BIOS Sev-2
New issue 36391 by
wfric...@chromium.org: U-Boot for x86 needs a default
serial console for panic() to use
http://code.google.com/p/chromium-os/issues/detail?id=36391
If you invoke a U-Boot that doesn't have an FDT, then fdtdec_check_fdt()
detects that fact and calls panic("No valid fdt found...").
But panic() just calls vprintf() to display the message, then reboots.
On x86, there is no default serial configuration and the FDT itself is used
to initialize the serial port. So that makes it kind of tricky to debug
these cases.
If I could follow the byzantine morass of #ifdefs that is
drivers/serial/serial.c, perhaps I could figure out how to fix this
myself...