]> git.proxmox.com Git - mirror_qemu.git/commit - hw/nios2/boot.c
Add generic Nios II board.
authorSandra Loosemore <sandra@codesourcery.com>
Wed, 3 Apr 2019 19:53:04 +0000 (13:53 -0600)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 29 Apr 2019 15:09:51 +0000 (16:09 +0100)
commited960ba90549aca1735df128c6b454fe0a5dec2a
tree81e1d2d2d976da1d78cbd09fba18bdd3dbd7d57f
parente0fb2c3d89aa77057ac4aa073e01f4ca484449b0
Add generic Nios II board.

This patch adds support for a generic MMU-less Nios II board that can
be used e.g. for bare-metal compiler testing with the linker script
and startup code provided by libgloss.  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 based on code by Andrew Jenner, which was
in turn based on code by Marek Vasut.

Originally by Marek Vasut and Andrew Jenner.

Signed-off-by: Sandra Loosemore <sandra@codesourcery.com>
Signed-off-by: Julian Brown <julian@codesourcery.com>
Signed-off-by: Andrew Jenner <andrew@codesourcery.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1554321185-2825-2-git-send-email-sandra@codesourcery.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
default-configs/nios2-softmmu.mak
hw/nios2/Kconfig
hw/nios2/Makefile.objs
hw/nios2/boot.c
hw/nios2/generic_nommu.c [new file with mode: 0644]