1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-07-31 05:00:42 +02:00

fix lcd backlight problem

This commit is contained in:
DanyLE
2023-07-09 18:28:04 +02:00
parent 2f8f6f5542
commit d63ce8ee33
2 changed files with 7 additions and 7 deletions

View File

@ -2,8 +2,8 @@
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += " ${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend "
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-rpi-diya"
BBFILE_PATTERN_meta-rpi-diya = "^${LAYERDIR}/"
@ -43,7 +43,7 @@ ENABLE_SPI_BUS = "0"
ENABLE_I2C = "0"
# KERNEL_MODULE_AUTOLOAD:rpi += " i2c-dev "
VC4DTBO = "vc4-kms-v3d,nocomposite,noaudio"
VC4DTBO = "vc4-kms-v3d,noaudio"
KERNEL_DEVICETREE:append = " overlays/vc4-kms-dpi-generic.dtbo overlays/dpi24.dtbo "
@ -56,12 +56,11 @@ dtoverlay=waveshare-28dpi-4b \n']['${RPI_USE_wS_28_DPI_LCD}' == '1']}"
RPI_EXTRA_CONFIG += '\n\
#start_x=1 # essential \n\
#dtparam=audio=on \n\
#gpu_mem=128 # at least, or maybe more if you wish \n\
#disable_camera_led=1 # optional \n\
'
# extra kernel CMDLINE_RNDIS option
# CMDLINE_RNDIS += ""
CMDLINE_RNDIS += " video=DPI-1:480x640,rotate=90 "
# accept license for wifi and bluetooth firmware
LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch"