NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USB keyboard recognized during boot menu, not later



On Sun, Jun 21, 2015 at 02:33:54PM +0000, Christos Zoulas wrote:
> >fgrep _DEBUG *.c | grep xh
> 
> xhci.c:#ifdef USB_DEBUG
> xhci.c:#ifndef XHCI_DEBUG
> xhci.c:#else /* !XHCI_DEBUG */
> xhci.c:#endif /* !XHCI_DEBUG */
> xhci.c:#endif /* USB_DEBUG */
> xhci.c:#ifdef USB_DEBUG
> xhci.c:#ifdef USB_DEBUG
> xhci.c:#ifdef USB_DEBUG
> 
> So define both, and then set xhci_debug = 1

Sorry, I am totally new to kernel compilation. I am following instructions
from
https://www.netbsd.org/docs/guide/en/chap-kernel.html#chap-kernel-building-manually

and not sure how to set -D options of a compiler.

I also get to see build.sh instructions, but strangely no documentation on
where to get build.sh itself from.

Also from the documentation, I assume xhci_debug = 1 is a step after
booting in debug mode, looks like "write xhci_debug 1". Hope this is
right.

Mayuresh.


Home | Main Index | Thread Index | Old Index