summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-bsp/bootfiles/rpi-config_git.bb13
1 files changed, 9 insertions, 4 deletions
diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb
index de43c4b..c4b4411 100644
--- a/recipes-bsp/bootfiles/rpi-config_git.bb
+++ b/recipes-bsp/bootfiles/rpi-config_git.bb
@@ -118,10 +118,15 @@ do_deploy() {
118 118
119 # Video camera support 119 # Video camera support
120 if [ "${VIDEO_CAMERA}" = "1" ]; then 120 if [ "${VIDEO_CAMERA}" = "1" ]; then
121 # TODO: It has been observed that Raspberry Pi 4B 4GB may fail to enable the camera if "start_x=1" is at the end 121 # It has been observed that Raspberry Pi 4B 4GB may fail to enable the
122 # of the file. The underlying cause is unknown, but it can be related with a file size limitation affecting 122 # camera if "start_x=1" is at the end of the file. Therefore,
123 # this variable. Therefore, "start_x=1" has been set to replace the original occurrence in config.txt, 123 # "start_x=1" has been set to replace the original occurrence in
124 # which is at the middle of the file. 124 # config.txt, which is at the middle of the file.
125 # The exact underlying cause is unknown. There are similar issues
126 # reported in the raspberrypi/firware repo and the conclusion reached
127 # was that there could be a file size limitation affecting certain
128 # variables. It was commented that this limitation could be 4k but
129 # not proved.
125 sed -i '/#start_x=/ c\start_x=1' $CONFIG 130 sed -i '/#start_x=/ c\start_x=1' $CONFIG
126 fi 131 fi
127 132