User configuration & host contamination
Hi all,
I'm having some difficulty with setting up users and the respective application user assignments. I have a generic recipe which inherits useradd and sets a user, this works great for my purpose without one exception. I can't assign the user in my other recipe where the application is build. Snippet from my user add (based on the useradd-example): USERADD_PARAM_${PN} = "--uid 1200 \ --home-dir /home/user1 \ --groups dialout \ --user-group \ --password '********' \ --shell /bin/bash user1" Snippet from my application which wants to assign the user1: do_install () { chown -R user1 ${D}/usr/local/bin/test_app/ } It fails with the message: "WARNING: test_app-1.0-12-r0 do_package_qa: QA Issue: test_app: /usr/local/bin/test_app/some_script.py is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination" Any pointers/thoughts in how I can resolve this issue? With kind regards, Jeffrey Simons Software Engineer Royal Boon Edam International B.V. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: pre-built native only tool for native and nativesdk
Joel Winarske
Actually by removing `inherit native` and adding -native to the recipe name doesn't make it build for native. On Tue, Nov 9, 2021 at 3:23 PM Joel Winarske <joel.winarske@...> wrote:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: pre-built native only tool for native and nativesdk
Joel Winarske
To eliminate target option from the recipe I just need to make sure the name of the recipe ends with -native, then removing inherit native works fine. On Tue, Nov 9, 2021 at 2:09 PM Joel Winarske via lists.yoctoproject.org <joel.winarske=gmail.com@...> wrote:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: [meta-qt4]
Paul Eggleton
Hi Jared / all
On Wednesday, 10 November 2021 10:05:39 NZDT jared_terry@... wrote: I don't see a response yet from Paul Eggleton, how do we proceeded inMy apologies - I've applied the fix and pushed it to master, thank you! I think it's fair to say this layer is pretty much unmaintained at the moment. I'd be more than happy if someone wants to take it over, FWIW. Cheers Paul |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
pre-built native only tool for native and nativesdk
Joel Winarske
I'm trying to sort out how to install a pre-built host-only tool for native and nativesdk only. Using `inherit native` my-recipe-native and nativesdk-my-recipe both build fine, only -c populate_sdk generates "rdepends upon non-existent task do_package_write_rpm" . Looking at native.bbclass it includes `inherit nopackage` which explains the error.If I remove the `inherit native` and update my recipe name to not include `-native` I can build the -native version, only I can't build nativesdk-*-native. A target build is invalid. Thanks, Joel |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: [meta-qt4]
jared_terry@...
I don't see a response yet from Paul Eggleton, how do we proceeded in getting this fixed?
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Yocto Project Status WW45`21
Stephen Jolley
Current Dev Position: YP 3.5 M1 Next Deadline: 6th Dec. 2021 YP 3.5 M1 build
Next Team Meetings:
Key Status/Updates:
Ways to contribute:
YP 3.5 Milestone Dates:
Upcoming dot releases:
Tracking Metrics:
The Yocto Project’s technical governance is through its Technical Steering Committee, more information is available at: https://wiki.yoctoproject.org/wiki/TSC
The Status reports are now stored on the wiki at: https://wiki.yoctoproject.org/wiki/Weekly_Status
[If anyone has suggestions for other information you’d like to see on this weekly status update, let us know!]
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[meta-zephyr][PATCH v2 4/4] zephyr-lvgl: new recipe
Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@...>
This adds a recipe for building the lvgl sample from mainline zephyr source. We need to include one upstream patch that fixes a build problem with lvgl and pull in two other modules or otherwise the default config will fail to build. Currently only the nordic reference devkit for nrf52840 is supported. Big thanks to Eilís Ní Fhlannagáin <elizabeth.flanagan@...> for helping me with that. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...> Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@...> --- ...0001-cmake-added-missing-file-ext-to.patch | 42 +++++++++++++++++++ .../zephyr-kernel/zephyr-kernel-common.inc | 1 + .../zephyr-kernel/zephyr-kernel-src-2.6.1.inc | 3 ++ .../zephyr-kernel/zephyr-kernel-src-2.7.0.inc | 3 ++ .../zephyr-kernel/zephyr-kernel-src.inc | 3 ++ recipes-kernel/zephyr-kernel/zephyr-lvgl.bb | 11 +++++ 6 files changed, 63 insertions(+) create mode 100644 recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-ext-to.patch create mode 100644 recipes-kernel/zephyr-kernel/zephyr-lvgl.bb diff --git a/recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-ext-to.patch b/recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-ext-to.patch new file mode 100644 index 0000000..6aeca14 --- /dev/null +++ b/recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-ext-to.patch @@ -0,0 +1,42 @@ +From 783c1f78c8e39751fe89d0883c8bce7336f55e94 Mon Sep 17 00:00:00 2001 +From: Torsten Rasmussen <Torsten.Rasmussen@...> +Date: Thu, 19 Aug 2021 08:53:00 +0200 +Subject: [PATCH] cmake: added missing file ext to + lv_font_dejavu_16_persian_hebrew.c + +CMake >= 3.20 requires file extensions explicitly added to source files. + +See CMP0115: +> Starting in CMake 3.20, CMake prefers all source files to have their +> extensions explicitly listed: + +In the CMakeLists.txt, the file lv_font_dejavu_16_persian_hebrew.c +was added without its .c extension, causing never CMakes ti fail +discovering the file. + +This has been fixed by correctly add the file as: +lv_font_dejavu_16_persian_hebrew.c + +Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@...> +--- +Upstream-status: Accepted + + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 57b07c84..0f433edc 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -58,7 +58,7 @@ zephyr_library_sources( + src/lv_misc/lv_utils.c + + src/lv_font/lv_font.c +- src/lv_font/lv_font_dejavu_16_persian_hebrew ++ src/lv_font/lv_font_dejavu_16_persian_hebrew.c + src/lv_font/lv_font_fmt_txt.c + src/lv_font/lv_font_loader.c + src/lv_font/lv_font_montserrat_12.c +-- +Gitee + diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc index 5ae7504..04eb72b 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc @@ -31,6 +31,7 @@ ZEPHYR_MODULES:append:arm = "\;${S}/modules/cmsis" ZEPHYR_MODULES:append:nordic = "\;${S}/modules/hal/nordic" ZEPHYR_MODULES:append:stm32 = "\;${S}/modules/hal/stm32" ZEPHYR_MODULES:append:openamp = "\;${S}/modules/lib/open-amp\;${S}/modules/hal/libmetal" +ZEPHYR_MODULES:append:zsegger = "\;${S}/modules/debug/segger" EXTRA_OECMAKE:append = " -DZEPHYR_MODULES=${ZEPHYR_MODULES}" diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc index 9f28df7..a7289f1 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc @@ -2,12 +2,15 @@ SRCREV_FORMAT = "default_cmsis" SRCREV_cmsis = "c3bd2094f92d574377f7af2aec147ae181aa5f8e" SRCREV_default = "2d6322d74aaac838ead46bfcba0db619cff4b534" SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb" +SRCREV_lvgl = "31acbaa36e9e74ab88ac81e3d21e7f1d00a71136" SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" SRCREV_nordic = "574493fe29c79140df4827ab5d4a23df79d03681" SRCREV_open-amp = "6010f0523cbc75f551d9256cf782f173177acdef" SRCREV_openthread = "385e19da1ae15f27872c2543b97276a42f102ead" +SRCREV_segger = "3a52ab222133193802d3c3b4d21730b9b1f1d2f6" SRCREV_stm32 = "f8ff8d25aa0a9e65948040c7b47ec67f3fa300df" SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" +SRCREV_TraceRecorderSource = "36c577727642457b0db7274298a4b96558374832" ZEPHYR_BRANCH = "v2.6-branch" PV = "2.6.1+git${SRCPV}" diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc index f425d9f..1cc9a4e 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc @@ -2,12 +2,15 @@ SRCREV_FORMAT = "default_cmsis" SRCREV_cmsis = "b0612c97c1401feeb4160add6462c3627fe90fc7" SRCREV_default = "3f826560aaf81a444018293bd6acce3c339fe150" SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb" +SRCREV_lvgl = "31acbaa36e9e74ab88ac81e3d21e7f1d00a71136" SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" SRCREV_nordic = "a6e5299041f152da5ae0ab17b2e44e088bb96d6d" SRCREV_open-amp = "6010f0523cbc75f551d9256cf782f173177acdef" SRCREV_openthread = "5d706547ebcb0a85e11412bcd88e80e2af98c74d" +SRCREV_segger = "3a52ab222133193802d3c3b4d21730b9b1f1d2f6" SRCREV_stm32 = "5c8275071ec1cf160bfe8c18bbd9330a7d714dc8" SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" +SRCREV_TraceRecorderSource = "36c577727642457b0db7274298a4b96558374832" ZEPHYR_BRANCH = "v2.7-branch" PV = "2.7.0+git${SRCPV}" diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc index d8b086b..21ba208 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc @@ -14,10 +14,13 @@ SRC_URI = "\ git://github.com/zephyrproject-rtos/hal_nordic.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/nordic;name=nordic \ git://github.com/zephyrproject-rtos/hal_stm32.git;protocol=https;branch=main;destsuffix=git/modules/hal/stm32;name=stm32 \ git://github.com/zephyrproject-rtos/libmetal.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/libmetal;name=libmetal \ + git://github.com/zephyrproject-rtos/lvgl.git;branch=zephyr;protocol=https;destsuffix=git/modules/lib/gui/lvgl;name=lvgl \ git://github.com/zephyrproject-rtos/mbedtls.git;protocol=https;nobranch=1;destsuffix=git/modules/lib/mbedtls;name=mbedtls \ git://github.com/zephyrproject-rtos/open-amp.git;protocol=https;nobranch=1;destsuffix=git/modules/lib/open-amp;name=open-amp \ git://github.com/zephyrproject-rtos/openthread.git;protocol=https;nobranch=1;branch=zephyr;destsuffix=git/modules/lib/openthread;name=openthread \ + git://github.com/zephyrproject-rtos/segger.git;protocol=https;nobranch=1;destsuffix=git/modules/debug/segger;name=segger \ git://github.com/zephyrproject-rtos/tinycrypt.git;protocol=https;nobranch=1;destsuffix=git/modules/crypto/tinycrypt;name=tinycrypt \ + git://github.com/zephyrproject-rtos/TraceRecorderSource.git;branch=zephyr;protocol=https;destsuffix=git/modules/debug/TraceRecorder;name=TraceRecorderSource \ " S = "${WORKDIR}/git" diff --git a/recipes-kernel/zephyr-kernel/zephyr-lvgl.bb b/recipes-kernel/zephyr-kernel/zephyr-lvgl.bb new file mode 100644 index 0000000..29d1c5f --- /dev/null +++ b/recipes-kernel/zephyr-kernel/zephyr-lvgl.bb @@ -0,0 +1,11 @@ +include zephyr-sample.inc + +ZEPHYR_SRC_DIR = "${S}/samples/subsys/display/lvgl" +ZEPHYR_MODULES:append = "\;${S}/modules/lib/gui/lvgl" + +# TODO Once more machines and displays are supported, add a PACKAGECONFIG. +EXTRA_OECMAKE:append =" -DSHIELD=adafruit_2_8_tft_touch_v2" + +SRC_URI:append = " file://0001-cmake-added-missing-file-ext-to.patch;patchdir=modules/lib/gui/lvgl" + +COMATIBLE_MACHINE = "(nrf52840dk-nrf52840)" -- 2.30.1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[meta-zephyr][PATCH v2 3/4] zephyr-kernel-src: order git repos alphabetically
Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@...>
As the number of repos pulled gets bigger it's easier to parse them if they are ordered alphabetically. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...> Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@...> --- recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc index d8dd3ab..d8b086b 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc @@ -13,10 +13,10 @@ SRC_URI = "\ git://github.com/zephyrproject-rtos/cmsis.git;protocol=https;nobranch=1;destsuffix=git/modules/cmsis;name=cmsis \ git://github.com/zephyrproject-rtos/hal_nordic.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/nordic;name=nordic \ git://github.com/zephyrproject-rtos/hal_stm32.git;protocol=https;branch=main;destsuffix=git/modules/hal/stm32;name=stm32 \ + git://github.com/zephyrproject-rtos/libmetal.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/libmetal;name=libmetal \ git://github.com/zephyrproject-rtos/mbedtls.git;protocol=https;nobranch=1;destsuffix=git/modules/lib/mbedtls;name=mbedtls \ git://github.com/zephyrproject-rtos/open-amp.git;protocol=https;nobranch=1;destsuffix=git/modules/lib/open-amp;name=open-amp \ git://github.com/zephyrproject-rtos/openthread.git;protocol=https;nobranch=1;branch=zephyr;destsuffix=git/modules/lib/openthread;name=openthread \ - git://github.com/zephyrproject-rtos/libmetal.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/libmetal;name=libmetal \ git://github.com/zephyrproject-rtos/tinycrypt.git;protocol=https;nobranch=1;destsuffix=git/modules/crypto/tinycrypt;name=tinycrypt \ " S = "${WORKDIR}/git" -- 2.30.1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[meta-zephyr][PATCH v2 2/4] zephyr-kernel-src: use the preferred coding style for multi-line assignments
Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@...>
This type of multi-line assignments is the most prevalent in well-known layers and is more visually pleasing. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...> Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@...> --- recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc | 9 +++++---- recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc | 7 ++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc index ef6ed71..9f28df7 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc @@ -12,7 +12,8 @@ SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" ZEPHYR_BRANCH = "v2.6-branch" PV = "2.6.1+git${SRCPV}" -SRC_URI:append = " file://0001-cmake-add-yocto-toolchain.patch \ - file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch \ - file://arduino-nano-33-ble-storage-partition.patch \ - " +SRC_URI:append = " \ + file://0001-cmake-add-yocto-toolchain.patch \ + file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch \ + file://arduino-nano-33-ble-storage-partition.patch \ +" diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc index 9df2194..f425d9f 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc @@ -12,6 +12,7 @@ SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" ZEPHYR_BRANCH = "v2.7-branch" PV = "2.7.0+git${SRCPV}" -SRC_URI:append = " file://0001-cmake-add-yocto-toolchain.patch \ - file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch \ - " +SRC_URI:append = " \ + file://0001-cmake-add-yocto-toolchain.patch \ + file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch \ +" -- 2.30.1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[meta-zephyr][PATCH v2 1/4] zephyr-kernel-src: order the SRCREV assignments alphabetically
Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@...>
It's easier to parse visually when those assignments are ordered. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...> Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@...> --- recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc | 8 ++++---- recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc index 109242e..ef6ed71 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc @@ -1,13 +1,13 @@ SRCREV_FORMAT = "default_cmsis" -SRCREV_default = "2d6322d74aaac838ead46bfcba0db619cff4b534" SRCREV_cmsis = "c3bd2094f92d574377f7af2aec147ae181aa5f8e" +SRCREV_default = "2d6322d74aaac838ead46bfcba0db619cff4b534" +SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb" +SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" SRCREV_nordic = "574493fe29c79140df4827ab5d4a23df79d03681" -SRCREV_stm32 = "f8ff8d25aa0a9e65948040c7b47ec67f3fa300df" SRCREV_open-amp = "6010f0523cbc75f551d9256cf782f173177acdef" SRCREV_openthread = "385e19da1ae15f27872c2543b97276a42f102ead" -SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb" +SRCREV_stm32 = "f8ff8d25aa0a9e65948040c7b47ec67f3fa300df" SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" -SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" ZEPHYR_BRANCH = "v2.6-branch" PV = "2.6.1+git${SRCPV}" diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc index a1619a7..9df2194 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc @@ -1,13 +1,13 @@ SRCREV_FORMAT = "default_cmsis" -SRCREV_default = "3f826560aaf81a444018293bd6acce3c339fe150" SRCREV_cmsis = "b0612c97c1401feeb4160add6462c3627fe90fc7" +SRCREV_default = "3f826560aaf81a444018293bd6acce3c339fe150" +SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb" +SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" SRCREV_nordic = "a6e5299041f152da5ae0ab17b2e44e088bb96d6d" -SRCREV_stm32 = "5c8275071ec1cf160bfe8c18bbd9330a7d714dc8" SRCREV_open-amp = "6010f0523cbc75f551d9256cf782f173177acdef" SRCREV_openthread = "5d706547ebcb0a85e11412bcd88e80e2af98c74d" -SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb" +SRCREV_stm32 = "5c8275071ec1cf160bfe8c18bbd9330a7d714dc8" SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" -SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" ZEPHYR_BRANCH = "v2.7-branch" PV = "2.7.0+git${SRCPV}" -- 2.30.1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[meta-zephyr][PATCH v2 0/4] zephyr-lvgl: make it possible to build the zephyr lvgl sample
Bartosz Golaszewski
This series adds a recipe for the lvgl sample from zephyr. Due to how
meta-zephyr works we need to pull in some additional modules for the build to succeed. The first three patches are just coding style improvements, the last patch adds the recipe. v1 -> v2: - rebase patches on top of current master Bartosz Golaszewski (4): zephyr-kernel-src: order the SRCREV assignments alphabetically zephyr-kernel-src: use the preferred coding style for multi-line assignments zephyr-kernel-src: order git repos alphabetically zephyr-lvgl: new recipe ...0001-cmake-added-missing-file-ext-to.patch | 42 +++++++++++++++++++ .../zephyr-kernel/zephyr-kernel-common.inc | 1 + .../zephyr-kernel/zephyr-kernel-src-2.6.1.inc | 20 +++++---- .../zephyr-kernel/zephyr-kernel-src-2.7.0.inc | 18 ++++---- .../zephyr-kernel/zephyr-kernel-src.inc | 5 ++- recipes-kernel/zephyr-kernel/zephyr-lvgl.bb | 11 +++++ 6 files changed, 81 insertions(+), 16 deletions(-) create mode 100644 recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-ext-to.patch create mode 100644 recipes-kernel/zephyr-kernel/zephyr-lvgl.bb -- 2.30.1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[meta-zephyr] Issues and possible solutions
Eilís Ní Fhlannagáin
Following on from Bartosz's recent patch, Naveen suggested I take this
to the list. We've been recently discussing some of the drawbacks of meta-zephyr between myself, Diego Sueiro and Jon Mason at ARM and Bartosz Golaszewski and we've come up with a few ideas we want to propose. (Diego, Jon, Bartosz, please add anything I may have missed from my notes) The main issues we've seen with the layer are: 1. No separation of BSP layer and functionality. 2. Limited machine support. 3. Kernel SRC_URI is incomplete. 4. Needing to maintain two sets of build information/configuration. I'd like to propose a few solutions to this and get your thoughts and feedback before we go further. First, I would like to refactor the layer into a slightly different setup: meta-zephyr |-meta-zephyr-bsp |-meta-zephyr-core |-meta-zephyr-west Where: meta-zephyr-bsp: contains MACHINE configs and base kernel recipes and nothing more. meta-zephyr-core: contains images (zephyr-hello-world.bb, etc), classes, and nativesdk bits. meta-zephyr-west: contains a west build implementation and additions to the sdk needed for this. There are a few reasons why I'm proposing this. meta-zephyr-bsp: For YP compatibility we really should be splitting bsp layers out from core functionality. Secondly, I've been working on a meta-zephyr-bsp layer that contains 285 machine configurations autogenerated from zephyr. You can view the layer here https://booting.oniroproject.org/distro/meta-zephyr-bsp and the patch to zephyr I use to generate these here https://booting.oniroproject.org/distro/meta-zephyr-bsp/-/blob/dunfell/recipes-core/meta/files/0001-zephyr-Export-an-OpenEmbedded-machine-config.patch. It's missing some bits, specifically around do_flash_usb, but it gets us many more machines than what we currently have. (keep in mind, this is dunfell and zephyr v2.6.0 atm) I also want to split out the base kernel bits (zephyr-kernel*) into the bsp layer and move all the "image" recipes like zephyr-blinky, etc into meta-zephyr-core/meta-zephyr-core/recipes-core/images. meta-zephyr-west: We need to do a lot of MACHINE_OVERRIDES with ZEPHYR_MODULES. Short of tracking all of this (which is a maintenance nightmare), or generating them from KConfigs, the only way Diego and I have figured out how to do this is to offload that onto zephyr itself. One way we've looked at this is that we can do it via a west.bbclass where bitbake need not know anything about the oecmake flags, it just essentially shells out and runs west. Modifying the Kconfigs is done via menuconfig as usual. Doing this avoids the need to do all those overrides and track every single module in zephyr (or not in zephyr even). As well, those MACHINE_OVERRIDES have no knowledge of what is in the Kconfig, so this would allow us to detangle some of that. Both Diego and I have come up with a solution for this (mine bbclass based, Diego doing do_compile overrides directly in the recipe). My thought would be extending the meta-zephyr layer with a meta-zephyr-west layer inside that would allow people to use both the CMAKE way of building zephyr or the west way, depending on their needs but we're open for some suggestions/ideas. -b |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: [meta-zephyr][PATCH 0/4] zephyr-lvgl: make it possible to build the zephyr lvgl sample
Naveen Saini
Could you please rebase this series with latest !
toggle quoted message
Show quoted text
Regards, Naveen -----Original Message----- |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
M+ & H bugs with Milestone Movements WW45
Stephen Jolley
All,
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Enhancements/Bugs closed WW45!
Stephen Jolley
All,
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Current high bug count owners for Yocto Project 3.5
Stephen Jolley
All,
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Yocto Project Newcomer & Unassigned Bugs - Help Needed
Stephen Jolley
All,
The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading: https://wiki.yoctoproject.org/wiki/Bug_Triage#Newcomer_Bugs Also please review: https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded and how to create a bugzilla account at: https://bugzilla.yoctoproject.org/createaccount.cgi The idea is these bugs should be straight forward for a person to help work on who doesn't have deep experience with the project. If anyone can help, please take ownership of the bug and send patches! If anyone needs help/advice there are people on irc who can likely do so, or some of the more experienced contributors will likely be happy to help too.
Also, the triage team meets weekly and does its best to handle the bugs reported into the Bugzilla. The number of people attending that meeting has fallen, as have the number of people available to help fix bugs. One of the things we hear users report is they don't know how to help. We (the triage team) are therefore going to start reporting out the currently 397 unassigned or newcomer bugs.
We're hoping people may be able to spare some time now and again to help out with these. Bugs are split into two types, "true bugs" where things don't work as they should and "enhancements" which are features we'd want to add to the system. There are also roughly four different "priority" classes right now, “3.4”, “3.5, "3.99" and "Future", the more pressing/urgent issues being in "3.4" and then “3.5”.
Please review this link and if a bug is something you would be able to help with either take ownership of the bug, or send me (sjolley.yp.pm@...) an e-mail with the bug number you would like and I will assign it to you (please make sure you have a Bugzilla account). The list is at: https://wiki.yoctoproject.org/wiki/Bug_Triage_Archive#Unassigned_or_Newcomer_Bugs
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: meta-selinux: dunfell: libselinux: 0001-Fix-NULL-pointer-use-in-selinux_restorecon_set_sehandle.patch fails to apply
Maurizio Macrina <mmacrina@...>
Hi, A possible fix for this issue during the do_patch task might be the following:
diff --git a/recipes-security/selinux/libselinux/0001-Fix-NULL-pointer-use-in-selinux_restorecon_set_sehandle.patch b/recipes-security/selinux/libselinux/0001-Fix-NULL-pointer-use-in-selinux_restorecon_set_sehandle.patch index 8a9fb7c..66c86ee 100644 --- a/recipes-security/selinux/libselinux/0001-Fix-NULL-pointer-use-in-selinux_restorecon_set_sehandle.patch +++ b/recipes-security/selinux/libselinux/0001-Fix-NULL-pointer-use-in-selinux_restorecon_set_sehandle.patch @@ -17,8 +17,8 @@ Acked-by: Stephen Smalley <stephen.smalley.work@...>
diff --git a/libselinux/src/selinux_restorecon.c b/libselinux/src/selinux_restorecon.c index d1ce830c5..6993be6fd 100644 ---- a/libselinux/src/selinux_restorecon.c -+++ b/libselinux/src/selinux_restorecon.c +--- a/src/selinux_restorecon.c ++++ b/src/selinux_restorecon.c @@ -1154,6 +1154,8 @@ void selinux_restorecon_set_sehandle(struct selabel_handle *hndl) size_t num_specfiles, fc_digest_len;
Basically in the patch file: 0001-Fix-NULL-pointer-use-in-selinux_restorecon_set_sehandle.patch remove “libselinux” from a/libselinux/src/selinux_restorecon.c and b/libselinux/src/selinux_restorecon.c
I tested it and works fine.
From:
Maurizio Macrina <mmacrina@...> Hello Jonas, I’ve also recently hit an error during the do_patch task of libselinux. 001-Fix-NULL-pointer-use-in-selinux_restorecon_set_sehandle.patch has been recently added to the dunfell branch but fails to apply:
ERROR: Applying patch '0001-Fix-NULL-pointer-use-in-selinux_restorecon_set_sehandle.patch' on target directory '/yocto/c2100-catchpoint-system-image/poky/build/tmp/work/core2-64-poky-linux/libselinux/3.0-r0/libselinux-3.0' Command Error: 'quilt --quiltrc /yocto/c2100-catchpoint-system-image/poky/build/tmp/work/core2-64-poky-linux/libselinux/3.0-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output: Applying patch 0001-Fix-NULL-pointer-use-in-selinux_restorecon_set_sehandle.patch can't find file to patch at input line 22 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 08f5e30177218fae7ce9f5c8d6856690126b2b30 Mon Sep 17 00:00:00 2001 |From: Ji Qin <jiqin.ji@...> |Date: Sun, 14 Jun 2020 21:20:23 -0400 |Subject: [PATCH] libselinux: Fix NULL pointer use in | selinux_restorecon_set_sehandle | |error occur when selinux_restorecon_default_handle return NULL in |restorecon_init. | |fixes: https://github.com/SELinuxProject/selinux/issues/249 | |Signed-off-by: Ji Qin <jiqin.ji@...> |Acked-by: Stephen Smalley <stephen.smalley.work@...> |--- | libselinux/src/selinux_restorecon.c | 2 ++ | 1 file changed, 2 insertions(+) | |diff --git a/libselinux/src/selinux_restorecon.c b/libselinux/src/selinux_restorecon.c |index d1ce830c5..6993be6fd 100644 |--- a/libselinux/src/selinux_restorecon.c |+++ b/libselinux/src/selinux_restorecon.c -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored Patch 0001-Fix-NULL-pointer-use-in-selinux_restorecon_set_sehandle.patch does not apply (enforce with -f) DEBUG: Python function patch_do_patch finished DEBUG: Python function do_patch finished
I’ve attached the corresponding log.
What would be the suggested fix for this? I don’t think the leading a/b in the path is the issue here, other patch files have the same path.
Thanks.
Regards.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[meta-zephyr][PATCH 4/4] zephyr-lvgl: new recipe
Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@...>
This adds a recipe for building the lvgl sample from mainline zephyr source. We need to include one upstream patch that fixes a build problem with lvgl and pull in two other modules or otherwise the default config will fail to build. Currently only the nordic reference devkit for nrf52840 is supported. Big thanks to Eilís Ní Fhlannagáin <elizabeth.flanagan@...> for helping me with that. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...> Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@...> --- ...0001-cmake-added-missing-file-ext-to.patch | 42 +++++++++++++++++++ .../zephyr-kernel/zephyr-kernel-common.inc | 1 + .../zephyr-kernel/zephyr-kernel-src-2.6.1.inc | 3 ++ .../zephyr-kernel/zephyr-kernel-src-2.7.0.inc | 3 ++ .../zephyr-kernel/zephyr-kernel-src.inc | 3 ++ recipes-kernel/zephyr-kernel/zephyr-lvgl.bb | 11 +++++ 6 files changed, 63 insertions(+) create mode 100644 recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-ext-to.patch create mode 100644 recipes-kernel/zephyr-kernel/zephyr-lvgl.bb diff --git a/recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-ext-to.patch b/recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-ext-to.patch new file mode 100644 index 0000000..6aeca14 --- /dev/null +++ b/recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-ext-to.patch @@ -0,0 +1,42 @@ +From 783c1f78c8e39751fe89d0883c8bce7336f55e94 Mon Sep 17 00:00:00 2001 +From: Torsten Rasmussen <Torsten.Rasmussen@...> +Date: Thu, 19 Aug 2021 08:53:00 +0200 +Subject: [PATCH] cmake: added missing file ext to + lv_font_dejavu_16_persian_hebrew.c + +CMake >= 3.20 requires file extensions explicitly added to source files. + +See CMP0115: +> Starting in CMake 3.20, CMake prefers all source files to have their +> extensions explicitly listed: + +In the CMakeLists.txt, the file lv_font_dejavu_16_persian_hebrew.c +was added without its .c extension, causing never CMakes ti fail +discovering the file. + +This has been fixed by correctly add the file as: +lv_font_dejavu_16_persian_hebrew.c + +Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@...> +--- +Upstream-status: Accepted + + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 57b07c84..0f433edc 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -58,7 +58,7 @@ zephyr_library_sources( + src/lv_misc/lv_utils.c + + src/lv_font/lv_font.c +- src/lv_font/lv_font_dejavu_16_persian_hebrew ++ src/lv_font/lv_font_dejavu_16_persian_hebrew.c + src/lv_font/lv_font_fmt_txt.c + src/lv_font/lv_font_loader.c + src/lv_font/lv_font_montserrat_12.c +-- +Gitee + diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc index 5ae7504..04eb72b 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc @@ -31,6 +31,7 @@ ZEPHYR_MODULES:append:arm = "\;${S}/modules/cmsis" ZEPHYR_MODULES:append:nordic = "\;${S}/modules/hal/nordic" ZEPHYR_MODULES:append:stm32 = "\;${S}/modules/hal/stm32" ZEPHYR_MODULES:append:openamp = "\;${S}/modules/lib/open-amp\;${S}/modules/hal/libmetal" +ZEPHYR_MODULES:append:zsegger = "\;${S}/modules/debug/segger" EXTRA_OECMAKE:append = " -DZEPHYR_MODULES=${ZEPHYR_MODULES}" diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc index 9f28df7..a7289f1 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc @@ -2,12 +2,15 @@ SRCREV_FORMAT = "default_cmsis" SRCREV_cmsis = "c3bd2094f92d574377f7af2aec147ae181aa5f8e" SRCREV_default = "2d6322d74aaac838ead46bfcba0db619cff4b534" SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb" +SRCREV_lvgl = "31acbaa36e9e74ab88ac81e3d21e7f1d00a71136" SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" SRCREV_nordic = "574493fe29c79140df4827ab5d4a23df79d03681" SRCREV_open-amp = "6010f0523cbc75f551d9256cf782f173177acdef" SRCREV_openthread = "385e19da1ae15f27872c2543b97276a42f102ead" +SRCREV_segger = "3a52ab222133193802d3c3b4d21730b9b1f1d2f6" SRCREV_stm32 = "f8ff8d25aa0a9e65948040c7b47ec67f3fa300df" SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" +SRCREV_TraceRecorderSource = "36c577727642457b0db7274298a4b96558374832" ZEPHYR_BRANCH = "v2.6-branch" PV = "2.6.1+git${SRCPV}" diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc index f425d9f..1cc9a4e 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc @@ -2,12 +2,15 @@ SRCREV_FORMAT = "default_cmsis" SRCREV_cmsis = "b0612c97c1401feeb4160add6462c3627fe90fc7" SRCREV_default = "3f826560aaf81a444018293bd6acce3c339fe150" SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb" +SRCREV_lvgl = "31acbaa36e9e74ab88ac81e3d21e7f1d00a71136" SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" SRCREV_nordic = "a6e5299041f152da5ae0ab17b2e44e088bb96d6d" SRCREV_open-amp = "6010f0523cbc75f551d9256cf782f173177acdef" SRCREV_openthread = "5d706547ebcb0a85e11412bcd88e80e2af98c74d" +SRCREV_segger = "3a52ab222133193802d3c3b4d21730b9b1f1d2f6" SRCREV_stm32 = "5c8275071ec1cf160bfe8c18bbd9330a7d714dc8" SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" +SRCREV_TraceRecorderSource = "36c577727642457b0db7274298a4b96558374832" ZEPHYR_BRANCH = "v2.7-branch" PV = "2.7.0+git${SRCPV}" diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc index 4ef8a9a..f0445cc 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc @@ -14,10 +14,13 @@ SRC_URI = "\ git://github.com/zephyrproject-rtos/hal_nordic.git;protocol=https;destsuffix=git/modules/hal/nordic;name=nordic \ git://github.com/zephyrproject-rtos/hal_stm32.git;branch=main;protocol=https;destsuffix=git/modules/hal/stm32;name=stm32 \ git://github.com/zephyrproject-rtos/libmetal.git;protocol=https;destsuffix=git/modules/hal/libmetal;name=libmetal \ + git://github.com/zephyrproject-rtos/lvgl.git;branch=zephyr;protocol=https;destsuffix=git/modules/lib/gui/lvgl;name=lvgl \ git://github.com/zephyrproject-rtos/mbedtls.git;protocol=https;destsuffix=git/modules/lib/mbedtls;name=mbedtls \ git://github.com/zephyrproject-rtos/open-amp.git;protocol=https;destsuffix=git/modules/lib/open-amp;name=open-amp \ git://github.com/zephyrproject-rtos/openthread.git;protocol=https;branch=zephyr;destsuffix=git/modules/lib/openthread;name=openthread \ + git://github.com/zephyrproject-rtos/segger.git;protocol=https;destsuffix=git/modules/debug/segger;name=segger \ git://github.com/zephyrproject-rtos/tinycrypt.git;protocol=https;destsuffix=git/modules/crypto/tinycrypt;name=tinycrypt \ + git://github.com/zephyrproject-rtos/TraceRecorderSource.git;branch=zephyr;protocol=https;destsuffix=git/modules/debug/TraceRecorder;name=TraceRecorderSource \ " S = "${WORKDIR}/git" diff --git a/recipes-kernel/zephyr-kernel/zephyr-lvgl.bb b/recipes-kernel/zephyr-kernel/zephyr-lvgl.bb new file mode 100644 index 0000000..29d1c5f --- /dev/null +++ b/recipes-kernel/zephyr-kernel/zephyr-lvgl.bb @@ -0,0 +1,11 @@ +include zephyr-sample.inc + +ZEPHYR_SRC_DIR = "${S}/samples/subsys/display/lvgl" +ZEPHYR_MODULES:append = "\;${S}/modules/lib/gui/lvgl" + +# TODO Once more machines and displays are supported, add a PACKAGECONFIG. +EXTRA_OECMAKE:append =" -DSHIELD=adafruit_2_8_tft_touch_v2" + +SRC_URI:append = " file://0001-cmake-added-missing-file-ext-to.patch;patchdir=modules/lib/gui/lvgl" + +COMATIBLE_MACHINE = "(nrf52840dk-nrf52840)" -- 2.30.1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|