Changeset 450cac9 in freewrt
- Timestamp:
- Jun 18, 2007, 10:30:59 PM (18 years ago)
- Children:
- 89a3c80
- Parents:
- 31739d81
- File:
-
- 1 edited
-
target/linux/rb-2.6/patches/101-kgdb.patch (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
target/linux/rb-2.6/patches/101-kgdb.patch
r31739d81 r450cac9 1 1 diff -Naurp linux-2.6.19.1/arch/mips/rb500/Makefile linux-2.6.19.1.patched/arch/mips/rb500/Makefile 2 --- linux-2.6.19.1/arch/mips/rb500/Makefile 2007-06-1 3 23:16:58.346168091+02003 +++ linux-2.6.19.1.patched/arch/mips/rb500/Makefile 2007-06-1 3 23:28:59.979291619+02002 --- linux-2.6.19.1/arch/mips/rb500/Makefile 2007-06-18 21:38:26.221129033 +0200 3 +++ linux-2.6.19.1.patched/arch/mips/rb500/Makefile 2007-06-18 21:40:35.720508782 +0200 4 4 @@ -3,3 +3,4 @@ 5 5 # 6 6 7 7 obj-y += irq.o time.o setup.o serial.o prom.o misc.o devices.o 8 8 +obj-$(CONFIG_KGDB) += serial_gdb.o 9 9 diff -Naurp linux-2.6.19.1/arch/mips/rb500/prom.c linux-2.6.19.1.patched/arch/mips/rb500/prom.c 10 --- linux-2.6.19.1/arch/mips/rb500/prom.c 2007-06-13 23:16:58.350168319 +0200 11 +++ linux-2.6.19.1.patched/arch/mips/rb500/prom.c 2007-06-13 23:30:15.435591629 +0200 12 @@ -1,5 +1,5 @@ 13 /* 14 -* prom.c 15 +* prom.c 16 ********************************************************************** 17 * P . Sadik Oct 10, 2003 18 * 10 --- linux-2.6.19.1/arch/mips/rb500/prom.c 2007-06-18 21:38:26.225129261 +0200 11 +++ linux-2.6.19.1.patched/arch/mips/rb500/prom.c 2007-06-18 21:40:35.724509010 +0200 19 12 @@ -23,6 +23,11 @@ 20 13 P.Christeas, 2005-2006 21 14 Port to 2.6, add 2.6 cmdline parsing 22 15 23 16 +********************************************************************** 24 17 + … … 27 20 + 28 21 */ 29 22 30 23 #include <linux/init.h> 31 24 @@ -50,6 +55,9 @@ EXPORT_SYMBOL(gpio_bootup_state); 32 25 char mips_mac_address[18] = "08:00:06:05:40:01"; 33 26 EXPORT_SYMBOL(mips_mac_address); 34 27 35 28 +unsigned int console_baud_rate = 9600; 36 29 +EXPORT_SYMBOL(console_baud_rate); … … 47 40 #define IGNORE_CMDLINE_MEM 1 48 41 #define DEBUG_DDR 49 42 50 43 @@ -111,7 +121,7 @@ void prom_free_prom_memory(void) 51 44 void __init prom_setup_cmdline(void) … … 60 53 prom_argv = (char **) fw_arg1; 61 54 prom_envp = (char **) fw_arg2; 62 55 63 56 + cons_baud_str = "9600"; 64 57 cp = cmd_line; … … 95 88 diff -Naurp linux-2.6.19.1/arch/mips/rb500/serial_gdb.c linux-2.6.19.1.patched/arch/mips/rb500/serial_gdb.c 96 89 --- linux-2.6.19.1/arch/mips/rb500/serial_gdb.c 1970-01-01 01:00:00.000000000 +0100 97 +++ linux-2.6.19.1.patched/arch/mips/rb500/serial_gdb.c 2007-06-1 3 23:28:59.983291847+020090 +++ linux-2.6.19.1.patched/arch/mips/rb500/serial_gdb.c 2007-06-18 21:40:35.724509010 +0200 98 91 @@ -0,0 +1,126 @@ 99 92 +/* … … 225 218 diff -Naurp linux-2.6.19.1/include/asm-mips/rc32434/uart.h linux-2.6.19.1.patched/include/asm-mips/rc32434/uart.h 226 219 --- linux-2.6.19.1/include/asm-mips/rc32434/uart.h 1970-01-01 01:00:00.000000000 +0100 227 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/uart.h 2007-06-1 3 23:29:00.091298002+0200220 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/uart.h 2007-06-18 21:40:35.892518585 +0200 228 221 @@ -0,0 +1,51 @@ 229 222 +/*
Note:
See TracChangeset
for help on using the changeset viewer.
