我想要使用http://bootloader.wikidot.com/android:kgdb让kgdb与Android内核一起工作。我被困在以下步骤:调试Android内核:在启动时将参数传递给android内核
Configure kernel command line
Specify ttyGS0 as the kgdboc device. Add the following into the kernel command line (possibly in BoardConfig.mk)
kgdboc=ttyGS0 kgdbretry=4
The second option "kgdbretry=4" is a new parameter added to kgdboc.c.
It means that if kgdb cannot find the device "ttyGS0" in early boot,
it will retry once after the specified number of seconds.
This is a work-around if the USB device is not immediately initialized during system boot.
有没有人可以告诉我哪个BoardConfig.mk是指它?或者有什么其他方法在引导时将这些参数传递给内核?
“Android”将不会有统一的答案 - 它取决于给定设备上使用的引导加载程序和相关系统并进行安装。 –