Using KGDB w/ single serial port

Here is an example kernel command line for using KGDB on a board with only one serial port:

console=ttyKGDB gdbbaud=115200 gdbttyS=0 ip=bootp root=/dev/nfs gdb

Of course, if you are using minicom to connect to your console prior to boot, you must close it to release the serial port for gdb to use!

Forums: