mirror of
git://git.yoctoproject.org/meta-raspberrypi
synced 2026-09-30 12:50:57 +00:00
rpi-config: Relocated "start_x=1" in config.txt
It seems like "start_x=1" needs to be earlier in the file to work properly on the Rapberry Pi 4 B. Fixes: #670 Signed-off-by: SCVready <alejandro.solozabal@outlook.com>
This commit is contained in:
parent
e0b4b8c5df
commit
74deec51de
@ -117,8 +117,11 @@ do_deploy() {
|
|||||||
|
|
||||||
# Video camera support
|
# Video camera support
|
||||||
if [ "${VIDEO_CAMERA}" = "1" ]; then
|
if [ "${VIDEO_CAMERA}" = "1" ]; then
|
||||||
echo "# Enable video camera" >>${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt
|
# TODO: It has been observed that Raspberry Pi 4B 4GB may fail to enable the camera if "start_x=1" is at the end
|
||||||
echo "start_x=1" >>${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt
|
# 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.
|
||||||
|
sed -i '/#start_x=/ c\start_x=1' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Offline compositing support
|
# Offline compositing support
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user