> > I'm trying to port the Linux kernel (2.6.15.1) to the > > Embedded Planet 8248 board. The board has a proprietary boot > > loader and uses SMC1 has a serial console. > > Do you have SCC1 enabled also? In arch/ppc/boot/simple/m8260_tty.c you > will see that if SCC1 is enabled the early text tries to print to it, > even if SMC1 is selected as the console in the config. That was about > the only trick to do to get the early text.
I commented that line to fix the problem, and I was thinking about either a configuration option (CONFIG_SERIAL_CONSOLE_SCCx and CONFIG_SERIAL_CONSOLE_SMCx) or a macro in the platform-specifix header file to override that. Any comment ? Laurent Pinchart