Login  •  Register


The time is now: Mon Dec 11, 2017 12:31 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 3 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Fri Dec 08, 2017 10:47 pm 
Offline
Granny Smith

Joined: Sun Feb 07, 2016 4:40 pm
Posts: 107
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?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri Dec 08, 2017 11:53 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1855
I think ADB is used by default unless you specifically indicate USB?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sat Dec 09, 2017 3:35 am 
Offline
Granny Smith

Joined: Sun Feb 07, 2016 4:40 pm
Posts: 107
Thanks, seems using -nographic rather than -monitor stdio will send the openbios output to the terminal.

Anyway, here's what i'm getting:

Code:
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 >


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 3 posts ]


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group