From: Michael Neuling <hidden> Date: 2006-08-16 19:42:21
The rtas console doesn't have to be Cell specific. If we get both
rtas tokens, we should just enabled the console then and there.
Signed-off-by: Michael Neuling <redacted>
---
Updated Kconfig so we can enable it.
arch/powerpc/Kconfig | 2 +-
arch/powerpc/kernel/rtas.c | 5 +++++
arch/powerpc/platforms/cell/setup.c | 4 ----
3 files changed, 6 insertions(+), 5 deletions(-)
Index: linux-2.6-ozlabs/arch/powerpc/Kconfig
===================================================================
@@ -910,6 +910,11 @@ int __init early_init_dt_scan_rtas(unsigbasep=of_get_flat_dt_prop(node,"get-term-char",NULL);if(basep)rtas_getchar_token=*basep;++if(rtas_putchar_token!=RTAS_UNKNOWN_SERVICE&&+rtas_getchar_token!=RTAS_UNKNOWN_SERVICE)+udbg_init_rtas_console();+#endif/* break now */
@@ -426,7 +426,7 @@ config PPC_IBM_CELL_BLADEselectUDBG_RTAS_CONSOLEconfigUDBG_RTAS_CONSOLE-bool+bool"RTAS based debug console"defaultn
This should probably depend on RTAS?
cheers
--
Michael Ellerman
IBM OzLabs
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
From: Michael Neuling <hidden> Date: 2006-08-17 03:27:15
Seems to work fine on Cell.
Kewl
quoted
Updated Kconfig so we can enable it.
I enable it via the early debugging menu (under kernel hacking), is that
not good enough?
Doesn't that enable CONFIG_PPC_EARLY_DEBUG_RTAS_CONSOLE not
CONFIG_UDBG_RTAS_CONSOLE?
Without the Kconfig update you don't seem to get presented with an
option but I'm no kbuild expert.
quoted
config UDBG_RTAS_CONSOLE
- bool
+ bool "RTAS based debug console"
default n
From: Michael Ellerman <hidden> Date: 2006-08-17 03:45:32
On Wed, 2006-08-16 at 22:27 -0500, Michael Neuling wrote:
quoted
Seems to work fine on Cell.
Kewl
quoted
quoted
Updated Kconfig so we can enable it.
I enable it via the early debugging menu (under kernel hacking), is that
not good enough?
Doesn't that enable CONFIG_PPC_EARLY_DEBUG_RTAS_CONSOLE not
CONFIG_UDBG_RTAS_CONSOLE?
Yeah, but that then turns on CONFIG_UDBG_RTAS_CONSOLE also. I guess you
guys want to be able to turn on the later without the former, so fair
enough. We turn it on always on the Cell via the PPC_IBM_CELL_BLADE
entry.
cheers
--
Michael Ellerman
IBM OzLabs
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person