Kconfig.debug 1.0 KB

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