-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is for the original GPi Case but specifically for the following Pi models: - Raspberry Pi Zero 2 W - Raspberry Pi Compute Module 3 via GPi Mate - Raspberry Pi Compute Module 4 via GPi Mate+ This work in progress as the current issues are know: - All have no OpenGL hardware acceleration. I think a KMS device tree overlay is required for the screen. - CM3 has no sound
- Loading branch information
1 parent
6681363
commit 63aad6b
Showing
10 changed files
with
99 additions
and
192 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Binary file not shown.
File renamed without changes.
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
zswap.enabled=1 zswap.zpool=z3fold zswap.compressor=lz4 dwc_otg.lpm_enable=0 console=tty2 root=LABEL=writable rootfstype=ext4 rootwait fixrtc quiet loglevel=0 rd.systemd.show_status=false udev.log_level=0 udev.log_priority=0 rd.plymouth=0 plymouth.enable=0 plymouth.ignore-serial-consoles consoleblank=0 vt.global_cursor_default=0 snd_bcm2835.enable_compat_alsa=1 snd_bcm2835.enable_hdmi=0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
[all] | ||
kernel=vmlinuz | ||
cmdline=cmdline.txt | ||
initramfs initrd.img followkernel | ||
|
||
[pi4] | ||
max_framebuffers=1 | ||
arm_boost=1 | ||
|
||
[all] | ||
# Enable the audio output, I2C and SPI interfaces on the GPIO header. As these | ||
# parameters related to the base device-tree they must appear *before* any | ||
# other dtoverlay= specification | ||
dtparam=audio=on | ||
dtparam=i2c_arm=on | ||
dtparam=spi=on | ||
|
||
# Enable the serial pins | ||
enable_uart=1 | ||
|
||
# RetroFlag GPi Case with Pi Zero 2, GPi Mate and GPi Mate Plus | ||
|
||
# Video | ||
cec_osd_name=retrohome | ||
display_rotate=1 | ||
dtoverlay=dpi24-gpi | ||
overscan_left=0 | ||
overscan_right=0 | ||
overscan_top=0 | ||
overscan_bottom=0 | ||
framebuffer_width=320 | ||
framebuffer_height=240 | ||
enable_dpi_lcd=1 | ||
display_default_lcd=1 | ||
dpi_group=2 | ||
dpi_mode=87 | ||
dpi_output_format=0x6016 | ||
hdmi_timings=240 1 38 10 20 320 1 20 4 4 0 0 0 60 0 6400000 1 | ||
disable_audio_dither=1 | ||
|
||
[pi0] | ||
dtoverlay=pwm-2chan,pin=18,func=2,pin2=19,func2=2 | ||
dtoverlay=pwm-audio-pi-zero | ||
audio_pwm_mode=2 | ||
|
||
# Pi Zero 2 stabilization | ||
arm_freq=1000 | ||
gpu_freq=500 | ||
core_freq=500 | ||
sdram_freq=500 | ||
sdram_schmoo=0x02000020 | ||
# 6 is default | ||
over_voltage=6 | ||
sdram_over_voltage=2 | ||
|
||
[cm3] | ||
dtoverlay=pwm-2chan,pin=18,func=2,pin2=19,func2=2 | ||
dtoverlay=pwm-audio-pi-zero | ||
audio_pwm_mode=0 | ||
|
||
[cm4] | ||
dtoverlay=disable-pcie | ||
dtoverlay=sdtweak,overclock_50=100 | ||
dtoverlay=dwc2,dr_mode=host | ||
dtoverlay=audremap,pins_18_19 | ||
audio_pwm_mode=2 | ||
hdmi_ignore_hotplug=1 | ||
hdmi_ignore_edid=0xa5000080 | ||
hdmi_edid_file=1 | ||
|
||
[all] | ||
camera_auto_detect=0 | ||
|
||
# disable activity leds | ||
dtparam=act_led_trigger=none | ||
dtparam=act_led_activelow=on |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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