Fwd: [PATCH] libgloss support for nios2 QEMU

Joel Sherrill joel at rtems.org
Thu Aug 2 22:10:37 UTC 2018


This looks like a solution for having a way to test the Nios II.

Sandra also mentioned a semi-hosted m68k so I wonder if that
is also an option.

If the BSP is no interrupts, console only like most of the gdb
based one, the BSP is easy and we get a way to test more.

---------- Forwarded message ----------
From: Sandra Loosemore <sandra at codesourcery.com>
Date: Thu, Aug 2, 2018 at 4:52 PM
Subject: [PATCH] libgloss support for nios2 QEMU
To: newlib at sourceware.org
Cc: Julian Brown <julian at codesourcery.com>, Marek Vasut <marex at denx.de>


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

http://lists.nongnu.org/archive/html/qemu-devel/2018-05/msg04571.html

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).

-Sandra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180802/21ceeeb8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgloss.log
Type: text/x-log
Size: 202 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180802/21ceeeb8/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgloss.patch
Type: text/x-patch
Size: 189171 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180802/21ceeeb8/attachment-0003.bin>


More information about the devel mailing list