qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenMPIC controller emulation in qemu ?


From: BALATON Zoltan
Subject: Re: OpenMPIC controller emulation in qemu ?
Date: Fri, 17 May 2024 15:54:36 +0200 (CEST)

On Fri, 17 May 2024, Andrew Randrianasulu wrote:
strange thing, I left it overnight and more was printed:

=============================================================
OpenBIOS 1.1 [May 17 2024 00:06]
Configuration device id QEMU version 1 machine id 1
CPUs: 2
Memory: 128M
UUID: 00000000-0000-0000-0000-000000000000
CPU type PowerPC,G4
milliseconds isn't unique.
Welcome to OpenBIOS v1.1 built on May 17 2024 00:06
Trying cd:,\\:tbxi...
switching to new context:
finddevice("/chosen") = 0xfff57108
finddevice("/options") = 0xfff57090
getprop(0xfff57108, "stdout", 0x002305f4, 4) = 4
0x002305f4  07 c5 b1 54 __ __ __ __ __ __ __ __ __ __ __ __  .Е±T
getprop(0xfff57108, "stdin", 0x002305f8, 4) = 4
0x002305f8  07 c5 ab 70 __ __ __ __ __ __ __ __ __ __ __ __  .Е«p
getprop(0xfff57108, "memory", 0x0023385c, 4) = 4
0x0023385c  07 c5 a9 5c __ __ __ __ __ __ __ __ __ __ __ __  .Е©\
getprop(0xfff57108, "mmu", 0x00233758, 4) = 4
0x00233758  07 c5 a7 50 __ __ __ __ __ __ __ __ __ __ __ __  .Е§P

of_client_interface: interpret 0021efa0
([1] -- [1])ethod ;w then ;0= ;int nip nip ;
handle_calls return: 00000000
of_client_interface: interpret 0021f018
interpret  " /chosen" find-package if dup " memory" rot GPP$ if D2NIP
swap " mmu" rot GPP$ if D2NIP elsevalue mmu# value mem#  ([1] -- [1])
handle_calls return: 00000000
of_client_interface: interpret 0021f0b4
interpret : ^mem mem# $CM ; : ^mmu mmu# $CM ;  ([1] -- [1])
handle_calls return: 00000000
claim(0x00300000, 1048576, 0) = 0x00300000
finddevice("/") = 0xfff56d28
getprop(0xfff56d28, "CODEGEN,vendor", 0x00232650, 256) = -1
getprop(0xfff56d28, "device_type", 0x00232650, 256) = 8
0x00232650  62 6f 6f 74 72 6f 6d 00 __ __ __ __ __ __ __ __  bootrom.
getprop(0xfff56d28, "model", 0x00232650, 256) = 12
0x00232650  50 6f 77 65 72 4d 61 63 33 2c 31 00 __ __ __ __  PowerMac3,1.
of_client_interface: interpret 0021e8b8
interpret " _screen-ihandle" $find if execute else 0 then ([1] -- [2])
interpret '" _screen-ihandle" $find if execute else 0 then': possible
argument error (-1--2) got 2
handle_calls return: 00000000 00000000
instance-to-package(0x07c5b154) = 0xfff643f0
getprop(0xfff643f0, "device_type", 0x07de7b90, 32) = 7
0x07de7b90  73 65 72 69 61 6c 00 __ __ __ __ __ __ __ __ __  serial.
open("screen") = 0x07c5b4c4
of_client_interface: call-method 0021eec4 07c5b4c4 00000000 00000000
00000000 00000000
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 00000001 000000aa
00000000 00000000
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 00000002 00000000
000000aa 00000000
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 00000003 000000aa
000000aa 00000000
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 00000004 00000000
00000000 000000aa
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 00000005 000000aa
00000000 000000aa
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 00000006 00000000
00000055 000000aa
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 00000007 000000aa
000000aa 000000aa
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 00000008 00000055
00000055 00000055
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 00000009 000000ff
00000055 00000055
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 0000000a 00000055
000000ff 00000055
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 0000000b 000000ff
000000ff 00000055
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 0000000c 00000055
00000055 000000ff
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 0000000d 000000ff
00000055 000000ff
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 0000000e 00000055
000000ff 000000ff
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf
of_client_interface: call-method 0021eec4 07c5b4c4 0000000f 000000ff
000000ff 000000ff
call-method color! ([6] -- [1])
call-method color!: exception -21
call-method color! failed with error ffffffdf

getprop(0xfff57108, "bootargs", 0x002455ec, 1024) = 1
0x002455ec  00 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  .
getprop(0xfff57108, "bootpath", 0x00244dec, 2048) = 54
0x00244dec  2f 70 63 69 40 66 32 30 30 30 30 30 30 2f 6d 61
/pci@f2000000/ma
0x00244dfc  63 2d 69 6f 40 63 2f 61 74 61 2d 33 40 32 31 30  c-io@c
/ata-3@210
0x00244e0c  30 30 2f 63 64 72 6f 6d 40 30 3a 32 2c 5c 5c 79  00/cdrom@0
:2,\\y
0x00244e1c  61 62 6f 6f 74 00 __ __ __ __ __ __ __ __ __ __  aboot.
getprop(0xfff57090, "ibm,client-architecture-support-reboot",
0x002305e4, 4) = -1
getprop(0xfff57090, "ibm,fw-nbr-reboots", 0x002305e4, 4) = -1
getprop(0xfff57090, "boot-once", 0x002449ec, 1024) = -1
setprop(0xfff57090, "boot-once", 0x00000000, 0)
 = 0
finddevice("/pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:2,\\yaboot") =
0xfff6567c
getprop(0xfff6567c, "device_type", 0x07de7b08, 63) = 6
0x07de7b08  62 6c 6f 63 6b 00 __ __ __ __ __ __ __ __ __ __  block.
finddevice("/pci@f2000000/mac-io@c/ata-3@21000/cdrom@0") = 0xfff6567c
getprop(0xfff6567c, "device_type", 0x07de7b38, 63) = 6
0x07de7b38  62 6c 6f 63 6b 00 __ __ __ __ __ __ __ __ __ __  block.
finddevice("/pci@f2000000/mac-io@c/ata-3@21000/cdrom@0") = 0xfff6567c
getprop(0xfff6567c, "device_type", 0x07de7a78, 63) = 6
0x07de7a78  62 6c 6f 63 6b 00 __ __ __ __ __ __ __ __ __ __  block.
open("/pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:0") = 0x07c5b6b0
of_client_interface: call-method 0021ece0 07c5b6b0
call-method block-size ([2] -- [2])
handle_calls return: 00000000 00000200
of_client_interface: call-method 0021ece0 07c5b6b0
call-method block-size ([2] -- [2])
handle_calls return: 00000000 00000200
of_client_interface: call-method 0021ece0 07c5b6b0
call-method block-size ([2] -- [2])
handle_calls return: 00000000 00000200
of_client_interface: call-method 0021ece0 07c5b6b0
call-method block-size ([2] -- [2])
handle_calls return: 00000000 00000200
close(0x07c5b6b0)
open("/pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:0") = 0x07c5b8c0
close(0x07c5b8c0)
open("/pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:0") = 0x07c5bad0
close(0x07c5bad0)
open("/pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:0") = 0x07c5bce0
close(0x07c5bce0)
open("/pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:02,\\yaboot.conf") =
0x07c5bf80
Config file read, 485 bytes
close(0x07c5bf80)
finddevice("/pci@f2000000/mac-io@c/ata-3@21000/cdrom@0") = 0xfff6567c
getprop(0xfff6567c, "device_type", 0x07de7aa8, 63) = 6
0x07de7aa8  62 6c 6f 63 6b 00 __ __ __ __ __ __ __ __ __ __  block.
of_client_interface: interpret 07de7b20
interpret 0 to background-color ([1] -- [1])
handle_calls return: 00000000

of_client_interface: interpret 07de7b20
interpret f to foreground-color ([1] -- [1])
handle_calls return: 00000000
finddevice("cd:") = 0xfff6567c
getprop(0xfff6567c, "device_type", 0x07de7618, 63) = 6
0x07de7618  62 6c 6f 63 6b 00 __ __ __ __ __ __ __ __ __ __  block.
finddevice("cd") = 0xfff6567c
getprop(0xfff6567c, "device_type", 0x07de7618, 63) = 6
0x07de7618  62 6c 6f 63 6b 00 __ __ __ __ __ __ __ __ __ __  block.
open("cd:0") = 0x07c5c170
of_client_interface: call-method 0021ece0 07c5c170
call-method block-size ([2] -- [2])
handle_calls return: 00000000 00000200
of_client_interface: call-method 0021ece0 07c5c170
call-method block-size ([2] -- [2])
handle_calls return: 00000000 00000200
of_client_interface: call-method 0021ece0 07c5c170
call-method block-size ([2] -- [2])
handle_calls return: 00000000 00000200
of_client_interface: call-method 0021ece0 07c5c170
call-method block-size ([2] -- [2])
handle_calls return: 00000000 00000200
close(0x07c5c170)
open("cd:0") = 0x07c5c380
close(0x07c5c380)
open("cd:0") = 0x07c5c590
close(0x07c5c590)
open("cd:0") = 0x07c5c7a0
close(0x07c5c7a0)
open("cd:02,\boot\ppc\boot.msg") = 0x07c5ca6c

Finnix version 110                                    http://www.finnix.org/
Copyright (C) 1999-2000, 2005-2014 Ryan Finnie        http://www.finnie.org/

Compiled: Thu May  1 04:13:20 PDT 2014
Available boot profiles:
 finnix (default), debug, finnix64, debug64

.
close(0x07c5ca6c)
Welcome to yaboot version 1.3.16
Enter "help" to get some basic usage information
finddevice("/pci@f2000000/mac-io@c/ata-3@21000/cdrom@0") = 0xfff6567c
getprop(0xfff6567c, "device_type", 0x07de7b18, 63) = 6
0x07de7b18  62 6c 6f 63 6b 00 __ __ __ __ __ __ __ __ __ __  block.
open("/pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:0") = 0x07c5cc2c
of_client_interface: call-method 0021ece0 07c5cc2c
call-method block-size ([2] -- [2])
handle_calls return: 00000000 00000200
of_client_interface: call-method 0021ece0 07c5cc2c
call-method block-size ([2] -- [2])
handle_calls return: 00000000 00000200
of_client_interface: call-method 0021ece0 07c5cc2c
call-method block-size ([2] -- [2])
handle_calls return: 00000000 00000200
of_client_interface: call-method 0021ece0 07c5cc2c
call-method block-size ([2] -- [2])
handle_calls return: 00000000 00000200
close(0x07c5cc2c)

WARNING: Bootstrap partition type is wrong: "Apple_HFS"
        type should be: "Apple_Bootstrap"

boot:

======

sooo ...it booted somehow to yaboot command prompt?

Seems it has some problems with the OpenBIOS implementation of screen hansling so it could not draw to screen but it worked. Maybe you could set output to serial to avoid this but don't remember what are the options for that in OpenFirmware. You could try to add -prom-env "auto-boot?=false" -serial stdio to get to the OpebBIOS prompt instead of booting then enter

" scca" io

there to redirect input/output to serial then in the console window type boot to start booting so maybe yaboot would output to serial. Or there may be a better way setting input-device and output-device prom-env vars but I don't know what would be the correct value for serial output.

Regards,
BALATON Zoltan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]