The trees aren't in a consistent state just yet.  I've updated the
master copies just now, and they should hit mirrors shortly.

Thanks! Now it work for me basically, still PXA w/ KGDB doesn't build.
The small patch to fix that is attached.

Vitaly
This patch fixes the KGDB build for PXA.

 Signed-off-by: Vitaly Wool <[EMAIL PROTECTED]>

 arch/arm/mach-pxa/kgdb-serial.c |    2 +-
 lib/Kconfig.debug               |   18 +++++++++++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

Index: linux-2.6-kgdb.stg/lib/Kconfig.debug
===================================================================
--- linux-2.6-kgdb.stg.orig/lib/Kconfig.debug
+++ linux-2.6-kgdb.stg/lib/Kconfig.debug
@@ -487,6 +487,21 @@ config KGDB_PXA_SERIAL
 
 endchoice
 
+choice
+	prompt "PXA serial UART for KGDB"
+	depends on KGDB_PXA_SERIAL
+	default KGDB_PXA_FFUART
+
+config KGDB_PXA_FFUART
+	bool "FFUART"
+
+config KGDB_PXA_BTUART
+	bool "BTUART"
+
+config KGDB_PXA_STUART
+	bool "STUART"
+endchoice
+
 config KGDBOE
 	tristate "KGDB: On ethernet" if !KGDBOE_NOMODULE
 	depends on m && KGDB
@@ -521,7 +536,8 @@ config KGDB_SIMPLE_SERIAL
 
 config KGDB_BAUDRATE
 	int "Debug serial port baud rate"
-	depends on (KGDB_8250 && KGDB_SIMPLE_SERIAL) || KGDB_AMBA_PL011
+	depends on (KGDB_8250 && KGDB_SIMPLE_SERIAL) || KGDB_AMBA_PL011 || \
+		KGDB_PXA_SERIAL
 	default "115200"
 	help
 	  gdb and the kernel stub need to agree on the baud rate to be
Index: linux-2.6-kgdb.stg/arch/arm/mach-pxa/kgdb-serial.c
===================================================================
--- linux-2.6-kgdb.stg.orig/arch/arm/mach-pxa/kgdb-serial.c
+++ linux-2.6-kgdb.stg/arch/arm/mach-pxa/kgdb-serial.c
@@ -63,7 +63,7 @@ static int kgdb_serial_init(void)
 	return 0;
 }
 
-static void kgdb_serial_putchar(int c)
+static void kgdb_serial_putchar(u8 c)
 {
 	if (!(CKEN & CKEN_UART) || port[UART_IER] != IER_UUE)
 		kgdb_serial_init();
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to