# Lets try a serial port
#enable_uart=1
#force_turbo=1
# Only 1G RAM for now too!
# Kernel needs more work
# this is undocumented. https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=243817&sid=fe3d8f0535d072fe36a6d0501caaa08f
#total_mem=1024
# but the kernel allocates 85M for itself
#total_mem=1109
# looks like only a few values are supported
# have a properly sized image
disable_overscan=1
# for sound over HDMI
hdmi_drive=2
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
dtoverlay=dwc2
# PoE
#Name: rpi-poe
#Info: Raspberry Pi PoE HAT fan
#Load: dtoverlay=rpi-poe,[=]
#Params: poe_fan_temp0 Temperature (in millicelcius) at which the fan turns on (default 50000)
# poe_fan_temp0_hyst Temperature delta (in millicelcius) at which the fan turns off (default 5000)
# poe_fan_temp1 Temperature (in millicelcius) at which the fan speeds up (default 55000)
# poe_fan_temp1_hyst Temperature delta (in millicelcius) at which the fan slows down (default 5000)
#dtoverlay=rpi-poe,poe_fan_temp0=60000,poe_fan_temp1=70000
# gpu_mem is for closed-source driver only; since we are only using the
# open-source driver here, set low. 16 MB is the min valid setting
#gpu_mem=16
# as we don't use default kernel names, we must set 64 bit mode.
#arm_control=0x200 # is th old way
arm_64bit=1
#enable_gic=1
#armstub=armstub8-gic.bin
# networking seems broken
#dtparam=eee=off
# from the Pi forums
# we should really use our own device tree names
# as there is confusion between 32 and 64 bit varients
#device_tree=bcm2710-rpi-3-b.dtb
## BUT ## the Pi3B and Pi3B+ are different so for dual boot, let bootcode.bin do its thing.
#3B+
#device_tree=bcm2710-rpi-3-b-plus.dtb
#3B
device_tree=bcm2710-rpi-3-b.dtb
# Pi 4
#device_tree=bcm2711-rpi-4-b.dtb_64
# bcm2711-rpi-4-b.dtb_32
# kernels ... choose 1 :)
# 4.9 seems to have broken sound.
#kernel=pi_4.9.53-v8+
#kernel=pi_4.10.17-v8+
#kernel=kernel-4.15.y
# kernel-4.14 is the current Pi Foundation Kernel
#kernel=rpi-4.14.y
#kernel=kernel-4.14.62-v8
#kernel=kernel-4.14.78-v8
#kernel=kernel-4.14.84-v8
kernel=kernel-5.4.3-v8+_Pi3B
# Pi 4 64 bit
#kernel=kernel-4.19.57-v8+
# With PoE HAT support
#kernel=kernel-4.19.57-v8+_2
#kernel=kernel-4.19.58-v8+
#kernel=kernel-4.19.65-v8+
#kernel=kernel-5.4.3-v8+
# early debug
#start_file=start4db.elf
#fixup_file=fixup4db.dat
# u-boot - for the Pi3 to start with
#kernel_old
#kernel=u-boot.bin
#device_tree_address=0x100
#device_tree_end=0x8000
# kernels below here are broken with dtoverlay=vc4-fkms-v3d, so comment it out below
# or your console will vanish
#kernel=pi_4.12.11-v8+
#kernel=pi_4.14.0-rc2-v8+
# lets have the VC4 hardware accelerated video
# but only with some kernels
#####################################################################
#### Some Big Builds need the CMA region so turm it off for them ####
#####################################################################
dtoverlay=vc4-fkms-v3d
# for the vc4 driver
#avoid_warnings=2
#over_voltage CPU/GPU core voltage adjustment. [-16,8] equates to [0.8V,1.4V] with 0.025V steps.
# In other words, specifying -16 will give 0.8V as the GPU/core voltage, and specifying 8 will give 1.4V.
# For defaults see table below. Values above 6 are only allowed when force_turbo is specified: this sets the warranty bit if over_voltage_* is also set.
#over_voltage_sdram Sets over_voltage_sdram_c, over_voltage_sdram_i, and over_voltage_sdram_p together.
#over_voltage_sdram_c SDRAM controller voltage adjustment. [-16,8] equates to [0.8V,1.4V] with 0.025V steps. The default value is 0 (1.2V).
#over_voltage_sdram_i SDRAM I/O voltage adjustment. [-16,8] equates to [0.8V,1.4V] with 0.025V steps. The default value is 0 (1.2V).
#over_voltage_sdram_p SDRAM phy voltage adjustment. [-16,8] equates to [0.8V,1.4V] with 0.025V steps. The default value is 0 (1.2V).
#seems to help stability on my 3B. Not tested on the 3B+ yet
over_voltage=2