balena-labs-projects / fbcp

fbcp driver for SPI based displays for Raspberry Pis via fbcp-ili9341
14 stars 1 forks source link

dtoverlay: add dtoverlay tag with legacy rpi-fbcp #3

Closed klutchell closed 3 years ago

klutchell commented 3 years ago

Allow a choice between fbcp-ili9341 and rpi-fbcp by adding a new tag for dtoverlay. This tag will rely on the host OS device tree overlays and the user setting the BALENA_HOST_CONFIG_dtoverlay device config environment variable.

This should be considered a legacy option, but likely has support for more screen types than fbcp-ili9341 alone. This tag also includes the dbus workaround to disable plymouth.

Change-type: patch Signed-off-by: Kyle Harding kyle@balena.io

rahul-thakoor commented 3 years ago

hey @klutchell what is the final image size?

I would like to try using the buildroot approach to slim down the images. thoughts?

klutchell commented 3 years ago

Started to rough in support for buildroot, but the the CMakeLists need to be patched still.

export DOCKER_BUILDKIT=1
docker build buildroot
klutchell commented 3 years ago

https://github.com/juj/fbcp-ili9341/issues/50