Unable to parse /home/PATH/meta-swupdate/recipes-support/swupdate/swupdate_git.bb
#swupdate
vishal.rana118@...
Hi Team,
I am new with Yocto and SWupdate framework. I am trying to integrate SWupdate framework in our existing yocto code. I am using SUMO version. while trying to build kernel image I am getting below error. MACHINE=imx6s-comg-mtech DISTRO=fsl-imx-fb EULA=1 source setup-environment build-mtech bitbake linux-comg-mtech-4.14.78.local ////////////////////////////////////////////////////////Error log///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ERROR: Unable to parse /home/Mtech/Graphics_Gx_Mtech/Graphics_GX_Mtech/BSP/yocto/sources/meta-swupdate/recipes-support/swupdate/swupdate_git.bb
Traceback (most recent call last):
File "/home/Mtech/Graphics_Gx_Mtech/Graphics_GX_Mtech/BSP/yocto/sources/poky/bitbake/lib/bb/parse/__init__.py", line 117, in handle(fn='/home/Mtech/Graphics_Gx_Mtech/Graphics_GX_Mtech/BSP/yocto/sources/meta-swupdate/recipes-support/swupdate/swupdate_git.bb', data=<bb.data_smart.DataSmart object at 0x7f2675a782b0>, include=0):
with data.inchistory.include(fn):
> return h['handle'](fn, data, include)
raise ParseError("not a BitBake file", fn)
File "/home/Mtech/Graphics_Gx_Mtech/Graphics_GX_Mtech/BSP/yocto/sources/poky/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 154, in handle(fn='/home/Mtech/Graphics_Gx_Mtech/Graphics_GX_Mtech/BSP/yocto/sources/meta-swupdate/recipes-support/swupdate/swupdate_git.bb', d=<bb.data_smart.DataSmart object at 0x7f2675a782b0>, include=0):
if ext != ".bbclass" and include == 0:
> return ast.multi_finalize(fn, d)
File "/home/Mtech/Graphics_Gx_Mtech/Graphics_GX_Mtech/BSP/yocto/sources/poky/bitbake/lib/bb/parse/ast.py", line 391, in multi_finalize(fn='/home/Mtech/Graphics_Gx_Mtech/Graphics_GX_Mtech/BSP/yocto/sources/meta-swupdate/recipes-support/swupdate/swupdate_git.bb', d=<bb.data_smart.DataSmart object at 0x7f2675a782b0>):
logger.debug(1, "Appending .bbappend file %s to %s", append, fn)
> bb.parse.BBHandler.handle(append, d, True)
File "/home/Mtech/Graphics_Gx_Mtech/Graphics_GX_Mtech/BSP/yocto/sources/poky/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 132, in handle(fn='/home/Mtech/Graphics_Gx_Mtech/Graphics_GX_Mtech/BSP/yocto/sources/meta-mylayer/recipes-support/swupdate/swupdate_%d', d=<bb.data_smart.DataSmart object at 0x7f2675a782b0>, include=True):
> abs_fn = resolve_file(fn, d)
File "/home/Mtech/Graphics_Gx_Mtech/Graphics_GX_Mtech/BSP/yocto/sources/poky/bitbake/lib/bb/parse/__init__.py", line 141, in resolve_file(fn='/home/Mtech/Graphics_Gx_Mtech/Graphics_GX_Mtech/BSP/yocto/sources/meta-mylayer/recipes-support/swupdate/swupdate_%d', d=<bb.data_smart.DataSmart object at 0x7f2675a782b0>):
if not os.path.isfile(fn):
> raise IOError(errno.ENOENT, "file %s not found" % fn)
FileNotFoundError: [Errno 2] file /home/Mtech/Graphics_Gx_Mtech/Graphics_GX_Mtech/BSP/yocto/sources/meta-mylayer/recipes-support/swupdate/swupdate_%d not found ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Not able to understand the root cause of this because without adding "meta-swupdate" layer I am able to build the code. Please help me to resolve this issue. Regards, Vishal Rana
|
|
Re: __DATE__ and __TIME__ in dunfell builds
#dunfell
Peter Bergin
On 2021-11-10 21:44,
chiefsleepyeye@... wrote:
I have a weird thing going on with __DATE__ and __TIME__ when building my app in the yocto environment. I'm building for "genericx86-64" and I'm using __DATE__ and __TIME__ in my source to show what the build date/time of my app is at run time. But... __DATE__ is always "Apr 5 2011" and __TIME__ is always "23:00:00". And, yes, the current time on the build machine is not that. Anyone else experience this and/or know how to fix it? Oh, host is Ubuntu 20.04.3 LTS. In your build you have reproducible build enabled.
https://docs.yoctoproject.org/3.4/test-manual/reproducible-builds.html.
You should be able to disable this function with help of the
variable BUILD_REPRODUCIBLE_BINARIES. Reproducible builds are now
enableb by default in Yocto. /Peter
|
|
__DATE__ and __TIME__ in dunfell builds
#dunfell
Mike
I have a weird thing going on with __DATE__ and __TIME__ when building my app in the yocto environment. I'm building for "genericx86-64" and I'm using __DATE__ and __TIME__ in my source to show what the build date/time of my app is at run time. But... __DATE__ is always "Apr 5 2011" and __TIME__ is always "23:00:00". And, yes, the current time on the build machine is not that. Anyone else experience this and/or know how to fix it? Oh, host is Ubuntu 20.04.3 LTS.
Mike
|
|
Re: Cross-compile custom ROS2 package for Yocto
#bitbake
In addition to the above changes, I also included instructions inside
conf/local.conf file to install my first ROS2 package:
After that, I was able to bitbake the complete Yocto image, put it on the SD card, and boot the Yocto on my devkit. After sourcing ros2_setup.sh script, I entered:ros2 pkg listcommand to list all available ROS2 packages on the system. my_first_yocto_pkg package was on the list so I was happy and excited! I wanted to do the final touch and launch the talker node from the packet with: ros2 run my_first_yocto_pkg talker However, I got the info that No executable is found ! What the heck! Do you have any idea what I did wrong in the whole process? Appreciate your efforts! Sincerely, Bojan.
|
|
Re: Cross-compile custom ROS2 package for Yocto
#bitbake
Hello, Matthias.
I added `amente-cmake-native` inti DEPENDS and, indeed, I got a different error this time: Initialising tasks: 100% |######################################################################################################| Time: 0:00:02I needed to append the following lines at the end of my-first-yocto-pkg_git.bb file in order to resolve it:
FILES_${PN} += "/usr/share/my_first_yocto_pkg/*"
|
|
Re: [meta-zephyr][PATCH v2 4/4] zephyr-lvgl: new recipe
Naveen Saini
toggle quoted messageShow quoted text
-----Original Message-----[Naveen] zsegger is not defined as override, it causing build failure. If module is required only for lvgl sample, it can move into sample recipe ! | build/tmp-newlib/work/armv7m-yocto-eabi/zephyr-lvgl/2.7.0+gitAUTOINC+3f826560aa_b0612c97c1-r0/git/subsys/logging/log_backend_rtt.c:12:10: fatal error: SEGGER_RTT.h: No such file or directory | 12 | #include <SEGGER_RTT.h> | | ^~~~~~~~~~~~~~ | compilation terminated. It can be checked with $ bitbake zephyr-lvgl -e | grep ^ZEPHYR_MODULES=
|
|
Re: Cross-compile custom ROS2 package for Yocto
#bitbake
Matthias Schoepfer
Hi Bojan, On 11/8/21 3:39 PM, bojankoce wrote:
I guess this is not the right address. Just saying.
You are missing a DEPENDS, ros_ament_cmake does not add it. Try adding ament-cmake-native to your DEPENDS and see if that works (or give you a different error message, since I guess you might be missing out more stuff).
Regards, Matthias
|
|
Re: pre-built native only tool for native and nativesdk
Joel Winarske
My solution was to use recipe name without `-native`, and simply use empty packages (no-op) for target. Only nativesdk- and -native variants have an affect. Then add `TOOLCHAIN_HOST_TASK:append = " nativesdk-flutter-sdk"` to local.conf.
On Tue, Nov 9, 2021 at 3:32 PM Joel Winarske <joel.winarske@...> wrote:
|
|
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
|
|