aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig.debug
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2012-02-22 15:58:03 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-03-24 05:38:55 -0400
commit9b5a146a43db3733c731d47022f4f5259e6b31e6 (patch)
tree3fc6d02c65c3f373d6408f9c332de183be7230b0 /arch/arm/Kconfig.debug
parent101d9b0dedbc9e560737d3357104bf09db48eb3e (diff)
ARM: 7338/1: add support for early console output via semihosting
This is a very simple method for code running in an emulator, or under the supervision of a debugger, to use I/O facilities on the controlling host. Tested with OpenOCD, and ARM's Fast Models. Details on semihosting can be found in chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig.debug')
-rw-r--r--arch/arm/Kconfig.debug16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index e0d236d7ff73..755d9fbe3238 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -100,6 +100,22 @@ choice
100 Note that the system will appear to hang during boot if there 100 Note that the system will appear to hang during boot if there
101 is nothing connected to read from the DCC. 101 is nothing connected to read from the DCC.
102 102
103 config DEBUG_SEMIHOSTING
104 bool "Kernel low-level debug output via semihosting I"
105 help
106 Semihosting enables code running on an ARM target to use
107 the I/O facilities on a host debugger/emulator through a
108 simple SVC calls. The host debugger or emulator must have
109 semihosting enabled for the special svc call to be trapped
110 otherwise the kernel will crash.
111
112 This is known to work with OpenOCD, as wellas
113 ARM's Fast Models, or any other controlling environment
114 that implements semihosting.
115
116 For more details about semihosting, please see
117 chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd.
118
103 config AT91_DEBUG_LL_DBGU0 119 config AT91_DEBUG_LL_DBGU0
104 bool "Kernel low-level debugging on rm9200, 9260/9g20, 9261/9g10 and 9rl" 120 bool "Kernel low-level debugging on rm9200, 9260/9g20, 9261/9g10 and 9rl"
105 depends on HAVE_AT91_DBGU0 121 depends on HAVE_AT91_DBGU0