diff --git a/conf/layer.conf b/conf/layer.conf index 96d5af4..930e550 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -57,4 +57,9 @@ 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\ -' \ No newline at end of file +' + +# extra kernel CMDLINE_RNDIS option +# CMDLINE_RNDIS += "" +# accept license for wifi and bluetooth firmware +LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch" \ No newline at end of file diff --git a/recipes-bsp/waveshare-2.8-lcd/waveshare-2.8-lcd.bb b/recipes-bsp/waveshare-2.8-lcd/waveshare-2.8-lcd.bb index a46706a..01ea609 100644 --- a/recipes-bsp/waveshare-2.8-lcd/waveshare-2.8-lcd.bb +++ b/recipes-bsp/waveshare-2.8-lcd/waveshare-2.8-lcd.bb @@ -2,9 +2,14 @@ SUMMARY = "Waveshare 2.8 inch DPI" DESCRIPTION = "support overlay layer for Waveshare 2.8 inch DPI" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" +inherit devicetree -do_deploy () { +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" +SRC_URI = " file://dts/ads1115-i2c-gpio.dts " + +do_deploy:append () { install -d ${DEPLOY_DIR_IMAGE} + install -m 0755 ${THISDIR}/files/dts/ads1115-i2c-gpio.dtbo ${DEPLOY_DIR_IMAGE}/ads1115-i2c-gpio.dtbo install -m 0755 ${THISDIR}/files/vc4-kms-DPI-28inch.dtbo ${DEPLOY_DIR_IMAGE}/vc4-kms-DPI-28inch.dtbo install -m 0755 ${THISDIR}/files/waveshare-28dpi-3b-4b.dtbo ${DEPLOY_DIR_IMAGE}/waveshare-28dpi-3b-4b.dtbo install -m 0755 ${THISDIR}/files/waveshare-28dpi-3b.dtbo ${DEPLOY_DIR_IMAGE}/waveshare-28dpi-3b.dtbo @@ -12,4 +17,4 @@ do_deploy () { # install -m 0755 ${THISDIR}/files/start.mp3 ${DEPLOY_DIR_IMAGE}/start.mp3 } -addtask deploy \ No newline at end of file +# addtask deploy \ No newline at end of file diff --git a/recipes-core/images/core-image-minimal.bbappend b/recipes-core/images/core-image-minimal.bbappend index 52b54f5..d5e0192 100644 --- a/recipes-core/images/core-image-minimal.bbappend +++ b/recipes-core/images/core-image-minimal.bbappend @@ -1,6 +1,6 @@ inherit extrausers -KERNEL_DEVICETREE:append = "${@bb.utils.contains('RPI_USE_wS_28_DPI_LCD', '1', ' overlays/vc4-kms-DPI-28inch.dtbo overlays/waveshare-28dpi-3b-4b.dtbo overlays/waveshare-28dpi-3b.dtbo overlays/waveshare-28dpi-4b.dtbo ', ' ', d)}" +KERNEL_DEVICETREE:append = "${@bb.utils.contains('RPI_USE_wS_28_DPI_LCD', '1', ' overlays/ads1115-i2c-gpio.dtbo overlays/vc4-kms-DPI-28inch.dtbo overlays/waveshare-28dpi-3b-4b.dtbo overlays/waveshare-28dpi-3b.dtbo overlays/waveshare-28dpi-4b.dtbo ', ' ', d)}" EXTRA_USERS_PARAMS = "usermod -p BJpK8ADNDLsGg root; \ diff --git a/recipes-example/example/example_0.1.bb b/recipes-example/example/example_0.1.bb index d1da002..600dd68 100644 --- a/recipes-example/example/example_0.1.bb +++ b/recipes-example/example/example_0.1.bb @@ -3,6 +3,8 @@ DESCRIPTION = "Recipe created by bitbake-layers" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" +inherit pkgconfig + DEPENDS += "libsdl2" FILESEXTRAPATHS:prepend := "${THISDIR}/files:" SRC_URI = "file://sdl_test.cpp file://sdlgl.c file://sdlglshader.c"