qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 2/2] Add Nios II semihosting support.


From: Sandra Loosemore
Subject: Re: [Qemu-devel] [PATCH v3 2/2] Add Nios II semihosting support.
Date: Fri, 18 May 2018 15:35:06 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 05/18/2018 02:19 PM, Julian Brown wrote:
On Fri, 18 May 2018 21:52:04 +0200
Marek Vasut <address@hidden> wrote:

On 05/18/2018 09:23 PM, Julian Brown wrote:
This patch (by Sandra Loosemore, mildly rebased) adds support for
semihosting for Nios II bare-metal emulation.

Signed-off-by: Julian Brown <address@hidden>
Signed-off-by: Sandra Loosemore <address@hidden>

Is there some documentation for this stuff ? It looks interesting, but
how can I try it here ?

There's no documentation AFAIK apart from that the entry points are
the same as m68k, semihosting is invoked with "break 1", and r4/r5 are
used for passing arguments. I'm not actually sure how you can try this
stuff without our startup code or other infrastructure (that I'm pretty
sure we can't divulge). Sandra, any ideas?

I don't see any reason why we couldn't contribute libgloss support, except that I don't have time to write such a BSP right now. :-( I recently did this for C-SKY, though, and the semihosting parts were just a straightforward copy from the m68k port.

FWIW, CodeSourcery's Nios II ELF toolchains have been using this semihosting protocol with a different BSP library all along, and Altera also supports it in the proprietary simulators they've provided to us for testing.

-Sandra



reply via email to

[Prev in Thread] Current Thread [Next in Thread]