This set of patches implements the support for Zephyr qemu_nios2. It implements the full toolchain (binutils, GCC, newlib) and also QEMU for Altera Nios2. The Nios2 support is fairly minimalistic, no tunes to support HW multiply, HW divide etc. as they are not required by Zephyr.
Upstream QEMU does not support Nios2, so a patch was needed to provide the Nios2 emulation (CPU, intc, timer, ...) As with all other supported Zephyr boards, the BOARD=qemu_nios2 required the creation of a corresponding MACHINE=qemu-nios2 Usage is described in the (updated) README.txt file. Juro Bystricky (4): qemu-nios2: New MACHINE qemuzephyrrunner.py: support for qemu-nios2 zephyr-kernel-test.inc: exclude tests not suitable for Nios2 README.txt: Updated for qemu-nios2 README.txt | 32 +- conf/machine/include/tune-nios2.inc | 19 + conf/machine/qemu-nios2.conf | 11 + lib/oeqa/utils/qemuzephyrrunner.py | 6 + .../qemu/files/nios2-add-support.patch | 9239 ++++++++++++++++++++ recipes-devtools/qemu/qemu_2.7.%.bbappend | 12 + .../zephyr-kernel/zephyr-kernel-test.inc | 3 + 7 files changed, 9309 insertions(+), 13 deletions(-) create mode 100644 conf/machine/include/tune-nios2.inc create mode 100644 conf/machine/qemu-nios2.conf create mode 100644 recipes-devtools/qemu/files/nios2-add-support.patch create mode 100644 recipes-devtools/qemu/qemu_2.7.%.bbappend -- 2.7.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto