Kevin Chaves

kgdb help with imx6, and some funky console business

Discussion created by Kevin Chaves on Aug 22, 2012
Latest reply on Nov 29, 2012 by Alison Chaiken

I'm having a hard time building a kernel with kdbg support. In ltib i was able to configure the kernel and everything seemed to build. I'm using a nitrogen6x board though, I'm not sure how much stuff this will break.


Starting up with uboot I added kgdb args


setenv bootargs kgdboc=ttymxc0,115200 kgdbwait ip=dhcp


it doesn't stop, I aslo don't believe its loading the correct config to build, my kernel with debugging symbols is about the same size as my kernel without....


I tried to build directly with the sources, but when I do that, after configuring the kernel, it automatically restarts the config process... from the beginning without a menu.


My second problem is I have two serial ports, and my device is deciding to use both during startup, At some point it switches console output to the second serial port.