Contents
Hardware setupUse a Null modem serial cable to connect across the Target and Development machines .[ Development machine ]----------------------------------[ Target machine ] 1-Hardware pinout for the null modem serial cable OR 2-Hardware pinout for the null modem serial cable Testing the working of the Null-modem serial cable. On the Development machine : stty ispeed 115200 ospeed 115200 -F /dev/ttyS0 cat testfile.txt > /dev/ttyS0 On the Target machine : stty ispeed 115200 ospeed 115200 -F /dev/ttyS0 cat /dev/ttyS0 The following settings are used for the Remote debugging session, automatically. <root #> stty -F /dev/ttyS0 speed 115200 baud; line = 0; min = 1; time = 0; -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke Top Software setup
Compiling the kernel on the development machine
Starting the debug session
Using KGDB over ethernet interface
Useful links and Miscellaneous information
|
Contents
Hardware setupUse a Null modem serial cable to connect across the Target and Development machines .[ Development machine ]----------------------------------[ Target machine ] 1-Hardware pinout for the null modem serial cable OR 2-Hardware pinout for the null modem serial cable Testing the working of the Null-modem serial cable. On the Development machine : stty ispeed 115200 ospeed 115200 -F /dev/ttyS0 cat testfile.txt > /dev/ttyS0 On the Target machine : stty ispeed 115200 ospeed 115200 -F /dev/ttyS0 cat /dev/ttyS0 The following settings are used for the Remote debugging session, automatically. <root #> stty -F /dev/ttyS0 speed 115200 baud; line = 0; min = 1; time = 0; -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke Top Software setup
Compiling the kernel on the development machine
Starting the debug session
Using KGDB over ethernet interface
Useful links and Miscellaneous information
Using kgdb, kdb and the kernel debugger internals by
|