This ensures dt parameters like dtparam=audio=on which appear
after "include distroconfig" are applied to the base dt instead
of the last dtoverlay loaded in distroconfig.
Signed-off-by: Matthias Reichl <hias@horus.com>
Replace current config.txt with default version if the version
info is missing or below the required minimum version.
This is needed to roll out required changes if users update from
LibreELEC 9.x
Signed-off-by: Matthias Reichl <hias@horus.com>
Drop commented-out hdmi_force_hotplug option which won't work
anymore with KMS and force_turbo=0 which is already the default.
Fix URL to config.txt documentation (aligned with shorturl from
RPiOS).
Cleanup comments, fix typos.
Signed-off-by: Matthias Reichl <hias@horus.com>
This prevents the firmware choosing a mode that might not be
available in the KMS driver and lets DRM choose the perferred
mode.
Signed-off-by: Matthias Reichl <hias@horus.com>
From the official RPi config tool: 4ee1fde44e
A small fix for turbo to match the config tool and an additional RPi2 preset.
Several tutorials only talk about 1000-500-500, but it actually needs the over_voltage in this config to be stable. So I think it's good to have it mentioned in the default config comments.