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 Dec 7, 2023
1 parent 8ae9021 commit 344bc45
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 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,14 @@ 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
# beeen 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 344bc45

Please sign in to comment.