Skip to contentSkip to conversation

PPC system emulator

Qemu-devel Gianni Tedesco 4 participants 8 messages Jun 18, 2004 – Jun 20, 2004

lore
Share & tools
lore
#0 lore raw

Yo,

Is this supposed to work? Where on earth do I get a boot ROM image for it? ;)

Signature · 3 lines
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/scaramanga.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
#1 lore raw
Quoted 4 lines · Gianni Tedesco

Yo,

Is this supposed to work? Where on earth do I get a boot ROM image for it? ;)

Hi,

for now, only PREP system will run, launching qemu this way:
qemu-system-ppc -prep -kernel <my_kernel> ...
Note that 2.2 and 2.6 kernels seem not to run for now.

I temporary put the ROM sources and images there:
http://site.voila.fr/jmayer/OpenHackWare/index.htm
This is work in progress, so there may be lots of bugs or things to improve.
You can get BIOS messages thru qemu serial port at startup. Feel free to send me comments, patches....

Signature · 2 lines
J. Mayer <[email protected]>
Never organized
#2 lore raw
Quoted 3 lines · J. Mayer

for now, only PREP system will run, launching qemu this way:
qemu-system-ppc -prep -kernel <my_kernel> ...
Note that 2.2 and 2.6 kernels seem not to run for now.

Ah cool, I'm actually interested in powermac emulation for running MacOSX. I have a powermac and a bunch of the manuals for the hardware, so I could help out in some of my very limited idle cycles :)

Quoted 4 lines

I temporary put the ROM sources and images there:
http://site.voila.fr/jmayer/OpenHackWare/index.htm
This is work in progress, so there may be lots of bugs or things to improve.

You aiming to implement all of OF, or just subset to boot fe. macos/linux? I take it thats the main blocker? As all but most basic hw/* stuff can be shared right...

Quoted 2 lines

You can get BIOS messages thru qemu serial port at startup. Feel free to send me comments, patches....

Yeah, I'll give it a go.

Signature · 3 lines
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/scaramanga.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
#3 lore raw
Quoted 8 lines · Gianni Tedesco
Quoted 3 lines · J. Mayer

for now, only PREP system will run, launching qemu this way:
qemu-system-ppc -prep -kernel <my_kernel> ...
Note that 2.2 and 2.6 kernels seem not to run for now.

Ah cool, I'm actually interested in powermac emulation for running MacOSX. I have a powermac and a bunch of the manuals for the hardware, so I could help out in some of my very limited idle cycles :)

The powermac emulation isn't ready yet but may work soon (I hope !) I'd like to see some hw manuals, if you can send some to me or give me URLs if some are available from the net.

Quoted 8 lines
Quoted 4 lines

I temporary put the ROM sources and images there:
http://site.voila.fr/jmayer/OpenHackWare/index.htm
This is work in progress, so there may be lots of bugs or things to improve.

You aiming to implement all of OF, or just subset to boot fe. macos/linux? I take it thats the main blocker? As all but most basic hw/* stuff can be shared right...

I implemented quite the whole OF and RTAS interfaces. I didn't implement Forth, as I can do without to launch Linux and OSX. It seems that I may be able to launch a lot of OSes this way, but I may need to merge a real Forth interpreter for some others.

Now, I can boot Linux without disks and start booting OSX (ie launch and initialize the kernel). There are problems due to:
- bugs in the BIOS OF tree.
- hw emulation buggy or missing or not declared/used.
Most of the hw stuffs have been writen but not tested in "real" conditions, so the work to do in qemu is now to get all hw components work together and get debugged.

Signature · 2 lines
J. Mayer <[email protected]>
Never organized
#4 lore raw

Hopefully everyone is aware of the OpenBIOS project? They've been doing the work, and written the Forth code. They know what they're doing.

Why not just avoid duplication of effort and help them get it into the shape you need? They are nice folks and always open to help.

-- John.

#5 lore raw
Quoted 6 lines · John R. Hogerhuis

Hopefully everyone is aware of the OpenBIOS project? They've been doing the work, and written the Forth code. They know what they're doing.

Why not just avoid duplication of effort and help them get it into the shape you need? They are nice folks and always open to help.

I intended to use OpenBIOS but it's really far from being able to boot a PPC machine.
And it doesn't intend to support "conventional" boot for PREP, which I need.
As I did most of the BIOS code last year when I made my first atempts to run Linux for the PREP emulation, it was really easier to me to add the missing code (mostly hw stuffs) and fix the bugs than start the port of OpenBIOS to PPC target.

OpenBIOS is the right long term solution, but I need something right now, so I reuse and improve the code I have.
Some of this code (ie PREP boot or some PPC device drivers) may become useful for OpenBIOS too...

Signature · 2 lines
J. Mayer <[email protected]>
Never organized
#6 lore raw

Whatever works!

Sounds like you've given it some consideration. Just keep integration with OpenBIOS in the back of your mind while you code. I see your point that OpenBIOS isn't on the verge of booting PPC, but the only way they will get there is if folks interested in it lend a hand to push them over the hump.

-- John.

#7 lore raw
In reply to J. Mayer
Quoted 8 lines · J. Mayer
Quoted 4 lines · Gianni Tedesco

Yo,

Is this supposed to work? Where on earth do I get a boot ROM image for it? ;)

Hi,

Quoted 8 lines

for now, only PREP system will run, launching qemu this way:
qemu-system-ppc -prep -kernel <my_kernel> ...
Note that 2.2 and 2.6 kernels seem not to run for now.

I temporary put the ROM sources and images there:
http://site.voila.fr/jmayer/OpenHackWare/index.htm
This is work in progress, so there may be lots of bugs or things to improve.

How does your OpenHackWare compare to something like OpenBIOS
http://www.OpenBIOS.info/

Just curious...

Signature · 1 line
Antony T Curtis <[email protected]>