Discussion:
[Qemu-discuss] QEMU Binary: qemu-nios2
Zeeshan Hayat
2018-11-21 12:27:28 UTC
Permalink
Hi,


In target list there is nios2-softmmu and nios2-linux-user. If I select as,
./configure --target-list=nios2-softmmu, nios2-linux-user
I get only QEMU binary: qemu-system-nios2. How can we generate the QEMU binay: qemu-nios2?


/Zeeshan
Peter Maydell
2018-11-21 14:52:31 UTC
Permalink
Post by Zeeshan Hayat
Hi,
In target list there is nios2-softmmu and nios2-linux-user. If I select as,
./configure --target-list=nios2-softmmu, nios2-linux-user
I get only QEMU binary: qemu-system-nios2. How can we generate the QEMU binay: qemu-nios2?
You have an extra space after the ',' in your command line,
which you do not want.

Other than that, your command line is correct. (Note that
the linux-user binaries are only built on Linux hosts,
not Windows or OSX, but configure should complain if
you request a target that doesn't exist for your host.)

thanks
-- PMM
Peter Maydell
2018-11-21 15:36:52 UTC
Permalink
Post by Zeeshan Hayat
Hi,
In target list there is nios2-softmmu and nios2-linux-user. If I select as,
./configure --target-list=nios2-softmmu, nios2-linux-user
I get only QEMU binary: qemu-system-nios2. How can we generate the QEMU binay: qemu-nios2?
mnementh$ git clone https://git.qemu.org/git/qemu.git
Cloning into 'qemu'...
remote: Counting objects: 402283, done.
remote: Compressing objects: 100% (78443/78443), done.
remote: Total 402283 (delta 328650), reused 394922 (delta 322889)
Receiving objects: 100% (402283/402283), 127.15 MiB | 1.38 MiB/s, done.
Resolving deltas: 100% (328650/328650), done.
mnementh$ cd qemu
mnementh$ ./configure --target-list=nios2-softmmu,nios2-linux-user
[...]
mnementh$ make -j8
[...]
mnementh$ ls -l nios2-linux-user/qemu-nios2
-rwxrwxr-x 1 pm215 pm215 14690208 Nov 21 15:35 nios2-linux-user/qemu-nios2
mnementh$ ./nios2-linux-user/qemu-nios2 --help
usage: qemu-nios2 [options] program [arguments...]
Linux CPU emulator (compiled for nios2 emulation)
[...]


thanks
-- PMM

Loading...