Kconfig.debug 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config EARLY_PRINTK
  4. def_bool DEBUG_OCD
  5. help
  6. Write kernel log output directly into the ocd or to a serial port.
  7. This is useful for kernel debugging when your machine crashes very
  8. early before the console code is initialized. For normal operation
  9. it is not recommended because it looks ugly and doesn't cooperate
  10. with klogd/syslogd or the X server. You should normally N here,
  11. unless you want to debug such a crash.
  12. # These options are only for real kernel hackers who want to get their hands dirty.
  13. config DEBUG_LL
  14. bool "Kernel low-level debugging functions"
  15. depends on DEBUG_KERNEL
  16. help
  17. Say Y here to include definitions of printascii, printch, printhex
  18. in the kernel. This is helpful if you are debugging code that
  19. executes before the console is initialized.
  20. config DEBUG_OCD
  21. bool "Kernel low-level debugging via On-Chip-Debugger"
  22. depends on DEBUG_LL
  23. default y
  24. help
  25. Say Y here if you want the debug print routines to direct their
  26. output to the UniCore On-Chip-Debugger channel using CP #1.
  27. endmenu