Skip to content
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

Use Device Tree Overlays #7

Open
easytarget opened this issue Sep 19, 2024 · 2 comments
Open

Use Device Tree Overlays #7

easytarget opened this issue Sep 19, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@easytarget
Copy link
Owner

easytarget commented Sep 19, 2024

An alternative solution than making a full replacement trees is to keep the upstream vanilla tree and apply Overlays to it at boot time.

An initial start has been made on the branch overlays:

https://github.com/easytarget/MQ-Pro-IO/tree/overlays/build-overlays

  • This compiles the example overlay.
  • Deploying it has, so far, been unsuccessful. See comments below

This is low priority for me since it only brings minimal advantage over the current approach.

@easytarget easytarget added enhancement New feature or request help wanted Extra attention is needed labels Sep 19, 2024
@easytarget
Copy link
Owner Author

easytarget commented Sep 20, 2024

Easier than I thought?

No. Not particularly easy.

I spent a few hrs on this; I have a .dtbo file that appears to be valid. At least it compiles..

But I cannot work out how to get it applied at boot. I went off down a (probably bad) rabbit hole of trying to get /boot/boot.scr working so that it can load the overlay. Total fail, and I'm not sure it is the correct approach on an EFI system anyway.

I will edit the main issue; since the fact that the overlays (ideally) need to be recompiled for each kernel update and applied during a reboot negates most of the advantage over having to recompile the whole device tree.

I will check the work I did last night in to a branch, and return to it later if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant