gonzopi

git clone https://git.tarina.org/gonzopi
Log | Files | Refs | README | LICENSE

commit 26e0b48e2498649694444df70fbc22ff6d1d59ac
parent 4690f0127230249b7611d863867c94f02daaf311
Author: rbckman <rob@tarina.org>
Date:   Sat,  6 Dec 2025 14:46:04 +0200

some configs

Diffstat:
Aextras/rpi4-install-notes | 27+++++++++++++++++++++++++++
Aextras/rpi4_boot_config | 126+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Minstall.sh | 4++--
3 files changed, 155 insertions(+), 2 deletions(-)

diff --git a/extras/rpi4-install-notes b/extras/rpi4-install-notes @@ -0,0 +1,27 @@ + +## FORMAT DRIVE TO f2fs + +# 1. Install f2fs tools (already in Buster/Bookworm/Bullseye repos) +sudo apt update +sudo apt install f2fs-tools -y + +# Format +lsblk + +# Unmount everything +sudo umount /dev/sda* 2>/dev/null + +# Quick wipe signature + make one big partition +sudo wipefs -a /dev/sda +sudo parted /dev/sda --script mklabel gpt mkpart primary 0% 100% + +# Format with the only options the old Buster f2fs-tools accept +sudo mkfs.f2fs -f /dev/sda1 + +## INSTALL RIGHT SCREEN DRIVER + +curl -sSL get.pimoroni.com/hyperpixel4-legacy | bash + +## select RPI3B+ even if on rpi4 + + diff --git a/extras/rpi4_boot_config b/extras/rpi4_boot_config @@ -0,0 +1,126 @@ +# For more options and information see +# http://rpf.io/configtxt +# Some settings may impact device functionality. See link above for details + +# uncomment if you get no picture on HDMI for a default "safe" mode +#hdmi_safe=1 + +# uncomment this if your display has a black border of unused pixels visible +# and your display can output without overscan +#disable_overscan=1 + +# uncomment the following to adjust overscan. Use positive numbers if console +# goes off screen, and negative if there is too much border +#overscan_left=16 +#overscan_right=16 +#overscan_top=16 +#overscan_bottom=16 + +# uncomment to force a console size. By default it will be display's size minus +# overscan. +#framebuffer_width=1280 +#framebuffer_height=720 + +# uncomment if hdmi display is not detected and composite is being output +#hdmi_force_hotplug=1 + +# uncomment to force a specific HDMI mode (this will force VGA) +#hdmi_group=1 +#hdmi_mode=1 + +# uncomment to force a HDMI mode rather than DVI. This can make audio work in +# DMT (computer monitor) modes +#hdmi_drive=2 + +# uncomment to increase signal to HDMI, if you have interference, blanking, or +# no display +#config_hdmi_boost=4 + +# uncomment for composite PAL +#sdtv_mode=2 + +#uncomment to overclock the arm. 700 MHz is the default. +#arm_freq=800 + +# Uncomment some or all of these to enable the optional hardware interfaces +dtparam=i2c_arm=on +#dtparam=i2s=on +dtparam=spi=off + +# Uncomment this to enable infrared communication. +#dtoverlay=gpio-ir,gpio_pin=17 +#dtoverlay=gpio-ir-tx,gpio_pin=18 + +# Additional overlays and parameters are documented /boot/overlays/README + +# Enable audio (loads snd_bcm2835) +#dtparam=audio=on + +[pi4] +# Enable DRM VC4 V3D driver on top of the dispmanx display stack +#dtoverlay=vc4-fkms-v3d +#max_framebuffers=3 + +[all] +#dtoverlay=vc4-fkms-v3d + +#-----GonzoPi configuration starts here------- + +[edid=HDMI-A-2] +hdmi_enable=1 +max_framebuffers=2 +disable_overscan=1 +hdmi_force_hotplug:1=1 +hdmi_group=:1=1 +hdmi_mode:1=82 +hdmi_blanking=1 + +[all] +#dtoverlay=vc4-fkms-v3d + +#gonzopi-rpi-configuration-hyperpixel-1.0 +#hyperpixel +enable_dpi_lcd=1 +#display_lcd_rotate=1 +start_x=1 +gpu_mem=512 +disable_splash=1 +force_turbo=1 +boot_delay=1 +# dtparam=sd_overclock=90 +# Disable the ACT LED. +dtparam=act_led_trigger=none +dtparam=act_led_activelow=off +# Disable the PWR LED. +dtparam=pwr_led_trigger=none +dtparam=pwr_led_activelow=off +#hdmi_force_hotplug=1 +#hdmi_group=1 +#hdmi_mode=16 +#hdmi_port=2 +#hdmi_blanking=1 + +#[edid=Ras-LCD Panel] +dtoverlay=hyperpixel4 +#display_auto_detect=0 +#display_default_lcd=0 +framebuffer_width=800 +framebuffer_height=480 +overscan_left=0 +overscan_right=0 +overscan_top=0 +overscan_bottom=0 +enable_dpi_lcd=1 +display_default_lcd=1 +dpi_group=2 +hdmi_group=3 +dpi_mode=87 +dpi_output_format=0x7f216 +hdmi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 32000000 6 +#hdmi_force_hotplug:1=1 +#hdmi_group:1=2 +#hdmi_mode:1=10 + +#--------GonzoPi configuration end here--------- + + diff --git a/install.sh b/install.sh @@ -53,9 +53,9 @@ apt-get update apt-get upgrade -y if [ "$version" = "buster" ] then - apt-get -y install git python3-pip python-configparser ffmpeg mediainfo gpac omxplayer sox cpufrequtils apache2 libapache2-mod-wsgi-py3 libdbus-glib-1-dev dbus libdbus-1-dev usbmount python3-numpy python3-pil python3-smbus python3-shortuuid wiringpi make gcc cmake pmount python3-ifaddr python3-pygame python3-serial libmediainfo-dev python3-pymediainfo + apt-get -y install git python3-pip python-configparser ffmpeg mediainfo gpac omxplayer sox cpufrequtils apache2 libapache2-mod-wsgi-py3 libdbus-glib-1-dev dbus libdbus-1-dev usbmount python3-numpy python3-pil python3-smbus python3-shortuuid wiringpi make gcc cmake pmount python3-ifaddr python3-pygame python3-serial libmediainfo-dev python3-pymediainfo f2fs-tools else - apt-get -y install git python3-pip python-configparser libav-tools mediainfo gpac omxplayer sox cpufrequtils apache2 libapache2-mod-wsgi-py3 libdbus-glib-1-dev dbus libdbus-1-dev usbmount python3-numpy python3-pil python3-smbus python3-shortuuid wiringpi make gcc cmake python3-ifaddr python3-pygame python3-serial + apt-get -y install git python3-pip python-configparser libav-tools mediainfo gpac omxplayer sox cpufrequtils apache2 libapache2-mod-wsgi-py3 libdbus-glib-1-dev dbus libdbus-1-dev usbmount python3-numpy python3-pil python3-smbus python3-shortuuid wiringpi make gcc cmake python3-ifaddr python3-pygame python3-serial f2fs-tools fi usermod -a -G dialout pi