Отладка ядра Android: передача аргументов ядру Android во время загрузки
Я пытаюсь заставить кгдб работать с ядром Android используяhttp://bootloader.wikidot.com/android:kgdb, Я застрял на следующем шаге:
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 он ссылается? Или есть какой-то другой способ передачи этих аргументов ядру при загрузке?