Forgot command line option for ADB?

About Qemu-system-ppc, a PPC Mac emulator for Windows, macOS and Linux that can run Mac OS 9.0 up to Mac OS X 10.5

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
darthnvader
Mac Mechanic
Posts: 178
Joined: Sun Feb 07, 2016 4:40 pm

Forgot command line option for ADB?

Post by darthnvader »

I'm trying to debug PCI Passthough of a Apple OEM Geforce 6600 with a PPC Fcode rom. Openbios doesn't seem to be able to use it as the display device, I'm assuming that it's not reading the FCode rom or there maybe words in the Rom openbios doesn't know.

Anyway, I'm having to reroute Openbios output via -monitor stdio, but I don't kave any keyboard input with -device usb-kdb.

Do I need to use ADB, I've forgotten how?

Or is there some other command I need?
User avatar
adespoton
Forum All-Star
Posts: 4274
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Forgot command line option for ADB?

Post by adespoton »

I think ADB is used by default unless you specifically indicate USB?
darthnvader
Mac Mechanic
Posts: 178
Joined: Sun Feb 07, 2016 4:40 pm

Re: Forgot command line option for ADB?

Post by darthnvader »

Thanks, seems using -nographic rather than -monitor stdio will send the openbios output to the terminal.

Anyway, here's what i'm getting:

Code: Select all

C>> annot manage 'VGA controller' PCI device type 'display':
>>  10de 141 (3 0 0)

>> =============================================================
>> OpenBIOS 1.1 [Oct 19 2017 07:00]
>> Configuration device id QEMU version 1 machine id 1
>> CPUs: 1
>> Memory: 512M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,G4
milliseconds isn't unique.
Welcome to OpenBIOS v1.1 built on Oct 19 2017 07:00

0 > dev / ls 
fff48dc8 aliases
fff48e6c openprom
fff49014 options
fff4908c chosen
fff4913c builtin
fff4ec6c packages
fff516c4 cpus
fff517c4 memory@0
fff5188c rom@ff800000
fff53fec pci@f2000000
fff552a8 nvram@fff04000
fff56efc uni-n@f8000000
 ok
0 > dev pci  ok
0 > ls 
fff5442c mac-io@c
fff57008 usb@d
fff57374 ethernet@e
fff576e0 pci10de,141@f
 ok
0 > dev pci10de,141@f  ok
0 > .properties 
name                      "pci10de,141"
vendor-id                 10de 
device-id                 141 
revision-id               a2 
class-code                30000 
interrupts                1 
min-grant                 0 
max-latency               0 
devsel-speed              0 
subsystem-vendor-id       10de 
subsystem-id              50 
cache-line-size           10 
assigned-addresses        -- 3c : 02 00 78 10 00 00 00 00 81 00 00 00 00 00 00 00 01 00 00 00 c3 00 78 14 00 00 00 00 90 00 00 00 00 00 00 00 10 00 00 00 83 00 78 1c 00 00 00 00 a0 00 00 00 00 00 00 00 01 00 00 00 
reg                       00007800 00000000 00000000   00000000 00000000
                          02007810 00000000 00000000   00000000 01000000
                          c3007814 00000000 00000000   00000000 10000000
                          8300781c 00000000 00000000   00000000 01000000
 ok
0 > words close open 
 ok
0 > .words .words: undefined word.
0 > dev /  ok
0 > words encode-unit decode-unit close open 
 ok
0 > dev / ls 
fff48dc8 aliases
fff48e6c openprom
fff49014 options
fff4908c chosen
fff4913c builtin
fff4ec6c packages
fff516c4 cpus
fff517c4 memory@0
fff5188c rom@ff800000
fff53fec pci@f2000000
fff552a8 nvram@fff04000
fff56efc uni-n@f8000000
 ok
0 > dev openrom  no such device.
0 > dev openprom  ok
0 > .properties 
name                      "openprom"
device_type               "BootROM"
model                     "OpenFirmware 3"
relative-addressing       <empty>
supports-bootinfo         <empty>
boot-syntax               1 
 ok
0 > dev /  ok
0 > dev rom  ok
0 > .properties 
name                      "rom"
reg                       ff800000   00000000
#address-cells            1 
ranges                    -- c : ff 80 00 00 00 80 00 00 ff 80 00 00 
 ok
0 > 
Post Reply