[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 messageShow 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
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[meta-zephyr][PATCH 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 3a2250d..4ef8a9a 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;destsuffix=git/modules/cmsis;name=cmsis \ 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/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/libmetal.git;protocol=https;destsuffix=git/modules/hal/libmetal;name=libmetal \ git://github.com/zephyrproject-rtos/tinycrypt.git;protocol=https;destsuffix=git/modules/crypto/tinycrypt;name=tinycrypt \ " S = "${WORKDIR}/git" -- 2.30.1
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[meta-zephyr][PATCH 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 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 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. 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
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Bitbake build fails because of a python function
Maksym Iliev
Dear Alexander,
The reason for running it in /srv/yocto is because this directory uses NFS caching. I will look into the possibility of running the build in $HOME instead.
I have also ran the strace command but it produces way too much output. I will do my best to sort through it and report back. Maksym
From: Alexander Kanavin
Sent: November 4, 2021 4:03 PM To: Maksym Iliev Cc: Yocto-mailing-list Subject: Re: [yocto] Bitbake build fails because of a python function
Just wondering, what it /srv/yocto? Can you build in your $HOME?
Otherwise, you can run bitbake under 'strace -ff -o strace-log ...' and try to check exactly what syscall causes cpio to fail.
Alex
On Thu, 4 Nov 2021 at 20:44, Maksym Iliev <maksym.iliev@...> wrote:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: SRC_URI Directory Change
Richard Purdie
On Sun, 2021-10-17 at 14:59 -0700, Chuck Wolber wrote:
Thanks, I got around to looking at this again. For the first issue I agree the rstrip is the best option. For the second, I don't really want to change the on disk signature formats since that will break the tools and have compatibility issues. I've therefore tweaked the patch slightly differently in the v2 I've sent out. Hopefully this one gives us a version that can be merged. Cheers, Richard
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: building the kernel's usbipd daemon
Nicolas Jeker
On Fri, 2021-11-05 at 15:02 -0700, chuck kamas via
lists.yoctoproject.org wrote: Well it turns out that following the Perf recipe was not only a goodI'm not sure where this belongs, but maybe you can try to submit it to the meta-oe repository. Look at the readme[1] for instructions. [1]: https://git.openembedded.org/meta-openembedded/tree/meta-oe/README
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Cross-compile custom ROS2 package for Yocto
#bitbake
Dear Sirs, I have a hard time to cross-compile and to properly include the custom ROS2 foxy package into the Yocto image. I properly added meta-ros layer and ROS2 foxy distro to our Yocto build by following instructions from here (Sanity Tests pass successfully). I wanted to use a I used tips and tricks from here to create ROS2 recipes with the
However, when I tried to build the package with the
The issue is around Thanks in advance for your time and efforts. Cheers,
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: meta-selinux: dunfell: libselinux: 0001-Fix-NULL-pointer-use-in-selinux_restorecon_set_sehandle.patch fails to apply
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.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: QA notification for completed autobuilder build (yocto-3.3.4.rc1)
Teoh, Jay Shen
Hi all,
toggle quoted messageShow quoted text
Intel and WR YP QA is planning for QA execution for YP build yocto-3.3.4.rc1. We are planning to execute following tests for this cycle: OEQA-manual tests for following module: 1. OE-Core 2. BSP-hw Runtime auto test for following platforms: 1. MinnowTurbot 32-bit 2. Coffee Lake 3. NUC 7 4. NUC 6 5. Edgerouter 6. Beaglebone ETA for completion this Thursday, Nov 11. Thanks, Jay
-----Original Message-----
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|