On Sat, 3 Aug 2019, Jd Lyons wrote:
Zoltan, did you notice that the node on the PCI bus changes after execution of the FCode ROM, it moves from /pci/@f to /pci/@0.
No I haven't noticed that nor do I know what that means and if it could cause any problems. I think the driver should look at properties and not the node name so I don't think it matters but I don't know. I've only noticed the wrong address, difference in assigned-addresses property and some differences in other properties as I've listed in my original message that you keep quoting below your reply.
I think this is why PCIPeek returns garbage and maybe why our NDRV is aborting.
Not sure about that. It still looks like you're just blindly guessing instead of trying to find out what the NDRV does. I've found there supposed to be pef support in GNU binutils so I've tried compiling it with target powerpc-darwin that adds pef format but it did not recognise the NDRV (maybe it supports a different pef version or has some bugs or I have too old version). So the best tool to look at the NDRV may be the one from MPW but I don'thave experience with that, nor a machine to try it on, nor free time to spend on that.
Regards, BALATON Zoltan