On 17-Sep-13, Apelete Seketeli wrote: > Hello Giuseppe, > > On 17-Sep-13, BITONTI Giuseppe (MM) wrote: > > I have configured the kernel with the command: > > > > bitbake -c menuconfig linux-imx > > > > enabling: > > > > -*- Magic SysRq key > > [*] Kernel debugging > > [*] Compile the kernel with debug info > > [*] KGDB: kernel debugger > > <*> KGDB: use kgdb over the serial console > > > > I have also edited defconfig file in > > fsl-community-bsp-dylan/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6q/ > > adding: > > > > CONFIG_FRAME_POINTER=y > > CONFIG_DEBUG_KERNEL=y > > CONFIG_KGDB=y > > CONFIG_DEBUG_INFO=y > > CONFIG_KGDB_SERIAL_CONSOLE=y > > CONFIG_MAGIC_SYSRQ=y > > > > and added kernel parameter to bootargs with: > > > > MX6QSABRELITE U-Boot > editenv mmcargs > > edit: setenv bootargs console=${console},${baudrate} root=${mmcroot} > > kgdboc=ttymxc1,115200 > > MX6QSABRELITE U-Boot > saveenv > > Saving Environment to MMC... > > Writing to MMC(0)... done > > MX6QSABRELITE U-Boot > boot > > You kernel configuration looks ok, and the kgdboc parameter passed by > u-boot to the kernel seems correct (at least syntactically speaking).
I forgot to mention it, but you might want to add "CONFIG_CONSOLE_POLL=y" to you kernel configuration to enable the polling scheme used by the serial driver when working with kgdboc. Cheers. -- Apelete _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto