Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
18 crawler(s) on-line.
 128 guest(s) on-line.
 1 member(s) on-line.


 matthey

You are an anonymous user.
Register Now!
 matthey:  1 min ago
 amigakit:  18 mins ago
 OlafS25:  35 mins ago
 OneTimer1:  58 mins ago
 RobertB:  1 hr ago
 pavlor:  1 hr 32 mins ago
 VooDoo:  1 hr 33 mins ago
 OldFart:  2 hrs 10 mins ago
 zipper:  2 hrs 30 mins ago
 kolla:  4 hrs 5 mins ago

/  Forum Index
   /  Amiga OS4 Hardware
      /  sam460 and Pegasos 2emulated in qemu
Register To Post

Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 Next Page )
PosterThread
pavlor 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 17:16:52
#21 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9584
From: Unknown

@Samurai_Crow

I think QEMU requires solid memory management to work (at least I was told so when I asked for AmigaOS port). Other than that, emulation of PowerPC on "68k" would be really slow (cca 4 MHz 460EX ).

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 17:23:33
#22 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2746
From: Amiga land

@pavlor

qemu need min 256mb for minimal configuration for run

_________________
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
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 17:34:09
#23 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2746
From: Amiga land

just made a fast test on G5 with 405ep cpu and kvm run on it.
it mean the Sam 460 will be kvm virtualized when done

_________________
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
Profile     Report this post  
Hypex 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 18:09:26
#24 ]
Elite Member
Joined: 6-May-2007
Posts: 11204
From: Greensborough, Australia

@tlosm


AROS and Linux iso-s use the Parthenope (ub2lb) bootloader which
currently fails when it calls the start_unit_scan with NULL first
argument in cdrom.c:get_dev() which causes a null pointer dereference
in U-Boot/board/ACube/common/sys_dep.c:start_unit_scan() which causes
an exception in QEMU (vector 1300, I think it's Data TLB Error) and
this leads to breakage.


LOL! It's not a bug in the emulator. It's a bug in the ub2lb code. It does indeed send a NULL which clealry violates that API function. Took me a month to find it! When I was porting the code to AmigaOne. Wish I had that QEMU back then with sources when I was debugging it. All I had was a UBoot crashlog over serial and laying printf()'s in the code till it turned up. But somewhow on the Sam it works. I thought the Sam UBoot may have had some work around but according to that it doesn't look like it. So don't know how the hardware is configured to ignore a NULL DSI crash.

 Status: Offline
Profile     Report this post  
Samurai_Crow 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 18:23:56
#25 ]
Elite Member
Joined: 18-Jan-2003
Posts: 2320
From: Minnesota, USA

re:4 MHz

Maybe, but the Vampire has more registers than the PPC 400 series and a smarter cache controller. Does QEmu have a JIT?


re:256 megs of RAM

In the stand alone model, I think it will have 256 megs. Don't quote me though.

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 18:27:09
#26 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2746
From: Amiga land

@Hypex

Contact Zoltan and help him about.

_________________
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
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 18:28:46
#27 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2746
From: Amiga land

@Samurai_Crow

It have but not for all the architectures .

_________________
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
Profile     Report this post  
pavlor 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 20:08:48
#28 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9584
From: Unknown

@Samurai_Crow

Quote:
Maybe, but the Vampire has more registers than the PPC 400 series and a smarter cache controller. Does QEmu have a JIT?


It has some sort of generic dynamic emulation, but speed is comparable to cca 1/30 of native performance. You can´t expect miracles with such slow hardware like Vampire (cca 1/15-1/20 of 460EX 1.1 GHz performance).

Quote:
I think it will have 256 megs


512 MB in the announcement PDF.

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 20:32:44
#29 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2746
From: Amiga land

@pavlor

This is Qemu in kvm running Osx tiger and classic inside it ..
check the speedometer performances..
Note there is a bug in qemu because kvm run at the half of the MOL kvm performances in computing ... it is like a G5 1.25 mhz.
The 68k in classic is like a G4 400mhz in computing (sonnet board).
Quadra 950 is 1.3 points in cpu. .. 5.11 is 68060 66mhz

photo

Last edited by tlosm on 22-Aug-2017 at 08:34 PM.

_________________
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
Profile     Report this post  
pavlor 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 20:36:14
#30 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9584
From: Unknown

@tlosm

Well, most of us would use QEMU/SAM460 emulation on PCs without such KVM accelleration.

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 20:38:18
#31 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2746
From: Amiga land

@pavlor

my I7 on PowerBook 2012 gave me 40 points cpu speedometer in qemu using it jit

_________________
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
Profile     Report this post  
pavlor 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 20:45:52
#32 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9584
From: Unknown

@tlosm

Quote:
my I7 on PowerBook 2012 gave me 40 points cpu speedometer in qemu using it jit


Hard to judge Speedometer scores (I don´t like synthetic benchmarks). G4 400 MHz has 30.61 CPU score.

Try some application benchmark (eg. dnetc - OGR-NG scales well with performance and could be comparable to G3 scores).

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 20:45:58
#33 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2746
From: Amiga land

i forget to say
... now ppc is multi threads tcg ... it mean you will have one core every host thread emulated.

16 threads ... 16 ppc jit cores.

_________________
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
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 20:47:38
#34 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2746
From: Amiga land

@pavlor

i try but i cant go on dnet website from qemu because safari is really old on tiger.
i will try to make a lan share but i think will be really hard.

if you have a place to download dnet i will try to download it

_________________
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
Profile     Report this post  
pavlor 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 20:49:18
#35 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9584
From: Unknown

@tlosm

http://http.distributed.net/pub/dcti/current-client/dnetc-macosx-ppc.tar.gz

Main download page:
http://www.distributed.net/Download_clients

Just type:
dnetc -benchmark

and report OGR-NG score.

Last edited by pavlor on 22-Aug-2017 at 08:50 PM.

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 20:54:21
#36 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2746
From: Amiga land

@pavlor

downloaded thanks ... preparing for benchmarking

_________________
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
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 20:58:22
#37 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2746
From: Amiga land

@pavlor

better than a sam and at the half of the speed in kvm

photo

note im using only one core in tiger no smp for the g3

Last edited by tlosm on 22-Aug-2017 at 08:59 PM.

_________________
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
Profile     Report this post  
michalsc 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 20:59:11
#38 ]
AROS Core Developer
Joined: 14-Jun-2005
Posts: 377
From: Germany

@Hypex

Quote:
LOL! It's not a bug in the emulator. It's a bug in the ub2lb code. It does indeed send a NULL which clealry violates that API function. Took me a month to find it! When I was porting the code to AmigaOne. Wish I had that QEMU back then with sources when I was debugging it. All I had was a UBoot crashlog over serial and laying printf()'s in the code till it turned up. But somewhow on the Sam it works. I thought the Sam UBoot may have had some work around but according to that it doesn't look like it. So don't know how the hardware is configured to ignore a NULL DSI crash.


Apparently this line of code was added on purpose, svn revision 60, quoting the author:

Quote:

Author: gicoviello
Date: 2008-06-07 07:26:18 -0700 (Sat, 07 Jun 2008)

Log Message:
-----------
added fallback scan_list for bogus uboot


and part of the commit:

Quote:

Modified: branches/parthenope/src/cdrom.c
===================================================================
--- branches/parthenope/src/cdrom.c 2008-06-07 13:16:44 UTC (rev 59)
+++ branches/parthenope/src/cdrom.c 2008-06-07 14:26:18 UTC (rev 60)
@@ -471,6 +471,8 @@
SCAN_HANDLE hnd;
uint32_t blocksize;

+ start_unit_scan(NULL, &blocksize);
+
for (hnd = start_unit_scan(get_scan_list(), &blocksize);
hnd != NULL; hnd = next_unit_scan(hnd, &blocksize)) {
if (hnd->ush_device.type == DEV_TYPE_CDROM) {


Probably old versions of UBOOT of that day (year 2008) had issues one some configurations of sam440/sam460(?). I'm more than sure that Giuseppe, who did that commit, knew exactly what he was doing.

Maybe new UBoot just silently ignores DSI... Dunno...

 Status: Offline
Profile     Report this post  
pavlor 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 20:59:28
#39 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9584
From: Unknown

@tlosm

What hardware?

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 22-Aug-2017 21:01:15
#40 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2746
From: Amiga land

@pavlor

G5 Quad ... fedora ppc64
the qemu is qemu-system-ppc -M g3beige -cpu G3

speedometer gave the true ... i say on macbook is 40 in cpu points... G5 on osx not in emulation is more than 90

dnet on g5 is near 35.000.000 keys

Last edited by tlosm on 22-Aug-2017 at 09:03 PM.
Last edited by tlosm on 22-Aug-2017 at 09:02 PM.
Last edited by tlosm on 22-Aug-2017 at 09:01 PM.

_________________
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
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle