From e4ab480630d7651f95df0c740dd71835503e16d6 Mon Sep 17 00:00:00 2001 From: SCVready Date: Sat, 30 Jan 2021 20:10:12 +0000 Subject: 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 --- recipes-bsp/bootfiles/rpi-config_git.bb | 13 +++++++++---- 1 file 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() { # 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 -- cgit v1.2.3-54-g00ecf