Skip to content

Commit

Permalink
rpi-config: Reduce config.txt size
Browse files Browse the repository at this point in the history
Remove some comments to reduce config.txt file size to avoid file
corruption and make sure Raspberry Pi 5 will boot successfully.

The issue with large config.txt has been reported to related
projects:
raspberrypi/firmware#1848
Evilpaul/RPi-config#9

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <[email protected]>
  • Loading branch information
leon-anavi authored and floion committed Jan 4, 2024
1 parent 4e6a3bd commit f7549cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions recipes-bsp/bootfiles/rpi-config_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,13 @@ do_deploy() {
echo "# Enable One-Wire Interface" >> $CONFIG
echo "dtoverlay=w1-gpio" >> $CONFIG
fi

# Reduce config.txt file size to avoid corruption and
# to boot successfully Raspberry Pi 5. The issue has
# been reported to related projects:
# https://github.com/raspberrypi/firmware/issues/1848
# https://github.com/Evilpaul/RPi-config/issues/9
sed -i '/^##/d' $CONFIG
}

do_deploy:append:raspberrypi3-64() {
Expand Down

0 comments on commit f7549cc

Please sign in to comment.