[Qemu-devel] [PATCH v2 0/2] Nios II generic board config and semihosting support

Julian Brown posted 2 patches 7 years, 5 months ago
Only 0 patches received!
There is a newer version of this series
hw/nios2/Makefile.objs     |   2 +-
hw/nios2/boot.c            |   5 +-
hw/nios2/generic_nommu.c   | 128 ++++++++++++++
qemu-options.hx            |   8 +-
target/nios2/Makefile.objs |   2 +-
target/nios2/cpu.h         |   4 +-
target/nios2/helper.c      |  11 ++
target/nios2/nios2-semi.c  | 429 +++++++++++++++++++++++++++++++++++++++++++++
8 files changed, 581 insertions(+), 8 deletions(-)
create mode 100644 hw/nios2/generic_nommu.c
create mode 100644 target/nios2/nios2-semi.c
[Qemu-devel] [PATCH v2 0/2] Nios II generic board config and semihosting support
Posted by Julian Brown 7 years, 5 months ago
This is a second attempt at sending this patch series:

http://lists.gnu.org/archive/html/qemu-devel/2018-05/msg04259.html

with some git format-patch/send-email hiccups ironed out
(hopefully). The patch contents are unchanged.

OK, or any comments?

Thanks,

Julian

Julian Brown (2):
  Add generic Nios II board.
  Add Nios II semihosting support.

 hw/nios2/Makefile.objs     |   2 +-
 hw/nios2/boot.c            |   5 +-
 hw/nios2/generic_nommu.c   | 128 ++++++++++++++
 qemu-options.hx            |   8 +-
 target/nios2/Makefile.objs |   2 +-
 target/nios2/cpu.h         |   4 +-
 target/nios2/helper.c      |  11 ++
 target/nios2/nios2-semi.c  | 429 +++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 581 insertions(+), 8 deletions(-)
 create mode 100644 hw/nios2/generic_nommu.c
 create mode 100644 target/nios2/nios2-semi.c

-- 
1.9.1

Re: [Qemu-devel] [PATCH v2 0/2] Nios II generic board config and semihosting support
Posted by Marek Vasut 7 years, 5 months ago
On 05/18/2018 08:57 PM, Julian Brown wrote:
> 
> This is a second attempt at sending this patch series:
> 
> http://lists.gnu.org/archive/html/qemu-devel/2018-05/msg04259.html
> 
> with some git format-patch/send-email hiccups ironed out
> (hopefully). The patch contents are unchanged.
> 
> OK, or any comments?

Same problem as with v2, git format-patch + git send-email please.

-- 
Best regards,
Marek Vasut

Re: [Qemu-devel] [PATCH v2 0/2] Nios II generic board config and semihosting support
Posted by Marek Vasut 7 years, 5 months ago
On 05/18/2018 08:57 PM, Julian Brown wrote:
> 
> This is a second attempt at sending this patch series:
> 
> http://lists.gnu.org/archive/html/qemu-devel/2018-05/msg04259.html
> 
> with some git format-patch/send-email hiccups ironed out
> (hopefully). The patch contents are unchanged.
> 
> OK, or any comments?

Same problem as with v1, git format-patch + git send-email please.

-- 
Best regards,
Marek Vasut

[Qemu-devel] [PATCH v2 1/2] Add generic Nios II board.
Posted by Julian Brown 7 years, 5 months ago
This patch adds support for a generic MMU-less Nios II board that can
be used e.g. for bare-metal compiler testing.  Nios II booting is also
tweaked so that bare-metal binaries start executing in RAM starting at
0x00000000, rather than an alias at 0xc0000000, which allows features
such as unwinding to work when binaries are linked to start at the
beginning of the address space.

The generic_nommu.c parts are by Andrew Jenner, based on code by Marek
Vasut.

Originally by Marek Vasut and Andrew Jenner.

Signed-off-by: Julian Brown <julian@codesourcery.com>
Signed-off-by: Andrew Jenner <andrew@codesourcery.com>
Signed-off-by: Marek Vasut <marex@denx.de>
---
 hw/nios2/Makefile.objs   |   2 +-
 hw/nios2/boot.c          |   5 +-
 hw/nios2/generic_nommu.c | 128 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 133 insertions(+), 2 deletions(-)
 create mode 100644 hw/nios2/generic_nommu.c

[Qemu-devel] [PATCH v2 2/2] Add Nios II semihosting support.
Posted by Julian Brown 7 years, 5 months ago
This patch (by Sandra Loosemore, mildly rebased) adds support for
semihosting for Nios II bare-metal emulation.

Signed-off-by: Julian Brown <julian@codesourcery.com>
Signed-off-by: Sandra Loosemore <sandra@codesourcery.com>
---
 qemu-options.hx            |   8 +-
 target/nios2/Makefile.objs |   2 +-
 target/nios2/cpu.h         |   4 +-
 target/nios2/helper.c      |  11 ++
 target/nios2/nios2-semi.c  | 429 +++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 448 insertions(+), 6 deletions(-)
 create mode 100644 target/nios2/nios2-semi.c