-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fdtoverlay does not support full path notion for a reference to another node in a cell array #21
Comments
Sorry, I haven't replied in so long, I managed to miss this report. As I recall the runtime overlays (as opposed to dtc compile time overlays) weren't really built to use non-symbol references. But I don't see any reason this shouldn't work. Your patch looks correct, but isn't ideal. A reference starting with '/' must always be a path, not a symbol, so you should chek for that first, before attempting to resolve it as a symbol. If you could send a patch to the mailing list, or make up a pull request with a proper commit message that would be great. |
I do not know much about the dtc code but this was the issue I wanted to solve: |
fdtoverlay does not support full path notion for a reference to another node in a cell array.
e.g.: pendown-gpio = <&{/soc/aips-bus@2000000/gpio@20a4000} 3 0>;
/* <pendown-gpio = &gpio3 3 GPIO_ACTIVE_HIGH>; */
dtc is compiling an overlay with this notation in a sufficient manner.
With fdt_overlay.patch.txt applied it is working as expected.
With this in place and target_path even overlays can be written in a manner
where no symbols node in the base dtb is required.
The text was updated successfully, but these errors were encountered: