diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2015-10-28 11:34:36 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-10-30 08:06:03 +0100 |
commit | 48d61510290ea3380e4987d38e512d2d8304849a (patch) | |
tree | aa606c7c7a204b6686f0f24830ece7f2b614a793 /arch/arm/Kconfig | |
parent | 611e86d58154752fd1fd0051b6e5dec325329dbe (diff) | |
download | barebox-48d61510290ea3380e4987d38e512d2d8304849a.tar.gz barebox-48d61510290ea3380e4987d38e512d2d8304849a.tar.xz |
ARM: Add support for semihosting
Add semihosting API implementation and implement a filesystem driver
to access debugging host filesystem using it.
Tested on Freescale SabreSD board (i.MX6Q) using OpenOCD
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 203f912e96..e5cfea5c4f 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -325,6 +325,15 @@ config ARM_UNWIND the performance is not affected. Currently, this feature only works with EABI compilers. If unsure say Y. +config ARM_SEMIHOSTING + bool "enable ARM semihosting support" + help + This option enables ARM semihosting support in barebox. ARM + semihosting is a communication discipline that allows code + running on target ARM cpu perform system calls and access + the data on the host computer connected to the target via + debugging channel (JTAG, SWD). If unsure say N + endmenu source common/Kconfig |