Had a mild amount of success in SLOF, I know it’s a little of topic, but these are just the ways I work through things I don’t quite understand.
Even tho SLOF would execute the Fcode rom to the end, it would only propagate the parent, i.e. NVDA,Parent, but not the children, i.e. NDVA,Display-A, NVDA,Display-B.
Seems that doing select-dev twice in a row will fix this trouble:
SLOF ********************************************************************** QEMU Starting Build Date = Jul 24 2017 15:15:46 FW Version = git-89f519f09bf85091 Press "s" to enter Open Firmware.
Populating /vdevice methods Populating /vdevice/vty@71000000 Populating /vdevice/nvram@71000001 Populating /vdevice/l-lan@71000002 Populating /vdevice/v-scsi@71000003 SCSI: Looking for devices 8000000000000000 DISK : "QEMU QEMU HARDDISK 2.5+" 8100000000000000 DISK : "QEMU QEMU HARDDISK 2.5+" 8200000000000000 CD-ROM : "QEMU QEMU CD-ROM 2.5+" Populating /pci@800000020000000 00 0000 (D) : 10de 0141 vga* Scanning USB Using default console: /vdevice/vty@71000000
Welcome to Open Firmware
Copyright (c) 2004, 2017 IBM Corporation All rights reserved. This program and the accompanying materials are made available under the terms of the BSD License available at http://www.opensource.org/licenses/bsd-license.php
Type 'boot' and press return to continue booting the system. Type 'reset-all' and press return to reboot the system.
Ready! 0 > include evaluator.fs ok 0 > here u. e7825a8 ok 0 > s" /pci/@0" select-dev ok 0 > s" /pci/@0" select-dev ok 0 > here u. e7825a8 ok 0 > load disk1:,\666 Trying to load: from: /vdevice/v-scsi@71000003/disk@8100000000000000:,\666 ... ok 0 > here u. e782748 ok 0 > 4040 1 byte-load ok 0 > .properties VRAM,memsize 10000000 10000000 #size-cells 00000000 #address-cells 00000001 reg 00000000 00000000 00000000 00000000 00000000 02000010 00000000 00000000 00000000 01000000 0200001c 00000000 00000000 00000000 01000000 42000014 00000000 00000000 00000000 10000000 02000030 00000000 00000000 00000000 00020000 NVDA,Level 00000001 NVDA,Features 005002ef rom-revision 2149 32313439 00 name NVDA,Parent 4e564441 2c506172 656e7400 NVCAP 04000100 00100003 001c0000 00000007 000000 NVPM 01000000 00000000 00000000 00000000 00000000 00000000 00000000 device_type NVDA,GeForce 4e564441 2c476546 6f726365 00 NVDA,BMP 55aa7eeb 4b373430 30e94c19 77cc5649 44454f20 0d000000 00005710 00004942 4d205647 4120436f 6d706174 69626c65 01000000 b0100b18 30362f32 342f3035 00000000 00000000 01100000 00000000 e93edd00 00000000 00000000 00004081 efffff7f 10000080 2200a542 e9f5b7e9 fcb7ffb8 42495400 00010c06 10473201 0400de00 42021600 e2004301 0e00f800 44010400 06014901 0e000a01 4c010200 18017401 12001a01 4d010200 2c014e00 00000000 50011900 2e015302 15004701 54010200 5c015501 03005e01 56010600 61016300 00000000 69022300 67010000 00007502 43050000 00000000 a8073030 2f30302f 30300200 00000000 00000000 8a010000 3d020000 00004302 55026102 9102d902 d9025502 2903c803 ce03d403 ec030404 1c043404 4c046404 cc127c04 0000b704 00000f05 00006805 0000a205 000042a7 050000ba 05500a06 19230628 4b06145f 06238206 23a50614 b9060000 00fc0611 07000075 02430500 600140fd 13005743 2e073036 2f32342f 30350000 00000000 00000000 3a072104 23050000 00006400 95019001 e8030300 23001900 640001ff 01ff0119 011f0007 00000000 00204000 00640095 01580278 05030023 00190064 0001ff01 ff011f01 1f000703 00000000 08400000 90012003 90012003 0d000000 32002003 011f011f 01010101 00070000 00000008 05680064 00950190 01e80303 00230019 00640001 ff01ff01 19011f01 07000000 00002005 68006400 95019001 e8030300 23001900 640001ff 01ff0119 011f0107 00000000 00ffff80 05800544 07870b5b 10951173 12000074 12a012cc 12000101 01020103 01040105 01d40210 00010000 001c0210 00010000 00d00210 00010000 00d80210 00010000 00dc0210 00010000 00dc0210 00000000 00001010 00400000 00400000 00000000 000f0000 00020000 00101300 00000100 00000000 00001010 00200000 00200000 00401500 00000001 00000000 00401500 00000002 00000000 00d4033c 70042103 0300d403 3c700421 030301d4 033c7004 21030302 d4033c70 04210303 03d4033c 70042103 4040d403 3c700421 032f21d4 033c7004 21032f23 d4033c70 04210320 00010103 02030101 63301f02 10002823 98139813 bc13bc13 68037403 80038c03 9803a403 b003bc03 00000001 01020103 01040105 01060107 01080109 010a010b 010c010d 010e010f e81cd013 7017d713 0000de13 e81ce513 7017ec13 0000f313 d039fa13 e02e0114 00000814 d0390f14 e02e1614 00001d14 e81c2414 70172b14 00003214 e81c3914 70174014 00004714 d0394e14 e02e5514 00005c14 d0396314 e02e6a14 00007114 04083132 3519007e b4000000 00010203 090a0b0c 0e0f1011 17181e1f 2022292c 33343c3d 21f07c1f 44765700 43034903 8301f400 d2d21620 c04033 model GeForce 6600 4765466f 72636520 36363030 00 revision-id 000000a4 subsystem-id 00000010 assigned-addresses 82000030 00000000 82000000 00000000 00020000 82000010 00000000 80000000 00000000 01000000 c3000014 00002100 00000000 00000000 10000000 8200001c 00000000 81000000 00000000 01000000
ibm,req#msi 00000001 vendor-id 000010de device-id 00000141 class-code 00030000 interrupts 00000001 min-grant 00000000 max-latency 00000000 subsystem-vendor-id 000010de cache-line-size 00000000 devsel-speed 00000000 ibm,loc-code vfio_vfio-pci:0000:00:00.0 7666696f 5f766669 6f2d7063 693a3030 30303a30 303a3030 2e3000 ibm,my-drc-index 40000000 ibm,pci-config-space-type 00000001 ok 0 > ls e72d2e0 : /pci@800000020000000/NVDA,Parent@0 e7c5448 : |-- NVDA,Display-A e7c5f30 : |-- NVDA,Display-B e7c6740 : +-- sensor-parent e7c69d8 : +-- gpu-diode-temperature ok 0 > dev NVDA,Display-A ok 0 > .properties can-hot-plug display-cfg 00360003 display-type LCD 4c434400 EDID 00ffffff ffffff00 593a0410 01010101 0d170103 806e3e78 0a6bf3a6 554d9325 0f4849a5 ce008100 81c00101 01010101 01010101 0101023a 80187138 2d40582c 45004868 4200001e 000000fd 00324d1f 460f000a 20202020 20200000 00ff0055 4b4e5442 50303130 30303031 000000fc 00453530 30692d41 300a2020 2020013c 02032671 4b010304 05902011 1213141f 29090705 15575010 07508301 00006703 0c004000 382d023a 80187138 2d40582c 55004868 4200001e 011d0072 51d01e20 6e285500 48684200 001e0000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000036
refresh 0000003c linebytes 00000280 depth 00000008 height 000001e0 width 00000280 character-set ISO8859-1 49534f38 3835392d 3100 connector-type 00000200 compatible NVDA,NVMacNVDA,MultiDisplay 4e564441 2c4e564d 6163004e 5644412c 4d756c74 69446973 706c6179 00 reg 00000000 device_type display 64697370 6c617900 name NVDA,Display-A 4e564441 2c446973 706c6179 2d4100 ok 0 >
That’s the properties of a fully working nVidia card with an Fcode ROM, I’ve seen it enough times to know. The display connect to the card did not power on, but I don’t expect it too until I boot an OS, and now I’ll have to find the one I installed for the Pseries machine;-)
Now I just got to get this working with Openbios.
On May 8, 2018, at 8:36 AM, Jd Lyons lyons_dj@yahoo.com wrote:
Ok, I made those changes to openbios, here is the output.
<6603.txt>
On May 8, 2018, at 6:50 AM, Joe van Tunen <joevt@shaw.ca mailto:joevt@shaw.ca> wrote:
: (debug-feval) ( fcode# -- fcode# ) \ Address fcode-stream 1 - . here u. ." : "
\ Indicate if word is compiled state @ 0<> if ." (compile) " then dup fcode>xt cell - lfa2name type dup ." [ 0x" . ." ]" cr ;