Hi Jean,

Looking at boards/ seems like the semihost for file system is the most
common usage, but yes there is one and only one board with SEMIHOST SYSLOG
support, that you found.

According to git blame this support was added by Adam Feuer (CC here), but
there is no Documentation/ about it.

Adam, do you remember how to test it? If you can share details here I will
expand the semihost documentation to include syslog support.

BR,

Alan

On Wed, Oct 8, 2025 at 1:41 PM Jean Thomas <[email protected]> wrote:

> Hi everyone,
>
> I've been trying to get ARM semihosting syslog working on a RP2040 board
> for a little while (debugged using Pi's debugprobe). I added this into my
> defconfig:
>
> CONFIG_ARM_SEMIHOSTING_SYSLOG=y
> CONFIG_SYSLOG_CHARDEV=y
>
> (inspired by sama5d3-xplained's ethernet-over-usb-2-high-speed defconfig)
>
> and this in my OpenOCD script:
>
> monitor arm semihosting enable
> monitor arm semihosting_fileio enable
>
> Syslog disappears from the UART console, but doesn't appear in OpenOCD...
> Am I doing something wrong? Does someone have an example of a working
> syslog over ARM semihosting example? Is there an easy way to debug what's
> going on?
>
> Cheers,
> Jean

Reply via email to