Poster | Thread |
Fl@sh
|  |
Re: sam460 emulated in qemu Posted on 30-May-2020 9:02:24
| | [ #441 ] |
|
|
 |
Regular Member  |
Joined: 6-Oct-2004 Posts: 253
From: Napoli - Italy | | |
|
| Build Instructions
wget https://download.qemu.org/qemu-5.0.0.tar.xz tar xvJf qemu-5.0.0.tar.xz cd qemu-5.0.0 ./configure sudo make install
if you have more cores you can use make -jn where n is equal to core numbers. I.e. On an Intel i7 6700k, a 4 core cpu with HT, under ubuntu I use sudo make -j8 install
PS: On next qemu releases the sm501 gfx board gains more speed under sam460ex board. _________________ Pegasos II G4@1GHz 2GB Radeon 9250 256MB AmigaOS4.1 fe - MorphOS - Debian 9 Jessie |
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 30-May-2020 9:07:57
| | [ #442 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @Fl@sh
i have the feeling Trekiej dont do the install, probably he after the build is using the distro qemu. Trekiej go inside the build directory and just do sudo make install _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
Fl@sh
|  |
Re: sam460 emulated in qemu Posted on 30-May-2020 10:59:00
| | [ #443 ] |
|
|
 |
Regular Member  |
Joined: 6-Oct-2004 Posts: 253
From: Napoli - Italy | | |
|
| @tlosm
I think the same, linux is really a very strange os. AmigaOS is much better.. _________________ Pegasos II G4@1GHz 2GB Radeon 9250 256MB AmigaOS4.1 fe - MorphOS - Debian 9 Jessie |
|
Status: Offline |
|
|
Trekiej
|  |
Re: sam460 emulated in qemu Posted on 30-May-2020 17:24:28
| | [ #444 ] |
|
|
 |
Cult Member  |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @tlosm
It appears that it is still hanging on to 2.11.1
sudo apt-get remove qemu (what can I add here?)
I am not for sure what happened during compile. This is Ubuntu 18.04.x
Manjaro Mate appear to have 5.0 for an update. I will try this Monday. _________________ John 3:16 |
|
Status: Offline |
|
|
Trekiej
|  |
Re: sam460 emulated in qemu Posted on 30-May-2020 17:29:51
| | [ #445 ] |
|
|
 |
Cult Member  |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @tlosm
I did a "./configure" then "make" from the qemu 5.0 directory.
_________________ John 3:16 |
|
Status: Offline |
|
|
Fl@sh
|  |
Re: sam460 emulated in qemu Posted on 30-May-2020 20:56:59
| | [ #446 ] |
|
|
 |
Regular Member  |
Joined: 6-Oct-2004 Posts: 253
From: Napoli - Italy | | |
|
| @Trekiej
You have to install it. _________________ Pegasos II G4@1GHz 2GB Radeon 9250 256MB AmigaOS4.1 fe - MorphOS - Debian 9 Jessie |
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 31-May-2020 8:00:55
| | [ #447 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @Trekiej
when you did " make " add -j 4 ( the number is the number of threads of your cpu) it will make the executable really fast.. example on my threadripper i do make -j32
after the make you have to do
sudo make install ... inside the build directory or you will continue use the distro qemu ... in your case qemu 2.11 Last edited by tlosm on 31-May-2020 at 08:01 AM.
_________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
Trekiej
|  |
Re: sam460 emulated in qemu Posted on 31-May-2020 23:36:06
| | [ #448 ] |
|
|
 |
Cult Member  |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @tlosm
I will give it a try.
edit:
I think I have a mess on my hands. qemu-system-ppc --version says version 4.2.91
I did a ./configure and then a make -j 4 then a sudo make install
after that I ran my sam460-qemu script and got an ERROR /home//Downloads/qemu-5.0.0-rc1/cpus.c:1830:qemu_mutex_lock_iothread_impl: assertion failed: (!qemu_mutex_iothread_locked()) ./sam460-qemu: line 4: 13752 Aborted (core dumped) qemu-system-ppc -M sam460ex -rtc base=localtime -drive if=none, id=cd, file=Sam460Install-CD-53.58.iso, format=raw -device ide-cd, drive=cd, bus=ide.1
Last edited by Trekiej on 31-May-2020 at 11:56 PM.
_________________ John 3:16 |
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 1-Jun-2020 5:31:40
| | [ #449 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @Trekiej
after install you dont need ./ for open a prg plus for the cdrom iso is needed all the file path eg file=/home/myuser/wheretheisoislocated/myiso.iso _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
Fl@sh
|  |
Re: sam460 emulated in qemu Posted on 1-Jun-2020 7:39:11
| | [ #450 ] |
|
|
 |
Regular Member  |
Joined: 6-Oct-2004 Posts: 253
From: Napoli - Italy | | |
|
| @Trekiej
Qemu version must be 5, if you got still v4 you downloaded a beta version. On Qemu website is present the v5 final archive, download it, extract in a dir and compile it.
_________________ Pegasos II G4@1GHz 2GB Radeon 9250 256MB AmigaOS4.1 fe - MorphOS - Debian 9 Jessie |
|
Status: Offline |
|
|
afxgroup
 |  |
Re: sam460 emulated in qemu Posted on 1-Jun-2020 10:55:26
| | [ #451 ] |
|
|
 |
Super Member  |
Joined: 8-Mar-2004 Posts: 1968
From: Taranto, Italy | | |
|
| Here with WSL on Windows 10 and Ubuntu it works without any problem. (Compiled from scratch)
 _________________ http://www.amigasoft.net |
|
Status: Offline |
|
|
Fl@sh
|  |
Re: sam460 emulated in qemu Posted on 1-Jun-2020 10:59:22
| | [ #452 ] |
|
|
 |
Regular Member  |
Joined: 6-Oct-2004 Posts: 253
From: Napoli - Italy | | |
|
| @afxgroup
well done!  press ctrl+f for a full screen and ctrl+g to swap mouse pointers between amigaos and hostos _________________ Pegasos II G4@1GHz 2GB Radeon 9250 256MB AmigaOS4.1 fe - MorphOS - Debian 9 Jessie |
|
Status: Offline |
|
|
Trekiej
|  |
Re: sam460 emulated in qemu Posted on 1-Jun-2020 15:53:45
| | [ #453 ] |
|
|
 |
Cult Member  |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @tlosm
The iso is in the same directory as my script. /home//Downloads/Sam460
This is what I downloaded. https://download.qemu.org/qemu-5.0.0.tar.xz
edit: It was RC 1.
I am having a tough time getting rid of the old one.
Last edited by Trekiej on 01-Jun-2020 at 04:16 PM. Last edited by Trekiej on 01-Jun-2020 at 03:58 PM.
_________________ John 3:16 |
|
Status: Offline |
|
|
Hypex
 |  |
Re: sam460 emulated in qemu Posted on 2-Jun-2020 17:17:33
| | [ #454 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @Trekiej
Quote:
sudo apt-get remove qemu (what can I add here?) |
sudo apt-get purge qemu
 |
|
Status: Offline |
|
|
Trekiej
|  |
Re: sam460 emulated in qemu Posted on 2-Jun-2020 23:06:03
| | [ #455 ] |
|
|
 |
Cult Member  |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @Hypex
Reading package lists... Building dependency tree... Reading state information... Package 'qemu' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
This is what I get.
edit:
I still get 4.2.91 when I type qemu-system-ppc --version
Last edited by Trekiej on 02-Jun-2020 at 11:10 PM.
_________________ John 3:16 |
|
Status: Offline |
|
|
towo2099
|  |
Re: sam460 emulated in qemu Posted on 3-Jun-2020 6:15:12
| | [ #456 ] |
|
|
 |
New Member |
Joined: 25-Oct-2019 Posts: 4
From: Unknown | | |
|
| @Trekiej
apt-get purge qemu.
(note the dot after the package name)
or
apt purge $(dpkg -l | awk '/qemu/{ print $2 }')
|
|
Status: Offline |
|
|
Trekiej
|  |
Re: sam460 emulated in qemu Posted on 3-Jun-2020 15:43:41
| | [ #457 ] |
|
|
 |
Cult Member  |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @towo2099
After that, I still get a version of 4.2.91
_________________ John 3:16 |
|
Status: Offline |
|
|
towo2099
|  |
Re: sam460 emulated in qemu Posted on 3-Jun-2020 16:06:45
| | [ #458 ] |
|
|
 |
New Member |
Joined: 25-Oct-2019 Posts: 4
From: Unknown | | |
|
| @Trekiej
ls -ld $(which qemu-system-ppc) dpkg -l | grep qemu |
|
Status: Offline |
|
|
Hypex
 |  |
Re: sam460 emulated in qemu Posted on 3-Jun-2020 16:31:24
| | [ #459 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @Trekiej
find /usr | grep qemu
Perhaps.  |
|
Status: Offline |
|
|
Trekiej
|  |
Re: sam460 emulated in qemu Posted on 4-Jun-2020 0:56:48
| | [ #460 ] |
|
|
 |
Cult Member  |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @Hypex
/usr/lib/libvirt/connection-driver/libvirt_driver_qemu.so /usr/lib/x86_64-linux-gnu/libvirt-qemu.so.0.4000.0 /usr/lib/x86_64-linux-gnu/libvirt-qemu.so.0 /usr/local/libexec/qemu-bridge-helper /usr/local/share/applications/qemu.desktop /usr/local/share/qemu /usr/local/share/qemu/efi-vmxnet3.rom /usr/local/share/qemu/pxe-virtio.rom /usr/local/share/qemu/multiboot.bin /usr/local/share/qemu/vgabios-bochs-display.bin /usr/local/share/qemu/palcode-clipper /usr/local/share/qemu/efi-virtio.rom /usr/local/share/qemu/vgabios.bin /usr/local/share/qemu/opensbi-riscv32-virt-fw_jump.bin /usr/local/share/qemu/QEMU,tcx.bin /usr/local/share/qemu/pxe-eepro100.rom /usr/local/share/qemu/edk2-x86_64-code.fd /usr/local/share/qemu/skiboot.lid /usr/local/share/qemu/u-boot.e500 /usr/local/share/qemu/pxe-ne2k_pci.rom /usr/local/share/qemu/sgabios.bin /usr/local/share/qemu/kvmvapic.bin /usr/local/share/qemu/pxe-e1000.rom /usr/local/share/qemu/efi-rtl8139.rom /usr/local/share/qemu/slof.bin /usr/local/share/qemu/opensbi-riscv64-sifive_u-fw_jump.bin /usr/local/share/qemu/s390-netboot.img /usr/local/share/qemu/qemu-nsis.bmp /usr/local/share/qemu/petalogix-ml605.dtb /usr/local/share/qemu/openbios-sparc64 /usr/local/share/qemu/vgabios-stdvga.bin /usr/local/share/qemu/openbios-ppc /usr/local/share/qemu/pvh.bin /usr/local/share/qemu/petalogix-s3adsp1800.dtb /usr/local/share/qemu/opensbi-riscv32-sifive_u-fw_jump.bin /usr/local/share/qemu/hppa-firmware.img /usr/local/share/qemu/edk2-x86_64-secure-code.fd /usr/local/share/qemu/edk2-licenses.txt /usr/local/share/qemu/firmware /usr/local/share/qemu/firmware/60-edk2-arm.json /usr/local/share/qemu/firmware/60-edk2-i386.json /usr/local/share/qemu/firmware/60-edk2-aarch64.json /usr/local/share/qemu/firmware/50-edk2-x86_64-secure.json /usr/local/share/qemu/firmware/50-edk2-i386-secure.json /usr/local/share/qemu/firmware/60-edk2-x86_64.json /usr/local/share/qemu/vgabios-cirrus.bin /usr/local/share/qemu/opensbi-riscv64-virt-fw_jump.bin /usr/local/share/qemu/vgabios-virtio.bin /usr/local/share/qemu/edk2-arm-vars.fd /usr/local/share/qemu/efi-e1000e.rom /usr/local/share/qemu/trace-events-all /usr/local/share/qemu/openbios-sparc32 /usr/local/share/qemu/canyonlands.dtb /usr/local/share/qemu/edk2-arm-code.fd /usr/local/share/qemu/efi-e1000.rom /usr/local/share/qemu/linuxboot.bin /usr/local/share/qemu/edk2-i386-code.fd /usr/local/share/qemu/keymaps /usr/local/share/qemu/keymaps/bepo /usr/local/share/qemu/keymaps/pl /usr/local/share/qemu/keymaps/fr /usr/local/share/qemu/keymaps/ar /usr/local/share/qemu/keymaps/da /usr/local/share/qemu/keymaps/pt-br /usr/local/share/qemu/keymaps/sl /usr/local/share/qemu/keymaps/de-ch /usr/local/share/qemu/keymaps/tr /usr/local/share/qemu/keymaps/hu /usr/local/share/qemu/keymaps/en-us /usr/local/share/qemu/keymaps/et /usr/local/share/qemu/keymaps/en-gb /usr/local/share/qemu/keymaps/hr /usr/local/share/qemu/keymaps/fr-ca /usr/local/share/qemu/keymaps/fi /usr/local/share/qemu/keymaps/no /usr/local/share/qemu/keymaps/pt /usr/local/share/qemu/keymaps/is /usr/local/share/qemu/keymaps/nl /usr/local/share/qemu/keymaps/mk /usr/local/share/qemu/keymaps/de /usr/local/share/qemu/keymaps/fr-ch /usr/local/share/qemu/keymaps/it /usr/local/share/qemu/keymaps/cz /usr/local/share/qemu/keymaps/fr-be /usr/local/share/qemu/keymaps/sv /usr/local/share/qemu/keymaps/es /usr/local/share/qemu/keymaps/ru /usr/local/share/qemu/keymaps/fo /usr/local/share/qemu/keymaps/th /usr/local/share/qemu/keymaps/lt /usr/local/share/qemu/keymaps/lv /usr/local/share/qemu/keymaps/ja /usr/local/share/qemu/s390-ccw.img /usr/local/share/qemu/bamboo.dtb /usr/local/share/qemu/qemu_vga.ndrv /usr/local/share/qemu/bios-256k.bin /usr/local/share/qemu/efi-pcnet.rom /usr/local/share/qemu/u-boot-sam460-20100605.bin /usr/local/share/qemu/vgabios-ati.bin /usr/local/share/qemu/efi-eepro100.rom /usr/local/share/qemu/pxe-rtl8139.rom /usr/local/share/qemu/edk2-i386-vars.fd /usr/local/share/qemu/QEMU,cgthree.bin /usr/local/share/qemu/efi-ne2k_pci.rom /usr/local/share/qemu/linuxboot_dma.bin /usr/local/share/qemu/vgabios-vmware.bin /usr/local/share/qemu/pxe-pcnet.rom /usr/local/share/qemu/bios.bin /usr/local/share/qemu/bios-microvm.bin /usr/local/share/qemu/vgabios-ramfb.bin /usr/local/share/qemu/edk2-aarch64-code.fd /usr/local/share/qemu/edk2-i386-secure-code.fd /usr/local/share/qemu/vgabios-qxl.bin /usr/local/share/icons/hicolor/48x48/apps/qemu.png /usr/local/share/icons/hicolor/512x512/apps/qemu.png /usr/local/share/icons/hicolor/256x256/apps/qemu.png /usr/local/share/icons/hicolor/128x128/apps/qemu.png /usr/local/share/icons/hicolor/64x64/apps/qemu.png /usr/local/share/icons/hicolor/scalable/apps/qemu.svg /usr/local/share/icons/hicolor/24x24/apps/qemu.png /usr/local/share/icons/hicolor/32x32/apps/qemu.bmp /usr/local/share/icons/hicolor/32x32/apps/qemu.png /usr/local/share/icons/hicolor/16x16/apps/qemu.png /usr/local/bin/qemu-edid /usr/local/bin/qemu-microblazeel /usr/local/bin/qemu-riscv32 /usr/local/bin/qemu-sparc64 /usr/local/bin/qemu-ppc64 /usr/local/bin/qemu-mipsn32 /usr/local/bin/qemu-ga /usr/local/bin/qemu-i386 /usr/local/bin/qemu-s390x /usr/local/bin/qemu-xtensaeb /usr/local/bin/qemu-pr-helper /usr/local/bin/qemu-system-m68k /usr/local/bin/qemu-sparc /usr/local/bin/qemu-hppa /usr/local/bin/qemu-system-sparc /usr/local/bin/qemu-system-or1k /usr/local/bin/qemu-system-rx /usr/local/bin/qemu-aarch64_be /usr/local/bin/qemu-mipsn32el /usr/local/bin/qemu-x86_64 /usr/local/bin/qemu-system-s390x /usr/local/bin/qemu-system-microblazeel /usr/local/bin/qemu-system-mips /usr/local/bin/qemu-tilegx /usr/local/bin/qemu-mipsel /usr/local/bin/qemu-cris /usr/local/bin/qemu-riscv64 /usr/local/bin/qemu-ppc64le /usr/local/bin/qemu-storage-daemon /usr/local/bin/qemu-img /usr/local/bin/qemu-system-aarch64 /usr/local/bin/qemu-system-sh4 /usr/local/bin/qemu-nios2 /usr/local/bin/qemu-alpha /usr/local/bin/qemu-system-cris /usr/local/bin/qemu-m68k /usr/local/bin/qemu-sh4 /usr/local/bin/qemu-sh4eb /usr/local/bin/qemu-system-riscv64 /usr/local/bin/qemu-nbd /usr/local/bin/qemu-xtensa /usr/local/bin/qemu-armeb /usr/local/bin/qemu-system-moxie /usr/local/bin/qemu-mips64 /usr/local/bin/qemu-system-mips64 /usr/local/bin/qemu-system-xtensaeb /usr/local/bin/qemu-system-mips64el /usr/local/bin/qemu-io /usr/local/bin/qemu-aarch64 /usr/local/bin/qemu-system-x86_64 /usr/local/bin/qemu-system-nios2 /usr/local/bin/qemu-sparc32plus /usr/local/bin/qemu-ppc /usr/local/bin/qemu-system-arm /usr/local/bin/qemu-system-xtensa /usr/local/bin/qemu-ppc64abi32 /usr/local/bin/qemu-system-tricore /usr/local/bin/qemu-system-riscv32 /usr/local/bin/qemu-system-alpha /usr/local/bin/qemu-system-microblaze /usr/local/bin/qemu-system-ppc /usr/local/bin/qemu-system-mipsel /usr/local/bin/qemu-system-unicore32 /usr/local/bin/qemu-system-lm32 /usr/local/bin/qemu-system-sparc64 /usr/local/bin/qemu-or1k /usr/local/bin/qemu-arm /usr/local/bin/qemu-system-sh4eb /usr/local/bin/qemu-system-ppc64 /usr/local/bin/qemu-mips /usr/local/bin/qemu-mips64el /usr/local/bin/qemu-system-hppa /usr/local/bin/qemu-microblaze /usr/local/bin/qemu-system-i386 /usr/src/linux-headers-4.15.0-96-generic/include/config/drm/cirrus/qemu.h /usr/src/linux-headers-4.15.0-99-generic/include/config/drm/cirrus/qemu.h /usr/share/bash-completion/completions/qemu /usr/share/bash-completion/completions/qemu-system-x86_64 /usr/share/bash-completion/completions/qemu-kvm /usr/share/bash-completion/completions/qemu-system-i386 /usr/share/systemtap/tapset/libvirt_qemu_probes.stp /usr/share/augeas/lenses/libvirtd_qemu.aug /usr/share/augeas/lenses/tests/test_libvirtd_qemu.aug _________________ John 3:16 |
|
Status: Offline |
|
|