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.

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <[email protected]>
  • Loading branch information
leon-anavi authored and floion committed Nov 22, 2023
1 parent ad9ca21 commit b6bd228
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recipes-bsp/bootfiles/rpi-config_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,11 @@ 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
sed -i '/^##/d' $CONFIG

}

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

0 comments on commit b6bd228

Please sign in to comment.