On 23/07/2019 17:20, BALATON Zoltan wrote:
Here already getting assigned-addresses fails because apparently active-package is not the /pci/ATY node? How to make sense of the handle values to know where they point? I can only compare the above and during open-dev active-package seems to be fff5eaec, open-dev returns 1fc5ac30 which is set to my-self, then when FCode rom calls map-in active-package seems to be fff4d10c but what do these mean? Can anyone make sense of this? I've run out of ideas.
I'm afraid all I can do at the moment is recommend that you read the relevant parts of the IEEE-1275 specification to understand the concepts of "active package" and "current instance", since these are the fundamental to being able to understand how device tree packages are accessed in Forth (and therefore OpenBIOS).
The one part I can answer from above is that you can convert an ihandle (current instance handle) to a phandle (package handle) via the ihandle>phandle Forth word if that helps at all?
ATB,
Mark.