diff options
author | SCVready <alejandro.solozabal@outlook.com> | 2021-01-30 20:10:12 +0000 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.com> | 2021-05-18 14:58:15 +0100 |
commit | e4ab480630d7651f95df0c740dd71835503e16d6 (patch) | |
tree | 53dd9991ac8be9601f3949b758db0fb5f85ba21e | |
parent | fb253346c2fe85f8fdd49e5a66dff04d8f2bd53e (diff) | |
download | meta-raspberrypi-e4ab480630d7651f95df0c740dd71835503e16d6.tar.gz |
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>
-rw-r--r-- | recipes-bsp/bootfiles/rpi-config_git.bb | 13 |
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 | ||