Skip to content

Commit 9c0398f

Browse files
CoryMansoncory manson
and
cory manson
authored
Set FKMS V3D driver in config.txt (#16)
* Set FKMS V3D driver in config.txt * update raspios source +semver:minor --------- Co-authored-by: cory manson <cory.manson@act.gov.au>
1 parent 1c6a602 commit 9c0398f

File tree

7 files changed

+28
-10
lines changed

7 files changed

+28
-10
lines changed

packer/sources.raspios.pkr.hcl

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
source "arm" "raspios_cm4_zero2_arm64" {
2-
file_urls = ["https://downloads.raspberrypi.com/raspios_arm64/images/raspios_arm64-2023-12-06/2023-12-05-raspios-bookworm-arm64.img.xz"]
3-
file_checksum_url = "https://downloads.raspberrypi.com/raspios_arm64/images/raspios_arm64-2023-12-06/2023-12-05-raspios-bookworm-arm64.img.xz.sha256"
2+
file_urls = ["https://downloads.raspberrypi.com/raspios_arm64/images/raspios_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64.img.xz"]
3+
file_checksum_url = "https://downloads.raspberrypi.com/raspios_arm64/images/raspios_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64.img.xz.sha256"
44
file_checksum_type = "sha256"
55
file_target_extension = "xz"
66
file_unarchive_cmd = ["xz", "--decompress", "$ARCHIVE_PATH"]
77
image_build_method = "resize"
8-
image_path = "PiOS4.3-CM4.Zero2-PSPi6-${var.pspi_version}.img"
8+
image_path = "PiOS-20240315-CM4.Zero2-PSPi6-${var.pspi_version}.img"
99
image_size = "8G"
1010
image_type = "dos"
1111

rpi/configs/batocera/config.txt

+6
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ dpi_output_format=503863
6262
# Power off the Raspberry Pi when GPIO pin 44 is triggered
6363
# dtoverlay=gpio-poweroff,gpiopin=4,active_low=yes
6464

65+
# Enable the VC4 FKMS V3D overlay for graphics acceleration
66+
dtoverlay=vc4-fkms-v3d
67+
68+
# Limit the number of framebuffers to 1 for better performance
69+
max_framebuffers=1
70+
6571
[board-type=0x14]
6672
include cm4.txt
6773

rpi/configs/cm4.txt

-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
# Enable VC4 FKMS V3D driver for graphics acceleration
2-
dtoverlay=vc4-fkms-v3d
3-
41
# Enable I2C
52
dtparam=i2c_arm=on
63

74
# Run as fast as firmware/board allows
85
arm_boost=1
96

10-
# Set maximum number of framebuffers to 1
11-
max_framebuffers=1
12-
137
# Set GPIO pins to 24-Bit DPI Mode 7
148
# GPIO 0 and 1 needed for DPI Clock and Data Enable
159
gpio=0=a2,np

rpi/configs/kali/config.txt

+6
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ dpi_output_format=503863
6262
# Power off the Raspberry Pi when GPIO pin 44 is triggered
6363
# dtoverlay=gpio-poweroff,gpiopin=4,active_low=yes
6464

65+
# Enable the VC4 FKMS V3D overlay for graphics acceleration
66+
dtoverlay=vc4-fkms-v3d
67+
68+
# Limit the number of framebuffers to 1 for better performance
69+
max_framebuffers=1
70+
6571
[board-type=0x14]
6672
# Enable 64-bit ARM architecture
6773
arm_64bit=1

rpi/configs/lakka/distroconfig.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ disable_fw_kms_setup=1
1212
disable_splash=1
1313
dtparam=audio=on
1414
hdmi_max_pixel_freq:0=200000000
15-
hdmi_max_pixel_freq:1=200000000
15+
hdmi_max_pixel_freq:1=200000000

rpi/configs/raspios/config.txt

+6
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ dpi_output_format=503863
6565
# Power off the Raspberry Pi when GPIO pin 44 is triggered
6666
# dtoverlay=gpio-poweroff,gpiopin=4,active_low=yes
6767

68+
# Enable the VC4 FKMS V3D overlay for graphics acceleration
69+
dtoverlay=vc4-fkms-v3d
70+
71+
# Limit the number of framebuffers to 1 for better performance
72+
max_framebuffers=1
73+
6874
[board-type=0x14]
6975
include cm4.txt
7076

rpi/configs/recalbox/recalbox-user-config.txt

+6
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ dpi_output_format=503863
4545
# Power off the Raspberry Pi when GPIO pin 44 is triggered
4646
# dtoverlay=gpio-poweroff,gpiopin=4,active_low=yes
4747

48+
# Enable the VC4 FKMS V3D overlay for graphics acceleration
49+
dtoverlay=vc4-fkms-v3d
50+
51+
# Limit the number of framebuffers to 1 for better performance
52+
max_framebuffers=1
53+
4854
[board-type=0x14]
4955
include cm4.txt
5056

0 commit comments

Comments
 (0)