Bookworm support - #8
Open
niklas wants to merge 7 commits into
Open
Conversation
- install statik with install command - avoid cross compile, run the build container as aarch64
- splash image is at the right orientation \o/ - so no more rotation needed - mark deprecated functions - re-enable old http handlers - start stats after 20s config.txt on bookworm 6.12.96+rpt-rpi-v8: -- dtparam=spi=on dtoverlay=mipi-dbi-spi,spi0-0,speed=32000000 dtparam=compatible=adafruit_st7789_drm\0panel-mipi-dbi-spi dtparam=width=240,height=240 dtparam=dc-gpio=25 dtparam=reset-gpio=27 dtparam=backlight-gpio=22 dtparam=write-only,cpha,cpol -- compatible panel firmware: - wget https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/raw/refs/heads/main/mipi/adafruit_st7789_drm.txt ./mipi-dbi-cmd adafruit_st7789_drm.bin adafruit_st7789_drm.txt sudo cp adafruit_st7789_drm.bin /lib/firmware/ - To avoid X11/Xorg to grab the virtual framebuffer device and only use HDMI: > cat /etc/X11/xorg.conf.d/*.conf Section "ServerFlags" Option "AutoAddGPU" "false" EndSection Section "OutputClass" Identifier "vc4" MatchDriver "vc4" Driver "modesetting" Option "PrimaryGPU" "true" EndSection Section "Device" Identifier "HDMI" Driver "modesetting" Option "kmsdev" "/dev/dri/by-path/platform-gpu-card" EndSection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Using panel-mipi-dbi-spi overlay we have a framebuffer and can draw to that directly
config.txt on bookworm 6.12.96+rpt-rpi-v8:
get compatible panel firmware:
To avoid X11/Xorg to grab the virtual framebuffer device and only use HDMI: