I found in QEMU NIOS IP https://wiki.qemu.org/Documentation/Platforms/Nios2 I have downloaded intel tool chain from their website : https://www.intel.com/content/www/us/en/programmable/products/boards_and_kits/dev-kits/altera/kit-niosii-2s60.html I have few questions:
- Is the NIOS2 in QEMU IP matching intel’s NIOS IP ?
- What is the toolchain you use to compile and run it in QEMU ? Is it same tool-chain as provided by intel’s website ?
- How to general Firmware code and run it on NIOS over QEMU. In the Wiki it says: qemu-system-nios2 -M 10m50-ghrd -kernel -dtb -nographic
- How to generate dtb file for it?
- Do we need to take products created by the quartos/EDS for the running of the QEMU, other from the compiled binary? (DTB - board specification?)
- Do we need to run it with specific QEMU parameters/arguments ?
- Do you have code examples for NIOS using its peripherals?
Basically, I didn’t find any documentations/examples about how to use the NIOS2 in QEMU. Can you help with some additional info ? Even some basic “hello would” (compile and run in QEMU) would be great…