<div dir="ltr">This looks like a solution for having a way to test the Nios II.<div><br></div><div>Sandra also mentioned a semi-hosted m68k so I wonder if that </div><div>is also an option.</div><div><br></div><div>If the BSP is no interrupts, console only like most of the gdb</div><div>based one, the BSP is easy and we get a way to test more.</div><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Sandra Loosemore</b> <span dir="ltr"><<a href="mailto:sandra@codesourcery.com">sandra@codesourcery.com</a>></span><br>Date: Thu, Aug 2, 2018 at 4:52 PM<br>Subject: [PATCH] libgloss support for nios2 QEMU<br>To: <a href="mailto:newlib@sourceware.org">newlib@sourceware.org</a><br>Cc: Julian Brown <<a href="mailto:julian@codesourcery.com">julian@codesourcery.com</a>>, Marek Vasut <<a href="mailto:marex@denx.de">marex@denx.de</a>><br><br><br>This patch adds semihosting support for Nios II plus startup code and a linker script for bare-board emulation with QEMU.  The QEMU side of things requires this patch set<br>
<br>
<a href="http://lists.nongnu.org/archive/html/qemu-devel/2018-05/msg04571.html" rel="noreferrer" target="_blank">http://lists.nongnu.org/archiv<wbr>e/html/qemu-devel/2018-05/<wbr>msg04571.html</a><br>
<br>
The semihosting code is pretty much a direct copy of the m68k implementation, which was contributed by CodeSourcery years ago.  We've been using this protocol in our toolchain distributions for Nios II for some years now (plus other targets we've been asked to produce toolchains for that don't already have some other semihosting protocol supported by other tools).<span class="HOEnZb"><font color="#888888"><br>
<br>
-Sandra<br>
</font></span></div><br></div></div>