rpi-config: comment updated

Updated the comment that indicates there is a possible file limitation
in config.txt affecting certain variables, at least the "start_x" var.

This issue was originally discussed and fixed in:
https://github.com/agherzan/meta-raspberrypi/pull/678
and this commit updates the comment added with the new info gathered from:
https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=298129
and from a similar issue:
https://github.com/raspberrypi/firmware/issues/1012

Signed-off-by: SCVready <alejandro.solozabal@outlook.com>
This commit is contained in:
SCVready
2021-01-30 20:10:12 +00:00
committed by Andrei Gherzan
parent fb253346c2
commit e4ab480630

View File

@@ -118,10 +118,15 @@ do_deploy() {
# Video camera support
if [ "${VIDEO_CAMERA}" = "1" ]; then
# TODO: It has been observed that Raspberry Pi 4B 4GB may fail to enable the camera if "start_x=1" is at the end
# of the file. The underlying cause is unknown, but it can be related with a file size limitation affecting
# this variable. Therefore, "start_x=1" has been set to replace the original occurrence in config.txt,
# which is at the middle of the file.
# It has been observed that Raspberry Pi 4B 4GB may fail to enable the
# camera if "start_x=1" is at the end of the file. Therefore,
# "start_x=1" has been set to replace the original occurrence in
# config.txt, which is at the middle of the file.
# The exact underlying cause is unknown. There are similar issues
# reported in the raspberrypi/firware repo and the conclusion reached
# was that there could be a file size limitation affecting certain
# variables. It was commented that this limitation could be 4k but
# not proved.
sed -i '/#start_x=/ c\start_x=1' $CONFIG
fi