title: KGDB serial port reinitialised after boot
body: <p>I have been fighting with this issue for a while and slowly giving up on it. I am working with Yocto on my Beaglebone Black board. I want to be able to use KGDB to debug kernel modules and kernel itself. I have modified device tree to enable UART1 exclusively for KGDB and modified kernel settings to enable KGDB. </p>
  
  <p>During early boot a bootloader configures serial port to 115200n8 settings and stops execution waiting for GDB from my host machine to connect to the BeagleBone via serial port and allow it for single stepping of the code. The problem appears later on when I allow the code to continue with execution. Host machine on which I run GDB stops responding and seems to have no connection to the Beaglebone anymore. Once I log in into Beaglebone using terminal I find that serial port settings for KGDB got changed to some defaults with 9600 baudrate. What might be causing that change? What part of the linux initilisation might be affecting my serial port settings? I am still very new to Linux and its concepts, so any help will be appreciated.</p>
  
  <p>Thanks.</p>