On Dec 17, 2017, at 8:44 PM, Tarl Neustaedter tarl-b2@tarl.net wrote:
On 2017-Dec-17 12:34 , Jd Lyons wrote:
When I do:
0 > 0 0 " 4,0" " /pci@f2000000" begin-package ok 0 > dev /pci ls fff8042c mac-io@c fff83008 usb@d fff83374 QEMU,VGA@e fff87994 NE2000@f fff87d44 pci10de,141@10 fffad3dc <noname> ok 0 >
It creates a <noname> device, but it has no address, so I can't get the .properties or words from it. I'm sure I'm not getting this command right, I don't think OpenBios has a "Slot" property for PCI Cards?
That maybe an issue?
The above is expected behaviour; when you create the node, it has no name. The FCode is supposed to create the "reg" and "name" properties which give it the values you see. Although, looking at the above, I'm seeing a "pci10de,141" node, which is probably your card. Maybe you should be running the FCode in that node? Rather than
0 0 " 4,0" " /pci@f2000000" begin-package
try
" /pci/pci10de,141@10" begin-select-dev
Then do the load/byte-load operations.
I’m think the same thing, just didn’t no how to select the device as the node, unfortunately it seems “begin-select-dev” isn’t a word in Openbios, yet.
-- OpenBIOS http://openbios.org/ Mailinglist: http://lists.openbios.org/mailman/listinfo Free your System - May the Forth be with you