balena-os / balena-raspberrypi

Balena support for RaspberryPI boards
https://www.balena.io/os/
Apache License 2.0
190 stars 73 forks source link

Custom Waveshare overlay #1113

Open djnugent opened 5 months ago

djnugent commented 5 months ago

Is it possible to add support for this waveshare display? It requires custom dtbo overlay files. https://www.waveshare.com/wiki/2.8inch_DPI_LCD

  1. Is there a way to add them via the cli or portal?
  2. Or do these need to be included as part of this repo?
  3. If they need to be added to this repo, I am happy to put a PR if someone can point me to an example PR that does the same thing.

I would hope there is a way to do it without adding them to this repo. I would hate to pollute the system image with a random display that only Im going to use.

adolfogc commented 1 month ago

Hey @djnugent you can try downloading the Balena image, mounting it, adding the overlay files and editing the config.txt file accordingly. You must do it before the first boot of the device (with the Balena image). I've done this successfully with other boards.