-
I'm seeking a way to build a Raspberry Pi CM4 image with several customized dts/dtbo, e.g. mcp4728.dts. My first intuition is something like this:
But then I find My another thought is to create a separate Nix package to handle the build/install part:
However as far as I concerned, the install path Is there a way to build the dtbo from source and install them into |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @hftsai256. The short answer to your question is that overlays are taken from the package Reading the firmware populating script might clarify how this all fits together in your mind. Specifically, the device tree overlays are populated here. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your directions. I'm wondering if I can have a separate package that installs into the same path: in this case, I have set up the following structure that may be viewed as a standalone nix package:
On the other hand, I would try giving overriding
I have to override the entire |
Beta Was this translation helpful? Give feedback.
I'm not against the idea of having a list of packages that contain overlays.
An alternative to overriding the derivation with an additional source as you demonstrated here might to override
raspberrypifw
with thesymlinkJoin
of your package and the prevraspberrypifw
.