Grant Likely wrote:
>
> Oops; that patch won't work. Try this one instead.
What really needs to be done is to create some kind of mini-driver
architecture for the boot and debug serial drivers.
There are only something like 4 or 5 simple functions, and in many
cases only putchar() needs implimented.
The whole boot/debug early serial stuff is highly and unescesarily
8250 specific. While there are several alternatives,
these typically involve numerous #ifdef's and then end up being
board specific.
Being able to output data, before linux has loaded, or before the
standard serial drivers have initialized is probably not important for
working systems, but is incredibly useful when trying to bring up a
new board - particularly if you are trying to do so with
silly scopes, logic analyzers, and other electronic gizmo's
"give me an output bit and an LED to hang on it, and I can flash the
world"
--
Dave Lynch DLA Systems
Software Development: Embedded Linux
717.627.3770 [EMAIL PROTECTED] http://www.dlasys.net
fax: 1.253.369.9244 Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too
numerous to list.
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded