[yocto] [meta-zephyr][PATCH] layer.conf: update LAYERSERIES_COMPAT to use scarthgap
Drop compatibility to nanbield. Signed-off-by: Naveen Saini --- meta-zephyr-bsp/conf/layer.conf | 2 +- meta-zephyr-core/conf/layer.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-zephyr-bsp/conf/layer.conf b/meta-zephyr-bsp/conf/layer.conf index 1edcb0b..28577b2 100644 --- a/meta-zephyr-bsp/conf/layer.conf +++ b/meta-zephyr-bsp/conf/layer.conf @@ -15,4 +15,4 @@ LAYERVERSION_zephyrbsp = "1" LAYERDEPENDS_zephyrbsp = "zephyrcore core meta-python" -LAYERSERIES_COMPAT_zephyrbsp = "kirkstone nanbield" +LAYERSERIES_COMPAT_zephyrbsp = "kirkstone scarthgap" diff --git a/meta-zephyr-core/conf/layer.conf b/meta-zephyr-core/conf/layer.conf index 06e942e..e1bb263 100644 --- a/meta-zephyr-core/conf/layer.conf +++ b/meta-zephyr-core/conf/layer.conf @@ -15,7 +15,7 @@ LAYERVERSION_zephyrcore = "1" LAYERDEPENDS_zephyrcore = "core meta-python" -LAYERSERIES_COMPAT_zephyrcore = "kirkstone nanbield" +LAYERSERIES_COMPAT_zephyrcore = "kirkstone scarthgap" PYTHON3_NATIVE_SITEPACKAGES_DIR = "${libdir_native}/${PYTHON3_DIR}/site-packages" -- 2.37.3 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62776): https://lists.yoctoproject.org/g/yocto/message/62776 Mute This Topic: https://lists.yoctoproject.org/mt/104996550/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 2/2] zephyr-sdk: Upgrade to version 0.16.5-1
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.16.5-1 Signed-off-by: Naveen Saini --- .../{zephyr-sdk_0.16.3.bb => zephyr-sdk_0.16.5-1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-zephyr-core/recipes-devtools/zephyr-sdk/{zephyr-sdk_0.16.3.bb => zephyr-sdk_0.16.5-1.bb} (83%) diff --git a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.3.bb b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.5-1.bb similarity index 83% rename from meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.3.bb rename to meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.5-1.bb index e34424e..0b608bc 100644 --- a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.3.bb +++ b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.5-1.bb @@ -14,8 +14,8 @@ SDK_ARCHIVE = "zephyr-sdk-${PV}_linux-${BUILD_ARCH}.tar.xz" SDK_NAME = "${BUILD_ARCH}" SRC_URI = "https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${PV}/${SDK_ARCHIVE};subdir=${S};name=${SDK_NAME}; -SRC_URI[x86_64.sha256sum] = "9eb557d09d0e9d4e0b27f81605250a0618bb929e423987ef40167a3307c82262" -SRC_URI[aarch64.sha256sum] = "3acfb4fb68fc5e98f44428249b54c947cdf78f1164176e98160ca75175ad26c1" +SRC_URI[x86_64.sha256sum] = "01f942146d2fc6d6afd5afe6f4b5c315525d2c937c7e613d3312b0992b33bc68" +SRC_URI[aarch64.sha256sum] = "1749b6891a6a6e70b013d8b31ff067c5a94891f651985a6da9a20367b2deb6c7" do_configure[noexec] = "1" do_compile[noexec] = "1" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62659): https://lists.yoctoproject.org/g/yocto/message/62659 Mute This Topic: https://lists.yoctoproject.org/mt/104718135/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 1/2] zephyr-kernel: Add support for v3.6.0
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.6.0 Signed-off-by: Naveen Saini --- ...y-generation-issue-in-cross-compila.patch} | 0 .../zephyr-kernel/zephyr-kernel-src-3.5.0.inc | 2 +- .../zephyr-kernel/zephyr-kernel-src-3.6.0.inc | 270 ++ .../zephyr-kernel/zephyr-kernel-src.inc | 2 +- 4 files changed, 272 insertions(+), 2 deletions(-) rename meta-zephyr-core/recipes-kernel/zephyr-kernel/files/{0001-3.5-x86-fix-efi-binary-generation-issue-in-cross-compila.patch => 0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch} (100%) create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.6.0.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86-fix-efi-binary-generation-issue-in-cross-compila.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch similarity index 100% rename from meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86-fix-efi-binary-generation-issue-in-cross-compila.patch rename to meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.5.0.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.5.0.inc index 459fdd8..f91c37d 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.5.0.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.5.0.inc @@ -131,7 +131,7 @@ SRC_URI_ZEPHYR_UOSCORE_UEDHOC ?= "git://github.com/zephyrproject-rtos/uoscore-ue SRC_URI_ZEPHYR_ZCBOR ?= "git://github.com/zephyrproject-rtos/zcbor;protocol=https" SRC_URI_PATCHES ?= "\ - file://0001-3.5-x86-fix-efi-binary-generation-issue-in-cross-compila.patch;patchdir=zephyr \ + file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch;patchdir=zephyr \ " SRC_URI = "\ diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.6.0.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.6.0.inc new file mode 100644 index 000..5b09aac --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.6.0.inc @@ -0,0 +1,270 @@ +# Auto-generated from zephyr-kernel-src.inc.jinja + +SRCREV_FORMAT = "default" + +SRCREV_default = "468eb56cf242eedba62006ee758700ee6148763f" +SRCREV_acpica = "da5f2721e1c7f188fe04aa50af76f4b94f3c3ea3" +SRCREV_bsim = "384a091445c57b44ac8cbd18ebd245b47c71db94" +SRCREV_babblesim_base = "19d62424c0802c6c9fc15528febe666e40f372a1" +SRCREV_babblesim_ext_2G4_libPhyComv1 = "9018113a362fa6c9e8f4b9cab9e5a8f12cc46b94" +SRCREV_babblesim_ext_2G4_phy_v1 = "d47c6dd90035b41b14f6921785ccb7b8484868e2" +SRCREV_babblesim_ext_2G4_channel_NtNcable = "20a38c997f507b0aa53817aab3d73a462fff7af1" +SRCREV_babblesim_ext_2G4_channel_multiatt = "bde72a57384dde7a4310bcf3843469401be93074" +SRCREV_babblesim_ext_2G4_modem_magic = "cb70771794f0bf6f262aa474848611c68ae8f1ed" +SRCREV_babblesim_ext_2G4_modem_BLE_simple = "809ab073159c9ab6686c2fea5749b0702e0909f7" +SRCREV_babblesim_ext_2G4_device_burst_interferer = "5b5339351d6e6a2368c686c734dc8b2fc65698fc" +SRCREV_babblesim_ext_2G4_device_WLAN_actmod = "9cb6d8e72695f6b785e57443f0629a18069d6ce4" +SRCREV_babblesim_ext_2G4_device_playback = "85c645929cf1ce995d8537107d9dcbd12ed64036" +SRCREV_babblesim_ext_libCryptov1 = "eed6d7038e839153e340bd333bc43541cb90ba64" +SRCREV_cmsis = "4b96cbb174678dcd3ca86e11e1f24bc5f8726da0" +SRCREV_cmsis-dsp = "6489e771e9c405f1763b52d64a3f17a1ec488ace" +SRCREV_cmsis-nn = "0c8669d81381ccf3b1a01d699f3b68b50134a99f" +SRCREV_edtt = "64e5105ad82390164fb73fc654be3f73a608209a" +SRCREV_fatfs = "427159bf95ea49b7680facffaa29ad506b42709b" +SRCREV_hal_altera = "0d225ddd314379b32355a00fb669eacf911e750d" +SRCREV_hal_ambiq = "ff4ca358d730536addf336c40c3faa4ebf1df00a" +SRCREV_hal_atmel = "aad79bf530b69b72712d18873df4120ad052d921" +SRCREV_hal_espressif = "67fa60bdffca7ba8ed199aecfaa26f485f24878b" +SRCREV_hal_ethos_u = "90ada2ea5681b2a2722a10d2898eac34c2510791" +SRCREV_hal_gigadevice = "2994b7dde8b0b0fa9b9c0ccb13474b6a486cddc3" +SRCREV_hal_infineon = "69c883d3bd9fac8a18dd8384624b8c472a68d06f" +SRCREV_hal_intel = "7b4c25669f1513b0d6d6ee78ee42340d91958884" +SRCREV_hal_microchip = "5d079f1683a00b801373f5d181d4e33b30d5" +SRCREV_hal_nordic = "dce8519f7da37b0a745237679fd3f88250b495ff" +SRCREV_hal_nuvoton = "68a91bb343ff47e40dbd9189a7d6e3ee801a7135" +SRCREV_hal_nxp = "d45b14c198d778658b7853b48378d2e132a6c4be" +SRCREV_hal_openisa = "eabd5
[linux-yocto] [kernel-cache][master][yocto-6.6][PATCH] features/qat/qat.cfg: enable CONFIG_PCIEAER
Error: 4.24.0-5/qat17/quickassist/qat/drivers/crypto/qat/ qat_common/../../../../compat/qat_compat.c:401:19: error: 'struct pci_dev' has no member named 'aer_cap'; did you mean 'ats_cap'? | 401 | if (!dev->aer_cap) | | ^~~ | | ats_cap https://github.com/torvalds/linux/blob/296455ade1fdcf5f8f8c033201633b60946c589a/include/linux/pci.h#L339 Signed-off-by: Naveen Saini --- features/qat/qat.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/qat/qat.cfg b/features/qat/qat.cfg index 2dc36225..5f138f1f 100644 --- a/features/qat/qat.cfg +++ b/features/qat/qat.cfg @@ -10,3 +10,5 @@ CONFIG_CRYPTO_VMAC=m CONFIG_CRYPTO_CTS=m CONFIG_CRYPTO_RSA=y CONFIG_CRYPTO_DH=y +CONFIG_PCIEAER=y +CONFIG_RAS=y -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13503): https://lists.yoctoproject.org/g/linux-yocto/message/13503 Mute This Topic: https://lists.yoctoproject.org/mt/103824880/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH] x86: Refresh patch to include efi fix for up_squared board
Include fix for generating efi binary file for the up_squared board, which was missed in v3.5 upgrade. Signed-off-by: Naveen Saini --- ...ry-generation-issue-in-cross-compila.patch | 25 ++- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86-fix-efi-binary-generation-issue-in-cross-compila.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86-fix-efi-binary-generation-issue-in-cross-compila.patch index c12eed0..f1b2b9f 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86-fix-efi-binary-generation-issue-in-cross-compila.patch +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86-fix-efi-binary-generation-issue-in-cross-compila.patch @@ -1,4 +1,4 @@ -From 67971b0be2230c2a691561e55a023b59c66bad87 Mon Sep 17 00:00:00 2001 +From 25cf09358eebde64474cbf0759974e2087d4dcc6 Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Tue, 31 Oct 2023 16:57:31 +0800 Subject: [PATCH] x86: fix efi binary generation issue in cross compilation env @@ -9,11 +9,12 @@ Upstream-Status: Inappropriate [Cross-compilation specific] Signed-off-by: Naveen Saini --- - arch/x86/zefi/zefi.py | 5 - - boards/x86/intel_adl/CMakeLists.txt | 1 + - boards/x86/intel_ehl/CMakeLists.txt | 1 + - boards/x86/intel_rpl/CMakeLists.txt | 1 + - 4 files changed, 7 insertions(+), 1 deletion(-) + arch/x86/zefi/zefi.py| 5 - + boards/x86/intel_adl/CMakeLists.txt | 1 + + boards/x86/intel_ehl/CMakeLists.txt | 1 + + boards/x86/intel_rpl/CMakeLists.txt | 1 + + boards/x86/up_squared/CMakeLists.txt | 1 + + 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py index 99c188ecd0..1cd86a21cd 100755 @@ -67,6 +68,18 @@ diff --git a/boards/x86/intel_rpl/CMakeLists.txt b/boards/x86/intel_rpl/CMakeLis index 2dc5afcc32..7981e576f2 100644 --- a/boards/x86/intel_rpl/CMakeLists.txt +++ b/boards/x86/intel_rpl/CMakeLists.txt +@@ -6,6 +6,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -o ${CMAKE_OBJCOPY} + -i ${ZEPHYR_BASE}/include + -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf ++ -s ${SYSROOT_DIR} + $<$:--verbose> + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) +diff --git a/boards/x86/up_squared/CMakeLists.txt b/boards/x86/up_squared/CMakeLists.txt +index 2dc5afcc32..7981e576f2 100644 +--- a/boards/x86/up_squared/CMakeLists.txt b/boards/x86/up_squared/CMakeLists.txt @@ -6,6 +6,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands -o ${CMAKE_OBJCOPY} -i ${ZEPHYR_BASE}/include -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61628): https://lists.yoctoproject.org/g/yocto/message/61628 Mute This Topic: https://lists.yoctoproject.org/mt/102436007/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-zephyr][PATCH 1/3] zephyr-kernel: Add support for v3.5.0
> -Original Message- > From: Jon Mason > Sent: Thursday, November 2, 2023 11:01 AM > To: Saini, Naveen Kumar > Cc: yocto@lists.yoctoproject.org > Subject: Re: [meta-zephyr][PATCH 1/3] zephyr-kernel: Add support for > v3.5.0 > > On Wed, Nov 01, 2023 at 05:58:07PM +0800, Naveen Saini wrote: > > https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.5.0 > > I tested this series and you can see the results at > https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/1057638542 > > There are new issues for intel-x86-64 and qemu-cortex-r5. However, when I > update the CI container, it no longer has the issues. So, I have a patch > coming out after this email with the relevant update, and some expanded > testing for things that are now working. Thanks Jon. For intel-x86-64 failure I have sent a fix. Could you please try again ! Regards, Naveen > > Thanks, > Jon > > > > > Signed-off-by: Naveen Saini > > --- > > ...ry-generation-issue-in-cross-compila.patch | 80 ++ > > .../zephyr-kernel/zephyr-kernel-src-3.5.0.inc | 270 ++ > > .../zephyr-kernel/zephyr-kernel-src.inc | 2 +- > > 3 files changed, 351 insertions(+), 1 deletion(-) create mode 100644 > > meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86-fix-e > > fi-binary-generation-issue-in-cross-compila.patch > > create mode 100644 > > meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.5.0. > > inc > > > > diff --git > > a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86-fix > > -efi-binary-generation-issue-in-cross-compila.patch > > b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86-fix > > -efi-binary-generation-issue-in-cross-compila.patch > > new file mode 100644 > > index 000..c12eed0 > > --- /dev/null > > +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86 > > +++ -fix-efi-binary-generation-issue-in-cross-compila.patch > > @@ -0,0 +1,80 @@ > > +From 67971b0be2230c2a691561e55a023b59c66bad87 Mon Sep 17 00:00:00 > > +2001 > > +From: Naveen Saini > > +Date: Tue, 31 Oct 2023 16:57:31 +0800 > > +Subject: [PATCH] x86: fix efi binary generation issue in cross > > +compilation env > > + > > +Set root directory for headers. > > + > > +Upstream-Status: Inappropriate [Cross-compilation specific] > > + > > +Signed-off-by: Naveen Saini > > +--- > > + arch/x86/zefi/zefi.py | 5 - > > + boards/x86/intel_adl/CMakeLists.txt | 1 + > > +boards/x86/intel_ehl/CMakeLists.txt | 1 + > > +boards/x86/intel_rpl/CMakeLists.txt | 1 + > > + 4 files changed, 7 insertions(+), 1 deletion(-) > > + > > +diff --git a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py index > > +99c188ecd0..1cd86a21cd 100755 > > +--- a/arch/x86/zefi/zefi.py > > b/arch/x86/zefi/zefi.py > > +@@ -109,8 +109,10 @@ def build_elf(elf_file, include_dirs): > > + includes = [] > > + for include_dir in include_dirs: > > + includes.extend(["-I", include_dir]) > > ++# Pass --sysroot path for cross compilation > > ++sysrootarg = "--sysroot=" + args.sysroot > > + cmd = ([args.compiler, "-shared", "-Wall", "-Werror", "-I."] + > > includes + > > +- ["-fno-stack-protector", "-fpic", "-mno-red-zone", > > "-fshort-wchar", > > ++ ["-fno-stack-protector", "-fpic", "-mno-red-zone", > > ++ "-fshort-wchar", sysrootarg, > > + "-Wl,-nostdlib", "-T", ldscript, "-o", "zefi.elf", cfile]) > > + verbose(" ".join(cmd)) > > + subprocess.run(cmd, check = True) @@ -150,6 +152,7 @@ def > > +parse_args(): > > + parser.add_argument("-v", "--verbose", action="store_true", > help="Verbose output") > > + parser.add_argument("-i", "--includes", required=True, nargs="+", > > + help="Zephyr base include directories") > > ++parser.add_argument("-s", "--sysroot", required=True, > > ++ help="Cross compilation --sysroot=path") > > + > > + return parser.parse_args() > > + > > +diff --git a/boards/x86/intel_adl/CMakeLists.txt > > +b/boards/x86/intel_adl/CMakeLists.txt > > +index 2dc5afcc32..7981e576f2 100644 > > +--- a/boards/x86/intel_adl/CMakeLists.txt > > b/boards/x86/i
[yocto] [meta-zephyr][PATCH] intel-x86-64.conf: add intel_ prefix to x86 board names
Use newly added naming convention (intel_). https://github.com/zephyrproject-rtos/zephyr/commit/03905f7e55d24788e0a38d1641dcadf529fce85d https://github.com/zephyrproject-rtos/zephyr/commit/2b757f1eca3e27f2405362a99d77fc9fc2b17619 Signed-off-by: Naveen Saini --- meta-zephyr-bsp/conf/machine/intel-x86-64.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-zephyr-bsp/conf/machine/intel-x86-64.conf b/meta-zephyr-bsp/conf/machine/intel-x86-64.conf index 74e8f6e..5112f28 100644 --- a/meta-zephyr-bsp/conf/machine/intel-x86-64.conf +++ b/meta-zephyr-bsp/conf/machine/intel-x86-64.conf @@ -1,6 +1,6 @@ #@TYPE: Machine #@NAME: intel-x86-64 -#@DESCRIPTION: common MACHINE for 64-bit x86 boards. User must set ${ZEPHYR_BOARD}. By default is set to 'ech_crb' board. +#@DESCRIPTION: common MACHINE for 64-bit x86 boards. User must set ${ZEPHYR_BOARD}. By default is set to 'intel_ehl_crb' board. require conf/machine/include/tune-corei7-common.inc @@ -10,5 +10,5 @@ ARCH:intel-x86-64 = "x86" # ZEPHYR_BOARD ?= "acrn" # ZEPHYR_BOARD ?= "acrn_ehl_crb" # ZEPHYR_BOARD ?= "up_squared" -# ZEPHYR_BOARD ?= "ehl_crb_sbl" -ZEPHYR_BOARD ?= "ehl_crb" +# ZEPHYR_BOARD ?= "intel_ehl_crb_sbl" +ZEPHYR_BOARD ?= "intel_ehl_crb" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61569): https://lists.yoctoproject.org/g/yocto/message/61569 Mute This Topic: https://lists.yoctoproject.org/mt/102336721/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 3/3] zephyr-sdk: Upgrade to version 0.16.3
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.16.3 Signed-off-by: Naveen Saini --- .../zephyr-sdk/{zephyr-sdk_0.16.1.bb => zephyr-sdk_0.16.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-zephyr-core/recipes-devtools/zephyr-sdk/{zephyr-sdk_0.16.1.bb => zephyr-sdk_0.16.3.bb} (83%) diff --git a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.1.bb b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.3.bb similarity index 83% rename from meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.1.bb rename to meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.3.bb index f73b92f..e34424e 100644 --- a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.1.bb +++ b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.3.bb @@ -14,8 +14,8 @@ SDK_ARCHIVE = "zephyr-sdk-${PV}_linux-${BUILD_ARCH}.tar.xz" SDK_NAME = "${BUILD_ARCH}" SRC_URI = "https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${PV}/${SDK_ARCHIVE};subdir=${S};name=${SDK_NAME}; -SRC_URI[x86_64.sha256sum] = "51338d51aa4cea2516641ce0d9dc0b51b763779f00dc4564a2bc0dd713df22c7" -SRC_URI[aarch64.sha256sum] = "062bb2b5c47ca56dd29b7f92dd7f07a5ce22ba513759d2b6960bc658531eb00c" +SRC_URI[x86_64.sha256sum] = "9eb557d09d0e9d4e0b27f81605250a0618bb929e423987ef40167a3307c82262" +SRC_URI[aarch64.sha256sum] = "3acfb4fb68fc5e98f44428249b54c947cdf78f1164176e98160ca75175ad26c1" do_configure[noexec] = "1" do_compile[noexec] = "1" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61551): https://lists.yoctoproject.org/g/yocto/message/61551 Mute This Topic: https://lists.yoctoproject.org/mt/102315234/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 2/3] zephyr-kernel: Drop support for v3.4.0
v3.5.0 is available, now drop support for old version. Signed-off-by: Naveen Saini --- ...ry-generation-issue-in-cross-compila.patch | 93 -- .../zephyr-kernel/zephyr-kernel-src-3.4.0.inc | 286 -- 2 files changed, 379 deletions(-) delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.4-x86-fix-efi-binary-generation-issue-in-cross-compila.patch delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.4.0.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.4-x86-fix-efi-binary-generation-issue-in-cross-compila.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.4-x86-fix-efi-binary-generation-issue-in-cross-compila.patch deleted file mode 100644 index 94449f5..000 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.4-x86-fix-efi-binary-generation-issue-in-cross-compila.patch +++ /dev/null @@ -1,93 +0,0 @@ -From f314ca637eb2eb5ed1cda7320ab2448d6487aed8 Mon Sep 17 00:00:00 2001 -From: Naveen Saini -Date: Thu, 22 Jun 2023 16:21:50 +0800 -Subject: [PATCH] x86: fix efi binary generation issue in cross compilation env - -Set root directory for headers. - -Upstream-Status: Inappropriate [Cross-compilation specific] - -Signed-off-by: Naveen Saini - arch/x86/zefi/zefi.py| 5 - - boards/x86/ehl_crb/CMakeLists.txt| 1 + - boards/x86/qemu_x86/CMakeLists.txt | 1 + - boards/x86/rpl_crb/CMakeLists.txt| 1 + - boards/x86/up_squared/CMakeLists.txt | 1 + - 5 files changed, 8 insertions(+), 1 deletion(-) - -diff --git a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py -index 99c188ecd0..1cd86a21cd 100755 a/arch/x86/zefi/zefi.py -+++ b/arch/x86/zefi/zefi.py -@@ -109,8 +109,10 @@ def build_elf(elf_file, include_dirs): - includes = [] - for include_dir in include_dirs: - includes.extend(["-I", include_dir]) -+# Pass --sysroot path for cross compilation -+sysrootarg = "--sysroot=" + args.sysroot - cmd = ([args.compiler, "-shared", "-Wall", "-Werror", "-I."] + includes + -- ["-fno-stack-protector", "-fpic", "-mno-red-zone", "-fshort-wchar", -+ ["-fno-stack-protector", "-fpic", "-mno-red-zone", "-fshort-wchar", sysrootarg, - "-Wl,-nostdlib", "-T", ldscript, "-o", "zefi.elf", cfile]) - verbose(" ".join(cmd)) - subprocess.run(cmd, check = True) -@@ -150,6 +152,7 @@ def parse_args(): - parser.add_argument("-v", "--verbose", action="store_true", help="Verbose output") - parser.add_argument("-i", "--includes", required=True, nargs="+", - help="Zephyr base include directories") -+parser.add_argument("-s", "--sysroot", required=True, help="Cross compilation --sysroot=path") - - return parser.parse_args() - -diff --git a/boards/x86/ehl_crb/CMakeLists.txt b/boards/x86/ehl_crb/CMakeLists.txt -index 06bbb2dce1..60aa1496e8 100644 a/boards/x86/ehl_crb/CMakeLists.txt -+++ b/boards/x86/ehl_crb/CMakeLists.txt -@@ -6,6 +6,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands - -o ${CMAKE_OBJCOPY} - -i ${ZEPHYR_BASE}/include - -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf -+ -s ${SYSROOT_DIR} - $<$:--verbose> - WORKING_DIRECTORY ${PROJECT_BINARY_DIR} - ) -diff --git a/boards/x86/qemu_x86/CMakeLists.txt b/boards/x86/qemu_x86/CMakeLists.txt -index de31c25a82..2910fa0192 100644 a/boards/x86/qemu_x86/CMakeLists.txt -+++ b/boards/x86/qemu_x86/CMakeLists.txt -@@ -5,6 +5,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands - -i ${ZEPHYR_BASE}/include - -o ${CMAKE_OBJCOPY} - -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf -+ -s ${SYSROOT_DIR} - $<$:--verbose> - WORKING_DIRECTORY ${PROJECT_BINARY_DIR} - ) -diff --git a/boards/x86/rpl_crb/CMakeLists.txt b/boards/x86/rpl_crb/CMakeLists.txt -index 7db36d8d7c..700f51bf01 100644 a/boards/x86/rpl_crb/CMakeLists.txt -+++ b/boards/x86/rpl_crb/CMakeLists.txt -@@ -6,6 +6,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands - -o ${CMAKE_OBJCOPY} - -i ${ZEPHYR_BASE}/include - -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf -+ -s ${SYSROOT_DIR} - $<$:--verbose> - WORKING_DIRECTORY ${PROJECT_BINARY_DIR} - ) -diff --git a/boards/x86/up_squared/CMakeLists.txt b/boards/x86/up_squared/CMakeLists.txt -index 57eef4eabe..ad90969fa9 100644 a/boards/x86/up_squared/CMakeLists.txt -+++ b/boards/x86/up_squared/CMakeLists.txt -@@ -6,6 +6,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands - -o ${CMAKE_OBJCOPY} - -i ${ZEPHYR_BASE}/include - -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.el
[yocto] [meta-zephyr][PATCH 1/3] zephyr-kernel: Add support for v3.5.0
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.5.0 Signed-off-by: Naveen Saini --- ...ry-generation-issue-in-cross-compila.patch | 80 ++ .../zephyr-kernel/zephyr-kernel-src-3.5.0.inc | 270 ++ .../zephyr-kernel/zephyr-kernel-src.inc | 2 +- 3 files changed, 351 insertions(+), 1 deletion(-) create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86-fix-efi-binary-generation-issue-in-cross-compila.patch create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.5.0.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86-fix-efi-binary-generation-issue-in-cross-compila.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86-fix-efi-binary-generation-issue-in-cross-compila.patch new file mode 100644 index 000..c12eed0 --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.5-x86-fix-efi-binary-generation-issue-in-cross-compila.patch @@ -0,0 +1,80 @@ +From 67971b0be2230c2a691561e55a023b59c66bad87 Mon Sep 17 00:00:00 2001 +From: Naveen Saini +Date: Tue, 31 Oct 2023 16:57:31 +0800 +Subject: [PATCH] x86: fix efi binary generation issue in cross compilation env + +Set root directory for headers. + +Upstream-Status: Inappropriate [Cross-compilation specific] + +Signed-off-by: Naveen Saini +--- + arch/x86/zefi/zefi.py | 5 - + boards/x86/intel_adl/CMakeLists.txt | 1 + + boards/x86/intel_ehl/CMakeLists.txt | 1 + + boards/x86/intel_rpl/CMakeLists.txt | 1 + + 4 files changed, 7 insertions(+), 1 deletion(-) + +diff --git a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py +index 99c188ecd0..1cd86a21cd 100755 +--- a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py +@@ -109,8 +109,10 @@ def build_elf(elf_file, include_dirs): + includes = [] + for include_dir in include_dirs: + includes.extend(["-I", include_dir]) ++# Pass --sysroot path for cross compilation ++sysrootarg = "--sysroot=" + args.sysroot + cmd = ([args.compiler, "-shared", "-Wall", "-Werror", "-I."] + includes + +- ["-fno-stack-protector", "-fpic", "-mno-red-zone", "-fshort-wchar", ++ ["-fno-stack-protector", "-fpic", "-mno-red-zone", "-fshort-wchar", sysrootarg, + "-Wl,-nostdlib", "-T", ldscript, "-o", "zefi.elf", cfile]) + verbose(" ".join(cmd)) + subprocess.run(cmd, check = True) +@@ -150,6 +152,7 @@ def parse_args(): + parser.add_argument("-v", "--verbose", action="store_true", help="Verbose output") + parser.add_argument("-i", "--includes", required=True, nargs="+", + help="Zephyr base include directories") ++parser.add_argument("-s", "--sysroot", required=True, help="Cross compilation --sysroot=path") + + return parser.parse_args() + +diff --git a/boards/x86/intel_adl/CMakeLists.txt b/boards/x86/intel_adl/CMakeLists.txt +index 2dc5afcc32..7981e576f2 100644 +--- a/boards/x86/intel_adl/CMakeLists.txt b/boards/x86/intel_adl/CMakeLists.txt +@@ -6,6 +6,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -o ${CMAKE_OBJCOPY} + -i ${ZEPHYR_BASE}/include + -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf ++ -s ${SYSROOT_DIR} + $<$:--verbose> + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) +diff --git a/boards/x86/intel_ehl/CMakeLists.txt b/boards/x86/intel_ehl/CMakeLists.txt +index 2dc5afcc32..7981e576f2 100644 +--- a/boards/x86/intel_ehl/CMakeLists.txt b/boards/x86/intel_ehl/CMakeLists.txt +@@ -6,6 +6,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -o ${CMAKE_OBJCOPY} + -i ${ZEPHYR_BASE}/include + -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf ++ -s ${SYSROOT_DIR} + $<$:--verbose> + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) +diff --git a/boards/x86/intel_rpl/CMakeLists.txt b/boards/x86/intel_rpl/CMakeLists.txt +index 2dc5afcc32..7981e576f2 100644 +--- a/boards/x86/intel_rpl/CMakeLists.txt b/boards/x86/intel_rpl/CMakeLists.txt +@@ -6,6 +6,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -o ${CMAKE_OBJCOPY} + -i ${ZEPHYR_BASE}/include + -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf ++ -s ${SYSROOT_DIR} + $<$:--verbose> + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) +-- +2.34.1 + diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.5.0.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.5.0.inc new file mode 100644 index 000..459fdd8 --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.5.0.inc @@ -0,0 +1,270 @@ +# Auto-g
[yocto] [meta-zephyr][PATCH] layer.conf: update LAYERSERIES_COMPAT to use nanbield
Drop langdale and mickledore. Signed-off-by: Naveen Saini --- meta-zephyr-bsp/conf/layer.conf | 2 +- meta-zephyr-core/conf/layer.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-zephyr-bsp/conf/layer.conf b/meta-zephyr-bsp/conf/layer.conf index d809926..1edcb0b 100644 --- a/meta-zephyr-bsp/conf/layer.conf +++ b/meta-zephyr-bsp/conf/layer.conf @@ -15,4 +15,4 @@ LAYERVERSION_zephyrbsp = "1" LAYERDEPENDS_zephyrbsp = "zephyrcore core meta-python" -LAYERSERIES_COMPAT_zephyrbsp = "kirkstone langdale mickledore" +LAYERSERIES_COMPAT_zephyrbsp = "kirkstone nanbield" diff --git a/meta-zephyr-core/conf/layer.conf b/meta-zephyr-core/conf/layer.conf index fdff4f6..06e942e 100644 --- a/meta-zephyr-core/conf/layer.conf +++ b/meta-zephyr-core/conf/layer.conf @@ -15,7 +15,7 @@ LAYERVERSION_zephyrcore = "1" LAYERDEPENDS_zephyrcore = "core meta-python" -LAYERSERIES_COMPAT_zephyrcore = "kirkstone langdale mickledore" +LAYERSERIES_COMPAT_zephyrcore = "kirkstone nanbield" PYTHON3_NATIVE_SITEPACKAGES_DIR = "${libdir_native}/${PYTHON3_DIR}/site-packages" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60979): https://lists.yoctoproject.org/g/yocto/message/60979 Mute This Topic: https://lists.yoctoproject.org/mt/101308377/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-zephyr][PATCH 1/3] zephyr-kernel: Add support for v3.4.0
> -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of Jon Mason > Sent: Friday, June 23, 2023 1:44 AM > To: Saini, Naveen Kumar > Cc: yocto@lists.yoctoproject.org > Subject: Re: [yocto] [meta-zephyr][PATCH 1/3] zephyr-kernel: Add support > for v3.4.0 > > On Thu, Jun 22, 2023 at 06:39:37PM +0800, Naveen Saini wrote: > > https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.4.0 > > > > Signed-off-by: Naveen Saini > > I ran this through CI > https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/908561493 > > It matches the outcome of the previous run (seen > https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/907938109) > > So, I'd say this is an acceptable update :) Thanks Jon for your review and testing ! > > There are 3 outstanding issues with both, > mps2-an385 no longer passes the device test case > qemu-cortex-a9 fails the poll test case with the yocto compiler (but not the > zephyr one). > > The a9 issue has been known about for some time, and I think someone was > looking into it. > > However, the mps2-an385 issue is relatively new (~1month old). I was able > to track down the last passing/failing nightly run for this test case. > > FAILING: https://gitlab.com/jonmason00/meta-zephyr/-/jobs/4231476859 > PASSING: https://gitlab.com/jonmason00/meta-zephyr/-/jobs/4223831001 > > The SHAs for meta-zephyr and meta-python are the same, but the poky > SHAs are different. There are only 13 commits between the two SHAs. > They are: > 3a89e9a056a9 ref-manual: variables.rst: don't mention the INIT_MANAGER > "none" option d9a7f947246f docs: add support for mickledore (4.2) release > 225abef15bb2 maintainers.inc: Move repo to unassigned > b68a24bed5c2 uboot-sign: support 64bits address > b6c9cc306af4 kernel-fitimage: support 64 bits address > d5d0b3f78514 populate_sdk_ext.bbclass: redirect stderr to stdout so that > both end in LOGFILE > 928609318f52 mpg123: Reset ac_cv_sys_file_offset_bits on musl > 621fdfb12652 gpgme: Reset ac_cv_sys_file_offset_bits on musl 6722f406001c > wic: add support for proper kernel name to bootimg-pcbios 0f0bd5e2317b > devicetree.bbclass: Allow selection of dts files to build > b7574378e8d3 perl-version: remove PERL* assignments fb8d21e73fbe qemu: > Upgrade 7.2.0 -> 8.0.0 > 12e2d10541b0 qemu: Add fix for powerpc instruction fallback issue > > I'm not able to bisect the issue right now, but I'm guessing it's the QEMU > upgrade. > > Thanks, > Jon > > > > > --- > > ...ry-generation-issue-in-cross-compila.patch | 93 ++ > > .../zephyr-kernel/zephyr-kernel-src-3.4.0.inc | 286 ++ > > .../zephyr-kernel/zephyr-kernel-src.inc | 2 +- > > 3 files changed, 380 insertions(+), 1 deletion(-) create mode 100644 > > meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.4-x86-fix-e > > fi-binary-generation-issue-in-cross-compila.patch > > create mode 100644 > > meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.4.0. > > inc > > > > diff --git > > a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.4-x86-fix > > -efi-binary-generation-issue-in-cross-compila.patch > > b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.4-x86-fix > > -efi-binary-generation-issue-in-cross-compila.patch > > new file mode 100644 > > index 000..94449f5 > > --- /dev/null > > +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.4-x86 > > +++ -fix-efi-binary-generation-issue-in-cross-compila.patch > > @@ -0,0 +1,93 @@ > > +From f314ca637eb2eb5ed1cda7320ab2448d6487aed8 Mon Sep 17 00:00:00 > > +2001 > > +From: Naveen Saini > > +Date: Thu, 22 Jun 2023 16:21:50 +0800 > > +Subject: [PATCH] x86: fix efi binary generation issue in cross > > +compilation env > > + > > +Set root directory for headers. > > + > > +Upstream-Status: Inappropriate [Cross-compilation specific] > > + > > +Signed-off-by: Naveen Saini > > +--- > > + arch/x86/zefi/zefi.py| 5 - > > + boards/x86/ehl_crb/CMakeLists.txt| 1 + > > + boards/x86/qemu_x86/CMakeLists.txt | 1 + > > + boards/x86/rpl_crb/CMakeLists.txt| 1 + > > + boards/x86/up_squared/CMakeLists.txt | 1 + > > + 5 files changed, 8 insertions(+), 1 deletion(-) > > + > > +diff --git a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py index > > +99c188ecd0..1cd86a21cd 100755 > > +--- a/arch/x86/zefi/zefi.py > > b/arch/x86/zefi/zefi.py > > +@@ -109,8 +109,10 @@ def build_elf(elf_file, include_dirs): > > + includes = [] > > + for inclu
[yocto] [meta-zephyr][PATCH 1/3] zephyr-kernel: Add support for v3.4.0
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.4.0 Signed-off-by: Naveen Saini --- ...ry-generation-issue-in-cross-compila.patch | 93 ++ .../zephyr-kernel/zephyr-kernel-src-3.4.0.inc | 286 ++ .../zephyr-kernel/zephyr-kernel-src.inc | 2 +- 3 files changed, 380 insertions(+), 1 deletion(-) create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.4-x86-fix-efi-binary-generation-issue-in-cross-compila.patch create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.4.0.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.4-x86-fix-efi-binary-generation-issue-in-cross-compila.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.4-x86-fix-efi-binary-generation-issue-in-cross-compila.patch new file mode 100644 index 000..94449f5 --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.4-x86-fix-efi-binary-generation-issue-in-cross-compila.patch @@ -0,0 +1,93 @@ +From f314ca637eb2eb5ed1cda7320ab2448d6487aed8 Mon Sep 17 00:00:00 2001 +From: Naveen Saini +Date: Thu, 22 Jun 2023 16:21:50 +0800 +Subject: [PATCH] x86: fix efi binary generation issue in cross compilation env + +Set root directory for headers. + +Upstream-Status: Inappropriate [Cross-compilation specific] + +Signed-off-by: Naveen Saini +--- + arch/x86/zefi/zefi.py| 5 - + boards/x86/ehl_crb/CMakeLists.txt| 1 + + boards/x86/qemu_x86/CMakeLists.txt | 1 + + boards/x86/rpl_crb/CMakeLists.txt| 1 + + boards/x86/up_squared/CMakeLists.txt | 1 + + 5 files changed, 8 insertions(+), 1 deletion(-) + +diff --git a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py +index 99c188ecd0..1cd86a21cd 100755 +--- a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py +@@ -109,8 +109,10 @@ def build_elf(elf_file, include_dirs): + includes = [] + for include_dir in include_dirs: + includes.extend(["-I", include_dir]) ++# Pass --sysroot path for cross compilation ++sysrootarg = "--sysroot=" + args.sysroot + cmd = ([args.compiler, "-shared", "-Wall", "-Werror", "-I."] + includes + +- ["-fno-stack-protector", "-fpic", "-mno-red-zone", "-fshort-wchar", ++ ["-fno-stack-protector", "-fpic", "-mno-red-zone", "-fshort-wchar", sysrootarg, + "-Wl,-nostdlib", "-T", ldscript, "-o", "zefi.elf", cfile]) + verbose(" ".join(cmd)) + subprocess.run(cmd, check = True) +@@ -150,6 +152,7 @@ def parse_args(): + parser.add_argument("-v", "--verbose", action="store_true", help="Verbose output") + parser.add_argument("-i", "--includes", required=True, nargs="+", + help="Zephyr base include directories") ++parser.add_argument("-s", "--sysroot", required=True, help="Cross compilation --sysroot=path") + + return parser.parse_args() + +diff --git a/boards/x86/ehl_crb/CMakeLists.txt b/boards/x86/ehl_crb/CMakeLists.txt +index 06bbb2dce1..60aa1496e8 100644 +--- a/boards/x86/ehl_crb/CMakeLists.txt b/boards/x86/ehl_crb/CMakeLists.txt +@@ -6,6 +6,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -o ${CMAKE_OBJCOPY} + -i ${ZEPHYR_BASE}/include + -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf ++ -s ${SYSROOT_DIR} + $<$:--verbose> + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) +diff --git a/boards/x86/qemu_x86/CMakeLists.txt b/boards/x86/qemu_x86/CMakeLists.txt +index de31c25a82..2910fa0192 100644 +--- a/boards/x86/qemu_x86/CMakeLists.txt b/boards/x86/qemu_x86/CMakeLists.txt +@@ -5,6 +5,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -i ${ZEPHYR_BASE}/include + -o ${CMAKE_OBJCOPY} + -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf ++ -s ${SYSROOT_DIR} + $<$:--verbose> + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) +diff --git a/boards/x86/rpl_crb/CMakeLists.txt b/boards/x86/rpl_crb/CMakeLists.txt +index 7db36d8d7c..700f51bf01 100644 +--- a/boards/x86/rpl_crb/CMakeLists.txt b/boards/x86/rpl_crb/CMakeLists.txt +@@ -6,6 +6,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -o ${CMAKE_OBJCOPY} + -i ${ZEPHYR_BASE}/include + -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf ++ -s ${SYSROOT_DIR} + $<$:--verbose> + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) +diff --git a/boards/x86/up_squared/CMakeLists.txt b/boards/x86/up_squared/CMakeLists.txt +index 57eef4eabe..ad90969fa9 100644 +--- a/boards/x86/up_squared/CMakeLists.txt b/boards/x86/up_squared/CMakeLists.txt +@@ -6,6 +6,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -o ${CMAKE_OBJCOPY} + -i ${ZE
[yocto] [meta-zephyr][PATCH 2/3] zephyr-kernel: Drop support for v3.3.0
v3.4.0 is available, now drop support for old version. Signed-off-by: Naveen Saini --- ...ry-generation-issue-in-cross-compila.patch | 93 --- ...c-target.cmake-fix-build-with-gcc-13.patch | 54 ...x-separator-between-directives-on-sa.patch | 44 .../zephyr-kernel/zephyr-kernel-src-3.3.0.inc | 240 -- 4 files changed, 431 deletions(-) delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.3-x86-fix-efi-binary-generation-issue-in-cross-compila.patch delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-gcc-target.cmake-fix-build-with-gcc-13.patch delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0002-3.3-toolchain-gcc-Fix-separator-between-directives-on-sa.patch delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.3.0.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.3-x86-fix-efi-binary-generation-issue-in-cross-compila.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.3-x86-fix-efi-binary-generation-issue-in-cross-compila.patch deleted file mode 100644 index d4e1d09..000 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.3-x86-fix-efi-binary-generation-issue-in-cross-compila.patch +++ /dev/null @@ -1,93 +0,0 @@ -From 60b4dc4214ee645833eff109ff04d4849219fd4e Mon Sep 17 00:00:00 2001 -From: Naveen Saini -Date: Thu, 28 Jul 2022 14:15:11 +0800 -Subject: [PATCH] x86: fix efi binary generation issue in cross compilation env - -Set root directory for headers. - -Upstream-Status: Inappropriate [Cross-compilation specific] - -Signed-off-by: Naveen Saini - arch/x86/zefi/zefi.py| 5 - - boards/x86/ehl_crb/CMakeLists.txt| 1 + - boards/x86/qemu_x86/CMakeLists.txt | 1 + - boards/x86/rpl_crb/CMakeLists.txt| 1 + - boards/x86/up_squared/CMakeLists.txt | 1 + - 5 files changed, 8 insertions(+), 1 deletion(-) - -diff --git a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py -index 99c188ecd0..1cd86a21cd 100755 a/arch/x86/zefi/zefi.py -+++ b/arch/x86/zefi/zefi.py -@@ -109,8 +109,10 @@ def build_elf(elf_file, include_dirs): - includes = [] - for include_dir in include_dirs: - includes.extend(["-I", include_dir]) -+# Pass --sysroot path for cross compilation -+sysrootarg = "--sysroot=" + args.sysroot - cmd = ([args.compiler, "-shared", "-Wall", "-Werror", "-I."] + includes + -- ["-fno-stack-protector", "-fpic", "-mno-red-zone", "-fshort-wchar", -+ ["-fno-stack-protector", "-fpic", "-mno-red-zone", "-fshort-wchar", sysrootarg, - "-Wl,-nostdlib", "-T", ldscript, "-o", "zefi.elf", cfile]) - verbose(" ".join(cmd)) - subprocess.run(cmd, check = True) -@@ -150,6 +152,7 @@ def parse_args(): - parser.add_argument("-v", "--verbose", action="store_true", help="Verbose output") - parser.add_argument("-i", "--includes", required=True, nargs="+", - help="Zephyr base include directories") -+parser.add_argument("-s", "--sysroot", required=True, help="Cross compilation --sysroot=path") - - return parser.parse_args() - -diff --git a/boards/x86/ehl_crb/CMakeLists.txt b/boards/x86/ehl_crb/CMakeLists.txt -index cdf8c9e097..6ea94b54e1 100644 a/boards/x86/ehl_crb/CMakeLists.txt -+++ b/boards/x86/ehl_crb/CMakeLists.txt -@@ -7,6 +7,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands - -i ${ZEPHYR_BASE}/include - $<$:${ZEPHYR_BASE}/include/zephyr> - -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf -+ -s ${SYSROOT_DIR} - $<$:--verbose> - WORKING_DIRECTORY ${PROJECT_BINARY_DIR} - ) -diff --git a/boards/x86/qemu_x86/CMakeLists.txt b/boards/x86/qemu_x86/CMakeLists.txt -index 8d227f8b26..a5d6480bc3 100644 a/boards/x86/qemu_x86/CMakeLists.txt -+++ b/boards/x86/qemu_x86/CMakeLists.txt -@@ -6,6 +6,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands - $<$:${ZEPHYR_BASE}/include/zephyr> - -o ${CMAKE_OBJCOPY} - -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf -+ -s ${SYSROOT_DIR} - $<$:--verbose> - WORKING_DIRECTORY ${PROJECT_BINARY_DIR} - ) -diff --git a/boards/x86/rpl_crb/CMakeLists.txt b/boards/x86/rpl_crb/CMakeLists.txt -index 8bd6e36099..7316f23759 100644 a/boards/x86/rpl_crb/CMakeLists.txt -+++ b/boards/x86/rpl_crb/CMakeLists.txt -@@ -7,6 +7,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands - -i ${ZEPHYR_BASE}/include - $<$:${ZEPHYR_BASE}/include/zephyr> - -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf -+ -s ${SYSROOT_DIR} - $<$:--verbose> - WO
[yocto] [meta-zephyr][PATCH 3/3] zephyr-sdk: Upgrade to version 0.16.1
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.16.1 Signed-off-by: Naveen Saini --- .../{zephyr-sdk_0.15.2.bb => zephyr-sdk_0.16.1.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta-zephyr-core/recipes-devtools/zephyr-sdk/{zephyr-sdk_0.15.2.bb => zephyr-sdk_0.16.1.bb} (77%) diff --git a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.2.bb b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.1.bb similarity index 77% rename from meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.2.bb rename to meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.1.bb index ca3ab8c..f73b92f 100644 --- a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.2.bb +++ b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.16.1.bb @@ -10,12 +10,12 @@ INHIBIT_DEFAULT_DEPS = "1" # CMake is required by the setup script DEPENDS += "cmake" -SDK_ARCHIVE = "zephyr-sdk-${PV}_linux-${BUILD_ARCH}.tar.gz" +SDK_ARCHIVE = "zephyr-sdk-${PV}_linux-${BUILD_ARCH}.tar.xz" SDK_NAME = "${BUILD_ARCH}" SRC_URI = "https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${PV}/${SDK_ARCHIVE};subdir=${S};name=${SDK_NAME}; -SRC_URI[x86_64.sha256sum] = "8e3572fbca9f9ba18a4436c00d680af34a85e239f7fe66c7988da85571a0d23d" -SRC_URI[aarch64.sha256sum] = "0d36e40a81a3aa1b64d65c4c5c6cd381555a33ef1684b7ba98236fa486f176a4" +SRC_URI[x86_64.sha256sum] = "51338d51aa4cea2516641ce0d9dc0b51b763779f00dc4564a2bc0dd713df22c7" +SRC_URI[aarch64.sha256sum] = "062bb2b5c47ca56dd29b7f92dd7f07a5ce22ba513759d2b6960bc658531eb00c" do_configure[noexec] = "1" do_compile[noexec] = "1" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60395): https://lists.yoctoproject.org/g/yocto/message/60395 Mute This Topic: https://lists.yoctoproject.org/mt/99694837/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH] zephyr-kernel-src-3.3.0: fix build with gcc-13
Configuration error: | -- Configuring done (4.9s) | CMake Error in CMakeLists.txt: | Target "zephyr_interface" contains relative path in its | INTERFACE_INCLUDE_DIRECTORIES: | | "include-fixed" With GCC-13, limits.h and syslimits.h header files are always being installed to include folder. https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=be9dd80f933480 Signed-off-by: Naveen Saini --- ...c-target.cmake-fix-build-with-gcc-13.patch | 54 +++ .../zephyr-kernel/zephyr-kernel-src-3.3.0.inc | 1 + 2 files changed, 55 insertions(+) create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-gcc-target.cmake-fix-build-with-gcc-13.patch diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-gcc-target.cmake-fix-build-with-gcc-13.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-gcc-target.cmake-fix-build-with-gcc-13.patch new file mode 100644 index 000..c239f4f --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-gcc-target.cmake-fix-build-with-gcc-13.patch @@ -0,0 +1,54 @@ +From ba1ca46190900b5d003e3d0386c20694f04b1710 Mon Sep 17 00:00:00 2001 +From: Naveen Saini +Date: Mon, 29 May 2023 17:48:20 +0800 +Subject: [PATCH] gcc/target.cmake: fix build with gcc-13 + +Configuration error: +| -- Configuring done (4.9s) +| CMake Error in CMakeLists.txt: +| Target "zephyr_interface" contains relative path in its +| INTERFACE_INCLUDE_DIRECTORIES: +| +| "include-fixed" + +With GCC-13, limits.h and syslimits.h header files +are always being installed to include folder. +https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=be9dd80f933480 + +Upstream-Status: Submitted [https://github.com/zephyrproject-rtos/zephyr/pull/58408] + +Signed-off-by: Naveen Saini +--- + cmake/compiler/gcc/target.cmake | 16 +++- + 1 file changed, 15 insertions(+), 1 deletion(-) + +diff --git a/cmake/compiler/gcc/target.cmake b/cmake/compiler/gcc/target.cmake +index c970048297..e78a7c6a0b 100644 +--- a/cmake/compiler/gcc/target.cmake b/cmake/compiler/gcc/target.cmake +@@ -34,7 +34,21 @@ if(NOT DEFINED NOSYSDEF_CFLAG) + set(NOSYSDEF_CFLAG -undef) + endif() + +-foreach(file_name include/stddef.h include-fixed/limits.h) ++# GCC-13, does not install limits.h on include-fixed anymore ++# https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=be9dd80f933480 ++# Add check for GCC version >= 13.1 ++execute_process( ++COMMAND ${CMAKE_C_COMPILER} -dumpversion ++OUTPUT_VARIABLE TEMP_COMPILER_VERSION ++) ++ ++if(${TEMP_COMPILER_VERSION} VERSION_GREATER_EQUAL 13.1.0) ++set(FIX_HEADER_FILE include/limits.h) ++else() ++set(FIX_HEADER_FILE include-fixed/limits.h) ++endif() ++ ++foreach(file_name include/stddef.h ${FIX_HEADER_FILE}) + execute_process( + COMMAND ${CMAKE_C_COMPILER} --print-file-name=${file_name} + OUTPUT_VARIABLE _OUTPUT +-- +2.34.1 + diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.3.0.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.3.0.inc index 3b0ff08..2c99ca2 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.3.0.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.3.0.inc @@ -117,6 +117,7 @@ SRC_URI_ZEPHYR_THRIFT ?= "git://github.com/zephyrproject-rtos/thrift;protocol=ht SRC_URI_PATCHES ?= "\ file://0001-3.3-x86-fix-efi-binary-generation-issue-in-cross-compila.patch;patchdir=zephyr \ file://0002-3.3-toolchain-gcc-Fix-separator-between-directives-on-sa.patch;patchdir=zephyr \ +file://0001-gcc-target.cmake-fix-build-with-gcc-13.patch;patchdir=zephyr \ " SRC_URI = "\ -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60146): https://lists.yoctoproject.org/g/yocto/message/60146 Mute This Topic: https://lists.yoctoproject.org/mt/99216360/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][master][mickledore][PATCH] zephyr-kernel: Include efi binary generation fix for Raptor Lake too
Extend patch to include efi binary generation issue fix for x86 Raptor Lake board too. Signed-off-by: Naveen Saini --- ...ry-generation-issue-in-cross-compila.patch | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.3-x86-fix-efi-binary-generation-issue-in-cross-compila.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.3-x86-fix-efi-binary-generation-issue-in-cross-compila.patch index 315ed35..d4e1d09 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.3-x86-fix-efi-binary-generation-issue-in-cross-compila.patch +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.3-x86-fix-efi-binary-generation-issue-in-cross-compila.patch @@ -1,4 +1,4 @@ -From bad26e63d47b638fc1c0b268faf5cee9738efc35 Mon Sep 17 00:00:00 2001 +From 60b4dc4214ee645833eff109ff04d4849219fd4e Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Thu, 28 Jul 2022 14:15:11 +0800 Subject: [PATCH] x86: fix efi binary generation issue in cross compilation env @@ -12,11 +12,12 @@ Signed-off-by: Naveen Saini arch/x86/zefi/zefi.py| 5 - boards/x86/ehl_crb/CMakeLists.txt| 1 + boards/x86/qemu_x86/CMakeLists.txt | 1 + + boards/x86/rpl_crb/CMakeLists.txt| 1 + boards/x86/up_squared/CMakeLists.txt | 1 + - 4 files changed, 7 insertions(+), 1 deletion(-) + 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py -index 1e95958bff..b356198aa6 100755 +index 99c188ecd0..1cd86a21cd 100755 --- a/arch/x86/zefi/zefi.py +++ b/arch/x86/zefi/zefi.py @@ -109,8 +109,10 @@ def build_elf(elf_file, include_dirs): @@ -63,6 +64,18 @@ index 8d227f8b26..a5d6480bc3 100644 $<$:--verbose> WORKING_DIRECTORY ${PROJECT_BINARY_DIR} ) +diff --git a/boards/x86/rpl_crb/CMakeLists.txt b/boards/x86/rpl_crb/CMakeLists.txt +index 8bd6e36099..7316f23759 100644 +--- a/boards/x86/rpl_crb/CMakeLists.txt b/boards/x86/rpl_crb/CMakeLists.txt +@@ -7,6 +7,7 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + -i ${ZEPHYR_BASE}/include + $<$:${ZEPHYR_BASE}/include/zephyr> + -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf ++ -s ${SYSROOT_DIR} + $<$:--verbose> + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) diff --git a/boards/x86/up_squared/CMakeLists.txt b/boards/x86/up_squared/CMakeLists.txt index b867282d60..43cd081b21 100644 --- a/boards/x86/up_squared/CMakeLists.txt -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#59958): https://lists.yoctoproject.org/g/yocto/message/59958 Mute This Topic: https://lists.yoctoproject.org/mt/98801333/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH] features: drop RANDOM_TRUST_CPU
This option is no longer present in v6.2-rcx as the following commit removed it: https://github.com/torvalds/linux/commit/b9b01a5625b5a9e9d96d14d4a813a54e8a124f4b Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 - features/random/random.cfg| 2 -- features/random/random.scc| 5 - kern-features.rc | 1 - 4 files changed, 9 deletions(-) delete mode 100644 features/random/random.cfg delete mode 100644 features/random/random.scc diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 59dc6750..33451730 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -85,7 +85,6 @@ include features/input/keyboard-gpio.scc include features/ciphers/ciphers.scc include features/pci-iov/pci-iov.scc include features/intel-tco/intel-tco.scc -include features/random/random.scc # default policy for standard kernels include cfg/usb-mass-storage.scc diff --git a/features/random/random.cfg b/features/random/random.cfg deleted file mode 100644 index bacab3cb.. --- a/features/random/random.cfg +++ /dev/null @@ -1,2 +0,0 @@ -# SPDX-License-Identifier: MIT -CONFIG_RANDOM_TRUST_CPU=y diff --git a/features/random/random.scc b/features/random/random.scc deleted file mode 100644 index 0fd6584c.. --- a/features/random/random.scc +++ /dev/null @@ -1,5 +0,0 @@ -# SPDX-License-Identifier: MIT -define KFEATURE_DESCRIPTION "Trust CPU's random number generator for initializing kernel's CRNG" -define KFEATURE_COMPATIBILITY arch - -kconf hardware random.cfg diff --git a/kern-features.rc b/kern-features.rc index 4a55ed4f..c531c62f 100644 --- a/kern-features.rc +++ b/kern-features.rc @@ -124,7 +124,6 @@ config = features/rpmb/rpmb-sim.scc config = features/rpmb/rpmb-uapi.scc config = features/rpmb/rpmb-base.scc - config = features/random/random.scc config = features/usb/usb-raw-gadget.scc config = features/usb/designware-usb3.scc config = features/usb/usb-gadgets.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12366): https://lists.yoctoproject.org/g/linux-yocto/message/12366 Mute This Topic: https://lists.yoctoproject.org/mt/98193043/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [linux-yocto] [kernel-cache][PATCH 10/11] common-pc: Enable DesignWare PWM & SPI Controller support
> -Original Message- > From: linux-yocto@lists.yoctoproject.org yo...@lists.yoctoproject.org> On Behalf Of Bruce Ashfield > Sent: Thursday, March 9, 2023 5:51 AM > To: Saini, Naveen Kumar > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto] [kernel-cache][PATCH 10/11] common-pc: Enable > DesignWare PWM & SPI Controller support > > In message: [linux-yocto] [kernel-cache][PATCH 10/11] common-pc: Enable > DesignWare PWM & SPI Controller support on 06/03/2023 Naveen Saini > wrote: > > > Signed-off-by: Naveen Saini > > --- > > bsp/common-pc/common-pc-drivers.cfg | 9 + > > 1 file changed, 9 insertions(+) > > > > diff --git a/bsp/common-pc/common-pc-drivers.cfg > > b/bsp/common-pc/common-pc-drivers.cfg > > index 5e2018d6..0d2672bc 100644 > > --- a/bsp/common-pc/common-pc-drivers.cfg > > +++ b/bsp/common-pc/common-pc-drivers.cfg > > @@ -62,3 +62,12 @@ CONFIG_EEPROM_AT24=m > > > > CONFIG_NVME_CORE=y > > CONFIG_BLK_DEV_NVME=y > > + > > +# DesignWare PWM Controller > > +CONFIG_PWM_DWC=m > > + > > +# DesignWare SPI controller core support CONFIG_SPI_DESIGNWARE=m > > +CONFIG_SPI_DW_DMA=y CONFIG_SPI_DW_PCI=m > CONFIG_SPI_DW_MMIO=m > > Out of curiosity, why did these specific drivers get enabled in common-pc- > drivers, versus a named feature that could be included ? Yes, it should be included as named feature. I will do that. > > Bruce > > > -- > > 2.25.1 > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12257): https://lists.yoctoproject.org/g/linux-yocto/message/12257 Mute This Topic: https://lists.yoctoproject.org/mt/97420988/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [linux-yocto] [kernel-cache][PATCH 01/11] features: drop RANDOM_TRUST_CPU
Hi Bruce, Thank you for reviewing. > -Original Message- > From: Bruce Ashfield > Sent: Thursday, March 9, 2023 6:00 AM > To: Saini, Naveen Kumar > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto] [kernel-cache][PATCH 01/11] features: drop > RANDOM_TRUST_CPU > > Hi Naveen, > > I commented directly on one of the patches, and this 1/11 in particular is > clear, but the other patches in the series are a little bit less unclear as > to the > overall goal. > > As Paul mentioned, a 0/N for the series would have helped explain the > motivation. Yes, will make sure I provide that next time. > > I didn't reply directly to the review and thread that started, as everyone had > valid points to make. We have a balance to strike between enablement and > also providing a streamlined base configuration. > > I'm adding the following, so it'll be captured in the archives: > > Generic demo and "works everywhere" configs have their place, and in our > model, they are built up using the kernel features on top of a tuned baseline > configuration. It is easier to add than to remove. So we turn on as little as > possible, then have the kernel types, followed by kernel features triggered > by distro or recipe space coordinated features. > > The baseline machine configurations shouldn't be guessing what the distro or > image needs, and the distro or image shouldn't be undoing things that are > done by the baseline configuration to tune/slim it down. Those baseline > configs need to serve all the kernel types, they are also additive (for the > most part .. tiny is the outlier), not subtractive. > > All that being said, the review and comments are exactly what I like to see. > As we keep in mind that the machine/baseline configuration cannot possibly > be all things to all configurations. Not all users of the kernel-cache have to > adhere to the guidelines we have for the reference boards, kernel types, > etc, but we can certainly try and guide them in that direction, which is the > point of the shared repository of configuration fragments .. and that's what > we are doing here. > > What the intel boards are doing, actually is quite close to what I described > above. These are named features, and are included versus just adding the > configs to a giant .cfg/.scc file. That means that someone doing a new BSP > could decide what type of functionality to build on top of the baseline "it > boots" configuration. Maybe some of the fragments doing most of the > including could be named a bit differently, or be split a bit .. but that is > something we can do as different functionality needs are found on the ends > of the new > -> old board spectrum. > > So my only real question was whether or not we can split the fragments out > of common-pc, into a named fragment. For the ones being added in this series, I guess we can move them to a separate named .scc/.cfg instead of including in intel-common- drivers.scc. We can also create a new config for intel-skylake-64 machine (which enables relatively newer hardware) in meta-intel which can then turn on these features by default. Or, we can just enable the features in .scc via KERNEL_FEATURES in meta-intel so it's easier to disable or override if required. Please let us know what you think. > > That, and I assume this is for master, since you mentioned 6.2. Yes, this is for master/6.2. Thanks, Naveen > > Bruce > > In message: [linux-yocto] [kernel-cache][PATCH 01/11] features: drop > RANDOM_TRUST_CPU on 06/03/2023 Naveen Saini wrote: > > > This option is no longer present in v6.2 as the following commit removed it: > > > https://github.com/torvalds/linux/commit/b9b01a5625b5a9e9d96d14d4a813 > a > > 54e8a124f4b > > > > Signed-off-by: Naveen Saini > > --- > > bsp/intel-common/intel-common-drivers.scc | 1 - > > features/random/random.cfg| 2 -- > > features/random/random.scc| 5 - > > kern-features.rc | 1 - > > 4 files changed, 9 deletions(-) > > delete mode 100644 features/random/random.cfg delete mode 100644 > > features/random/random.scc > > > > diff --git a/bsp/intel-common/intel-common-drivers.scc > > b/bsp/intel-common/intel-common-drivers.scc > > index 59dc6750..33451730 100644 > > --- a/bsp/intel-common/intel-common-drivers.scc > > +++ b/bsp/intel-common/intel-common-drivers.scc > > @@ -85,7 +85,6 @@ include features/input/keyboard-gpio.scc include > > features/ciphers/ciphers.scc include features/pci-iov/pci-iov.scc > > include features/intel-tco/intel-tco.scc -include > > features/random/random.scc > >
Re: [linux-yocto] [kernel-cache][PATCH 08/11] bsp/intel-corei7-64-preempt-rt: Add support for Time-Sensitive Network
> -Original Message- > From: linux-yocto@lists.yoctoproject.org yo...@lists.yoctoproject.org> On Behalf Of Paul Gortmaker > Sent: Tuesday, March 7, 2023 12:20 AM > To: Saini, Naveen Kumar > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto] [kernel-cache][PATCH 08/11] bsp/intel-corei7-64- > preempt-rt: Add support for Time-Sensitive Network > > [[linux-yocto] [kernel-cache][PATCH 08/11] bsp/intel-corei7-64-preempt-rt: > Add support for Time-Sensitive Network] On 06/03/2023 (Mon 16:52) > Naveen Saini via lists.yoctoproject.org wrote: > > > Signed-off-by: Naveen Saini > > --- > > bsp/intel-common/intel-corei7-64-preempt-rt.scc | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/bsp/intel-common/intel-corei7-64-preempt-rt.scc > > b/bsp/intel-common/intel-corei7-64-preempt-rt.scc > > index 8ec001cb..9ce0b97a 100644 > > --- a/bsp/intel-common/intel-corei7-64-preempt-rt.scc > > +++ b/bsp/intel-common/intel-corei7-64-preempt-rt.scc > > @@ -11,3 +11,6 @@ include ktypes/preempt-rt/preempt-rt.scc include > > intel-common-drivers.scc include intel-developer-drivers.scc include > > intel-corei7-64.scc > > + > > +# Time-Sensitive Network > > +include features/tsn/tsn.scc > > There is at least a decade worth of i7 CPU out there that don't have TSN > support, IIRC. > > I can't help but think that this, and a lot of the other options you've > enabled > in this series are aimed at the latest and greatest, but will just add bloat > to a > lot of other lower end (and older) x86-64 platforms. > Especially anything that lands in intel-common/intel-common-drivers.scc Thank you for reviewing. Yes, the goal was to enable newer features for more recent platforms from last 2-3 years so meta-intel kernel with MACHINE values works without having to add all these to KERNEL_FEATURES while building. > > I can't really tell what the goal was, since your series didn't have the > typical > "[0/11] intel: add options for " explanation preamble. > > But it seems like perhaps maybe it is time to create a new file under the > bsp/intel-common dir that reflects a certain board or family of products that > have these features -- vs. being confined to the existing categorization > dictated by existing files? That can be done. Are you suggesting that we add a MACHINE specific new file here and enable these newer features in that file (like Wind River does it using bsp/intel-x86?). But, even then won't we always have this problem whenever we have a set of new features that need to be enabled? All these configuration fragments are being enabled in intel-x86/ config as well and will be enabled in the new file we add so it just seems like a lot of work will be duplicated to avoid having to create a new baseline/common set of configs ... What if we create a intel- common/intel-common-drivers-extra.scc which enables these configs so intel-common-drivers.scc can continue to have a base set? > > Maybe you can describe what your end goal was, and we can go from there. > > Paul. > -- > > > -- > > 2.25.1 > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12228): https://lists.yoctoproject.org/g/linux-yocto/message/12228 Mute This Topic: https://lists.yoctoproject.org/mt/97420986/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 11/11] bsp/intel-common: Enable Intel IOMMU & Intel Data Accelerators support
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 843bf2f8..3d7ca715 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -89,6 +89,9 @@ include features/pci-iov/pci-iov.scc include features/intel-tco/intel-tco.scc include features/thunderbolt/thunderbolt.scc include features/intel-dptf/intel-dptf.scc +include features/iommu/iommu.scc +include features/intel-idxd/intel-idxd.scc + # default policy for standard kernels include cfg/usb-mass-storage.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12225): https://lists.yoctoproject.org/g/linux-yocto/message/12225 Mute This Topic: https://lists.yoctoproject.org/mt/97420989/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 08/11] bsp/intel-corei7-64-preempt-rt: Add support for Time-Sensitive Network
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-corei7-64-preempt-rt.scc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsp/intel-common/intel-corei7-64-preempt-rt.scc b/bsp/intel-common/intel-corei7-64-preempt-rt.scc index 8ec001cb..9ce0b97a 100644 --- a/bsp/intel-common/intel-corei7-64-preempt-rt.scc +++ b/bsp/intel-common/intel-corei7-64-preempt-rt.scc @@ -11,3 +11,6 @@ include ktypes/preempt-rt/preempt-rt.scc include intel-common-drivers.scc include intel-developer-drivers.scc include intel-corei7-64.scc + +# Time-Sensitive Network +include features/tsn/tsn.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1): https://lists.yoctoproject.org/g/linux-yocto/message/1 Mute This Topic: https://lists.yoctoproject.org/mt/97420986/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 07/11] bsp/intel-common-drivers: Add i3c drivers
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 3712be93..843bf2f8 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -77,6 +77,7 @@ include features/leds/leds.scc include features/pwm/intel_pwm.scc include features/spi/spidev.scc include features/i2c/i2c-ismt.scc +include features/i3c/i3c.scc # Miscellaneous include cfg/dmaengine.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12220): https://lists.yoctoproject.org/g/linux-yocto/message/12220 Mute This Topic: https://lists.yoctoproject.org/mt/97420984/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 10/11] common-pc: Enable DesignWare PWM & SPI Controller support
Signed-off-by: Naveen Saini --- bsp/common-pc/common-pc-drivers.cfg | 9 + 1 file changed, 9 insertions(+) diff --git a/bsp/common-pc/common-pc-drivers.cfg b/bsp/common-pc/common-pc-drivers.cfg index 5e2018d6..0d2672bc 100644 --- a/bsp/common-pc/common-pc-drivers.cfg +++ b/bsp/common-pc/common-pc-drivers.cfg @@ -62,3 +62,12 @@ CONFIG_EEPROM_AT24=m CONFIG_NVME_CORE=y CONFIG_BLK_DEV_NVME=y + +# DesignWare PWM Controller +CONFIG_PWM_DWC=m + +# DesignWare SPI controller core support +CONFIG_SPI_DESIGNWARE=m +CONFIG_SPI_DW_DMA=y +CONFIG_SPI_DW_PCI=m +CONFIG_SPI_DW_MMIO=m -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12224): https://lists.yoctoproject.org/g/linux-yocto/message/12224 Mute This Topic: https://lists.yoctoproject.org/mt/97420988/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 09/11] sound.cfg: Add support for SoundWire generic machine driver
Signed-off-by: Naveen Saini --- cfg/sound.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/cfg/sound.cfg b/cfg/sound.cfg index 3e11e940..e3f4f4f4 100644 --- a/cfg/sound.cfg +++ b/cfg/sound.cfg @@ -58,6 +58,7 @@ CONFIG_SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH=m CONFIG_SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH=m CONFIG_SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH=m CONFIG_SND_SOC_INTEL_SKYLAKE=m +CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m CONFIG_SND_SOC_AC97_CODEC=m CONFIG_SND_SOC_AK4104=m CONFIG_SND_SOC_AK4554=m -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12223): https://lists.yoctoproject.org/g/linux-yocto/message/12223 Mute This Topic: https://lists.yoctoproject.org/mt/97420987/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 03/11] bsp/intel-common-drivers: Include features/thunderbolt
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 33451730..48b09cd8 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -85,6 +85,7 @@ include features/input/keyboard-gpio.scc include features/ciphers/ciphers.scc include features/pci-iov/pci-iov.scc include features/intel-tco/intel-tco.scc +include features/thunderbolt/thunderbolt.scc # default policy for standard kernels include cfg/usb-mass-storage.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12221): https://lists.yoctoproject.org/g/linux-yocto/message/12221 Mute This Topic: https://lists.yoctoproject.org/mt/97420985/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 04/11] bsp/intel-common-drivers: Add ice support
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 48b09cd8..5cef739a 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -43,6 +43,7 @@ include features/iwlwifi/iwlwifi.scc include features/iwlegacy/iwlegacy.scc include features/i40e/i40e.scc include features/igc/igc.scc +include features/ice/ice.scc # Various RF/Wireless technologies include features/nfc/nfc.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12217): https://lists.yoctoproject.org/g/linux-yocto/message/12217 Mute This Topic: https://lists.yoctoproject.org/mt/97420981/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 01/11] features: drop RANDOM_TRUST_CPU
This option is no longer present in v6.2 as the following commit removed it: https://github.com/torvalds/linux/commit/b9b01a5625b5a9e9d96d14d4a813a54e8a124f4b Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 - features/random/random.cfg| 2 -- features/random/random.scc| 5 - kern-features.rc | 1 - 4 files changed, 9 deletions(-) delete mode 100644 features/random/random.cfg delete mode 100644 features/random/random.scc diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 59dc6750..33451730 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -85,7 +85,6 @@ include features/input/keyboard-gpio.scc include features/ciphers/ciphers.scc include features/pci-iov/pci-iov.scc include features/intel-tco/intel-tco.scc -include features/random/random.scc # default policy for standard kernels include cfg/usb-mass-storage.scc diff --git a/features/random/random.cfg b/features/random/random.cfg deleted file mode 100644 index bacab3cb.. --- a/features/random/random.cfg +++ /dev/null @@ -1,2 +0,0 @@ -# SPDX-License-Identifier: MIT -CONFIG_RANDOM_TRUST_CPU=y diff --git a/features/random/random.scc b/features/random/random.scc deleted file mode 100644 index 0fd6584c.. --- a/features/random/random.scc +++ /dev/null @@ -1,5 +0,0 @@ -# SPDX-License-Identifier: MIT -define KFEATURE_DESCRIPTION "Trust CPU's random number generator for initializing kernel's CRNG" -define KFEATURE_COMPATIBILITY arch - -kconf hardware random.cfg diff --git a/kern-features.rc b/kern-features.rc index 4a55ed4f..c531c62f 100644 --- a/kern-features.rc +++ b/kern-features.rc @@ -124,7 +124,6 @@ config = features/rpmb/rpmb-sim.scc config = features/rpmb/rpmb-uapi.scc config = features/rpmb/rpmb-base.scc - config = features/random/random.scc config = features/usb/usb-raw-gadget.scc config = features/usb/designware-usb3.scc config = features/usb/usb-gadgets.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12215): https://lists.yoctoproject.org/g/linux-yocto/message/12215 Mute This Topic: https://lists.yoctoproject.org/mt/97420978/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 02/11] bsp/intel-corei7-64: add Intel VMD support
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-corei7-64.scc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsp/intel-common/intel-corei7-64.scc b/bsp/intel-common/intel-corei7-64.scc index ad9122c1..a4778120 100644 --- a/bsp/intel-common/intel-corei7-64.scc +++ b/bsp/intel-common/intel-corei7-64.scc @@ -25,6 +25,9 @@ include features/x2apic/x2apic.scc # CONFIG_INTEL_SPEED_SELECT_INTERFACE is 64-bit only include features/intel-sst/intel-sst.scc +# Intel VMD +include features/intel-vmd/intel-vmd.scc + # This line comes last as it has the final word on # CONFIG values. kconf hardware intel-corei7-64.cfg -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12216): https://lists.yoctoproject.org/g/linux-yocto/message/12216 Mute This Topic: https://lists.yoctoproject.org/mt/97420980/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 06/11] bsp/intel-common-drivers: include support for Dynamic Platform and Thermal Framework
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-common-drivers.scc | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index 5cef739a..3712be93 100644 --- a/bsp/intel-common/intel-common-drivers.scc +++ b/bsp/intel-common/intel-common-drivers.scc @@ -87,6 +87,7 @@ include features/ciphers/ciphers.scc include features/pci-iov/pci-iov.scc include features/intel-tco/intel-tco.scc include features/thunderbolt/thunderbolt.scc +include features/intel-dptf/intel-dptf.scc # default policy for standard kernels include cfg/usb-mass-storage.scc -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12219): https://lists.yoctoproject.org/g/linux-yocto/message/12219 Mute This Topic: https://lists.yoctoproject.org/mt/97420983/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][PATCH 05/11] bsp/intel-corei7-64: Enable Intel Uncore frequency control
Signed-off-by: Naveen Saini --- bsp/intel-common/intel-corei7-64.scc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsp/intel-common/intel-corei7-64.scc b/bsp/intel-common/intel-corei7-64.scc index a4778120..41f02689 100644 --- a/bsp/intel-common/intel-corei7-64.scc +++ b/bsp/intel-common/intel-corei7-64.scc @@ -28,6 +28,9 @@ include features/intel-sst/intel-sst.scc # Intel VMD include features/intel-vmd/intel-vmd.scc +# Intel Uncore frequency control +include features/intel-uncore-frequency/intel-uncore-frequency.scc + # This line comes last as it has the final word on # CONFIG values. kconf hardware intel-corei7-64.cfg -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12218): https://lists.yoctoproject.org/g/linux-yocto/message/12218 Mute This Topic: https://lists.yoctoproject.org/mt/97420982/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH] layer.conf: update LAYERSERIES_COMPAT for mickledore
oe-core switched to mickedore in: https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f Drop support for old releases. Signed-off-by: Naveen Saini --- meta-zephyr-bsp/conf/layer.conf | 4 +--- meta-zephyr-bsp/conf/machine/include/tune-corei7-common.inc | 4 ++-- meta-zephyr-bsp/conf/machine/qemu-x86.conf | 2 +- meta-zephyr-core/conf/layer.conf| 4 +--- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/meta-zephyr-bsp/conf/layer.conf b/meta-zephyr-bsp/conf/layer.conf index cbbaafe..d809926 100644 --- a/meta-zephyr-bsp/conf/layer.conf +++ b/meta-zephyr-bsp/conf/layer.conf @@ -15,6 +15,4 @@ LAYERVERSION_zephyrbsp = "1" LAYERDEPENDS_zephyrbsp = "zephyrcore core meta-python" -LAYERSERIES_COMPAT_zephyrbsp = "dunfell gatesgarth hardknott honister kirkstone langdale" - -X86_TUNE_DIR = "${@bb.utils.contains_any('LAYERSERIES_CORENAMES', 'honister kirkstone langdale', 'include/x86', 'include', d)}" +LAYERSERIES_COMPAT_zephyrbsp = "kirkstone langdale mickledore" diff --git a/meta-zephyr-bsp/conf/machine/include/tune-corei7-common.inc b/meta-zephyr-bsp/conf/machine/include/tune-corei7-common.inc index b68fc05..6975c50 100644 --- a/meta-zephyr-bsp/conf/machine/include/tune-corei7-common.inc +++ b/meta-zephyr-bsp/conf/machine/include/tune-corei7-common.inc @@ -1,6 +1,6 @@ DEFAULTTUNE ?= "corei7-64" -require conf/machine/${X86_TUNE_DIR}/tune-corei7.inc -require conf/machine/${X86_TUNE_DIR}/x86-base.inc +require conf/machine/include/x86/tune-corei7.inc +require conf/machine/include/x86/x86-base.inc # Add x86 to MACHINEOVERRIDE MACHINEOVERRIDES =. "x86:" diff --git a/meta-zephyr-bsp/conf/machine/qemu-x86.conf b/meta-zephyr-bsp/conf/machine/qemu-x86.conf index 0333d7c..d21de35 100644 --- a/meta-zephyr-bsp/conf/machine/qemu-x86.conf +++ b/meta-zephyr-bsp/conf/machine/qemu-x86.conf @@ -3,7 +3,7 @@ #@DESCRIPTION: Machine for Zephyr BOARD qemu_x86 require conf/machine/include/qemu.inc -require conf/machine/${X86_TUNE_DIR}/tune-i586.inc +require conf/machine/include/x86/tune-i586.inc ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot" diff --git a/meta-zephyr-core/conf/layer.conf b/meta-zephyr-core/conf/layer.conf index 2b1c821..fdff4f6 100644 --- a/meta-zephyr-core/conf/layer.conf +++ b/meta-zephyr-core/conf/layer.conf @@ -15,9 +15,7 @@ LAYERVERSION_zephyrcore = "1" LAYERDEPENDS_zephyrcore = "core meta-python" -LAYERSERIES_COMPAT_zephyrcore = "dunfell gatesgarth hardknott honister kirkstone langdale" - -X86_TUNE_DIR = "${@bb.utils.contains_any('LAYERSERIES_CORENAMES', 'honister kirkstone langdale', 'include/x86', 'include', d)}" +LAYERSERIES_COMPAT_zephyrcore = "kirkstone langdale mickledore" PYTHON3_NATIVE_SITEPACKAGES_DIR = "${libdir_native}/${PYTHON3_DIR}/site-packages" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58921): https://lists.yoctoproject.org/g/yocto/message/58921 Mute This Topic: https://lists.yoctoproject.org/mt/96044744/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][master][langdale][PATCH] zephyr-kernel/3.1: update to latest commit
Recent commits have CVE-2022-2741 fixed. Also backported CVE-2022-2993 fix. Signed-off-by: Naveen Saini --- ...ix-SMP-local-keys-check-when-startin.patch | 51 +++ .../zephyr-kernel/zephyr-kernel-src-3.1.0.inc | 3 +- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-Bluetooth-host-Fix-SMP-local-keys-check-when-startin.patch diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-Bluetooth-host-Fix-SMP-local-keys-check-when-startin.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-Bluetooth-host-Fix-SMP-local-keys-check-when-startin.patch new file mode 100644 index 000..68650c3 --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-Bluetooth-host-Fix-SMP-local-keys-check-when-startin.patch @@ -0,0 +1,51 @@ +From 74d26b70f080a5dc60c6a1aa2bfec38043ee30d4 Mon Sep 17 00:00:00 2001 +From: Joakim Andersson +Date: Fri, 5 Aug 2022 10:50:47 +0200 +Subject: [PATCH] Bluetooth: host: Fix SMP local keys check when starting + encryption + +Fix SMP check of existing local keys when attempting to start security +with required security mode 1 level 4. The logic for checking the +conditions was wrong, leading to a situation where encryption would be +attempted to be started by the central instead of initiating a new +pairing procedure. This would fail when the connection was encrypted and +the connection would be disconnected. + +Upstream-Status: Backport [https://github.com/zephyrproject-rtos/zephyr/commit/83d5402fe830973f943bde085d80f0d3643e811a] +https://github.com/zephyrproject-rtos/zephyr/pull/52947/files +CVE: CVE-2022-2993 + +Signed-off-by: Joakim Andersson +Signed-off-by: Naveen Saini +--- + subsys/bluetooth/host/smp.c | 10 +- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/subsys/bluetooth/host/smp.c b/subsys/bluetooth/host/smp.c +index 02a847f97d..555f09fefd 100644 +--- a/subsys/bluetooth/host/smp.c b/subsys/bluetooth/host/smp.c +@@ -357,15 +357,15 @@ static bool smp_keys_check(struct bt_conn *conn) + return false; + } + +- if (conn->required_sec_level > BT_SECURITY_L2 && ++ if (conn->required_sec_level >= BT_SECURITY_L3 && + !(conn->le.keys->flags & BT_KEYS_AUTHENTICATED)) { + return false; + } + +- if (conn->required_sec_level > BT_SECURITY_L3 && +- !(conn->le.keys->flags & BT_KEYS_AUTHENTICATED) && +- !(conn->le.keys->keys & BT_KEYS_LTK_P256) && +- !(conn->le.keys->enc_size == BT_SMP_MAX_ENC_KEY_SIZE)) { ++ if (conn->required_sec_level >= BT_SECURITY_L4 && ++ !((conn->le.keys->flags & BT_KEYS_AUTHENTICATED) && ++(conn->le.keys->keys & BT_KEYS_LTK_P256) && ++(conn->le.keys->enc_size == BT_SMP_MAX_ENC_KEY_SIZE))) { + return false; + } + +-- +2.25.1 + diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0.inc index 68016e4..b3feb6a 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0.inc @@ -2,7 +2,7 @@ SRCREV_FORMAT = "default" -SRCREV_default = "2ddd73feafd3316af2c547c34d6969bea637d5c6" +SRCREV_default = "a7d946331f4f9361d1531984524dd8f151ae20b0" SRCREV_canopennode = "53d3415c14d60f8f4bfca54bfbc5d5a667d7e724" SRCREV_chre = "0edfe2c2ec656afb910cfab8ed59a5ffd59b87c8" SRCREV_civetweb = "094aeb41bb93e9199d24d665ee43e9e05d6d7b1c" @@ -109,6 +109,7 @@ SRC_URI_ZSCILIB ?= "git://github.com/zephyrproject-rtos/zscilib;protocol=https" SRC_URI_PATCHES ?= "\ file://0001-3.1-cmake-add-yocto-toolchain.patch;patchdir=zephyr \ file://0001-3.1-x86-fix-efi-binary-generation-issue-in-cross-compila.patch;patchdir=zephyr \ + file://0001-3.1-Bluetooth-host-Fix-SMP-local-keys-check-when-startin.patch;patchdir=zephyr \ " SRC_URI = "\ -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58839): https://lists.yoctoproject.org/g/yocto/message/58839 Mute This Topic: https://lists.yoctoproject.org/mt/95782023/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][master][yocto-5.19][yocto-5.15][PATCH v2] qat: fix CONFIG_CRYPTO_CCM mismatch warnings
[NOTE]: 'CONFIG_CRYPTO_CCM' last val (m) and .config val (y) do not match [INFO]: raw config text: config CRYPTO_CCM tristate "CCM support" select CRYPTO_CTR select CRYPTO_HASH select CRYPTO_AEAD select CRYPTO_MANAGER depends on CRYPTO help Support for Counter with CBC MAC. Required for IPsec. Config 'CRYPTO_CCM' has the following Direct dependencies (CRYPTO_CCM=y): CRYPTO(=y) Parent dependencies are: CRYPTO [y] [INFO]: selection details for 'CONFIG_CRYPTO_CCM': Symbols currently y-selecting this symbol: - CIFS Symbols currently m-selecting this symbol: - MAC80211 Symbols currently n-selecting this symbol (no effect): - MAC802154 - LIB80211_CRYPT_CCMP - RTL8192U - RTLLIB_CRYPTO_CCMP - SMB_SERVER - CRYPTO_DEV_PPC4XX - CRYPTO_DEV_NX_ENCRYPT [NOTE]: 'CONFIG_CRYPTO_GCM' last val (m) and .config val (y) do not match [INFO]: raw config text: config CRYPTO_GCM tristate "GCM/GMAC support" select CRYPTO_CTR select CRYPTO_AEAD select CRYPTO_GHASH select CRYPTO_NULL select CRYPTO_MANAGER depends on CRYPTO help Support for Galois/Counter Mode (GCM) and Galois Message Authentication Code (GMAC). Required for IPSec. Config 'CRYPTO_GCM' has the following Direct dependencies (CRYPTO_GCM=y): CRYPTO(=y) Parent dependencies are: CRYPTO [y] [INFO]: selection details for 'CONFIG_CRYPTO_GCM': Symbols currently y-selecting this symbol: - XFRM_ESP - CIFS Symbols currently m-selecting this symbol: - TIPC_CRYPTO - MAC80211 Symbols currently n-selecting this symbol (no effect): - TLS - CEPH_LIB - MACSEC - SMB_SERVER - CRYPTO_DEV_PPC4XX Signed-off-by: Naveen Saini --- features/qat/y_or_m_enabled.cfg | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 features/qat/y_or_m_enabled.cfg diff --git a/features/qat/y_or_m_enabled.cfg b/features/qat/y_or_m_enabled.cfg new file mode 100644 index ..357efc5a --- /dev/null +++ b/features/qat/y_or_m_enabled.cfg @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: MIT +CONFIG_CRYPTO_CCM +CONFIG_CRYPTO_GCM -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11905): https://lists.yoctoproject.org/g/linux-yocto/message/11905 Mute This Topic: https://lists.yoctoproject.org/mt/95084034/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][master][yocto-5.19][PATCH] security.cfg: remove configs which have been dropped
[INFO]: the following symbols were not found in the active configuration: - CONFIG_HARDENED_USERCOPY_FALLBACK - CONFIG_LEGACY_VSYSCALL_EMULATE Ref: https://github.com/torvalds/linux/commit/bf00745e7791fe2ba7941aeead8528075a158bbe https://github.com/torvalds/linux/commit/53944f171a89dff4e2a3d76f42e6eedb551bb861 Signed-off-by: Naveen Saini --- features/security/security-x86_64.cfg | 1 - features/security/security.cfg| 1 - 2 files changed, 2 deletions(-) diff --git a/features/security/security-x86_64.cfg b/features/security/security-x86_64.cfg index 0f5c3621..1c12034a 100644 --- a/features/security/security-x86_64.cfg +++ b/features/security/security-x86_64.cfg @@ -1,4 +1,3 @@ # SPDX-License-Identifier: MIT # Modern libc no longer needs a fixed-position mapping in userspace, remove it as a possible target. -CONFIG_LEGACY_VSYSCALL_EMULATE=n CONFIG_LEGACY_VSYSCALL_NONE=y diff --git a/features/security/security.cfg b/features/security/security.cfg index 686c8c8d..54b4789c 100644 --- a/features/security/security.cfg +++ b/features/security/security.cfg @@ -1,7 +1,6 @@ # SPDX-License-Identifier: MIT # Protect against ioctl buffer overflows CONFIG_HARDENED_USERCOPY=y -CONFIG_HARDENED_USERCOPY_FALLBACK=n # Check for memory copies that might overflow a structure in str*() and mem*() # functions both at build-time and run-time -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11889): https://lists.yoctoproject.org/g/linux-yocto/message/11889 Mute This Topic: https://lists.yoctoproject.org/mt/95037853/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][master][yocto-5.19][yocto-5.15][PATCH] qat: fix CONFIG_CRYPTO_CCM mismatch warnings
[NOTE]: 'CONFIG_CRYPTO_CCM' last val (m) and .config val (y) do not match [INFO]: raw config text: config CRYPTO_CCM tristate "CCM support" select CRYPTO_CTR select CRYPTO_HASH select CRYPTO_AEAD select CRYPTO_MANAGER depends on CRYPTO help Support for Counter with CBC MAC. Required for IPsec. Config 'CRYPTO_CCM' has the following Direct dependencies (CRYPTO_CCM=y): CRYPTO(=y) Parent dependencies are: CRYPTO [y] [INFO]: selection details for 'CONFIG_CRYPTO_CCM': Symbols currently y-selecting this symbol: - CIFS Symbols currently m-selecting this symbol: - MAC80211 Symbols currently n-selecting this symbol (no effect): - MAC802154 - LIB80211_CRYPT_CCMP - RTL8192U - RTLLIB_CRYPTO_CCMP - SMB_SERVER - CRYPTO_DEV_PPC4XX - CRYPTO_DEV_NX_ENCRYPT [NOTE]: 'CONFIG_CRYPTO_GCM' last val (m) and .config val (y) do not match [INFO]: raw config text: config CRYPTO_GCM tristate "GCM/GMAC support" select CRYPTO_CTR select CRYPTO_AEAD select CRYPTO_GHASH select CRYPTO_NULL select CRYPTO_MANAGER depends on CRYPTO help Support for Galois/Counter Mode (GCM) and Galois Message Authentication Code (GMAC). Required for IPSec. Config 'CRYPTO_GCM' has the following Direct dependencies (CRYPTO_GCM=y): CRYPTO(=y) Parent dependencies are: CRYPTO [y] [INFO]: selection details for 'CONFIG_CRYPTO_GCM': Symbols currently y-selecting this symbol: - XFRM_ESP - CIFS Symbols currently m-selecting this symbol: - TIPC_CRYPTO - MAC80211 Symbols currently n-selecting this symbol (no effect): - TLS - CEPH_LIB - MACSEC - SMB_SERVER - CRYPTO_DEV_PPC4XX Signed-off-by: Naveen Saini --- features/qat/qat.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/qat/qat.cfg b/features/qat/qat.cfg index 2dc36225..63730abe 100644 --- a/features/qat/qat.cfg +++ b/features/qat/qat.cfg @@ -3,8 +3,8 @@ CONFIG_PREEMPT=n CONFIG_PREEMPT_VOLUNTARY=y CONFIG_CRYPTO_CTR=y -CONFIG_CRYPTO_CCM=m -CONFIG_CRYPTO_GCM=m +CONFIG_CRYPTO_CCM=y +CONFIG_CRYPTO_GCM=y CONFIG_CRYPTO_XCBC=m CONFIG_CRYPTO_VMAC=m CONFIG_CRYPTO_CTS=m -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11874): https://lists.yoctoproject.org/g/linux-yocto/message/11874 Mute This Topic: https://lists.yoctoproject.org/mt/94955051/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-zephyr][PATCH] zephyr-sdk: upgrade 0.14.2 -> 0.15.1
Hi Mason > -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of Jon Mason > Sent: Thursday, October 27, 2022 2:14 AM > To: Saini, Naveen Kumar > Cc: yocto@lists.yoctoproject.org > Subject: Re: [yocto] [meta-zephyr][PATCH] zephyr-sdk: upgrade 0.14.2 -> > 0.15.1 > > I added this and rebased it to be before the update to v3.2.0. The issues > with > the versioning are now gone, but the following issues > remain: > > "BUILD_ASSERT(IS_ENABLED(_RETARGETABLE_LOCKING), "Retargetable > locking must be enabled");" > for > zephyr-coap-client > https://gitlab.com/jonmason00/meta-zephyr/-/jobs/3231258971 > > zephyr-coap-server > https://gitlab.com/jonmason00/meta-zephyr/-/jobs/3231258983 > https://gitlab.com/jonmason00/meta-zephyr/-/jobs/3231258987 > > zephyr-openthread-echo-client > https://gitlab.com/jonmason00/meta-zephyr/-/jobs/3231258972 [Naveen] I already sent patch to fix this issue. > > > > "region `SRAM' overflowed by 1104 bytes" > for > zephyr-philosophers > https://gitlab.com/jonmason00/meta-zephyr/-/jobs/3231259005 > https://gitlab.com/jonmason00/meta-zephyr/-/jobs/3231259002 [Naveen] As per my understanding available ram for qemu-cortex-m0 is only 16K, not sufficient for sample philosophers. So I think you should remove it for qemu-cortex-m0 machine. >From build logs: SRAM (wx) : ORIGIN = 0x2000, LENGTH = (16 * 1K) And also listed in yaml too https://github.com/zephyrproject-rtos/zephyr/blob/v3.2-branch/boards/arm/qemu_cortex_m0/qemu_cortex_m0.yaml#L10 I case see many tests and samples are being filter out based on 'min_ram' https://github.com/zephyrproject-rtos/zephyr/blob/v3.2-branch/samples/net/sockets/http_client/sample.yaml#L3 > > > Thanks, > Jon > > > On Wed, Oct 26, 2022 at 01:29:45PM +0800, Naveen Saini wrote: > > https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.15.1 > > > > Signed-off-by: Naveen Saini > > --- > > .../zephyr-sdk/{zephyr-sdk_0.14.2.bb => zephyr-sdk_0.15.1.bb} | 4 > > ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) rename > > meta-zephyr-core/recipes-devtools/zephyr-sdk/{zephyr-sdk_0.14.2.bb => > > zephyr-sdk_0.15.1.bb} (83%) > > > > diff --git > > a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.14.2.bb > > b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.1.bb > > similarity index 83% > > rename from > > meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.14.2.bb > > rename to > > meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.1.bb > > index c893652..f5a9466 100644 > > --- > > a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.14.2.bb > > +++ b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr- > sdk_0.15.1.b > > +++ b > > @@ -14,8 +14,8 @@ SDK_ARCHIVE = "zephyr-sdk-${PV}_linux- > ${BUILD_ARCH}.tar.gz" > > SDK_NAME = "${BUILD_ARCH}" > > SRC_URI = "https://github.com/zephyrproject-rtos/sdk- > ng/releases/download/v${PV}/${SDK_ARCHIVE};subdir=${S};name=${SDK_N > AME}" > > > > -SRC_URI[x86_64.sha256sum] = > "2ff0e4d79bffe1468247a3e1958aa9183a0252225ab721cf1c37188bd4b649a2" > > -SRC_URI[aarch64.sha256sum] = > "cbb616a50e940388ea737788d48dcea3624a85bb3ee04d9aae105496a21ae75e > " > > +SRC_URI[x86_64.sha256sum] = > "0a7406045102197b9edc759b242499941814a1c6df29dd9fbd479ad50eb0fba9" > > +SRC_URI[aarch64.sha256sum] = > "d2c5de994376a287e8bf12e5776ab8f5105eafa14826608df085142fd01b7f84" > > > > do_configure[noexec] = "1" > > do_compile[noexec] = "1" > > -- > > 2.25.1 > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58535): https://lists.yoctoproject.org/g/yocto/message/58535 Mute This Topic: https://lists.yoctoproject.org/mt/94575811/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH v2 5/5] newlib: add bbappend
Build newlib library to be thread-safe in multithreaded environment. https://github.com/zephyrproject-rtos/zephyr/pull/21518 https://github.com/zephyrproject-rtos/zephyr/issues/21519 https://github.com/zephyrproject-rtos/zephyr/pull/36201 https://sourceware.org/legacy-ml/newlib/2016/msg01165.html https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;h=bd54749095ee45d7136b6e7c8a1e5218749c87b6 Error log: newlib/libc-hooks.c:310:1: note: in expansion of macro 'BUILD_ASSERT' BUILD_ASSERT(IS_ENABLED(_RETARGETABLE_LOCKING), "Retargetable locking must be enabled"); Signed-off-by: Naveen Saini --- meta-zephyr-core/recipes-core/newlib/newlib_%.bbappend | 5 + 1 file changed, 5 insertions(+) create mode 100644 meta-zephyr-core/recipes-core/newlib/newlib_%.bbappend diff --git a/meta-zephyr-core/recipes-core/newlib/newlib_%.bbappend b/meta-zephyr-core/recipes-core/newlib/newlib_%.bbappend new file mode 100644 index 000..1a20b06 --- /dev/null +++ b/meta-zephyr-core/recipes-core/newlib/newlib_%.bbappend @@ -0,0 +1,5 @@ +# BUILD_ASSERT(IS_ENABLED(_RETARGETABLE_LOCKING), "Retargetable locking must be enabled"); + +EXTRA_OECONF:append = " \ +--enable-newlib-retargetable-locking \ +" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58534): https://lists.yoctoproject.org/g/yocto/message/58534 Mute This Topic: https://lists.yoctoproject.org/mt/94931310/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH v2 4/5] arc: drop obsolete recipes and bbappends
Remove recipes and bbappends which are not being used. Signed-off-by: Naveen Saini --- .../classes/siteinfo-zephyr.bbclass | 14 --- .../recipes-core/newlib/newlib_%.bbappend | 22 - .../binutils/binutils-2.26arc.inc | 37 .../binutils-cross-canadian_2.26arc.bb| 7 -- .../binutils/binutils-cross_2.26arc.bb| 8 -- ...e54244cd02bdcf4f1057be3ce96631f35ac3.patch | 83 -- .../recipes-devtools-arc/gcc/gcc-6.x.arc.inc | 85 --- .../gcc/gcc-cross-canadian_6.x.arc.bb | 8 -- .../gcc/gcc-cross_6.x.arc .bb | 11 --- .../gcc/gcc-source_6.x.arc.bb | 2 - .../gcc/libgcc_6.x.arc.bb | 14 --- .../gcc/gcc-cross_6.%.bbappend| 1 - .../recipes-devtools/gcc/libgcc_6.%.bbappend | 3 - 13 files changed, 295 deletions(-) delete mode 100644 meta-zephyr-core/recipes-core/newlib/newlib_%.bbappend delete mode 100644 meta-zephyr-core/recipes-devtools-arc/binutils/binutils-2.26arc.inc delete mode 100644 meta-zephyr-core/recipes-devtools-arc/binutils/binutils-cross-canadian_2.26arc.bb delete mode 100644 meta-zephyr-core/recipes-devtools-arc/binutils/binutils-cross_2.26arc.bb delete mode 100644 meta-zephyr-core/recipes-devtools-arc/gcc/files/cbd8e54244cd02bdcf4f1057be3ce96631f35ac3.patch delete mode 100644 meta-zephyr-core/recipes-devtools-arc/gcc/gcc-6.x.arc.inc delete mode 100644 meta-zephyr-core/recipes-devtools-arc/gcc/gcc-cross-canadian_6.x.arc.bb delete mode 100644 meta-zephyr-core/recipes-devtools-arc/gcc/gcc-cross_6.x.arc .bb delete mode 100644 meta-zephyr-core/recipes-devtools-arc/gcc/gcc-source_6.x.arc.bb delete mode 100644 meta-zephyr-core/recipes-devtools-arc/gcc/libgcc_6.x.arc.bb delete mode 100644 meta-zephyr-core/recipes-devtools/gcc/gcc-cross_6.%.bbappend delete mode 100644 meta-zephyr-core/recipes-devtools/gcc/libgcc_6.%.bbappend diff --git a/meta-zephyr-core/classes/siteinfo-zephyr.bbclass b/meta-zephyr-core/classes/siteinfo-zephyr.bbclass index b84a9b2..fc883e0 100644 --- a/meta-zephyr-core/classes/siteinfo-zephyr.bbclass +++ b/meta-zephyr-core/classes/siteinfo-zephyr.bbclass @@ -1,17 +1,3 @@ -def arc_siteinfo_setfunc(archinfo, osinfo, targetinfo, d): -archinfo['arc'] = "endian-little bit-32 " -osinfo['linux'] = "common-linux common-glibc" -targetinfo['arc-linux'] = "arc-linux" -return archinfo, osinfo, targetinfo - -SITEINFO_EXTRA_DATAFUNCS += "arc_siteinfo_setfunc" - -def arc_machdata_setfunc(machdata, d): -machdata["elf"]["arc"] = (195, 0, 0, True, 32) -return machdata - -PACKAGEQA_EXTRA_MACHDEFFUNCS += "arc_machdata_setfunc" - def iamcu_siteinfo_setfunc(archinfo, osinfo, targetinfo, d): archinfo['iamcu'] = "endian-little bit-32 " osinfo['linux'] = "common-linux common-glibc" diff --git a/meta-zephyr-core/recipes-core/newlib/newlib_%.bbappend b/meta-zephyr-core/recipes-core/newlib/newlib_%.bbappend deleted file mode 100644 index dfecb99..000 --- a/meta-zephyr-core/recipes-core/newlib/newlib_%.bbappend +++ /dev/null @@ -1,22 +0,0 @@ - -# -# ARC specific -# - -LIC_FILES_CHKSUM:arc = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ -file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ -file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ -file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \ -file://COPYING.NEWLIB;md5=fced02ba02d66f274d4847d27e80af74 \ - file://newlib/libc/posix/COPYRIGHT;md5=103468ff1982be840fdf4ee9f8b51bbf \ - file://newlib/libc/sys/linux/linuxthreads/LICENSE;md5=73640207fbc79b198c7ffd4ad4d97aa0" - -#Tag arc-2016.03 -SRCREV:arc = "e4da0f88abe8dd2a0b947bcf7cb8b3736ab94f33" -SRC_URI:arc = "git://github.com/foss-for-synopsys-dwc-arc-processors/newlib.git;branch=arc-2.3" -S:arc = "${WORKDIR}/git" - -# ERROR: QA Issue: Architecture did not match (195 to 93) -INSANE_SKIP:${PN}:arc += " arch " - - diff --git a/meta-zephyr-core/recipes-devtools-arc/binutils/binutils-2.26arc.inc b/meta-zephyr-core/recipes-devtools-arc/binutils/binutils-2.26arc.inc deleted file mode 100644 index bfe0960..000 --- a/meta-zephyr-core/recipes-devtools-arc/binutils/binutils-2.26arc.inc +++ /dev/null @@ -1,37 +0,0 @@ -LIC_FILES_CHKSUM="\ -file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\ -file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674\ -file://COPYING3;md5=d32239bcb673463ab874e80d47fae504\ -file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6\ -file://gas/COPYING;md5=d32239bcb673463ab874e80d47fae504\ -file://include/COPYI
[yocto] [meta-zephyr][PATCH v2 3/5] zephyr-sdk: upgrade 0.14.2 -> 0.15.1
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.15.1 Signed-off-by: Naveen Saini --- .../zephyr-sdk/{zephyr-sdk_0.14.2.bb => zephyr-sdk_0.15.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-zephyr-core/recipes-devtools/zephyr-sdk/{zephyr-sdk_0.14.2.bb => zephyr-sdk_0.15.1.bb} (83%) diff --git a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.14.2.bb b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.1.bb similarity index 83% rename from meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.14.2.bb rename to meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.1.bb index c893652..f5a9466 100644 --- a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.14.2.bb +++ b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.1.bb @@ -14,8 +14,8 @@ SDK_ARCHIVE = "zephyr-sdk-${PV}_linux-${BUILD_ARCH}.tar.gz" SDK_NAME = "${BUILD_ARCH}" SRC_URI = "https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${PV}/${SDK_ARCHIVE};subdir=${S};name=${SDK_NAME}; -SRC_URI[x86_64.sha256sum] = "2ff0e4d79bffe1468247a3e1958aa9183a0252225ab721cf1c37188bd4b649a2" -SRC_URI[aarch64.sha256sum] = "cbb616a50e940388ea737788d48dcea3624a85bb3ee04d9aae105496a21ae75e" +SRC_URI[x86_64.sha256sum] = "0a7406045102197b9edc759b242499941814a1c6df29dd9fbd479ad50eb0fba9" +SRC_URI[aarch64.sha256sum] = "d2c5de994376a287e8bf12e5776ab8f5105eafa14826608df085142fd01b7f84" do_configure[noexec] = "1" do_compile[noexec] = "1" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58532): https://lists.yoctoproject.org/g/yocto/message/58532 Mute This Topic: https://lists.yoctoproject.org/mt/94931308/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH v2 2/5] zephyr-kernel-src: drop support for v2.7.3
Support for zephyr v3.2.0 is already being added. So time to drop it. Signed-off-by: Naveen Saini --- .../0001-2.7-cmake-add-yocto-toolchain.patch | 63 -- ...ry-generation-issue-in-cross-compila.patch | 80 --- .../zephyr-kernel/files/dtc.patch | 43 .../zephyr-kernel/zephyr-kernel-src-2.7.3.inc | 196 -- 4 files changed, 382 deletions(-) delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/dtc.patch delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.3.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch deleted file mode 100644 index 563af7d..000 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch +++ /dev/null @@ -1,63 +0,0 @@ -From bfab268c870548e3e7a24ea67ebed2a0513b2307 Mon Sep 17 00:00:00 2001 -From: Naveen Saini -Date: Wed, 7 Jul 2021 13:53:05 +0800 -Subject: [PATCH] cmake: add yocto toolchain - -Upstream status: inappropriate [OE specific] - -Signed-off-by: Naveen Saini - cmake/compiler/gcc/target.cmake | 7 --- - cmake/toolchain/yocto/generic.cmake | 13 + - cmake/toolchain/yocto/target.cmake | 1 + - 3 files changed, 14 insertions(+), 7 deletions(-) - create mode 100644 cmake/toolchain/yocto/generic.cmake - create mode 100644 cmake/toolchain/yocto/target.cmake - -diff --git a/cmake/compiler/gcc/target.cmake b/cmake/compiler/gcc/target.cmake -index 2b90c5d2ef..b6f28b2f87 100644 a/cmake/compiler/gcc/target.cmake -+++ b/cmake/compiler/gcc/target.cmake -@@ -68,13 +68,6 @@ execute_process( - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - --assert_exists(LIBGCC_FILE_NAME) -- --get_filename_component(LIBGCC_DIR ${LIBGCC_FILE_NAME} DIRECTORY) -- --assert_exists(LIBGCC_DIR) -- --LIST(APPEND LIB_INCLUDE_DIR "-L\"${LIBGCC_DIR}\"") - LIST(APPEND TOOLCHAIN_LIBS gcc) - - if(SYSROOT_DIR) -diff --git a/cmake/toolchain/yocto/generic.cmake b/cmake/toolchain/yocto/generic.cmake -new file mode 100644 -index 00..45e5777e2a /dev/null -+++ b/cmake/toolchain/yocto/generic.cmake -@@ -0,0 +1,13 @@ -+set(COMPILER gcc) -+set(LINKER ld) -+set(BINTOOLS gnu) -+ -+set(ZEPHYR_SYSROOT ${ZEPHYR_SYSROOT}) -+set(SYSROOT_DIR ${ZEPHYR_SYSROOT}) -+set(LIBC_LIBRARY_DIR "\"${SYSROOT_DIR}\"/") -+set(LIBC_INCLUDE_DIR ${SYSROOT_DIR}/include) -+LIST(APPEND TOOLCHAIN_LIBS gcc) -+ -+LIST(APPEND LIB_INCLUDE_DIR "-L\"${STAGING_LIBDIR}\"") -+ -+set(TOOLCHAIN_LIBS gcc) -diff --git a/cmake/toolchain/yocto/target.cmake b/cmake/toolchain/yocto/target.cmake -new file mode 100644 -index 00..9881313609 /dev/null -+++ b/cmake/toolchain/yocto/target.cmake -@@ -0,0 +1 @@ -+# SPDX-License-Identifier: Apache-2.0 --- -2.17.1 - diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch deleted file mode 100644 index fd6fc6b..000 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch +++ /dev/null @@ -1,80 +0,0 @@ -From cfde3b1018c3151b6cc1fbe3e9e163d0aaf16954 Mon Sep 17 00:00:00 2001 -From: Naveen Saini -Date: Tue, 11 May 2021 13:46:39 +0800 -Subject: [PATCH] x86: fix efi binary generation issue in cross compilation env - -Set root directory for headers. - -Upstream-Status: Inappropriate [Cross-compilation specific] - -Signed-off-by: Naveen Saini - arch/x86/zefi/zefi.py| 6 +- - boards/x86/ehl_crb/CMakeLists.txt| 1 + - boards/x86/qemu_x86/CMakeLists.txt | 1 + - boards/x86/up_squared/CMakeLists.txt | 1 + - 4 files changed, 8 insertions(+), 1 deletion(-) - -diff --git a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py -index d3514391a8..b9eccbfa10 100755 a/arch/x86/zefi/zefi.py -+++ b/arch/x86/zefi/zefi.py -@@ -106,7 +106,10 @@ def build_elf(elf_file): - # + We need pic to enforce that the linker adds no relocations - # + UEFI can take interrupts on our stack, so no red zone - # + UEFI API assumes 16-bit wchar_t --cmd = [args.compiler, "-shared", "-Wall", "-Werror", "-I.", -+ -+# Pass --sysroot path for cross compilation -+sysrootarg = "--sysroot=" + args.sysroot -+cmd = [args.compiler, "-shared", "-Wall", "-Werror", "-I.", sysrootarg, - "-fno-
[yocto] [meta-zephyr][PATCH v2 1/5] zephyr-kernel-src: add support for v3.2.0
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.2.0 Signed-off-by: Naveen Saini --- .../zephyr-kernel/zephyr-kernel-src-3.2.0.inc | 239 ++ .../zephyr-kernel/zephyr-kernel-src.inc | 2 +- 2 files changed, 240 insertions(+), 1 deletion(-) create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc new file mode 100644 index 000..5d8ddfa --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc @@ -0,0 +1,239 @@ +# Auto-generated from zephyr-kernel-src.inc.jinja + +SRCREV_FORMAT = "default" + +SRCREV_default = "4b58ae97f30338dd343f110fef068b21b94b6555" +SRCREV_canopennode = "53d3415c14d60f8f4bfca54bfbc5d5a667d7e724" +SRCREV_chre = "ef76d3456db07e4959df555047d6962279528c8d" +SRCREV_cmsis = "093de61c2a7d12dc9253daf8692f61f793a9254a" +SRCREV_edtt = "1ea61a390d2bfcf3b2ecdba8f8b0b98dfdffbd11" +SRCREV_fatfs = "a30531af3a95a9a3ea7d771ea8a578ebfed45514" +SRCREV_fff = "6ce5ba26486e93d5b7696a3e23f0585932c14b16" +SRCREV_hal_altera = "0d225ddd314379b32355a00fb669eacf911e750d" +SRCREV_hal_atmel = "1d237f2e2f262751975b6da6e03af569b2b49b2b" +SRCREV_hal_espressif = "2cb20ac6c5b25f3c91b35e7997451db47030b7cb" +SRCREV_hal_gigadevice = "dd0e0322474462b58059e6fedaf1d67d2a0864d0" +SRCREV_hal_infineon = "4af06965f57ba1e7d170e6a97d24c33785543a8c" +SRCREV_hal_microchip = "5d079f1683a00b801373f5d181d4e33b30d5" +SRCREV_hal_nordic = "249199ec5a5c31d170659921048764e96d05cc0e" +SRCREV_hal_nuvoton = "b4d31f33238713a568e23618845702fadd67386f" +SRCREV_hal_nxp = "708c95825b0d5279620935a1356299fff5dfbc6e" +SRCREV_hal_openisa = "40d049f69c50b58ea20473bee14cf93f518bf262" +SRCREV_hal_quicklogic = "b3a66fe6d04d87fd1533a5c8de51d0599fcd08d0" +SRCREV_hal_renesas = "468d3f2146d18c7f86a4640fc641cc1d20a4a100" +SRCREV_hal_rpi_pico = "a094c060e0c2d43c7f9d8f5c06cc0665117e0c18" +SRCREV_hal_silabs = "1ec8dd99aa4ac3e8632d2aa28a7438049bb27102" +SRCREV_hal_st = "cccbc24c14decfd3f93959f7b14514536af973c7" +SRCREV_hal_stm32 = "642e199c59828137dc6b1c7044a289d4269886d1" +SRCREV_hal_telink = "38573af589173259801ae6c2b34b7d4c9e626746" +SRCREV_hal_ti = "000b944a788b6005d7776198e1348f5c8a657259" +SRCREV_hal_wurthelektronik = "24ca9873c3d608fad1fea0431836bc8f144c132e" +SRCREV_hal_xtensa = "63f655362423aa49507da7977a2d37142e8debeb" +SRCREV_libmetal = "2f586b4f1276fb075ee145421bdf6cbe5403aa41" +SRCREV_liblc3 = "448f3de31f49a838988a162ef1e23a89ddf2d2ed" +SRCREV_littlefs = "ca583fd297ceb48bced3c2548600dc615d67af24" +SRCREV_loramac-node = "ce57712f3e42613acaec97b45369f716f43a" +SRCREV_lvgl = "af95bdfcf6784edd958ea08139c713e2d3dee7af" +SRCREV_lz4 = "8e303c264fc21c2116dc612658003a22e933124d" +SRCREV_mbedtls = "7fed49c9b9f983ad6416986661ef637459723bcb" +SRCREV_mcuboot = "13f63976bca672ee018f9d55f1e31f02f4135b64" +SRCREV_mipi-sys-t = "0d521d8055f3b2b4842f728b0365d3f0ece9c37f" +SRCREV_nanopb = "dc4deed54fd4c7e1935e3b6387eedf21bb45dc38" +SRCREV_net-tools = "e0828aa9629b533644dc96ff6d1295c939bd713c" +SRCREV_nrf_hw_models = "65bc5305d432c08e24a3f343006d1e7deaff4908" +SRCREV_open-amp = "8d53544871e1f300c478224faca6be8384ab0d04" +SRCREV_openthread = "b21e99b4b3d823f71c902b9174ff62b964c124f0" +SRCREV_picolibc = "04ada5951cbaf8e7b17f8226ce31cb6837c28ba7" +SRCREV_segger = "d4e568a920b4bd087886170a5624c167b2d0665e" +SRCREV_sof = "fed466c264ad078c66f7bff9218ba1d3fa0eb201" +SRCREV_tflite-micro = "9156d050927012da87079064db59d07f03b8baf6" +SRCREV_tinycbor = "9e1f34bc08123aaad7666d3652aaa839e8178b3b" +SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" +SRCREV_TraceRecorderSource = "9893bf1cf649a2c4ee2e27293f887994f3d0da5b" +SRCREV_trusted-firmware-m = "231235f26f5295ac4faf8c5617dbb9779869d821" +SRCREV_trusted-firmware-a = "d29cddecde614d81cbec1fb0086cdaebd77d3575" +SRCREV_tf-m-tests = "c99a86b295c4887520da9d8402566d7f225c974e" +SRCREV_psa-arch-tests = "f4fc2442b8e29e2a03d9899e46e5a3ea3df8c2c9" +SRCREV_uoscore-uedhoc = "e8920192b66db4f909eb9cd3f155d5245c1ae825" +SRCREV_zcbor = "a0d6981f14d4001d6f0d608d1a427f9bc6bb6d02" +SRCREV_zscilib = "ca070ddabdaf67175a2da901d0bd62e8899371c5" + +SRC_URI_ZEPHYR ?= "git://github.com/zephyrproject-rtos/zephyr.git;protocol=https" +SRC_URI_CANOPENNODE ?= "git://github.com/zephyrproject-rtos/ca
Re: [yocto] Langdale branch for meta-zephyr
Hi Jon, I have forked Langdale branch. Could you help to fix arm machines failures with zephyr 3.2.0 upgrade patches ? https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/677723187 Regards, Naveen From: Jon Mason Sent: Monday, October 31, 2022 11:07 PM To: Saini, Naveen Kumar Cc: Yocto-mailing-list Subject: Langdale branch for meta-zephyr Hello Naveen, At least one team within Arm is planning on doing a product using meta-zephyr and basing it off of langdale, and would like a Langdale branch on meta-zephyr for continuity with the other branches. With the recent release of Langdale for Yocto, I was wondering if there are any plans to fork a branch for Langdale on meta-zephyr. Doing so prior to updating the zephyr sources to the latest might be a good idea. Thanks, Jon -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58451): https://lists.yoctoproject.org/g/yocto/message/58451 Mute This Topic: https://lists.yoctoproject.org/mt/94687299/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH] zephyr-sdk: upgrade 0.14.2 -> 0.15.1
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.15.1 Signed-off-by: Naveen Saini --- .../zephyr-sdk/{zephyr-sdk_0.14.2.bb => zephyr-sdk_0.15.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-zephyr-core/recipes-devtools/zephyr-sdk/{zephyr-sdk_0.14.2.bb => zephyr-sdk_0.15.1.bb} (83%) diff --git a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.14.2.bb b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.1.bb similarity index 83% rename from meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.14.2.bb rename to meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.1.bb index c893652..f5a9466 100644 --- a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.14.2.bb +++ b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.1.bb @@ -14,8 +14,8 @@ SDK_ARCHIVE = "zephyr-sdk-${PV}_linux-${BUILD_ARCH}.tar.gz" SDK_NAME = "${BUILD_ARCH}" SRC_URI = "https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${PV}/${SDK_ARCHIVE};subdir=${S};name=${SDK_NAME}; -SRC_URI[x86_64.sha256sum] = "2ff0e4d79bffe1468247a3e1958aa9183a0252225ab721cf1c37188bd4b649a2" -SRC_URI[aarch64.sha256sum] = "cbb616a50e940388ea737788d48dcea3624a85bb3ee04d9aae105496a21ae75e" +SRC_URI[x86_64.sha256sum] = "0a7406045102197b9edc759b242499941814a1c6df29dd9fbd479ad50eb0fba9" +SRC_URI[aarch64.sha256sum] = "d2c5de994376a287e8bf12e5776ab8f5105eafa14826608df085142fd01b7f84" do_configure[noexec] = "1" do_compile[noexec] = "1" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58417): https://lists.yoctoproject.org/g/yocto/message/58417 Mute This Topic: https://lists.yoctoproject.org/mt/94575811/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 1/2] zephyr-kernel-src: add support for v3.2.0
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.2.0 Signed-off-by: Naveen Saini --- .../zephyr-kernel/zephyr-kernel-src-3.2.0.inc | 239 ++ .../zephyr-kernel/zephyr-kernel-src.inc | 2 +- 2 files changed, 240 insertions(+), 1 deletion(-) create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc new file mode 100644 index 000..5d8ddfa --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc @@ -0,0 +1,239 @@ +# Auto-generated from zephyr-kernel-src.inc.jinja + +SRCREV_FORMAT = "default" + +SRCREV_default = "4b58ae97f30338dd343f110fef068b21b94b6555" +SRCREV_canopennode = "53d3415c14d60f8f4bfca54bfbc5d5a667d7e724" +SRCREV_chre = "ef76d3456db07e4959df555047d6962279528c8d" +SRCREV_cmsis = "093de61c2a7d12dc9253daf8692f61f793a9254a" +SRCREV_edtt = "1ea61a390d2bfcf3b2ecdba8f8b0b98dfdffbd11" +SRCREV_fatfs = "a30531af3a95a9a3ea7d771ea8a578ebfed45514" +SRCREV_fff = "6ce5ba26486e93d5b7696a3e23f0585932c14b16" +SRCREV_hal_altera = "0d225ddd314379b32355a00fb669eacf911e750d" +SRCREV_hal_atmel = "1d237f2e2f262751975b6da6e03af569b2b49b2b" +SRCREV_hal_espressif = "2cb20ac6c5b25f3c91b35e7997451db47030b7cb" +SRCREV_hal_gigadevice = "dd0e0322474462b58059e6fedaf1d67d2a0864d0" +SRCREV_hal_infineon = "4af06965f57ba1e7d170e6a97d24c33785543a8c" +SRCREV_hal_microchip = "5d079f1683a00b801373f5d181d4e33b30d5" +SRCREV_hal_nordic = "249199ec5a5c31d170659921048764e96d05cc0e" +SRCREV_hal_nuvoton = "b4d31f33238713a568e23618845702fadd67386f" +SRCREV_hal_nxp = "708c95825b0d5279620935a1356299fff5dfbc6e" +SRCREV_hal_openisa = "40d049f69c50b58ea20473bee14cf93f518bf262" +SRCREV_hal_quicklogic = "b3a66fe6d04d87fd1533a5c8de51d0599fcd08d0" +SRCREV_hal_renesas = "468d3f2146d18c7f86a4640fc641cc1d20a4a100" +SRCREV_hal_rpi_pico = "a094c060e0c2d43c7f9d8f5c06cc0665117e0c18" +SRCREV_hal_silabs = "1ec8dd99aa4ac3e8632d2aa28a7438049bb27102" +SRCREV_hal_st = "cccbc24c14decfd3f93959f7b14514536af973c7" +SRCREV_hal_stm32 = "642e199c59828137dc6b1c7044a289d4269886d1" +SRCREV_hal_telink = "38573af589173259801ae6c2b34b7d4c9e626746" +SRCREV_hal_ti = "000b944a788b6005d7776198e1348f5c8a657259" +SRCREV_hal_wurthelektronik = "24ca9873c3d608fad1fea0431836bc8f144c132e" +SRCREV_hal_xtensa = "63f655362423aa49507da7977a2d37142e8debeb" +SRCREV_libmetal = "2f586b4f1276fb075ee145421bdf6cbe5403aa41" +SRCREV_liblc3 = "448f3de31f49a838988a162ef1e23a89ddf2d2ed" +SRCREV_littlefs = "ca583fd297ceb48bced3c2548600dc615d67af24" +SRCREV_loramac-node = "ce57712f3e42613acaec97b45369f716f43a" +SRCREV_lvgl = "af95bdfcf6784edd958ea08139c713e2d3dee7af" +SRCREV_lz4 = "8e303c264fc21c2116dc612658003a22e933124d" +SRCREV_mbedtls = "7fed49c9b9f983ad6416986661ef637459723bcb" +SRCREV_mcuboot = "13f63976bca672ee018f9d55f1e31f02f4135b64" +SRCREV_mipi-sys-t = "0d521d8055f3b2b4842f728b0365d3f0ece9c37f" +SRCREV_nanopb = "dc4deed54fd4c7e1935e3b6387eedf21bb45dc38" +SRCREV_net-tools = "e0828aa9629b533644dc96ff6d1295c939bd713c" +SRCREV_nrf_hw_models = "65bc5305d432c08e24a3f343006d1e7deaff4908" +SRCREV_open-amp = "8d53544871e1f300c478224faca6be8384ab0d04" +SRCREV_openthread = "b21e99b4b3d823f71c902b9174ff62b964c124f0" +SRCREV_picolibc = "04ada5951cbaf8e7b17f8226ce31cb6837c28ba7" +SRCREV_segger = "d4e568a920b4bd087886170a5624c167b2d0665e" +SRCREV_sof = "fed466c264ad078c66f7bff9218ba1d3fa0eb201" +SRCREV_tflite-micro = "9156d050927012da87079064db59d07f03b8baf6" +SRCREV_tinycbor = "9e1f34bc08123aaad7666d3652aaa839e8178b3b" +SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" +SRCREV_TraceRecorderSource = "9893bf1cf649a2c4ee2e27293f887994f3d0da5b" +SRCREV_trusted-firmware-m = "231235f26f5295ac4faf8c5617dbb9779869d821" +SRCREV_trusted-firmware-a = "d29cddecde614d81cbec1fb0086cdaebd77d3575" +SRCREV_tf-m-tests = "c99a86b295c4887520da9d8402566d7f225c974e" +SRCREV_psa-arch-tests = "f4fc2442b8e29e2a03d9899e46e5a3ea3df8c2c9" +SRCREV_uoscore-uedhoc = "e8920192b66db4f909eb9cd3f155d5245c1ae825" +SRCREV_zcbor = "a0d6981f14d4001d6f0d608d1a427f9bc6bb6d02" +SRCREV_zscilib = "ca070ddabdaf67175a2da901d0bd62e8899371c5" + +SRC_URI_ZEPHYR ?= "git://github.com/zephyrproject-rtos/zephyr.git;protocol=https" +SRC_URI_CANOPENNODE ?= "git://github.com/zephyrproject-rtos/ca
[yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src: drop support for v2.7.3
Support for zephyr v3.2.0 is already being added. So time to drop it. Signed-off-by: Naveen Saini --- .../0001-2.7-cmake-add-yocto-toolchain.patch | 63 -- ...ry-generation-issue-in-cross-compila.patch | 80 --- .../zephyr-kernel/files/dtc.patch | 43 .../zephyr-kernel/zephyr-kernel-src-2.7.3.inc | 196 -- 4 files changed, 382 deletions(-) delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/dtc.patch delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.3.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch deleted file mode 100644 index 563af7d..000 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch +++ /dev/null @@ -1,63 +0,0 @@ -From bfab268c870548e3e7a24ea67ebed2a0513b2307 Mon Sep 17 00:00:00 2001 -From: Naveen Saini -Date: Wed, 7 Jul 2021 13:53:05 +0800 -Subject: [PATCH] cmake: add yocto toolchain - -Upstream status: inappropriate [OE specific] - -Signed-off-by: Naveen Saini - cmake/compiler/gcc/target.cmake | 7 --- - cmake/toolchain/yocto/generic.cmake | 13 + - cmake/toolchain/yocto/target.cmake | 1 + - 3 files changed, 14 insertions(+), 7 deletions(-) - create mode 100644 cmake/toolchain/yocto/generic.cmake - create mode 100644 cmake/toolchain/yocto/target.cmake - -diff --git a/cmake/compiler/gcc/target.cmake b/cmake/compiler/gcc/target.cmake -index 2b90c5d2ef..b6f28b2f87 100644 a/cmake/compiler/gcc/target.cmake -+++ b/cmake/compiler/gcc/target.cmake -@@ -68,13 +68,6 @@ execute_process( - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - --assert_exists(LIBGCC_FILE_NAME) -- --get_filename_component(LIBGCC_DIR ${LIBGCC_FILE_NAME} DIRECTORY) -- --assert_exists(LIBGCC_DIR) -- --LIST(APPEND LIB_INCLUDE_DIR "-L\"${LIBGCC_DIR}\"") - LIST(APPEND TOOLCHAIN_LIBS gcc) - - if(SYSROOT_DIR) -diff --git a/cmake/toolchain/yocto/generic.cmake b/cmake/toolchain/yocto/generic.cmake -new file mode 100644 -index 00..45e5777e2a /dev/null -+++ b/cmake/toolchain/yocto/generic.cmake -@@ -0,0 +1,13 @@ -+set(COMPILER gcc) -+set(LINKER ld) -+set(BINTOOLS gnu) -+ -+set(ZEPHYR_SYSROOT ${ZEPHYR_SYSROOT}) -+set(SYSROOT_DIR ${ZEPHYR_SYSROOT}) -+set(LIBC_LIBRARY_DIR "\"${SYSROOT_DIR}\"/") -+set(LIBC_INCLUDE_DIR ${SYSROOT_DIR}/include) -+LIST(APPEND TOOLCHAIN_LIBS gcc) -+ -+LIST(APPEND LIB_INCLUDE_DIR "-L\"${STAGING_LIBDIR}\"") -+ -+set(TOOLCHAIN_LIBS gcc) -diff --git a/cmake/toolchain/yocto/target.cmake b/cmake/toolchain/yocto/target.cmake -new file mode 100644 -index 00..9881313609 /dev/null -+++ b/cmake/toolchain/yocto/target.cmake -@@ -0,0 +1 @@ -+# SPDX-License-Identifier: Apache-2.0 --- -2.17.1 - diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch deleted file mode 100644 index fd6fc6b..000 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch +++ /dev/null @@ -1,80 +0,0 @@ -From cfde3b1018c3151b6cc1fbe3e9e163d0aaf16954 Mon Sep 17 00:00:00 2001 -From: Naveen Saini -Date: Tue, 11 May 2021 13:46:39 +0800 -Subject: [PATCH] x86: fix efi binary generation issue in cross compilation env - -Set root directory for headers. - -Upstream-Status: Inappropriate [Cross-compilation specific] - -Signed-off-by: Naveen Saini - arch/x86/zefi/zefi.py| 6 +- - boards/x86/ehl_crb/CMakeLists.txt| 1 + - boards/x86/qemu_x86/CMakeLists.txt | 1 + - boards/x86/up_squared/CMakeLists.txt | 1 + - 4 files changed, 8 insertions(+), 1 deletion(-) - -diff --git a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py -index d3514391a8..b9eccbfa10 100755 a/arch/x86/zefi/zefi.py -+++ b/arch/x86/zefi/zefi.py -@@ -106,7 +106,10 @@ def build_elf(elf_file): - # + We need pic to enforce that the linker adds no relocations - # + UEFI can take interrupts on our stack, so no red zone - # + UEFI API assumes 16-bit wchar_t --cmd = [args.compiler, "-shared", "-Wall", "-Werror", "-I.", -+ -+# Pass --sysroot path for cross compilation -+sysrootarg = "--sysroot=" + args.sysroot -+cmd = [args.compiler, "-shared", "-Wall", "-Werror", "-I.", sysrootarg, - "-fno-
Re: [yocto] [meta-zephyr][kirkstone][PATCH] nrf52840-mdk-usb-dongle.conf: Add new machine from makerdiary
Hi Philippe, nrf52840-mdk-usb-dongle board is not supported in Zephyr 3.0 [in Kirkstone]. It's available in Zephyr 3.1 onwards. https://github.com/zephyrproject-rtos/zephyr/commit/b94fe6315870f938d759076a57cd3311ab0a0c06 Error log: | -- Board: nrf52840_mdk_usb_dongle | No board named 'nrf52840_mdk_usb_dongle' found. Regards, Naveen > -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of philippe.co...@astrolabe.coop > Sent: Friday, October 7, 2022 4:57 PM > To: yocto@lists.yoctoproject.org > Cc: philippe.coval.pro+meta-zephyr-lists.yoctoproject@gmail.com; > Philippe Coval ; Philippe Coval > ; Jon Mason ; > Saini, Naveen Kumar > Subject: [yocto] [meta-zephyr][kirkstone][PATCH] nrf52840-mdk-usb- > dongle.conf: Add new machine from makerdiary > > From: Philippe Coval > > It was tested with zephyr-openthread-rcp along Oniro's IoT gateway > blueprint > > For the record deployment was done manually: > > - Click on device button > - uf2conv.py "zephyr.hex" -c -f 0xADA52840 > - and then copy to mounted "/dev/disk/by-label/MDK-DONGLE" > > Support of unfree flashing tools might be added later (once double verified) > > Forwarded: https://lists.yoctoproject.org/g/yocto/message/58142 > Relate-to: https://gitlab.eclipse.org/eclipse/oniro-blueprints/transparent- > gateway/meta-oniro-blueprints-gateway/-/issues/6 > Relate-to: https://wiki.makerdiary.com/nrf52840-mdk/zephyr/ > Relate-to: https://gitlab.eclipse.org/pcoval/oniro-presentations/- > /wikis/openthread > Signed-off-by: Philippe Coval > Tested-by: Jon Mason > Signed-off-by: Naveen Saini > Signed-off-by: Philippe Coval > --- > meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf | 7 > +++ > 1 file changed, 7 insertions(+) > create mode 100644 meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb- > dongle.conf > > diff --git a/meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf > b/meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf > new file mode 100644 > index 000..67e407a > --- /dev/null > +++ b/meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf > @@ -0,0 +1,7 @@ > +#@TYPE: Machine > +#@NAME: nrf52840-mdk-usb-dongle > + > +#@DESCRIPTION: Machine configuration for makerdiary's > +nrf52840-mdk-usb-dongle > + > +require conf/machine/include/nrf52.inc > +ARCH:nrf52840-mdk-usb-dongle = "arm" > -- > 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58319): https://lists.yoctoproject.org/g/yocto/message/58319 Mute This Topic: https://lists.yoctoproject.org/mt/94175586/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9
While running qemu, it throws following error: runqemu - ERROR - Failed to run qemu: qemu-system-arm: -device virtio-rng-pci,rng=rng0: No 'PCI' bus found for device 'virtio-rng-pci' > -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of Jon Mason > Sent: Friday, October 7, 2022 10:20 PM > To: Jon Mason > Cc: yocto@lists.yoctoproject.org > Subject: Re: [yocto] [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for > qemu-cortex-a9 > > FYI, the CI for this series can be seen at > https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/660400016 > > On Fri, Oct 07, 2022 at 10:11:58AM -0400, Jon Mason wrote: > > Signed-off-by: Jon Mason > > --- > > .gitlab-ci.yml| 7 +++ > > ci/qemu-cortex-a9.yml | 10 ++ > > .../conf/machine/qemu-cortex-a9.conf | 20 +++ > > 3 files changed, 37 insertions(+) > > create mode 100644 ci/qemu-cortex-a9.yml create mode 100644 > > meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf > > > > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5752254..031b5c5 > > 100644 > > --- a/.gitlab-ci.yml > > +++ b/.gitlab-ci.yml > > @@ -90,6 +90,13 @@ qemu-cortex-a53: > >- TOOLCHAIN: [default, zephyr-toolchain] > > TESTING: testimage > > > > +qemu-cortex-a9: > > + extends: .build > > + parallel: > > +matrix: > > + - TOOLCHAIN: [default, zephyr-toolchain] > > +TESTING: testimage > > + > > qemu-cortex-m0: > >extends: .build > >parallel: > > diff --git a/ci/qemu-cortex-a9.yml b/ci/qemu-cortex-a9.yml new file > > mode 100644 index 000..cc44730 > > --- /dev/null > > +++ b/ci/qemu-cortex-a9.yml > > @@ -0,0 +1,10 @@ > > +header: > > + version: 11 > > + includes: > > +- ci/base.yml > > + > > +local_conf_header: > > + failing_tests: | > > +ZEPHYRTESTS:remove = "common queue" > > + > > +machine: qemu-cortex-a9 > > diff --git a/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf > > b/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf > > new file mode 100644 > > index 000..9dfee42 > > --- /dev/null > > +++ b/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf > > @@ -0,0 +1,20 @@ > > +#@TYPE: Machine > > +#@NAME: qemu-cortex-a9 > > +#@DESCRIPTION: Machine for Zephyr BOARD qemu_cortex_a9 > > + > > +DEFAULTTUNE ?= "cortexa9" > > +require conf/machine/include/qemu.inc require > > +conf/machine/include/arm/armv7a/tune-cortexa9.inc > > + > > +TCLIBC = "newlib" > > + > > +# For runqemu > > +QB_SYSTEM_NAME = "qemu-system-arm" > > +QB_MACHINE = "-machine xilinx-zynq-a9" > > +QB_CPU = "-cpu cortex-a9" > > +QB_GRAPHICS = "-nographic -vga none" > > +QB_OPT_APPEND = "-icount shift=3,align=off,sleep=off -rtc clock=vm" > > + > > +# Zephyr RTOS settings > > +ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot" > > +ARCH:qemu-cortex-a9 = "arm" > > -- > > 2.17.1 > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58313): https://lists.yoctoproject.org/g/yocto/message/58313 Mute This Topic: https://lists.yoctoproject.org/mt/94180274/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH] qemuzephyrrunner: allow to pass QB_GRAPHICS to qemu cmdline
Signed-off-by: Naveen Saini --- meta-zephyr-core/lib/oeqa/utils/qemuzephyrrunner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-zephyr-core/lib/oeqa/utils/qemuzephyrrunner.py b/meta-zephyr-core/lib/oeqa/utils/qemuzephyrrunner.py index 7b486ce..c0a9e0f 100644 --- a/meta-zephyr-core/lib/oeqa/utils/qemuzephyrrunner.py +++ b/meta-zephyr-core/lib/oeqa/utils/qemuzephyrrunner.py @@ -157,6 +157,7 @@ class QemuZephyrRunner(QemuRunner): bb.error("Unsupported QEMU: %s" % self.machine) return False +self.qemuparams += " %s " %self.get('QB_GRAPHICS') self.qemuparams += " %s " %self.get('QB_OPT_APPEND') self.qemuparams += " %s " %self.get('QB_CPU') -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58195): https://lists.yoctoproject.org/g/yocto/message/58195 Mute This Topic: https://lists.yoctoproject.org/mt/93965957/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH] zephyr-openthread-rcp: Support nrf52840dk-nrf52840 machine
From: Philippe Coval This Nordic reference design can be a fallback option for Oniro's gateway-blueprint I've been tested it myself along my single arduino-nano node Origin: https://gitlab.eclipse.org/eclipse/oniro-core/meta-zephyr/-/merge_requests/22 Relate-to: https://gitlab.eclipse.org/eclipse/oniro-blueprints/transparent-gateway/meta-oniro-blueprints-gateway/-/issues/6 Signed-off-by: Philippe Coval Signed-off-by: Naveen Saini --- .../recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb index ed86a9b..1b19122 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb @@ -7,4 +7,4 @@ EXTRA_OECMAKE += "-DCONF_FILE="prj.conf overlay-rcp.conf overlay-usb-nrf-br.conf # The overlay config and OpenThread itself imposes some specific requirements # towards the boards (e.g. flash layout and ieee802154 radio) so we need to # limit to known working machines here. -COMPATIBLE_MACHINE = "(arduino-nano-33-ble)" +COMPATIBLE_MACHINE = "(arduino-nano-33-ble|nrf52840dk-nrf52840)" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58194): https://lists.yoctoproject.org/g/yocto/message/58194 Mute This Topic: https://lists.yoctoproject.org/mt/93965040/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-zephyr] new qemu version breaking qemu-cortex-a53
> -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of Jon Mason > Sent: Tuesday, September 27, 2022 3:11 AM > To: yocto@lists.yoctoproject.org > Cc: Saini, Naveen Kumar > Subject: [yocto] [meta-zephyr] new qemu version breaking qemu-cortex- > a53 > > The recently updated version of qemu (v7.1) is causing qemu-cortex-a53 > tests to fail. See > https://gitlab.com/jonmason00/meta-zephyr/-/jobs/3082086509 > > I was able to bisect the issue to that commit. I'm not certain of the cause > beyond that, but other issues are being seen with the new qemu and meta- > arm. Let me know if you want me to open a bug. Yes, Jon, please open bug for this machine configuration. > > Thanks, > Jon -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58181): https://lists.yoctoproject.org/g/yocto/message/58181 Mute This Topic: https://lists.yoctoproject.org/mt/93934513/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-zephyr][PATCH 0/4] Add script for version upgrades
Thanks Jon. Merged. Regards, Naveen > -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of Jon Mason > Sent: Wednesday, September 21, 2022 6:34 AM > To: Peter Hoyes > Cc: yocto@lists.yoctoproject.org; diego.sue...@arm.com > Subject: Re: [yocto] [meta-zephyr][PATCH 0/4] Add script for version > upgrades > > On Fri, Sep 16, 2022 at 10:03:14AM +0100, Peter Hoyes wrote: > > From: Peter Hoyes > > > > This patch chain has been developed on top of the 2.7.3 upgrade patch. > > > > Add a script, generate-version.py, which can be used to automatically > > generate configuration for new Zephyr versions. Regenerate > > configuration for 2.7.3 and 3.1.0 using this script. > > > > This script includes a constant version-specific declaration of > > ZEPHYR_MODULES, so the build-time logic to extract ZEPHYR_MODULES is > > no longer required. Remove the do_get_zmods task and the West recipe. > > > > Peter Hoyes (4): > > zephyr-core/scripts: Introduce script to generate new versions > > zephyr-core/zephyr-kernel: Migrate to script-driven version files > > zephyr-core/classes: Remove West-based logic from zephyr.bbclass > > zephyr-core/zephyr-kernel: Update dtc.patch Upstream-Status > > Series passes CI (on top of the v2.7.3 patch). See > https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/645914527 > > Tested-by: Jon Mason > > > > > README.txt| 17 ++ > > meta-zephyr-core/classes/zephyr.bbclass | 32 +-- > > .../recipes-devtools/west/west_0.12.99.bb | 22 -- > > ...y-generation-issue-in-cross-compila.patch} | 0 > > .../zephyr-kernel/files/dtc.patch | 2 +- > > .../zephyr-kernel/zephyr-kernel-src-2.7.3.inc | 202 +--- > > .../zephyr-kernel/zephyr-kernel-src-3.1.0.inc | 220 +++--- > > .../zephyr-kernel/zephyr-kernel-src.inc | 43 > > meta-zephyr-core/scripts/generate-version.py | 73 ++ > > .../scripts/zephyr-kernel-src.inc.jinja | 35 +++ > > 10 files changed, 474 insertions(+), 172 deletions(-) delete mode > > 100644 meta-zephyr-core/recipes-devtools/west/west_0.12.99.bb > > rename > > meta-zephyr-core/recipes-kernel/zephyr-kernel/files/{0001-x86-fix-efi- > > binary-generation-issue-in-cross-compila.patch => > > 0001-2.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch} > > (100%) create mode 100755 > > meta-zephyr-core/scripts/generate-version.py > > create mode 100644 > > meta-zephyr-core/scripts/zephyr-kernel-src.inc.jinja > > > > -- > > 2.25.1 > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58113): https://lists.yoctoproject.org/g/yocto/message/58113 Mute This Topic: https://lists.yoctoproject.org/mt/93718606/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH] zephyr-kernel/2.7: update to zephyr v2.7.3
003de78ce0 release: Zephyr 2.7.3 9502d500b6 release: security: Notes for 2.7.3 2a88e08296 release: update v2.7.3 release notes e1ee34e55c drivers: sensor: sm351lt: Fix global thread triggering bug 2ad1ef651b Bluetooth: host: Fix L2CAP reconfigure response with invalid CID 089675af45 Bluetooth: host: Fix L2CAP reconfigure response with invalid MTU 03ff0d471e net: route: Fix pkt leak if net_send_data() fails cd96136bcb boards: nucleo_wb55rg: Fix documentation about BLE binary compatibility 567fda57df tests: drivers: can: api: add test for RTR filter matching b14f356c96 drivers: can: loopback: check frame ID type and RTR bit in filters 874d77bc75 drivers: can: mcux: flexcan: fix handling of RTR frames ec0befb938 drivers: can: mcan: acknowledge all received frames 273e90a86f scripts: release: list_backports: use older python dict merge method 59dc65a7b4 ci: backports: check if a backport PR has a valid issue 8ff8cafc18 scripts: release: list_backports.py ba07347b60 scripts: release: use GITHUB_TOKEN and start_date in scripts e423902617 tests: posix: pthread: test for pthread descriptor leaks 018f836c4d posix: pthread: consider PTHREAD_EXITED state in pthread_create f4466c4760 tests: cpp: cxx: Add qemu_cortex_a53 as integration platform 9a5cbe3568 tests: cpp: cxx: Test with various types of libc 5b7b15fb2d tests: cpp: cxx: Add dynamic memory availability test for static init e5a92a1fab tests: cpp: cxx: Add static global constructor invocation test 74f0b6443a lib: libc: newlib: Initialise libc heap during POST_KERNEL phase 6c16b3492b lib: libc: minimal: Initialise libc heap during POST_KERNEL phase 1831431bab lib: posix: semaphore: use consistent timebase in sem_timedwait 765f63c6b9 cmake: remove xtensa workaround in Zephyr toolchain code. 062306fc0b cmake: zephyr toolchain code cleanup 8fcf7f1d78 Revert "cmake: Zephyr sdk backward compatibility with 0.11.1 and 0.11.2" f06b3d922c Bluetooth: Controller: Fix PHY update for unsupported PHY b75c012c55 drivers: spi: stm32 spi with dma must enable cs after periph 1efe6de3fe drivers: i2c: Fix infinite recursion in driver unregister function 39270ed4a0 Bluetooth: Mesh: Fix segmentation when sending proxy message 81ffa550ee Bluetooth: Mesh: Check SegN when receiving Transaction Start PDU 8c2965e017 Bluetooth: Mesh: add check for rx buffer overflow in pb adv 7aa38b4ac8 drivers: can: m_can: fix alignmed issues 6dd320f791 release: update v2.7.2 release notes ecac165d36 logging: shell: fix shell stats null pointer dereference 132d90d1bc tests/bluetooth/tester: Refactor Read UUID callback 58356313ac coredump: adjust mem_region find in gdbstub 99cfd3e4d7 Bluetooth: Controller: Fix per adv scheduling issue 780588bd33 edac: ibecc: Add support for EHL SKU13, SKU14, SKU15 Signed-off-by: Naveen Saini --- ...ephyr-kernel-src-2.7.2.inc => zephyr-kernel-src-2.7.3.inc} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-zephyr-core/recipes-kernel/zephyr-kernel/{zephyr-kernel-src-2.7.2.inc => zephyr-kernel-src-2.7.3.inc} (97%) diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.3.inc similarity index 97% rename from meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc rename to meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.3.inc index cbe761f..1c53748 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.3.inc @@ -14,7 +14,7 @@ SRC_URI += " \ # echo SRCREV_$x = \"$rev\"' # -SRCREV_default = "6dd320f791c4da49190b30f9134f776d85bc5836" +SRCREV_default = "003de78ce0dd213a1c7b3d159b967fb19a12aa45" SRCREV_canopennode = "f167efe85c8c7de886f1bc47f9173cfb8a346bb5" SRCREV_civetweb = "094aeb41bb93e9199d24d665ee43e9e05d6d7b1c" SRCREV_cmsis = "b0612c97c1401feeb4160add6462c3627fe90fc7" @@ -60,7 +60,7 @@ SRCREV_TraceRecorder = "36c577727642457b0db7274298a4b96558374832" SRCREV_tfm = "c74be3890c9d975976fde1b1a3b2f5742bec34c0" ZEPHYR_BRANCH = "v2.7-branch" -PV = "2.7.2+git${SRCPV}" +PV = "2.7.3+git${SRCPV}" SRC_URI:append = " \ file://dtc.patch;patchdir=zephyr \ -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58046): https://lists.yoctoproject.org/g/yocto/message/58046 Mute This Topic: https://lists.yoctoproject.org/mt/93695176/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-zephyr][PATCH kirkstone 0/7] Series to add Gitlab CI to kirkstone
My local daily builds also run on master. I triggered a kirkstone build today, it builds successfully for me. Is it failing for specific machine ? > -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of Jon Mason > Sent: Tuesday, August 2, 2022 11:51 PM > To: yocto@lists.yoctoproject.org > Subject: [yocto] [meta-zephyr][PATCH kirkstone 0/7] Series to add Gitlab CI > to kirkstone > > Kirkstone was broken for meta-zephyr for weeks, but no one noticed > because Gitlab CI is only running on master. Backport the relevant patches > from master so this can be more easily detected, and I'll run a nightly > kirkstone to my personal Gitlab CI setup (which can be monitored at > https://gitlab.com/jonmason00/meta-zephyr/-/pipelines). > > NOTE: I was conflicted between squashing the uniquely CI patches into a > single one to hide some of the bug fixesin he originals, versus pulling them > back to match what was in master. I did the latter, but the former might be > more acceptable. > > CI run for this series can be seen at https://gitlab.com/jonmason00/meta- > zephyr/-/pipelines/602974431 > > Thanks, > Jon > > -- > > Jon Mason (5): > qemu-nios2: use glibc > CI: add Gitlab CI support > CI: use path to avoid warning > CI: move stm32mp157c-dk2 to be alphabetical > CI: add more targets > > Peter Hoyes (2): > zephyrtest: Enable use of TESTIMAGE_AUTO > CI: Use TESTIMAGE_AUTO > > .gitlab-ci.yml | 90 > ci/96b-avenger96.yml | 6 ++ > ci/96b-nitrogen.yml | 20 + > ci/arduino-nano-33-ble.yml | 21 + > ci/base.yml | 38 + > ci/check-machine-coverage| 26 ++ > ci/check-warnings| 19 + > ci/intel-x86-64.yml | 6 ++ > ci/jobs-to-kas | 19 + > ci/logging.yml | 13 +++ > ci/meta-openembedded.yml | 11 +++ > ci/nrf52840dk-nrf52840.yml | 20 + > ci/qemu-cortex-m3.yml| 12 +++ > ci/qemu-nios2.yml| 10 +++ > ci/qemu-x86.yml | 10 +++ > ci/stm32mp157c-dk2.yml | 13 +++ > ci/testimage.yml | 9 ++ > ci/update-repos | 40 + > meta-zephyr-bsp/conf/machine/qemu-nios2.conf | 2 + meta-zephyr- > core/classes/zephyrtest.bbclass | 2 +- > meta-zephyr-core/conf/distro/zephyr.conf | 2 +- > 21 files changed, 387 insertions(+), 2 deletions(-) create mode 100644 > .gitlab-ci.yml create mode 100644 ci/96b-avenger96.yml create mode 100644 > ci/96b-nitrogen.yml create mode 100644 ci/arduino-nano-33-ble.yml create > mode 100644 ci/base.yml create mode 100755 ci/check-machine-coverage > create mode 100755 ci/check-warnings create mode 100644 ci/intel-x86- > 64.yml create mode 100755 ci/jobs-to-kas create mode 100644 > ci/logging.yml create mode 100644 ci/meta-openembedded.yml create > mode 100644 ci/nrf52840dk-nrf52840.yml create mode 100644 ci/qemu- > cortex-m3.yml create mode 100644 ci/qemu-nios2.yml create mode 100644 > ci/qemu-x86.yml create mode 100644 ci/stm32mp157c-dk2.yml create > mode 100644 ci/testimage.yml create mode 100755 ci/update-repos > > -- > 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#57756): https://lists.yoctoproject.org/g/yocto/message/57756 Mute This Topic: https://lists.yoctoproject.org/mt/92774463/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH v3] zephyr-kernel-src: bump the v3 version to v3.1.0
From: Bartosz Golaszewski This upgrades the 3.x series to using v3.1.0. Signed-off-by: Bartosz Golaszewski Signed-off-by: Naveen Saini --- v3: Rebased and added x86 patch for v3.1.0, which fix x86 build failures --- ... 0001-2.7-cmake-add-yocto-toolchain.patch} | 0 .../0001-3.1-cmake-add-yocto-toolchain.patch | 63 +++ ...ry-generation-issue-in-cross-compila.patch | 80 +++ .../zephyr-kernel/zephyr-kernel-src-2.7.2.inc | 7 +- .../zephyr-kernel/zephyr-kernel-src-3.0.0.inc | 70 .../zephyr-kernel/zephyr-kernel-src-3.1.0.inc | 77 ++ .../zephyr-kernel/zephyr-kernel-src.inc | 5 +- 7 files changed, 227 insertions(+), 75 deletions(-) rename meta-zephyr-core/recipes-kernel/zephyr-kernel/files/{0001-cmake-add-yocto-toolchain.patch => 0001-2.7-cmake-add-yocto-toolchain.patch} (100%) create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-cmake-add-yocto-toolchain.patch create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-x86-fix-efi-binary-generation-issue-in-cross-compila.patch delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.0.0.inc create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0.inc diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-cmake-add-yocto-toolchain.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch similarity index 100% rename from meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-cmake-add-yocto-toolchain.patch rename to meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-cmake-add-yocto-toolchain.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-cmake-add-yocto-toolchain.patch new file mode 100644 index 000..a16eabf --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-cmake-add-yocto-toolchain.patch @@ -0,0 +1,63 @@ +From 39f1dd116d00b6c2135c4ccd216341dcd2f2917e Mon Sep 17 00:00:00 2001 +From: Naveen Saini +Date: Tue, 26 Jul 2022 14:12:18 +0200 +Subject: [PATCH] cmake: add yocto toolchain + +Upstream status: inappropriate [OE specific] + +Signed-off-by: Naveen Saini +--- + cmake/compiler/gcc/target.cmake | 7 --- + cmake/toolchain/yocto/generic.cmake | 13 + + cmake/toolchain/yocto/target.cmake | 1 + + 3 files changed, 14 insertions(+), 7 deletions(-) + create mode 100644 cmake/toolchain/yocto/generic.cmake + create mode 100644 cmake/toolchain/yocto/target.cmake + +diff --git a/cmake/compiler/gcc/target.cmake b/cmake/compiler/gcc/target.cmake +index 014447e67e..b510f47d59 100644 +--- a/cmake/compiler/gcc/target.cmake b/cmake/compiler/gcc/target.cmake +@@ -94,13 +94,6 @@ execute_process( + OUTPUT_STRIP_TRAILING_WHITESPACE + ) + +-assert_exists(LIBGCC_FILE_NAME) +- +-get_filename_component(LIBGCC_DIR ${LIBGCC_FILE_NAME} DIRECTORY) +- +-assert_exists(LIBGCC_DIR) +- +-LIST(APPEND LIB_INCLUDE_DIR "-L\"${LIBGCC_DIR}\"") + LIST(APPEND TOOLCHAIN_LIBS gcc) + + # For CMake to be able to test if a compiler flag is supported by the +diff --git a/cmake/toolchain/yocto/generic.cmake b/cmake/toolchain/yocto/generic.cmake +new file mode 100644 +index 00..45e5777e2a +--- /dev/null b/cmake/toolchain/yocto/generic.cmake +@@ -0,0 +1,13 @@ ++set(COMPILER gcc) ++set(LINKER ld) ++set(BINTOOLS gnu) ++ ++set(ZEPHYR_SYSROOT ${ZEPHYR_SYSROOT}) ++set(SYSROOT_DIR ${ZEPHYR_SYSROOT}) ++set(LIBC_LIBRARY_DIR "\"${SYSROOT_DIR}\"/") ++set(LIBC_INCLUDE_DIR ${SYSROOT_DIR}/include) ++LIST(APPEND TOOLCHAIN_LIBS gcc) ++ ++LIST(APPEND LIB_INCLUDE_DIR "-L\"${STAGING_LIBDIR}\"") ++ ++set(TOOLCHAIN_LIBS gcc) +diff --git a/cmake/toolchain/yocto/target.cmake b/cmake/toolchain/yocto/target.cmake +new file mode 100644 +index 00..9881313609 +--- /dev/null b/cmake/toolchain/yocto/target.cmake +@@ -0,0 +1 @@ ++# SPDX-License-Identifier: Apache-2.0 +-- +2.34.1 + diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-x86-fix-efi-binary-generation-issue-in-cross-compila.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-x86-fix-efi-binary-generation-issue-in-cross-compila.patch new file mode 100644 index 000..315ed35 --- /dev/null +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-x86-fix-efi-binary-generation-issue-in-cross-compila.patch @@ -0,0 +1,80 @@ +From bad26e63d47b638fc1c0b268faf5cee9738efc35 Mon Sep 17 00:00:00 2001 +From: Naveen Saini +Date: Thu, 28 Jul 2022 14:15:11 +0800 +Subject: [PATCH] x86: fix efi binary generation issue in cross compilation env + +Set root directory for headers. + +Upstream-Status: Inappropriate [Cross-compilation specific] + +Signed-off-by: Naveen Saini +--- + arch
Re: [yocto] [meta-zephyr][PATCH v2] zephyr-kernel-src: bump the v3 version to v3.1.0
> -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of Jon Mason > Sent: Tuesday, July 26, 2022 10:45 PM > To: Bartosz Golaszewski > Cc: Saini, Naveen Kumar ; EilÃs Nà > Fhlannagáin ; > yocto@lists.yoctoproject.org; openembedded- > de...@lists.openembedded.org; Bartosz Golaszewski > > Subject: Re: [yocto] [meta-zephyr][PATCH v2] zephyr-kernel-src: bump the > v3 version to v3.1.0 > > On Tue, Jul 26, 2022 at 02:45:10PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > This upgrades the 3.x series to using v3.1.0. > > > > Signed-off-by: Bartosz Golaszewski > > --- > > - add a rebased version of the toolchain patch for v3.1 > > intel-x86-64 machine isn't happy > It looks like it's not able to find stdint.h > > https://gitlab.com/jonmason00/meta-zephyr/-/jobs/2771910955 > > > > ... 0001-2.7-cmake-add-yocto-toolchain.patch} | 0 > > .../0001-3.1-cmake-add-yocto-toolchain.patch | 63 +++ > > .../zephyr-kernel/zephyr-kernel-src-2.7.2.inc | 7 +- > > .../zephyr-kernel/zephyr-kernel-src-3.0.0.inc | 70 - > > .../zephyr-kernel/zephyr-kernel-src-3.1.0.inc | 76 +++ > > .../zephyr-kernel/zephyr-kernel-src.inc | 5 +- > > 6 files changed, 146 insertions(+), 75 deletions(-) rename > > meta-zephyr-core/recipes-kernel/zephyr-kernel/files/{0001-cmake-add- > yo > > cto-toolchain.patch => 0001-2.7-cmake-add-yocto-toolchain.patch} > > (100%) create mode 100644 > > meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-cmake-add > > -yocto-toolchain.patch delete mode 100644 > > meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.0.0. > > inc create mode 100644 > > meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.1.0. > > inc > > > > diff --git > > a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-cmake-add- > y > > octo-toolchain.patch > > b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-a > > dd-yocto-toolchain.patch > > similarity index 100% > > rename from > > meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-cmake-add- > yoc > > to-toolchain.patch rename to > > meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add > > -yocto-toolchain.patch diff --git > > a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-cmake-a > > dd-yocto-toolchain.patch > > b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-cmake-a > > dd-yocto-toolchain.patch > > new file mode 100644 > > index 000..a16eabf > > --- /dev/null > > +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-3.1-cma > > +++ ke-add-yocto-toolchain.patch > > @@ -0,0 +1,63 @@ > > +From 39f1dd116d00b6c2135c4ccd216341dcd2f2917e Mon Sep 17 00:00:00 > > +2001 > > +From: Naveen Saini > > +Date: Tue, 26 Jul 2022 14:12:18 +0200 > > +Subject: [PATCH] cmake: add yocto toolchain > > + > > +Upstream status: inappropriate [OE specific] > > + > > +Signed-off-by: Naveen Saini > > +--- > > + cmake/compiler/gcc/target.cmake | 7 --- > > + cmake/toolchain/yocto/generic.cmake | 13 + > > +cmake/toolchain/yocto/target.cmake | 1 + > > + 3 files changed, 14 insertions(+), 7 deletions(-) create mode > > +100644 cmake/toolchain/yocto/generic.cmake > > + create mode 100644 cmake/toolchain/yocto/target.cmake > > + > > +diff --git a/cmake/compiler/gcc/target.cmake > > +b/cmake/compiler/gcc/target.cmake index 014447e67e..b510f47d59 > 100644 > > +--- a/cmake/compiler/gcc/target.cmake > > b/cmake/compiler/gcc/target.cmake > > +@@ -94,13 +94,6 @@ execute_process( > > + OUTPUT_STRIP_TRAILING_WHITESPACE > > + ) > > + > > +-assert_exists(LIBGCC_FILE_NAME) > > +- > > +-get_filename_component(LIBGCC_DIR ${LIBGCC_FILE_NAME} > DIRECTORY) > > +- > > +-assert_exists(LIBGCC_DIR) > > +- > > +-LIST(APPEND LIB_INCLUDE_DIR "-L\"${LIBGCC_DIR}\"") LIST(APPEND > > +TOOLCHAIN_LIBS gcc) > > + > > + # For CMake to be able to test if a compiler flag is supported by > > +the diff --git a/cmake/toolchain/yocto/generic.cmake > > +b/cmake/toolchain/yocto/generic.cmake > > +new file mode 100644 > > +index 00..45e5777e2a > > +--- /dev/null > > b/cmake/toolchain/yocto/generic.cmake > > +@@ -0,0 +1,13 @@ > > ++set(COMPILER gcc) > > ++set(LINKER ld) > > ++set(BINTOOLS gnu) > > ++ > > ++set(ZEPHYR_SYSROOT ${ZEPH
[yocto] [meta-zephyr][kirkstone][PATCH 2/2] README.txt: update for kirkstone release
Signed-off-by: Naveen Saini --- README.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.txt b/README.txt index ec860fd..5e0c4b6 100644 --- a/README.txt +++ b/README.txt @@ -9,9 +9,9 @@ Prerequisites: == This layer depends on: -Yocto distro (master) +Yocto distro (kirkstone) git://git.yoctoproject.org/poky -Python layer (meta-openembedded/meta-python) +Python layer (meta-openembedded/meta-python) (kirkstone) git://git.openembedded.org/meta-openembedded Modify local conf by adding: -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#57338): https://lists.yoctoproject.org/g/yocto/message/57338 Mute This Topic: https://lists.yoctoproject.org/mt/91791414/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][kirkstone][PATCH 1/2] zephyr-kernel/2.7: update to release tag Zephyr v2.7.2
6dd320f791 release: update v2.7.2 release notes ecac165d36 logging: shell: fix shell stats null pointer dereference 132d90d1bc tests/bluetooth/tester: Refactor Read UUID callback 58356313ac coredump: adjust mem_region find in gdbstub 99cfd3e4d7 Bluetooth: Controller: Fix per adv scheduling issue 780588bd33 edac: ibecc: Add support for EHL SKU13, SKU14, SKU15 38de9b0156 release: Zephyr 2.7.2 3a21dff459 doc: release: Update release notes with CVE b98ec9e0db x86: Initialise FPU regs during thread creation for eager FPU sharing 8f2d164674 release: Bump release to 2.7.2-rc1 6b61b219ea doc: Add link to J-Link virtual MSD disable for SMP 8822f85ef9 board: arm64: fvp_baser_aemv8r_smp: Increase CONFIG_MAX_THREAD_BYTES 0bc81c82ab board: arm64: fvp_baser_aemv8r: Update the version requirement 32c49d04b0 cmake: armfvp: Add FVP min version check 02c32316fc arm64: Fix booting issue with FVP V8R >= 11.16.16 9bf571808d net/tcp: Use highest priority for TCP internal work queue 4eec9d95ef test/net: Make sure the tls server socket is accepting before connect 32a593396d tests/net: Put the context down and not only the tcp part in tcp2 test 066dcd6119 tests/net: Switch k_msleep to k_yield for tcp packet scheduling ffcc1d3c92 tests/net: TLS test requires more RX PKT and buffers 2d49a4c8b9 net/context: Close TCP connection properly 9d229e0bb5 net/tcp: Stop TCP state machine breaking when sending locally 74c00d0b4e boards: bl654_usb: Fix non-mcuboot builds not limiting size 2a09d5e53f drivers: virt_ivshmem: Allow multiple instances of ivShMem devices. ad4e9934de samples: subsys: mgmt: smp_svr: Fix dupicate fs mgmt registration f133449cf5 boards: arm: stm32l562e_dk and nucleo_l552ze_q add openocd support 33318bfb45 doc: css: update code documentation directives style 3497031e3e doc: update requirements 57a1be33ff boards: nucleo_wb55rg: Add stm32cubeprogrammer runner 652eb37b4d scripts/pylib/twister: Add sn option to stm32cubeprogrgammer runner 9e4edaec21 tests/bluetooth/tester: Add support for auto connection establishment 9b18f4a730 net: gptp: Fix type mismatch calculation error in gptp_mi 3f958347c2 test: pm: device: Fix build options 041653662b pm: Remove unused fields in pm_device 6da71d7c2f ARC: nSIM: fix missing core numbers for mdb-hw runner args 52a68bec73 net: tcp: Verify accept callback before use 6324e997e1 net: sockets: Fix userspace accept() verification e9eed0015f subsys/mgmt/hawkbit: update http response handling a3e7047ad5 wifi: esp_at: claim net_context in rx 50a24d6782 net: sockets: Retry net_context_sendmsg if EAGAIN is reported 9c3be1212f tests/bluetooth/tester: Enable security validation for GATT subsciption e2c96814ce Bluetooth: Host: Validate security on GATT subscription 3c64ed4e77 drivers: spi_nrfx_spi: Fix compilation error e78a6ab2cd spi: nrfx_spi*: only run uninit if configured 6bbf1e7e7a Bluetooth: controller: Add missing NULL assign to df_cfg in ll_adv_set 063dbecb23 arch/x86: Fix MSI MAP destination a807fff085 arch/x86: Add a CPUID function to get initial APIC ID b4b474cb4b arch/x86: Have a dedicated place for CPUID related functions 175ae83c78 tests/bluetooth/tester: Allocate L2CAP channel only when needed 22ab715ad8 test/bluetooth/tester: Don't clear auth requirements on L2CAP server . Signed-off-by: Naveen Saini --- ...ephyr-kernel-src-2.7.1.inc => zephyr-kernel-src-2.7.2.inc} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-zephyr-core/recipes-kernel/zephyr-kernel/{zephyr-kernel-src-2.7.1.inc => zephyr-kernel-src-2.7.2.inc} (97%) diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.1.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc similarity index 97% rename from meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.1.inc rename to meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc index a2c100c..7a4da21 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.1.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc @@ -14,7 +14,7 @@ SRC_URI += " \ # echo SRCREV_$x = \"$rev\"' # -SRCREV_default = "e4da3e528088a34a9989f5a50e7ed3149d57de92" +SRCREV_default = "6dd320f791c4da49190b30f9134f776d85bc5836" SRCREV_canopennode = "f167efe85c8c7de886f1bc47f9173cfb8a346bb5" SRCREV_civetweb = "094aeb41bb93e9199d24d665ee43e9e05d6d7b1c" SRCREV_cmsis = "b0612c97c1401feeb4160add6462c3627fe90fc7" @@ -60,6 +60,6 @@ SRCREV_TraceRecorder = "36c577727642457b0db7274298a4b96558374832" SRCREV_tfm = "c74be3890c9d975976fde1b1a3b2f5742bec34c0" ZEPHYR_BRANCH = "v2.7-branch" -PV = "2.7.1+git${SRCPV}" +PV = "2.7.2+git${SRCPV}" SRC_URI:append = " file://dtc.patch" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#57339): https:
[yocto] [meta-zephyr][PATCH] zephyr-kernel/2.7: update to release tag Zephyr v2.7.2
6dd320f791 release: update v2.7.2 release notes ecac165d36 logging: shell: fix shell stats null pointer dereference 132d90d1bc tests/bluetooth/tester: Refactor Read UUID callback 58356313ac coredump: adjust mem_region find in gdbstub 99cfd3e4d7 Bluetooth: Controller: Fix per adv scheduling issue 780588bd33 edac: ibecc: Add support for EHL SKU13, SKU14, SKU15 38de9b0156 release: Zephyr 2.7.2 3a21dff459 doc: release: Update release notes with CVE b98ec9e0db x86: Initialise FPU regs during thread creation for eager FPU sharing 8f2d164674 release: Bump release to 2.7.2-rc1 6b61b219ea doc: Add link to J-Link virtual MSD disable for SMP 8822f85ef9 board: arm64: fvp_baser_aemv8r_smp: Increase CONFIG_MAX_THREAD_BYTES 0bc81c82ab board: arm64: fvp_baser_aemv8r: Update the version requirement 32c49d04b0 cmake: armfvp: Add FVP min version check 02c32316fc arm64: Fix booting issue with FVP V8R >= 11.16.16 9bf571808d net/tcp: Use highest priority for TCP internal work queue 4eec9d95ef test/net: Make sure the tls server socket is accepting before connect 32a593396d tests/net: Put the context down and not only the tcp part in tcp2 test 066dcd6119 tests/net: Switch k_msleep to k_yield for tcp packet scheduling ffcc1d3c92 tests/net: TLS test requires more RX PKT and buffers 2d49a4c8b9 net/context: Close TCP connection properly 9d229e0bb5 net/tcp: Stop TCP state machine breaking when sending locally 74c00d0b4e boards: bl654_usb: Fix non-mcuboot builds not limiting size 2a09d5e53f drivers: virt_ivshmem: Allow multiple instances of ivShMem devices. ad4e9934de samples: subsys: mgmt: smp_svr: Fix dupicate fs mgmt registration f133449cf5 boards: arm: stm32l562e_dk and nucleo_l552ze_q add openocd support 33318bfb45 doc: css: update code documentation directives style 3497031e3e doc: update requirements 57a1be33ff boards: nucleo_wb55rg: Add stm32cubeprogrammer runner 652eb37b4d scripts/pylib/twister: Add sn option to stm32cubeprogrgammer runner 9e4edaec21 tests/bluetooth/tester: Add support for auto connection establishment 9b18f4a730 net: gptp: Fix type mismatch calculation error in gptp_mi 3f958347c2 test: pm: device: Fix build options 041653662b pm: Remove unused fields in pm_device 6da71d7c2f ARC: nSIM: fix missing core numbers for mdb-hw runner args 52a68bec73 net: tcp: Verify accept callback before use 6324e997e1 net: sockets: Fix userspace accept() verification e9eed0015f subsys/mgmt/hawkbit: update http response handling a3e7047ad5 wifi: esp_at: claim net_context in rx 50a24d6782 net: sockets: Retry net_context_sendmsg if EAGAIN is reported 9c3be1212f tests/bluetooth/tester: Enable security validation for GATT subsciption e2c96814ce Bluetooth: Host: Validate security on GATT subscription 3c64ed4e77 drivers: spi_nrfx_spi: Fix compilation error e78a6ab2cd spi: nrfx_spi*: only run uninit if configured 6bbf1e7e7a Bluetooth: controller: Add missing NULL assign to df_cfg in ll_adv_set 063dbecb23 arch/x86: Fix MSI MAP destination a807fff085 arch/x86: Add a CPUID function to get initial APIC ID b4b474cb4b arch/x86: Have a dedicated place for CPUID related functions 175ae83c78 tests/bluetooth/tester: Allocate L2CAP channel only when needed 22ab715ad8 test/bluetooth/tester: Don't clear auth requirements on L2CAP server . Signed-off-by: Naveen Saini --- ...ephyr-kernel-src-2.7.1.inc => zephyr-kernel-src-2.7.2.inc} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-zephyr-core/recipes-kernel/zephyr-kernel/{zephyr-kernel-src-2.7.1.inc => zephyr-kernel-src-2.7.2.inc} (97%) diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.1.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc similarity index 97% rename from meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.1.inc rename to meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc index a2c100c..7a4da21 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.1.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.2.inc @@ -14,7 +14,7 @@ SRC_URI += " \ # echo SRCREV_$x = \"$rev\"' # -SRCREV_default = "e4da3e528088a34a9989f5a50e7ed3149d57de92" +SRCREV_default = "6dd320f791c4da49190b30f9134f776d85bc5836" SRCREV_canopennode = "f167efe85c8c7de886f1bc47f9173cfb8a346bb5" SRCREV_civetweb = "094aeb41bb93e9199d24d665ee43e9e05d6d7b1c" SRCREV_cmsis = "b0612c97c1401feeb4160add6462c3627fe90fc7" @@ -60,6 +60,6 @@ SRCREV_TraceRecorder = "36c577727642457b0db7274298a4b96558374832" SRCREV_tfm = "c74be3890c9d975976fde1b1a3b2f5742bec34c0" ZEPHYR_BRANCH = "v2.7-branch" -PV = "2.7.1+git${SRCPV}" +PV = "2.7.2+git${SRCPV}" SRC_URI:append = " file://dtc.patch" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#57209): https:
Re: [yocto] [meta-zephyr][PATCH 02/10] python3-gitlint: remove, unused
Hi EilÃs Nà Fhlannagáin, All these Python recipes can be moved to meta-python if needed ! Regards, Naveen > -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of Ross Burton > Sent: Friday, May 13, 2022 7:25 PM > To: yocto@lists.yoctoproject.org > Cc: elizabeth.flana...@huawei.com > Subject: [yocto] [meta-zephyr][PATCH 02/10] python3-gitlint: remove, > unused > > This recipe was added to meta-zephyr in de73bdba but nothing uses it. > > Signed-off-by: Ross Burton > --- > .../python/python3-gitlint_0.15.1.bb | 14 -- > 1 file changed, 14 deletions(-) > delete mode 100644 meta-zephyr-core/recipes-devtools/python/python3- > gitlint_0.15.1.bb > > diff --git a/meta-zephyr-core/recipes-devtools/python/python3- > gitlint_0.15.1.bb b/meta-zephyr-core/recipes-devtools/python/python3- > gitlint_0.15.1.bb > deleted file mode 100644 > index 143e2cb..000 > --- a/meta-zephyr-core/recipes-devtools/python/python3-gitlint_0.15.1.bb > +++ /dev/null > @@ -1,14 +0,0 @@ > -# SPDX-FileCopyrightText: Huawei Inc. > -# SPDX-License-Identifier: Apache-2.0 > - > -SUMMARY = "Python gitlint" > -HOMEPAGE = "https://pypi.org/project/gitlint; > -LICENSE = "MIT" > -LIC_FILES_CHKSUM = > "file://LICENSE;md5=2ddf75221dde30f107af8595a43b4009" > - > -inherit pypi setuptools3 > - > -PYPI_PACKAGE = "gitlint" > -SRC_URI[md5sum] = "4835bedc50129934a47cf099d906d2ca" > -SRC_URI[sha256sum] = > "4b22916dcbdca381244aee6cb8d8743756cfd98f27e7d1f02e78733f07c3c21c" > -BBCLASSEXTEND = "native nativesdk" > -- > 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#57125): https://lists.yoctoproject.org/g/yocto/message/57125 Mute This Topic: https://lists.yoctoproject.org/mt/91078254/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-zephyr][PATCH] zephyr-kernel-src: add whitespace to fix File not found during build
> -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of Davide Gardenal > Sent: Monday, April 4, 2022 9:17 PM > To: yocto@lists.yoctoproject.org > Cc: Davide Gardenal > Subject: [yocto] [meta-zephyr][PATCH] zephyr-kernel-src: add whitespace to > fix File not found during build > > Signed-off-by: Davide Gardenal > --- > .../recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.0.0.inc| 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel- > src-3.0.0.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr- > kernel-src-3.0.0.inc > index f4ea7d3..61a5076 100644 > --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src- > 3.0.0.inc > +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src- > 3.0.0.inc > @@ -69,4 +69,4 @@ SRCREV_zscilib = > "12bfe3f0a9fcbfe3edab7eabc9678b6c62875d34" > ZEPHYR_BRANCH = "v3.0-branch" > PV = "3.0.0+git${SRCPV}" > > -SRC_URI += "file://0001-lvgl-add-support-for-lvgl-v8.2.0.patch" > +SRC_URI += "file://0001-lvgl-add-support-for-lvgl-v8.2.0.patch " [Naveen] It does not apply. Did you send any patch previously, which I missed ? https://git.yoctoproject.org/meta-zephyr/tree/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.0.0.inc#n70 > -- > 2.32.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56664): https://lists.yoctoproject.org/g/yocto/message/56664 Mute This Topic: https://lists.yoctoproject.org/mt/90241245/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH] meta-zephyr-core: drop obsolete patches
These patches are not being applied and not required any more. Already part of zephyr 2.7.1 and zephyr 3.0.0 Signed-off-by: Naveen Saini --- ...0001-cmake-added-missing-file-ext-to.patch | 42 ...rduino-nano-33-ble-storage-partition.patch | 49 --- 2 files changed, 91 deletions(-) delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-ext-to.patch delete mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/files/arduino-nano-33-ble-storage-partition.patch diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-ext-to.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-ext-to.patch deleted file mode 100644 index 6aeca14..000 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-ext-to.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 783c1f78c8e39751fe89d0883c8bce7336f55e94 Mon Sep 17 00:00:00 2001 -From: 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 -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/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/arduino-nano-33-ble-storage-partition.patch b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/arduino-nano-33-ble-storage-partition.patch deleted file mode 100644 index 4568a41..000 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/arduino-nano-33-ble-storage-partition.patch +++ /dev/null @@ -1,49 +0,0 @@ -commit 6c9945aafa00c09149e2052a9c2bccad16dd1d8a -Author: Stefan Schmidt -Date: Fri May 7 11:47:44 2021 +0200 - -boards/arduino_nano_33_ble: add storage partition at end of flash - -Change default partition table to allow for application which need -storage. One use case is running the OpenThread integration which has -a dependency on this. - -Upstream-Status: Backported [https://github.com/zephyrproject-rtos/zephyr/commit/6c9945aafa00c09149e2052a9c2bccad16dd1d8a] - -Signed-off-by: Stefan Schmidt -Signed-off-by: Naveen Saini - -diff --git a/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble.dts b/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble.dts -index d09b66ec43..d11d800eb5 100644 a/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble.dts -+++ b/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble.dts -@@ -44,15 +44,27 @@ - - boot_partition: partition@0 { - label = "sam-ba"; -- reg = <0x0 0x1>; -+ reg = <0x 0x0001>; - read-only; - }; - - code_partition: partition@1 { - label = "code"; -- reg = <0x1 0xf>; -+ reg = <0x0001 0x000e8000>; - read-only; - }; -+ -+ /* -+ * The flash starting at 0x000f8000 and ending at -+ * 0x000f is reserved for use by the application. -+ * -+ * Storage partition will be used by FCB/LittleFS/NVS -+ * if enabled. -+ */ -+ storage_partition: partition@f8000 { -+ label = "storage"; -+ reg = <0x000f8000 0x8000>; -+ }; - }; - }; - -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56523): https://lists.yoctoproject.org/g/yocto/message/56523 Mute This Topic: https://lists.yoctoproject.org/mt/89948090/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [linux-yocto] [kernel-cache][yocto-5.15][PATCH] cfg: fix x86_64 defconfig warnings
Hi Bruce, I am running Ross's oe-selftest that using defconfig. https://lists.openembedded.org/g/openembedded-core/message/160401 $ oe-selftest --run-tests kerneldevelopment.KernelConfigs Regards, Naveen > -Original Message- > From: Bruce Ashfield > Sent: Tuesday, January 25, 2022 10:23 AM > To: Saini, Naveen Kumar > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto] [kernel-cache][yocto-5.15][PATCH] cfg: fix x86_64 > defconfig warnings > > Can you send me the configuration that created the warning ? It must have > been in a allnoconfig mode, since the default of the menuconfig BLK_DEV is > "y". > > So looking at the x86_defconfig, while it doesn't have BLK_DEV enabled, it > also doesn't have it explicitly disabled .. and hence BLK_DEV should have > been on, and CONFIG_BLK_DEV_FD gone through to the final config. > > The patch is fine, and it isn't a bad thing to have the dependency explicitly > in > the fragment, I just want to understand the flow of fragments and the > kconfig mode at play. > > Bruce > > In message: [linux-yocto] [kernel-cache][yocto-5.15][PATCH] cfg: fix x86_64 > defconfig warnings on 21/01/2022 Naveen Saini wrote: > > > CONFIG_BLK_DEV_FD has dependeny on BLK_DEV, which is not enabled, > as > > result throws warning. > > [NOTE]: 'CONFIG_BLK_DEV_FD' last val (m) and .config val (n) do > > not match > > > > Signed-off-by: Naveen Saini > > --- > > bsp/common-pc/common-pc-drivers.cfg | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/bsp/common-pc/common-pc-drivers.cfg > > b/bsp/common-pc/common-pc-drivers.cfg > > index 7cb88817..e511c944 100644 > > --- a/bsp/common-pc/common-pc-drivers.cfg > > +++ b/bsp/common-pc/common-pc-drivers.cfg > > @@ -55,6 +55,7 @@ CONFIG_I2C_I801=y > > CONFIG_SATA_AHCI=y > > > > CONFIG_BLK_DEV_FD=m > > +CONFIG_BLK_DEV=y > > > > CONFIG_EEPROM_AT24=m > > > > -- > > 2.17.1 > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10865): https://lists.yoctoproject.org/g/linux-yocto/message/10865 Mute This Topic: https://lists.yoctoproject.org/mt/88579397/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [kernel-cache][yocto-5.15][PATCH] cfg: fix x86_64 defconfig warnings
CONFIG_BLK_DEV_FD has dependeny on BLK_DEV, which is not enabled, as result throws warning. [NOTE]: 'CONFIG_BLK_DEV_FD' last val (m) and .config val (n) do not match Signed-off-by: Naveen Saini --- bsp/common-pc/common-pc-drivers.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/common-pc/common-pc-drivers.cfg b/bsp/common-pc/common-pc-drivers.cfg index 7cb88817..e511c944 100644 --- a/bsp/common-pc/common-pc-drivers.cfg +++ b/bsp/common-pc/common-pc-drivers.cfg @@ -55,6 +55,7 @@ CONFIG_I2C_I801=y CONFIG_SATA_AHCI=y CONFIG_BLK_DEV_FD=m +CONFIG_BLK_DEV=y CONFIG_EEPROM_AT24=m -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10853): https://lists.yoctoproject.org/g/linux-yocto/message/10853 Mute This Topic: https://lists.yoctoproject.org/mt/88579397/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [v5.15/standard/base][PATCH] x86_64_defconfig: Fix warnings
Configure CONFIG_EEEPC_LAPTOP & CONFIG_SND_SEQ_DUMMY as modules, because dependencies are configured as modules. [NOTE]: 'CONFIG_EEEPC_LAPTOP' last val (y) and .config val (m) do not match [NOTE]: 'CONFIG_SND_SEQ_DUMMY' last val (y) and .config val (m) do not match Added dependency configurations: CONFIG_HID_LOGITECH for CONFIG_LOGITECH_FF CONFIG_NET_VENDOR_DEC for CONFIG_NET_TULIP CONFIG_IOMMU_SUPPORT for CONFIG_AMD_IOOMU & CONFIG_INTEL_IOMMU CONFIG_NET_VENDOR_NVIDIA for CONFIG_FORCEDETH Config 'LOGITECH_FF' has the following Direct dependencies (LOGITECH_FF=n): HID_LOGITECH(=n) && HID(=y) && INPUT(=y) Parent dependencies are: HID_LOGITECH [n] HID [y] INPUT [y] [INFO]: config 'CONFIG_LOGITECH_FF' was set, but it wasn't assignable, check (parent) dependencies Config 'NET_TULIP' has the following Direct dependencies (NET_TULIP=n): PCI(=y) || EISA(=n) || CARDBUS(=y) (=y) && NET_VENDOR_DEC(=n) && ETHERNET(=y) && NETDEVICES(=y) Parent dependencies are: NET_VENDOR_DEC [n] ETHERNET [y] EISA [n] PCI [y] CARDBUS [y] NETDEVICES [y] [INFO]: config 'CONFIG_NET_TULIP' was set, but it wasn't assignable, check (parent) dependencies Config 'FORCEDETH' has the following Direct dependencies (FORCEDETH=n): PCI(=y) && NET_VENDOR_NVIDIA(=n) && ETHERNET(=y) && NETDEVICES(=y) Parent dependencies are: NETDEVICES [y] PCI [y] NET_VENDOR_NVIDIA [n] ETHERNET [y] [INFO]: config 'CONFIG_FORCEDETH' was set, but it wasn't assignable, check (parent) dependencies Tested with qemux86-64 machine: $ oe-selftest --run-tests kerneldevelopment.KernelConfigs Disabled debug configurations. Yocto-kernel-cahce have seperate debug configurations. Signed-off-by: Naveen Saini --- arch/x86/configs/x86_64_defconfig | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig index e8a7a0af2bda..fef36a0d6961 100644 --- a/arch/x86/configs/x86_64_defconfig +++ b/arch/x86/configs/x86_64_defconfig @@ -115,7 +115,7 @@ CONFIG_PCCARD=y CONFIG_YENTA=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y -CONFIG_DEBUG_DEVRES=y +# CONFIG_DEBUG_DEVRES is not set CONFIG_CONNECTOR=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_SD=y @@ -141,11 +141,13 @@ CONFIG_NETDEVICES=y CONFIG_NETCONSOLE=y CONFIG_TIGON3=y CONFIG_NET_TULIP=y +CONFIG_NET_VENDOR_DEC=y CONFIG_E100=y CONFIG_E1000=y CONFIG_E1000E=y CONFIG_SKY2=y CONFIG_FORCEDETH=y +CONFIG_NET_VENDOR_NVIDIA=y CONFIG_8139TOO=y CONFIG_R8169=y CONFIG_INPUT_EVDEV=y @@ -186,12 +188,13 @@ CONFIG_SOUND=y CONFIG_SND=y CONFIG_SND_HRTIMER=y CONFIG_SND_SEQUENCER=y -CONFIG_SND_SEQ_DUMMY=y +CONFIG_SND_SEQ_DUMMY=m CONFIG_SND_HDA_INTEL=y CONFIG_SND_HDA_HWDEP=y CONFIG_HIDRAW=y CONFIG_HID_GYRATION=y CONFIG_LOGITECH_FF=y +CONFIG_HID_LOGITECH=y CONFIG_HID_NTRIG=y CONFIG_HID_PANTHERLORD=y CONFIG_PANTHERLORD_FF=y @@ -214,9 +217,10 @@ CONFIG_USB_STORAGE=y CONFIG_RTC_CLASS=y # CONFIG_RTC_HCTOSYS is not set CONFIG_DMADEVICES=y -CONFIG_EEEPC_LAPTOP=y +CONFIG_EEEPC_LAPTOP=m CONFIG_AMD_IOMMU=y CONFIG_INTEL_IOMMU=y +CONFIG_IOMMU_SUPPORT=y # CONFIG_INTEL_IOMMU_DEFAULT_ON is not set CONFIG_EXT4_FS=y CONFIG_EXT4_FS_POSIX_ACL=y @@ -257,4 +261,4 @@ CONFIG_SCHEDSTATS=y CONFIG_BLK_DEV_IO_TRACE=y CONFIG_PROVIDE_OHCI1394_DMA_INIT=y CONFIG_EARLY_PRINTK_DBGP=y -CONFIG_DEBUG_BOOT_PARAMS=y +# CONFIG_DEBUG_BOOT_PARAMS is not set -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10852): https://lists.yoctoproject.org/g/linux-yocto/message/10852 Mute This Topic: https://lists.yoctoproject.org/mt/88579395/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-zephyr][RFC][PATCH 0/6] Additional machines and removal of MACHINEOVERRIDES.
Thank you EilÃs Nà Fhlannagáin. I faced failures, when I tried to build few recipes: (1) 'zephyr-lvgl' with 'nrf52840dk-nrf52840' machine. Error log: abi/zephyr-lvgl/2.7.1+gitAUTOINC+e4da3e5280_b0612c97c1-r0/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout: Applying patch 0001-cmake-added-missing-file-ext-to.patch patching file CMakeLists.txt Hunk #1 FAILED at 58. 1 out of 1 hunk FAILED -- rejects in file CMakeLists.txt Patch 0001-cmake-added-missing-file-ext-to.patch can be reverse-applied (2) 'zephyr-http-client' with '96b-nitrogen' machine: | Merged configuration '/home/saininav/work/development/zephyr-workspace/poky/build-zephyr/tmp-newlib/work/armv7m-yocto-eabi/zephyr-http-client/2.7.1+gitAUTOINC+e4da3e5280_b0612c97c1-r0/git/samples/net/sockets/http_client/prj.conf' | | error: Aborting due to Kconfig warnings | | CMake Error at /home/saininav/work/development/zephyr-workspace/poky/build-zephyr/tmp-newlib/work/armv7m-yocto-eabi/zephyr-http-client/2.7.1+gitAUTOINC+e4da3e5280_b0612c97c1-r0/git/cmake/kconfig.cmake:269 (message): | command failed with return code: 1 | Call Stack (most recent call first): Please find more comments inline.. > -Original Message- > From: EilÃs Nà Fhlannagáin > Sent: Friday, January 7, 2022 10:10 PM > To: pi...@pidge.org; yocto@lists.yoctoproject.org > Cc: Saini, Naveen Kumar ; EilÃs Nà > Fhlannagáin > Subject: [meta-zephyr][RFC][PATCH 0/6] Additional machines and removal of > MACHINEOVERRIDES. > > From: EilÃs Nà Fhlannagáin > > This set of patches relates to what I discussed at > https://lists.yoctoproject.org/g/yocto/message/55285. > > Four major issues (and one minor issue)are dealt with in this series. The > first > is a logical split of the > meta-zephyr layer into a machine BSP layer and a functional core layer. > > The second is the removal for the need of MACHINEOVERRIDES as a method > of telling zephyr it's'-DZEPHYR_MODULES. Zephyr > already knows this, so by abusing west list a bit, we can pull that > information > out and generate the needed config > line to be passed into cmake. Out of tree ZEPHYR_MODULES should be > added via ZEPHYR_EXTRA_MODULES. > > The third major issue is as we're now relying on west to know what modules > Zephyr needs, we need to checkout the > complete Zephyr source. > > The last major issue is that Zephyr knows it's own machine config and I would > like us to support as many of the Zephyr > machines as possible. As I've yet to find a way to do this at build time, > with a > little abuse of cmake exports we can > generate machine configurations based on what is in Zephyr itself. These > have obviously not all been tested > > In essence, this patch gives us 382 additional machines to add to the 9 that > already existed. Testing for these new > boards is still being worked out. [Naveen] Thanks for working on testing part too. It would be challenge to test all (~382) machine configurations ! > > Lastly there was a minor issue with the 2.6.1 kernel in that the dtc patch > Ross > created for 2.7.0 (moved to 2.7.1) wasn't > applied which causes 2.6.1 to fail with the same error > > EilÃs Nà Fhlannagáin (6): > meta-zephyr-core/bsp: Restructure into sublayers > west: Add west and python dependencies > zephyr.bbclass: Remove need for MACHINEOVERRIDES for > ZEPHYR_MODULES > zephyr-kernel-src: Add complete zephyr source > zephyr-kernel-src-2.6.1: Add dtc patch. > meta-zephyr-bsp: Add autogenerated machines. > > README.txt| 2 +- > {conf => meta-zephyr-bsp/conf}/layer.conf | 12 +- > .../conf/machine/96b-aerocore2.conf | 22 ++ > .../conf/machine/96b-argonkey.conf| 22 ++ > .../conf}/machine/96b-avenger96.conf | 0 > .../conf/machine/96b-carbon-nrf51.conf| 22 ++ > meta-zephyr-bsp/conf/machine/96b-carbon.conf | 22 ++ > .../conf/machine/96b-meerkat96.conf | 22 ++ > meta-zephyr-bsp/conf/machine/96b-neonkey.conf | 22 ++ > .../conf}/machine/96b-nitrogen.conf | 0 > .../conf/machine/96b-stm32-sensor-mez.conf| 22 ++ > meta-zephyr-bsp/conf/machine/96b-wistrio.conf | 22 ++ > .../conf/machine/acrn-ehl-crb.conf| 22 ++ > meta-zephyr-bsp/conf/machine/acrn.conf| 22 ++ > .../conf/machine/actinius-icarus-bee-ns.conf | 22 ++ > .../conf/machine/actinius-icarus-bee.conf | 22 ++ > .../conf/machine/actinius-icarus-ns.conf | 22 ++ > .../conf/machine/actinius-icarus-som-ns.conf | 22 ++ > .../conf/machine/actinius-icarus-som.conf | 22 ++ > .../conf/machine/actinius-icarus.conf | 22 ++ > .../adafruit-feather-m0-basic-proto.conf | 22 ++ > .../machine/adafruit-feather-nrf52840.conf| 22 ++ > .../machine/adafruit-feather-stm32f405.conf | 22 ++ > .../adafruit-itsybitsy-m4-express.conf| 22 ++ > .../conf/machine/adafruit-trinket-m0.conf | 22 ++ > .../conf/machine/adp-xc7k-ae350.conf | 22 ++ >
Re: [yocto] [meta-zephyr][PATCH v2 4/4] zephyr-lvgl: new recipe
> -Original Message- > From: yocto@lists.yoctoproject.org On Behalf > Of Bartosz Golaszewski > Sent: Tuesday, November 9, 2021 10:43 PM > To: yocto@lists.yoctoproject.org > Cc: Bartosz Golaszewski ; EilÃs Nà > Fhlannagáin > Subject: [yocto] [meta-zephyr][PATCH v2 4/4] zephyr-lvgl: new recipe > > From: 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 for > helping me with that. > > Signed-off-by: Bartosz Golaszewski > Signed-off-by: EilÃs Nà Fhlannagáin > --- > ...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 000..6aeca14 > --- /dev/null > +++ b/recipes-kernel/zephyr-kernel/files/0001-cmake-added-missing-file-e > +++ xt-to.patch > @@ -0,0 +1,42 @@ > +From 783c1f78c8e39751fe89d0883c8bce7336f55e94 Mon Sep 17 00:00:00 > 2001 > +From: 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 > +--- > +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" [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 | | ^~ | compilation terminated. It can be checked with $ bitbake zephyr-lvgl -e | grep ^ZEPHYR_MODULES= > > 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 =
Re: [yocto] [meta-zephyr][PATCH 0/4] zephyr-lvgl: make it possible to build the zephyr lvgl sample
Could you please rebase this series with latest ! Regards, Naveen > -Original Message- > From: yocto@lists.yoctoproject.org On Behalf > Of Bartosz Golaszewski > Sent: Monday, November 8, 2021 11:44 PM > To: yocto@lists.yoctoproject.org > Cc: Bartosz Golaszewski > Subject: [yocto] [meta-zephyr][PATCH 0/4] zephyr-lvgl: make it possible to > build the zephyr lvgl sample > > 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 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55284): https://lists.yoctoproject.org/g/yocto/message/55284 Mute This Topic: https://lists.yoctoproject.org/mt/86908361/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH] README.txt: update for honister release
Signed-off-by: Naveen Saini --- README.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.txt b/README.txt index 5a0ccc7..9889b01 100644 --- a/README.txt +++ b/README.txt @@ -9,9 +9,9 @@ Prerequisites: == This layer depends on: -Yocto distro (master) +Yocto distro (honister) git://git.yoctoproject.org/poky -Python layer (meta-openembedded/meta-python) +Python layer (meta-openembedded/meta-python) (honister) git://git.openembedded.org/meta-openembedded Modify local conf by adding: -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55209): https://lists.yoctoproject.org/g/yocto/message/55209 Mute This Topic: https://lists.yoctoproject.org/mt/86761427/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src: set default preferred version to 2.7.0
Signed-off-by: Naveen Saini --- 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 458ff1e..3a2250d 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc @@ -22,5 +22,5 @@ SRC_URI = "\ S = "${WORKDIR}/git" # Default to a stable version -PREFERRED_VERSION_zephyr-kernel ??= "2.6.1" +PREFERRED_VERSION_zephyr-kernel ??= "2.7.0" include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55112): https://lists.yoctoproject.org/g/yocto/message/55112 Mute This Topic: https://lists.yoctoproject.org/mt/86483653/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 1/2] zephyr-kernel/2.7.0: update to release tag Zephyr v2.7.0
https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.7.0 Signed-off-by: Naveen Saini --- recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e3424d2..a1619a7 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,5 +1,5 @@ SRCREV_FORMAT = "default_cmsis" -SRCREV_default = "8a97c83040c0257d98c329dde55ae10e68544688" +SRCREV_default = "3f826560aaf81a444018293bd6acce3c339fe150" SRCREV_cmsis = "b0612c97c1401feeb4160add6462c3627fe90fc7" SRCREV_nordic = "a6e5299041f152da5ae0ab17b2e44e088bb96d6d" SRCREV_stm32 = "5c8275071ec1cf160bfe8c18bbd9330a7d714dc8" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55111): https://lists.yoctoproject.org/g/yocto/message/55111 Mute This Topic: https://lists.yoctoproject.org/mt/86483652/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 1/2] zephyr-kernel/2.7.0: add recipe
https://github.com/zephyrproject-rtos/zephyr/commits/v2.7-branch Keeping the default PREFERRED_VERSION to 2.6.1 for now. Signed-off-by: Naveen Saini --- .../zephyr-kernel/zephyr-kernel-src-2.7.0.inc | 17 + 1 file changed, 17 insertions(+) create mode 100644 recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc 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 new file mode 100644 index 000..e3424d2 --- /dev/null +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.0.inc @@ -0,0 +1,17 @@ +SRCREV_FORMAT = "default_cmsis" +SRCREV_default = "8a97c83040c0257d98c329dde55ae10e68544688" +SRCREV_cmsis = "b0612c97c1401feeb4160add6462c3627fe90fc7" +SRCREV_nordic = "a6e5299041f152da5ae0ab17b2e44e088bb96d6d" +SRCREV_stm32 = "5c8275071ec1cf160bfe8c18bbd9330a7d714dc8" +SRCREV_open-amp = "6010f0523cbc75f551d9256cf782f173177acdef" +SRCREV_openthread = "5d706547ebcb0a85e11412bcd88e80e2af98c74d" +SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb" +SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" +SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" + +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 \ +" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55016): https://lists.yoctoproject.org/g/yocto/message/55016 Mute This Topic: https://lists.yoctoproject.org/mt/86232346/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel/2.5.0: drop recipe
As v2.7.0 is being added, drop this version support Signed-off-by: Naveen Saini --- ...phyr-2.5.0-cmake-add-yocto-toolchain.patch | 63 --- .../zephyr-kernel/zephyr-kernel-src-2.5.0.inc | 17 - 2 files changed, 80 deletions(-) delete mode 100644 recipes-kernel/zephyr-kernel/files/0001-zephyr-2.5.0-cmake-add-yocto-toolchain.patch delete mode 100644 recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.5.0.inc diff --git a/recipes-kernel/zephyr-kernel/files/0001-zephyr-2.5.0-cmake-add-yocto-toolchain.patch b/recipes-kernel/zephyr-kernel/files/0001-zephyr-2.5.0-cmake-add-yocto-toolchain.patch deleted file mode 100644 index caab16f..000 --- a/recipes-kernel/zephyr-kernel/files/0001-zephyr-2.5.0-cmake-add-yocto-toolchain.patch +++ /dev/null @@ -1,63 +0,0 @@ -From 511745625637da0effca13c5489a392e15d32271 Mon Sep 17 00:00:00 2001 -From: Naveen Saini -Date: Tue, 31 Mar 2020 13:22:17 +0800 -Subject: [PATCH] cmake: add yocto toolchain - -Upstream status: inappropriate [OE specific] - -Signed-off-by: Naveen Saini - cmake/compiler/gcc/target.cmake | 7 --- - cmake/toolchain/yocto/generic.cmake | 13 + - cmake/toolchain/yocto/target.cmake | 1 + - 3 files changed, 14 insertions(+), 7 deletions(-) - create mode 100644 cmake/toolchain/yocto/generic.cmake - create mode 100644 cmake/toolchain/yocto/target.cmake - -diff --git a/cmake/compiler/gcc/target.cmake b/cmake/compiler/gcc/target.cmake -index 401cc28db8..5a026f4559 100644 a/cmake/compiler/gcc/target.cmake -+++ b/cmake/compiler/gcc/target.cmake -@@ -66,13 +66,6 @@ if(NOT no_libgcc) - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - -- assert_exists(LIBGCC_FILE_NAME) -- -- get_filename_component(LIBGCC_DIR ${LIBGCC_FILE_NAME} DIRECTORY) -- -- assert_exists(LIBGCC_DIR) -- -- LIST(APPEND LIB_INCLUDE_DIR "-L\"${LIBGCC_DIR}\"") - LIST(APPEND TOOLCHAIN_LIBS gcc) - endif() - -diff --git a/cmake/toolchain/yocto/generic.cmake b/cmake/toolchain/yocto/generic.cmake -new file mode 100644 -index 00..45e5777e2a /dev/null -+++ b/cmake/toolchain/yocto/generic.cmake -@@ -0,0 +1,13 @@ -+set(COMPILER gcc) -+set(LINKER ld) -+set(BINTOOLS gnu) -+ -+set(ZEPHYR_SYSROOT ${ZEPHYR_SYSROOT}) -+set(SYSROOT_DIR ${ZEPHYR_SYSROOT}) -+set(LIBC_LIBRARY_DIR "\"${SYSROOT_DIR}\"/") -+set(LIBC_INCLUDE_DIR ${SYSROOT_DIR}/include) -+LIST(APPEND TOOLCHAIN_LIBS gcc) -+ -+LIST(APPEND LIB_INCLUDE_DIR "-L\"${STAGING_LIBDIR}\"") -+ -+set(TOOLCHAIN_LIBS gcc) -diff --git a/cmake/toolchain/yocto/target.cmake b/cmake/toolchain/yocto/target.cmake -new file mode 100644 -index 00..9881313609 /dev/null -+++ b/cmake/toolchain/yocto/target.cmake -@@ -0,0 +1 @@ -+# SPDX-License-Identifier: Apache-2.0 --- -2.17.1 - diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.5.0.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.5.0.inc deleted file mode 100644 index be75362..000 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.5.0.inc +++ /dev/null @@ -1,17 +0,0 @@ -SRCREV_FORMAT = "default_cmsis" -SRCREV_default = "fe7c2efca800a0cf1bccf23aefe08b3c4beb88bf" -SRCREV_cmsis = "c3bd2094f92d574377f7af2aec147ae181aa5f8e" -SRCREV_nordic = "f3434da6446380fcdd426dbe2866af21d0d549b6" -SRCREV_stm32 = "cc8731dba4fd9c57d7fe8ea6149828b89c2bd635" -SRCREV_open-amp = "de1b85a13032a2de1d8b6695ae5f800b613e739d" -SRCREV_openthread = "385e19da1ae15f27872c2543b97276a42f102ead" -SRCREV_libmetal = "9d4ee2c3cfd5f49861939447990f3b7d7bf9bf94" -SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" -SRCREV_mbedtls = "24d84ecff195fb15c889d9046e44e4804d626c67" - -ZEPHYR_BRANCH = "main" -PV = "2.5.0+git${SRCPV}" - -SRC_URI:append = " file://0001-zephyr-2.5.0-cmake-add-yocto-toolchain.patch \ - file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch \ -" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55017): https://lists.yoctoproject.org/g/yocto/message/55017 Mute This Topic: https://lists.yoctoproject.org/mt/86232347/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157
This is only cover letter, I do not see patches on mailing list.. Regards, Naveen > -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of Arnaud Pouliquen > Sent: Wednesday, September 29, 2021 5:41 PM > To: yocto@lists.yoctoproject.org > Cc: Kumar Gala ; Kevin Townsend > > Subject: [yocto] [meta-zephyr 0/2] add support of the zephyr-openamp-rsc- > table sample on STM32MP157 > > Add capability to genereate the "zephyr-openamp-rsc-table" sample in yocto > build. > > This example demonstrates inter-processor communication based on a > resource table, with the objective of responding to the Linux kernel rpmsg > sample. > > This sample is compatible with the stm32mp157c_dk2 board. > The support of the board is also added in this series. > > Arnaud Pouliquen (2): > conf: machine: add stm32mp157c-dk2 support > zephyr-kernel: add openamp-rsc-table sample > > conf/machine/stm32mp157c-dk2.conf | 8 > .../zephyr-kernel/zephyr-openamp-rsc-table.bb | 10 ++ > 2 files changed, 18 insertions(+) > create mode 100644 conf/machine/stm32mp157c-dk2.conf create mode > 100644 recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb > > -- > 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54954): https://lists.yoctoproject.org/g/yocto/message/54954 Mute This Topic: https://lists.yoctoproject.org/mt/85944703/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-zephyr][hardknott] backport tmpfsdir from master
Done. Regards, Naveen > -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of Jon Mason > Sent: Monday, September 27, 2021 9:24 PM > To: Saini, Naveen Kumar > Cc: yocto@lists.yoctoproject.org > Subject: [yocto] [meta-zephyr][hardknott] backport tmpfsdir from master > > Hey Naveen, > The hardknott branch in meta-zephyr needs the tmpfsdir patch > (678600bee6092e58110a826a9cbefc2f5c52916c) from the master branch > cherry-picked back to hardknott. It has the same issue master had with > breaking when trying to run qemu. Can you please pull it in? > > Thanks, > Jon -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54889): https://lists.yoctoproject.org/g/yocto/message/54889 Mute This Topic: https://lists.yoctoproject.org/mt/85900351/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 1/2] zephyr-qemuboot: fix parse build failure
As OE-core explicitly have added depends for qemu-helper addto_recipe_sysroot task, which breaks zephyr-qemuboot implementation of adding build dependencies http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=282d596b8cc81d650b6d20c6131fdc236bad2c20 ERROR: Error for meta-zephyr/recipes-kernel/zephyr-kernel/zephyr-helloworld.bb: do_bootconf_write[depends], dependency qemu-helper-native:do_addto_recipe_sysroot:do_addto_recipe_sysroot in ' qemu-helper-native:do_addto_recipe_sysroot:do_addto_recipe_sysroot qemu-helper-native:do_addto_recipe_sysroot:do_populate_sysroot' does not contain exactly one ':' character. Task 'depends' should be specified in the form 'packagename:task' ERROR: Command execution failed: Exited with 1 Signed-off-by: Naveen Saini --- classes/zephyr-qemuboot.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/zephyr-qemuboot.bbclass b/classes/zephyr-qemuboot.bbclass index c268e9e..b45e6f6 100644 --- a/classes/zephyr-qemuboot.bbclass +++ b/classes/zephyr-qemuboot.bbclass @@ -48,7 +48,7 @@ python () { for dep in (d.getVar('EXTRA_IMAGEDEPENDS') or "").split(): # Make sure we only add it for qemu if 'qemu-helper-native' in dep: -deps += " %s:%s" % (dep, task) +deps += " qemu-helper-native:%s" % (task) return deps d.appendVarFlag('do_bootconf_write', 'depends', extraimage_getdepends('do_addto_recipe_sysroot')) d.appendVarFlag('do_bootconf_write', 'depends', extraimage_getdepends('do_populate_sysroot')) -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54833): https://lists.yoctoproject.org/g/yocto/message/54833 Mute This Topic: https://lists.yoctoproject.org/mt/85833578/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel: upgrade 2.6.0 -> 2.6.1
It has GCC-11 fixes. https://github.com/zephyrproject-rtos/zephyr/issues/35707 Commits included: 2d6322d74a demand_paging: eviction/nru: fix incorrect dirty bit return val 25771e6928 drivers: clock_control: stm32: enable PWR clock unconditionally 92e36185e8 [Backport v2.6-branch] Microchip: XEC GPIO driver interrupt enable part 2 68d33e3834 libc/minimal: locate the memory pool for malloc() to .bss 7f3abab9bf net: tcp: accept [FIN, PSH, ACK] in TCP_FIN_WAIT_2 state 533dcaf374 lib/os/cbprintf_nano.c: avoid sign extension on unsigned formats ea55ebfa74 tests: schedule_api: use stack array extern macro 95bb8841b8 tests: mem_protect: fix warning on uninitialized variable 1f8c53dfaf tests: kernel/common: avoid using compiler builtin popcount 7bb7454a00 kernel: use proper macro to declare extern interrupt stacks 25fd176014 kernel: add macros to allow declaring extern stack arrays e1cde092ac kernel: move Z_KERNEL_STACK_LEN higher in thread_stack.h 244049bd71 x86: type cast to uint8_t* for bit ops 5dae0c1bf0 kernel: ignore array bound warnings for generated syscall funcs 5666e4d525 cmake: force GCC to emit DWARF version 4 91a78866ca Bluetooth: Controller: Fix advertising after connections from same peer 0afddb2341 x86/cache: fix issues in arch dcache flush function 9bcf9b6a53 json: fix parsing first array-array element 2595cce714 cmake: oneApi: add oneApi support on windows. 18d314e750 cmake: oneApi: add oneApi support on windows c8755e0b46 (tag: v2.6.1-rc1) tests/benchmarks: add dynamic memory allocation measurement a4d35f0a3e doc: 2.6.1 release notes 7094aaee55 release: Bump release to 2.6.1-rc1 585c03a0b6 drivers/clock_control: stm32: Fix macro to get HCLK freq cacb0a4e59 Bluetooth: L2CAP: Fix missing net_buf_unref() 78ab750540 timer: hpet: convert register access to functions d9df404d47 timer: hpet: don't force TIMER_READS_ITS_FREQUENCY_AT_RUNTIME 8e80955511 timer: hpet: allow overriding MIN_DELAY 99dc33faaf timer: hpet: extract Counter Clock Period into a macro 02fbe652a5 logging: fs: fix leak of opened directories in check_log_file_exist() 80b406d784 x86: acpi: limit search on where EBDA can be Signed-off-by: Naveen Saini --- ...ephyr-kernel-src-2.6.0.inc => zephyr-kernel-src-2.6.1.inc} | 4 ++-- recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename recipes-kernel/zephyr-kernel/{zephyr-kernel-src-2.6.0.inc => zephyr-kernel-src-2.6.1.inc} (90%) diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc similarity index 90% rename from recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc rename to recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc index 63665bf..109242e 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc @@ -1,5 +1,5 @@ SRCREV_FORMAT = "default_cmsis" -SRCREV_default = "837ab4a915f7802a6fb02a27e4b024e287ac93c2" +SRCREV_default = "2d6322d74aaac838ead46bfcba0db619cff4b534" SRCREV_cmsis = "c3bd2094f92d574377f7af2aec147ae181aa5f8e" SRCREV_nordic = "574493fe29c79140df4827ab5d4a23df79d03681" SRCREV_stm32 = "f8ff8d25aa0a9e65948040c7b47ec67f3fa300df" @@ -10,7 +10,7 @@ SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" ZEPHYR_BRANCH = "v2.6-branch" -PV = "2.6.0+git${SRCPV}" +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 \ diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc index abe755d..458ff1e 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc @@ -22,5 +22,5 @@ SRC_URI = "\ S = "${WORKDIR}/git" # Default to a stable version -PREFERRED_VERSION_zephyr-kernel ??= "2.6.0" +PREFERRED_VERSION_zephyr-kernel ??= "2.6.1" include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54832): https://lists.yoctoproject.org/g/yocto/message/54832 Mute This Topic: https://lists.yoctoproject.org/mt/85833577/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH] layer.conf: update machine confs with new tune locations
Added logic to make sure, it does not break with old releases. Signed-off-by: Naveen Saini --- conf/layer.conf | 2 ++ conf/machine/include/tune-corei7-common.inc | 4 ++-- conf/machine/qemu-x86.conf | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/conf/layer.conf b/conf/layer.conf index 5f13c27..35f1075 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -16,3 +16,5 @@ LAYERVERSION_zephyr = "1" LAYERDEPENDS_zephyr = "core meta-python" LAYERSERIES_COMPAT_zephyr = "dunfell gatesgarth hardknott honister" + +X86_TUNE_DIR = "${@bb.utils.contains('LAYERSERIES_CORENAMES', 'honister', 'include/x86', 'include', d)}" diff --git a/conf/machine/include/tune-corei7-common.inc b/conf/machine/include/tune-corei7-common.inc index 509d190..b68fc05 100644 --- a/conf/machine/include/tune-corei7-common.inc +++ b/conf/machine/include/tune-corei7-common.inc @@ -1,6 +1,6 @@ DEFAULTTUNE ?= "corei7-64" -require conf/machine/include/tune-corei7.inc -require conf/machine/include/x86-base.inc +require conf/machine/${X86_TUNE_DIR}/tune-corei7.inc +require conf/machine/${X86_TUNE_DIR}/x86-base.inc # Add x86 to MACHINEOVERRIDE MACHINEOVERRIDES =. "x86:" diff --git a/conf/machine/qemu-x86.conf b/conf/machine/qemu-x86.conf index 31ce80d..ae7716c 100644 --- a/conf/machine/qemu-x86.conf +++ b/conf/machine/qemu-x86.conf @@ -3,7 +3,7 @@ #@DESCRIPTION: Machine for Zephyr BOARD qemu_x86 require conf/machine/include/qemu.inc -require conf/machine/include/tune-i586.inc +require conf/machine/${X86_TUNE_DIR}/tune-i586.inc ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54537): https://lists.yoctoproject.org/g/yocto/message/54537 Mute This Topic: https://lists.yoctoproject.org/mt/85081141/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto] [yocto-kernel-cache][yocto-5.10][PATCH v2] nf: drop merged patch
From: Bruce Ashfield Ref: https://github.com/torvalds/linux/commit/5d1549847c76b1ffcf8e388ef4d0f229bdd1d7e8 https://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/commit/?h=yocto-5.13=b085ea380cfe6101f56665de6b2362b66fcef9eb Signed-off-by: Bruce Ashfield Signed-off-by: Naveen Saini --- features/net/net.scc | 1 - ...emainder-of-pseudo-header-protocol-0.patch | 92 --- 2 files changed, 93 deletions(-) delete mode 100644 features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch diff --git a/features/net/net.scc b/features/net/net.scc index a907e016..606aaa91 100644 --- a/features/net/net.scc +++ b/features/net/net.scc @@ -1,4 +1,3 @@ # SPDX-License-Identifier: MIT kconf hardware net.cfg -patch netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch diff --git a/features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch b/features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch deleted file mode 100644 index d1fdbf98.. --- a/features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch +++ /dev/null @@ -1,92 +0,0 @@ -From b383959122e464ccdc21f6b37af88152d29cdf95 Mon Sep 17 00:00:00 2001 -From: He Zhe -Date: Tue, 25 Jun 2019 18:15:50 +0800 -Subject: [PATCH] netfilter: Fix remainder of pseudo-header protocol 0 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Since v5.1-rc1, some types of packets do not get unreachable reply with the -following iptables setting. Fox example, - -$ iptables -A INPUT -p icmp --icmp-type 8 -j REJECT -$ ping 127.0.0.1 -c 1 -PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. -— 127.0.0.1 ping statistics — -1 packets transmitted, 0 received, 100% packet loss, time 0ms - -We should have got the following reply from command line, but we did not. -From 127.0.0.1 icmp_seq=1 Destination Port Unreachable - -Yi Zhao reported it and narrowed it down to: -7fc38225363d ("netfilter: reject: skip csum verification for protocols that don't support it"), - -This is because nf_ip_checksum still expects pseudo-header protocol type 0 for -packets that are of neither TCP or UDP, and thus ICMP packets are mistakenly -treated as TCP/UDP. - -This patch corrects the conditions in nf_ip_checksum and all other places that -still call it with protocol 0. - -Fixes: 7fc38225363d ("netfilter: reject: skip csum verification for protocols that don't support it") -Reported-by: Yi Zhao -Signed-off-by: He Zhe -Signed-off-by: Bruce Ashfield - net/netfilter/nf_conntrack_proto_icmp.c | 2 +- - net/netfilter/nf_nat_proto.c| 2 +- - net/netfilter/utils.c | 5 +++-- - 3 files changed, 5 insertions(+), 4 deletions(-) - -diff --git a/net/netfilter/nf_conntrack_proto_icmp.c b/net/netfilter/nf_conntrack_proto_icmp.c -index a824367ed518..dd53e2b20f6b 100644 a/net/netfilter/nf_conntrack_proto_icmp.c -+++ b/net/netfilter/nf_conntrack_proto_icmp.c -@@ -218,7 +218,7 @@ int nf_conntrack_icmpv4_error(struct nf_conn *tmpl, - /* See ip_conntrack_proto_tcp.c */ - if (state->net->ct.sysctl_checksum && - state->hook == NF_INET_PRE_ROUTING && -- nf_ip_checksum(skb, state->hook, dataoff, 0)) { -+ nf_ip_checksum(skb, state->hook, dataoff, IPPROTO_ICMP)) { - icmp_error_log(skb, state, "bad hw icmp checksum"); - return -NF_ACCEPT; - } -diff --git a/net/netfilter/nf_nat_proto.c b/net/netfilter/nf_nat_proto.c -index 07da07788f6b..83a24cc5753b 100644 a/net/netfilter/nf_nat_proto.c -+++ b/net/netfilter/nf_nat_proto.c -@@ -564,7 +564,7 @@ int nf_nat_icmp_reply_translation(struct sk_buff *skb, - - if (!skb_make_writable(skb, hdrlen + sizeof(*inside))) - return 0; -- if (nf_ip_checksum(skb, hooknum, hdrlen, 0)) -+ if (nf_ip_checksum(skb, hooknum, hdrlen, IPPROTO_ICMP)) - return 0; - - inside = (void *)skb->data + hdrlen; -diff --git a/net/netfilter/utils.c b/net/netfilter/utils.c -index 06dc55590441..51b454d8fa9c 100644 a/net/netfilter/utils.c -+++ b/net/netfilter/utils.c -@@ -17,7 +17,8 @@ __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, - case CHECKSUM_COMPLETE: - if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) - break; -- if ((protocol == 0 && !csum_fold(skb->csum)) || -+ if ((protocol != IPPROTO_TCP && protocol != IPPROTO_UDP && -+ !csum_fold(skb->csum)) || - !csum_tcpudp_magic(iph->saddr, iph->daddr, - skb->len - dataoff, protocol, - skb->csum)) { -@@ -26,7 +27,7 @@ __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, - } - /* fall through */ -
[linux-yocto] [yocto-kernel-cache][yocto-5.10][PATCH] nf: drop merged patch
From: Bruce Ashfield Ref: https://github.com/torvalds/linux/commit/5d1549847c76b1ffcf8e388ef4d0f229bdd1d7e8 https://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/commit/?h=yocto-5.13=b085ea380cfe6101f56665de6b2362b66fcef9eb Signed-off-by: Bruce Ashfield --- features/net/net.scc | 1 - ...emainder-of-pseudo-header-protocol-0.patch | 92 --- 2 files changed, 93 deletions(-) delete mode 100644 features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch diff --git a/features/net/net.scc b/features/net/net.scc index a907e016..606aaa91 100644 --- a/features/net/net.scc +++ b/features/net/net.scc @@ -1,4 +1,3 @@ # SPDX-License-Identifier: MIT kconf hardware net.cfg -patch netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch diff --git a/features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch b/features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch deleted file mode 100644 index d1fdbf98.. --- a/features/net/netfilter-Fix-remainder-of-pseudo-header-protocol-0.patch +++ /dev/null @@ -1,92 +0,0 @@ -From b383959122e464ccdc21f6b37af88152d29cdf95 Mon Sep 17 00:00:00 2001 -From: He Zhe -Date: Tue, 25 Jun 2019 18:15:50 +0800 -Subject: [PATCH] netfilter: Fix remainder of pseudo-header protocol 0 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Since v5.1-rc1, some types of packets do not get unreachable reply with the -following iptables setting. Fox example, - -$ iptables -A INPUT -p icmp --icmp-type 8 -j REJECT -$ ping 127.0.0.1 -c 1 -PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. -— 127.0.0.1 ping statistics — -1 packets transmitted, 0 received, 100% packet loss, time 0ms - -We should have got the following reply from command line, but we did not. -From 127.0.0.1 icmp_seq=1 Destination Port Unreachable - -Yi Zhao reported it and narrowed it down to: -7fc38225363d ("netfilter: reject: skip csum verification for protocols that don't support it"), - -This is because nf_ip_checksum still expects pseudo-header protocol type 0 for -packets that are of neither TCP or UDP, and thus ICMP packets are mistakenly -treated as TCP/UDP. - -This patch corrects the conditions in nf_ip_checksum and all other places that -still call it with protocol 0. - -Fixes: 7fc38225363d ("netfilter: reject: skip csum verification for protocols that don't support it") -Reported-by: Yi Zhao -Signed-off-by: He Zhe -Signed-off-by: Bruce Ashfield - net/netfilter/nf_conntrack_proto_icmp.c | 2 +- - net/netfilter/nf_nat_proto.c| 2 +- - net/netfilter/utils.c | 5 +++-- - 3 files changed, 5 insertions(+), 4 deletions(-) - -diff --git a/net/netfilter/nf_conntrack_proto_icmp.c b/net/netfilter/nf_conntrack_proto_icmp.c -index a824367ed518..dd53e2b20f6b 100644 a/net/netfilter/nf_conntrack_proto_icmp.c -+++ b/net/netfilter/nf_conntrack_proto_icmp.c -@@ -218,7 +218,7 @@ int nf_conntrack_icmpv4_error(struct nf_conn *tmpl, - /* See ip_conntrack_proto_tcp.c */ - if (state->net->ct.sysctl_checksum && - state->hook == NF_INET_PRE_ROUTING && -- nf_ip_checksum(skb, state->hook, dataoff, 0)) { -+ nf_ip_checksum(skb, state->hook, dataoff, IPPROTO_ICMP)) { - icmp_error_log(skb, state, "bad hw icmp checksum"); - return -NF_ACCEPT; - } -diff --git a/net/netfilter/nf_nat_proto.c b/net/netfilter/nf_nat_proto.c -index 07da07788f6b..83a24cc5753b 100644 a/net/netfilter/nf_nat_proto.c -+++ b/net/netfilter/nf_nat_proto.c -@@ -564,7 +564,7 @@ int nf_nat_icmp_reply_translation(struct sk_buff *skb, - - if (!skb_make_writable(skb, hdrlen + sizeof(*inside))) - return 0; -- if (nf_ip_checksum(skb, hooknum, hdrlen, 0)) -+ if (nf_ip_checksum(skb, hooknum, hdrlen, IPPROTO_ICMP)) - return 0; - - inside = (void *)skb->data + hdrlen; -diff --git a/net/netfilter/utils.c b/net/netfilter/utils.c -index 06dc55590441..51b454d8fa9c 100644 a/net/netfilter/utils.c -+++ b/net/netfilter/utils.c -@@ -17,7 +17,8 @@ __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, - case CHECKSUM_COMPLETE: - if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) - break; -- if ((protocol == 0 && !csum_fold(skb->csum)) || -+ if ((protocol != IPPROTO_TCP && protocol != IPPROTO_UDP && -+ !csum_fold(skb->csum)) || - !csum_tcpudp_magic(iph->saddr, iph->daddr, - skb->len - dataoff, protocol, - skb->csum)) { -@@ -26,7 +27,7 @@ __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, - } - /* fall through */ - case CHECKSUM_NONE: -- if (protocol == 0) -+ if (protocol != IPPROTO_TCP && protocol != IPPROTO_UDP) -
[yocto] [meta-zephyr][PATCH 1/2] zephyr-kernel-src: switch to main branch for hal_stm32 module repo
Signed-off-by: Naveen Saini --- 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 950966e..abe755d 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc @@ -12,7 +12,7 @@ SRC_URI = "\ git://github.com/zephyrproject-rtos/zephyr.git;protocol=https;branch=${ZEPHYR_BRANCH};name=default \ 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;protocol=https;destsuffix=git/modules/hal/stm32;name=stm32 \ + git://github.com/zephyrproject-rtos/hal_stm32.git;branch=main;protocol=https;destsuffix=git/modules/hal/stm32;name=stm32 \ 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 \ -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54367): https://lists.yoctoproject.org/g/yocto/message/54367 Mute This Topic: https://lists.yoctoproject.org/mt/84809468/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src-dev.inc: add dev recipe
It allow to build against latest main branch. User need to have following config locally to use it. PREFERRED_VERSION_zephyr-kernel = "dev" Signed-off-by: Naveen Saini --- .../zephyr-kernel/zephyr-kernel-src-dev.inc | 17 + 1 file changed, 17 insertions(+) create mode 100644 recipes-kernel/zephyr-kernel/zephyr-kernel-src-dev.inc diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-dev.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-dev.inc new file mode 100644 index 000..da2a5d5 --- /dev/null +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-dev.inc @@ -0,0 +1,17 @@ +SRCREV_FORMAT = "default_cmsis" +SRCREV_default = "72bb75a360ce05bfc94ff0fbecda2e2d094e3d84" +SRCREV_cmsis = "c3bd2094f92d574377f7af2aec147ae181aa5f8e" +SRCREV_nordic = "00fd2aa97a22ea1052d9dabe1b18ab396daab93a" +SRCREV_stm32 = "4200321ef1cd27cacc37b0439389424156bb1267" +SRCREV_open-amp = "6010f0523cbc75f551d9256cf782f173177acdef" +SRCREV_openthread = "542b14a5bc5b38f29e2cab892c66da670a524b05" +SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb" +SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" +SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" + +ZEPHYR_BRANCH = "main" +PV = "2.6.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 \ +" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54366): https://lists.yoctoproject.org/g/yocto/message/54366 Mute This Topic: https://lists.yoctoproject.org/mt/84809467/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH v2 1/2] Convert to new override syntax
Use the convert-overrides.py to convert to new syntax and fixed some additional changes manually. Signed-off-by: Naveen Saini --- classes/zephyr.bbclass | 2 +- conf/machine/96b-avenger96.conf| 2 +- conf/machine/96b-nitrogen.conf | 2 +- conf/machine/arduino-nano-33-ble.conf | 2 +- conf/machine/include/tune-arc.inc | 2 +- conf/machine/include/tune-cortexm0.inc | 8 conf/machine/include/tune-cortexm3.inc | 10 +- conf/machine/include/tune-cortexm4.inc | 10 +- conf/machine/include/tune-iamcu.inc| 4 ++-- conf/machine/include/tune-nios2.inc| 4 ++-- conf/machine/intel-x86-64.conf | 2 +- conf/machine/nrf52840dk-nrf52840.conf | 2 +- conf/machine/qemu-cortex-m3.conf | 2 +- conf/machine/qemu-nios2.conf | 2 +- conf/machine/qemu-x86.conf | 6 +++--- recipes-core/newlib/newlib_%.bbappend | 10 +- recipes-devtools-arc/binutils/binutils-2.26arc.inc | 4 ++-- .../binutils/binutils-cross-canadian_2.26arc.bb| 2 +- .../binutils/binutils-cross_2.26arc.bb | 4 ++-- recipes-devtools-arc/gcc/gcc-6.x.arc.inc | 4 ++-- .../gcc/gcc-cross-canadian_6.x.arc.bb | 8 recipes-devtools-arc/gcc/gcc-cross_6.x.arc .bb | 8 recipes-devtools-arc/gcc/libgcc_6.x.arc.bb | 6 +++--- recipes-devtools/gcc/gcc-cross_6.%.bbappend| 2 +- recipes-devtools/gcc/libgcc_6.%.bbappend | 4 ++-- recipes-devtools/qemu/qemu_%.bbappend | 6 +++--- recipes-kernel/zephyr-kernel/zephyr-coap-client.bb | 2 +- recipes-kernel/zephyr-kernel/zephyr-coap-server.bb | 2 +- recipes-kernel/zephyr-kernel/zephyr-echo-client.bb | 2 +- recipes-kernel/zephyr-kernel/zephyr-http-client.bb | 2 +- .../zephyr-kernel/zephyr-kernel-common.inc | 14 +++--- .../zephyr-kernel/zephyr-kernel-src-2.5.0.inc | 2 +- .../zephyr-kernel/zephyr-kernel-src-2.6.0.inc | 2 +- recipes-kernel/zephyr-kernel/zephyr-kernel-src.bb | 2 +- recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 +- .../zephyr-kernel/zephyr-kernel-test.inc | 12 ++-- .../zephyr-kernel/zephyr-mqtt-publisher.bb | 2 +- .../zephyr-kernel/zephyr-openthread-echo-client.bb | 4 ++-- .../zephyr-kernel/zephyr-peripheral-esp.bb | 2 +- .../zephyr-kernel/zephyr-peripheral-hr.bb | 2 +- .../zephyr-kernel/zephyr-websocket-client.bb | 2 +- 41 files changed, 86 insertions(+), 86 deletions(-) diff --git a/classes/zephyr.bbclass b/classes/zephyr.bbclass index 6fceb04..e1d3185 100644 --- a/classes/zephyr.bbclass +++ b/classes/zephyr.bbclass @@ -48,7 +48,7 @@ do_menuconfig[nostamp] = "1" do_menuconfig[dirs] = "${B}" addtask menuconfig after do_configure -python do_devshell_prepend () { +python do_devshell:prepend () { # Most likely we need to manually edit prj.conf... os.chdir(d.getVar('ZEPHYR_SRC_DIR', True)) } diff --git a/conf/machine/96b-avenger96.conf b/conf/machine/96b-avenger96.conf index 7bcfb4a..ae6f972 100644 --- a/conf/machine/96b-avenger96.conf +++ b/conf/machine/96b-avenger96.conf @@ -5,4 +5,4 @@ require conf/machine/include/stm32mp1-cortex-m4.inc -ARCH_96b-avenger96 = "arm" +ARCH:96b-avenger96 = "arm" diff --git a/conf/machine/96b-nitrogen.conf b/conf/machine/96b-nitrogen.conf index 48f2041..affe9eb 100644 --- a/conf/machine/96b-nitrogen.conf +++ b/conf/machine/96b-nitrogen.conf @@ -5,4 +5,4 @@ require conf/machine/include/nrf52.inc ZEPHYR_INHERIT_CLASSES += "zephyr-flash-pyocd" -ARCH_96b-nitrogen = "arm" +ARCH:96b-nitrogen = "arm" diff --git a/conf/machine/arduino-nano-33-ble.conf b/conf/machine/arduino-nano-33-ble.conf index 18ba056..ebf4155 100644 --- a/conf/machine/arduino-nano-33-ble.conf +++ b/conf/machine/arduino-nano-33-ble.conf @@ -5,5 +5,5 @@ require conf/machine/include/nrf52.inc ZEPHYR_INHERIT_CLASSES += "zephyr-flash-bossac" -ARCH_arduino-nano-33-ble = "arm" +ARCH:arduino-nano-33-ble = "arm" diff --git a/conf/machine/include/tune-arc.inc b/conf/machine/include/tune-arc.inc index ff841e7..7db88ef 100644 --- a/conf/machine/include/tune-arc.inc +++ b/conf/machine/include/tune-arc.inc @@ -2,7 +2,7 @@ DEFAULTTUNE ?= "arc" TUNE_ARCH = "arc" TUNE_PKGARCH = "arc" -TUNE_FEATURES_tune-arc = "littleendian" +TUNE_FEATURES:tune-arc = "littleendian" TUNE_CCARGS = "" TUNEVALID[littleendian] = "Little endian mode" diff --git a/conf/machine/include/tune-cortexm0.inc b/conf/machine/include/tune-cortexm0.inc index d4f95e4..5067eb2 100644 --- a/conf/machine/include/tune-cortexm0.inc +++ b
[yocto] [meta-zephyr][PATCH v2 2/2] layer.conf: add honister to LAYERSERIES_COMPAT
Signed-off-by: Naveen Saini --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 8e6b15d..5f13c27 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -15,4 +15,4 @@ LAYERVERSION_zephyr = "1" LAYERDEPENDS_zephyr = "core meta-python" -LAYERSERIES_COMPAT_zephyr = "dunfell gatesgarth hardknott" +LAYERSERIES_COMPAT_zephyr = "dunfell gatesgarth hardknott honister" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54315): https://lists.yoctoproject.org/g/yocto/message/54315 Mute This Topic: https://lists.yoctoproject.org/mt/84676192/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 1/2] Convert to new override syntax
Use the convert-overrides.py to convert to new syntax and fixed some additional changes manually. Signed-off-by: Naveen Saini --- classes/zephyr.bbclass | 2 +- conf/machine/96b-avenger96.conf| 2 +- conf/machine/96b-nitrogen.conf | 2 +- conf/machine/arduino-nano-33-ble.conf | 2 +- conf/machine/include/tune-arc.inc | 2 +- conf/machine/include/tune-cortexm0.inc | 8 conf/machine/include/tune-cortexm3.inc | 10 +- conf/machine/include/tune-cortexm4.inc | 10 +- conf/machine/include/tune-iamcu.inc| 4 ++-- conf/machine/include/tune-nios2.inc| 4 ++-- conf/machine/intel-x86-64.conf | 2 +- conf/machine/nrf52840dk-nrf52840.conf | 2 +- conf/machine/qemu-cortex-m3.conf | 2 +- conf/machine/qemu-nios2.conf | 4 ++-- conf/machine/qemu-x86.conf | 8 recipes-core/newlib/newlib_%.bbappend | 10 +- recipes-devtools-arc/binutils/binutils-2.26arc.inc | 4 ++-- .../binutils/binutils-cross-canadian_2.26arc.bb| 2 +- .../binutils/binutils-cross_2.26arc.bb | 4 ++-- recipes-devtools-arc/gcc/gcc-6.x.arc.inc | 4 ++-- .../gcc/gcc-cross-canadian_6.x.arc.bb | 8 recipes-devtools-arc/gcc/gcc-cross_6.x.arc .bb | 8 recipes-devtools-arc/gcc/libgcc_6.x.arc.bb | 6 +++--- recipes-devtools/gcc/gcc-cross_6.%.bbappend| 2 +- recipes-devtools/gcc/libgcc_6.%.bbappend | 4 ++-- recipes-devtools/qemu/qemu_%.bbappend | 6 +++--- recipes-kernel/zephyr-kernel/zephyr-coap-client.bb | 2 +- recipes-kernel/zephyr-kernel/zephyr-coap-server.bb | 2 +- recipes-kernel/zephyr-kernel/zephyr-echo-client.bb | 2 +- recipes-kernel/zephyr-kernel/zephyr-http-client.bb | 2 +- .../zephyr-kernel/zephyr-kernel-common.inc | 14 +++--- .../zephyr-kernel/zephyr-kernel-src-2.5.0.inc | 2 +- .../zephyr-kernel/zephyr-kernel-src-2.6.0.inc | 2 +- recipes-kernel/zephyr-kernel/zephyr-kernel-src.bb | 2 +- recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 +- .../zephyr-kernel/zephyr-kernel-test.inc | 12 ++-- .../zephyr-kernel/zephyr-mqtt-publisher.bb | 2 +- .../zephyr-kernel/zephyr-openthread-echo-client.bb | 4 ++-- .../zephyr-kernel/zephyr-peripheral-esp.bb | 2 +- .../zephyr-kernel/zephyr-peripheral-hr.bb | 2 +- .../zephyr-kernel/zephyr-websocket-client.bb | 2 +- 41 files changed, 88 insertions(+), 88 deletions(-) diff --git a/classes/zephyr.bbclass b/classes/zephyr.bbclass index 6fceb04..e1d3185 100644 --- a/classes/zephyr.bbclass +++ b/classes/zephyr.bbclass @@ -48,7 +48,7 @@ do_menuconfig[nostamp] = "1" do_menuconfig[dirs] = "${B}" addtask menuconfig after do_configure -python do_devshell_prepend () { +python do_devshell:prepend () { # Most likely we need to manually edit prj.conf... os.chdir(d.getVar('ZEPHYR_SRC_DIR', True)) } diff --git a/conf/machine/96b-avenger96.conf b/conf/machine/96b-avenger96.conf index 7bcfb4a..ae6f972 100644 --- a/conf/machine/96b-avenger96.conf +++ b/conf/machine/96b-avenger96.conf @@ -5,4 +5,4 @@ require conf/machine/include/stm32mp1-cortex-m4.inc -ARCH_96b-avenger96 = "arm" +ARCH:96b-avenger96 = "arm" diff --git a/conf/machine/96b-nitrogen.conf b/conf/machine/96b-nitrogen.conf index 48f2041..affe9eb 100644 --- a/conf/machine/96b-nitrogen.conf +++ b/conf/machine/96b-nitrogen.conf @@ -5,4 +5,4 @@ require conf/machine/include/nrf52.inc ZEPHYR_INHERIT_CLASSES += "zephyr-flash-pyocd" -ARCH_96b-nitrogen = "arm" +ARCH:96b-nitrogen = "arm" diff --git a/conf/machine/arduino-nano-33-ble.conf b/conf/machine/arduino-nano-33-ble.conf index 18ba056..ebf4155 100644 --- a/conf/machine/arduino-nano-33-ble.conf +++ b/conf/machine/arduino-nano-33-ble.conf @@ -5,5 +5,5 @@ require conf/machine/include/nrf52.inc ZEPHYR_INHERIT_CLASSES += "zephyr-flash-bossac" -ARCH_arduino-nano-33-ble = "arm" +ARCH:arduino-nano-33-ble = "arm" diff --git a/conf/machine/include/tune-arc.inc b/conf/machine/include/tune-arc.inc index ff841e7..7db88ef 100644 --- a/conf/machine/include/tune-arc.inc +++ b/conf/machine/include/tune-arc.inc @@ -2,7 +2,7 @@ DEFAULTTUNE ?= "arc" TUNE_ARCH = "arc" TUNE_PKGARCH = "arc" -TUNE_FEATURES_tune-arc = "littleendian" +TUNE_FEATURES:tune-arc = "littleendian" TUNE_CCARGS = "" TUNEVALID[littleendian] = "Little endian mode" diff --git a/conf/machine/include/tune-cortexm0.inc b/conf/machine/include/tune-cortexm0.inc index d4f95e4..5067eb2 100644 --- a/conf/machine/include/tune-cortexm0.inc +++ b
[yocto] [meta-zephyr][PATCH 2/2] layer.conf: add honister to LAYERSERIES_COMPAT
Signed-off-by: Naveen Saini --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 8e6b15d..5f13c27 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -15,4 +15,4 @@ LAYERVERSION_zephyr = "1" LAYERDEPENDS_zephyr = "core meta-python" -LAYERSERIES_COMPAT_zephyr = "dunfell gatesgarth hardknott" +LAYERSERIES_COMPAT_zephyr = "dunfell gatesgarth hardknott honister" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54285): https://lists.yoctoproject.org/g/yocto/message/54285 Mute This Topic: https://lists.yoctoproject.org/mt/84634749/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH] intel-x86-32.conf: drop machine configuration
Support for 'minnowboard' and 'up_squared_32' BOARDS have been removed. https://github.com/zephyrproject-rtos/zephyr/commit/ec5e3017acb1bb4aa802349dcc684eacbefef01c https://github.com/zephyrproject-rtos/zephyr/commit/11b8dd85b976e9c56861e9cdc0695ea60a96e617 Signed-off-by: Naveen Saini --- conf/machine/include/tune-core2-common.inc | 6 -- conf/machine/intel-x86-32.conf | 12 2 files changed, 18 deletions(-) delete mode 100644 conf/machine/include/tune-core2-common.inc delete mode 100644 conf/machine/intel-x86-32.conf diff --git a/conf/machine/include/tune-core2-common.inc b/conf/machine/include/tune-core2-common.inc deleted file mode 100644 index 012f078..000 --- a/conf/machine/include/tune-core2-common.inc +++ /dev/null @@ -1,6 +0,0 @@ -DEFAULTTUNE ?= "core2-32" -require conf/machine/include/tune-core2.inc -require conf/machine/include/x86-base.inc - -# Add x86 to MACHINEOVERRIDES -MACHINEOVERRIDES =. "x86:" diff --git a/conf/machine/intel-x86-32.conf b/conf/machine/intel-x86-32.conf deleted file mode 100644 index 06f6da5..000 --- a/conf/machine/intel-x86-32.conf +++ /dev/null @@ -1,12 +0,0 @@ -#@TYPE: Machine -#@NAME: intel-x86-32 -#@DESCRIPTION: common MACHINE for 32-bit x86 boards. User must set ${ZEPHYR_BOARD}. By default is set to 'minnowboard' board. - -require conf/machine/include/tune-core2-common.inc - -ARCH_intel-x86-32 = "x86" - -# Supported Boards: -# ZEPHYR_BOARD ?= "minnowboard" -# ZEPHYR_BOARD ?= "up_squared_32" -ZEPHYR_BOARD ?= "minnowboard" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54159): https://lists.yoctoproject.org/g/yocto/message/54159 Mute This Topic: https://lists.yoctoproject.org/mt/84304256/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-zephyr][PATCH v4 1/2] zephyr-kernel-src.inc: Add backport patch for storage partition
Merged after minor changes. > -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of Stefan Schmidt > Sent: Thursday, July 15, 2021 8:55 PM > To: yocto@lists.yoctoproject.org > Cc: Stefan Schmidt ; Stefan Schmidt > > Subject: [yocto] [meta-zephyr][PATCH v4 1/2] zephyr-kernel-src.inc: Add > backport patch for storage partition > > From: Stefan Schmidt > > Patch already merged upstream, but after the 2.6 release we are based on. > Taking the backport in here until we can figure out if that can go to the > Zephyr 2.6 LTS branch. > > The storage partition itself is needed on the Arduino Nano e.g. for > OpenThread or applications needed a storage space. > > Signed-off-by: Stefan Schmidt > --- > since v3: Added backported patch for flash layout > > ...rduino-nano-33-ble-storage-partition.patch | 46 +++ > .../zephyr-kernel/zephyr-kernel-src.inc | 1 + > 2 files changed, 47 insertions(+) > create mode 100644 recipes-kernel/zephyr-kernel/files/arduino-nano-33- > ble-storage-partition.patch > > diff --git a/recipes-kernel/zephyr-kernel/files/arduino-nano-33-ble-storage- > partition.patch b/recipes-kernel/zephyr-kernel/files/arduino-nano-33-ble- > storage-partition.patch > new file mode 100644 > index 000..fa0f27f > --- /dev/null > +++ b/recipes-kernel/zephyr-kernel/files/arduino-nano-33-ble-storage-par > +++ tition.patch > @@ -0,0 +1,46 @@ > +commit 6c9945aafa00c09149e2052a9c2bccad16dd1d8a > +Author: Stefan Schmidt > +Date: Fri May 7 11:47:44 2021 +0200 > + > +boards/arduino_nano_33_ble: add storage partition at end of flash > + > +Change default partition table to allow for application which need > +storage. One use case is running the OpenThread integration which has > +a dependency on this. > + > +Signed-off-by: Stefan Schmidt > + > +diff --git a/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble.dts > +b/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble.dts > +index d09b66ec43..d11d800eb5 100644 > +--- a/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble.dts > b/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble.dts > +@@ -44,15 +44,27 @@ > + > + boot_partition: partition@0 { > + label = "sam-ba"; > +-reg = <0x0 0x1>; > ++reg = <0x 0x0001>; > + read-only; > + }; > + > + code_partition: partition@1 { > + label = "code"; > +-reg = <0x1 0xf>; > ++reg = <0x0001 0x000e8000>; > + read-only; > + }; > ++ > ++/* > ++ * The flash starting at 0x000f8000 and ending at > ++ * 0x000f is reserved for use by the application. > ++ * > ++ * Storage partition will be used by FCB/LittleFS/NVS > ++ * if enabled. > ++ */ > ++storage_partition: partition@f8000 { > ++label = "storage"; > ++reg = <0x000f8000 0x8000>; > ++}; > + }; > + }; > + > diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc b/recipes- > kernel/zephyr-kernel/zephyr-kernel-src.inc > index a0004ed..227c7f4 100644 > --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc > +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc > @@ -18,6 +18,7 @@ SRC_URI = "\ > git://github.com/zephyrproject- > rtos/openthread.git;protocol=https;branch=zephyr;destsuffix=git/modules/l > ib/openthread;name=openthread \ > git://github.com/zephyrproject- > rtos/libmetal.git;protocol=https;destsuffix=git/modules/hal/libmetal;name=l > ibmetal \ > git://github.com/zephyrproject- > rtos/tinycrypt.git;protocol=https;destsuffix=git/modules/crypto/tinycrypt;na > me=tinycrypt \ > +file://arduino-nano-33-ble-storage-partition.patch \ > " > S = "${WORKDIR}/git" > > -- > 2.31.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54133): https://lists.yoctoproject.org/g/yocto/message/54133 Mute This Topic: https://lists.yoctoproject.org/mt/84224334/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel: install .efi image if available
EFI images are being generated for x86 platforms. Signed-off-by: Naveen Saini --- recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc | 1 + recipes-kernel/zephyr-kernel/zephyr-sample.inc| 6 ++ 2 files changed, 7 insertions(+) diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc index 46f19e2..7d44b97 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc @@ -13,6 +13,7 @@ ZEPHYR_SYSROOT="${STAGING_DIR_TARGET}" ZEPHYR_MAKE_OUTPUT = "zephyr.elf" ZEPHYR_MAKE_BIN_OUTPUT = "zephyr.bin" +ZEPHYR_MAKE_EFI_OUTPUT = "zephyr.efi" EXTRA_OECMAKE = "\ -DZEPHYR_BASE=${S} \ diff --git a/recipes-kernel/zephyr-kernel/zephyr-sample.inc b/recipes-kernel/zephyr-kernel/zephyr-sample.inc index 7b49611..77fa5ad 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-sample.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-sample.inc @@ -9,9 +9,15 @@ do_install[noexec] = "1" do_deploy () { install -D ${B}/zephyr/${ZEPHYR_MAKE_OUTPUT} ${DEPLOYDIR}/${PN}.elf + if [ -f ${B}/zephyr/${ZEPHYR_MAKE_BIN_OUTPUT} ] then install -D ${B}/zephyr/${ZEPHYR_MAKE_BIN_OUTPUT} ${DEPLOYDIR}/${PN}.bin fi + +if [ -f ${B}/zephyr/${ZEPHYR_MAKE_EFI_OUTPUT} ] +then + install -D ${B}/zephyr/${ZEPHYR_MAKE_EFI_OUTPUT} ${DEPLOYDIR}/${PN}.efi +fi } addtask deploy after do_compile -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54069): https://lists.yoctoproject.org/g/yocto/message/54069 Mute This Topic: https://lists.yoctoproject.org/mt/84040511/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 1/2] zephyr-kernel/2.6.0: update to include latest commits
Switched to v2.6-branch. It included x86 EFI binary fix. It requried rebasing of yocto toolchain patch. Commits included: 837ab4a915 ARC: save/restore accumulator registers on all ARCv2 HS CPUs by default 0943608550 riscv: openisa_rv32m1: Fix booting of rv32m1_vega 3c56e0df0b cmake: ld: Disable manual linking of libgcc components for host b0cb7412b9 cmake: host-gcc: Remove libgcc library path resolution 80e1b785dc cmake: host-gcc: Detect libgcc for all archs e72a327107 cmake: gcc: Remove no_libgcc exclusion for libgcc detection 1cf1d75d3f Bluetooth: Controller: Fix Data Length Update node Rx reservations e43afd10f7 Bluetooth: Controller: Fix free rx buffer MFIFO enqueue 6d9b318dca Bluetooth: Controller: Minor change to use IS_ENABLED d4d362d081 doc: api: fix devicetree modification version d0dca15734 arch/x86/zefi: Fix entry-nop hack for EFI entry 218e438f3e drivers: bluetooth: hci driver for stm32wb includes clock control f66d0cea06 Tracing: TraceRecorder CMake update d5a1a22b1a python-devicetree: tox: fix mypy c77f8fae83 doc/guides/dts: bindings: Fix code snippet for 'signal-gpios' 3ec1caa504 dts/arm: st: g0: closes parenthesis for soc a221f358eb drivers: flash_stm32_v1: fix a potential unaligned access f5a6110b4a tests: cpp: libcxx: Test with full and nano variants of newlib 1d6106fd5e tests: cpp: libcxx: Use full version of newlib for testing 4b87e90167 cpp: Fix C++ exception handling newlib dependency 1d4d16b748 linker: cpp: Fix C++ exception handling info section linking 4a564cdef0 version: add EXTRAVERSION to VERSION file Signed-off-by: Naveen Saini --- .../0001-cmake-add-yocto-toolchain.patch | 24 +++ ...phyr-2.5.0-cmake-add-yocto-toolchain.patch | 63 +++ .../zephyr-kernel/zephyr-kernel-src-2.5.0.inc | 6 +- .../zephyr-kernel/zephyr-kernel-src-2.6.0.inc | 8 ++- .../zephyr-kernel/zephyr-kernel-src.inc | 3 +- 5 files changed, 85 insertions(+), 19 deletions(-) create mode 100644 recipes-kernel/zephyr-kernel/files/0001-zephyr-2.5.0-cmake-add-yocto-toolchain.patch diff --git a/recipes-kernel/zephyr-kernel/files/0001-cmake-add-yocto-toolchain.patch b/recipes-kernel/zephyr-kernel/files/0001-cmake-add-yocto-toolchain.patch index caab16f..563af7d 100644 --- a/recipes-kernel/zephyr-kernel/files/0001-cmake-add-yocto-toolchain.patch +++ b/recipes-kernel/zephyr-kernel/files/0001-cmake-add-yocto-toolchain.patch @@ -1,6 +1,6 @@ -From 511745625637da0effca13c5489a392e15d32271 Mon Sep 17 00:00:00 2001 +From bfab268c870548e3e7a24ea67ebed2a0513b2307 Mon Sep 17 00:00:00 2001 From: Naveen Saini -Date: Tue, 31 Mar 2020 13:22:17 +0800 +Date: Wed, 7 Jul 2021 13:53:05 +0800 Subject: [PATCH] cmake: add yocto toolchain Upstream status: inappropriate [OE specific] @@ -15,23 +15,23 @@ Signed-off-by: Naveen Saini create mode 100644 cmake/toolchain/yocto/target.cmake diff --git a/cmake/compiler/gcc/target.cmake b/cmake/compiler/gcc/target.cmake -index 401cc28db8..5a026f4559 100644 +index 2b90c5d2ef..b6f28b2f87 100644 --- a/cmake/compiler/gcc/target.cmake +++ b/cmake/compiler/gcc/target.cmake -@@ -66,13 +66,6 @@ if(NOT no_libgcc) - OUTPUT_STRIP_TRAILING_WHITESPACE - ) +@@ -68,13 +68,6 @@ execute_process( + OUTPUT_STRIP_TRAILING_WHITESPACE + ) -- assert_exists(LIBGCC_FILE_NAME) +-assert_exists(LIBGCC_FILE_NAME) - -- get_filename_component(LIBGCC_DIR ${LIBGCC_FILE_NAME} DIRECTORY) +-get_filename_component(LIBGCC_DIR ${LIBGCC_FILE_NAME} DIRECTORY) - -- assert_exists(LIBGCC_DIR) +-assert_exists(LIBGCC_DIR) - -- LIST(APPEND LIB_INCLUDE_DIR "-L\"${LIBGCC_DIR}\"") - LIST(APPEND TOOLCHAIN_LIBS gcc) - endif() +-LIST(APPEND LIB_INCLUDE_DIR "-L\"${LIBGCC_DIR}\"") + LIST(APPEND TOOLCHAIN_LIBS gcc) + if(SYSROOT_DIR) diff --git a/cmake/toolchain/yocto/generic.cmake b/cmake/toolchain/yocto/generic.cmake new file mode 100644 index 00..45e5777e2a diff --git a/recipes-kernel/zephyr-kernel/files/0001-zephyr-2.5.0-cmake-add-yocto-toolchain.patch b/recipes-kernel/zephyr-kernel/files/0001-zephyr-2.5.0-cmake-add-yocto-toolchain.patch new file mode 100644 index 000..caab16f --- /dev/null +++ b/recipes-kernel/zephyr-kernel/files/0001-zephyr-2.5.0-cmake-add-yocto-toolchain.patch @@ -0,0 +1,63 @@ +From 511745625637da0effca13c5489a392e15d32271 Mon Sep 17 00:00:00 2001 +From: Naveen Saini +Date: Tue, 31 Mar 2020 13:22:17 +0800 +Subject: [PATCH] cmake: add yocto toolchain + +Upstream status: inappropriate [OE specific] + +Signed-off-by: Naveen Saini +--- + cmake/compiler/gcc/target.cmake | 7 --- + cmake/toolchain/yocto/generic.cmake | 13 + + cmake/toolchain/yocto/target.cmake | 1 + + 3 files changed, 14 insertions(+), 7 deletions(-) + create mode 100644 cmake/toolchain/yocto/generic.cmake + create mode 100644 cmake/toolchain/yocto/target.cmake + +diff --git a/cmake/compiler/gcc/target.cmake b/cmake/compiler/gcc/target.cmake +index 401cc28db8..5a026f4559 100644 +--- a/cmake/compiler/gc
Re: [yocto] [meta-zephyr][PATCH v2 1/2] zephyr-kernel: Add OpenThread add module to build
> -Original Message- > From: yocto@lists.yoctoproject.org On > Behalf Of Stefan Schmidt > Sent: Thursday, June 10, 2021 4:28 PM > To: yocto@lists.yoctoproject.org > Cc: Stefan Schmidt ; Stefan Schmidt > > Subject: [yocto] [meta-zephyr][PATCH v2 1/2] zephyr-kernel: Add > OpenThread add module to build > > From: Stefan Schmidt > > OpenThread support in Zephyr is realised as an external module. Make sure > we pull it in and have it available for applications to use it. > > Signed-off-by: Stefan Schmidt > --- > recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc| 1 + > recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc | 1 + > recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 1 + > 3 files changed, 3 insertions(+) > > diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc > b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc > index 330fe59..35c4106 100644 > --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc > +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc > @@ -29,6 +29,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_openthread = > "\;${S}/modules/lib/openthread" This is not required. It already listed in required sample recipe. Please remove it. > > EXTRA_OECMAKE_append = " -DZEPHYR_MODULES=${ZEPHYR_MODULES}" > > diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc > b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc > index 8475b5b..4910db2 100644 > --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc > +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc > @@ -4,6 +4,7 @@ SRCREV_cmsis = > "c3bd2094f92d574377f7af2aec147ae181aa5f8e" > SRCREV_nordic = "574493fe29c79140df4827ab5d4a23df79d03681" > SRCREV_stm32 = "f8ff8d25aa0a9e65948040c7b47ec67f3fa300df" > SRCREV_open-amp = "6010f0523cbc75f551d9256cf782f173177acdef" > +SRCREV_openthread = "385e19da1ae15f27872c2543b97276a42f102ead" > SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb" > SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" > SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" > diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc b/recipes- > kernel/zephyr-kernel/zephyr-kernel-src.inc > index 5e43583..4937a77 100644 > --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc > +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc > @@ -15,6 +15,7 @@ SRC_URI = "\ > git://github.com/zephyrproject- > rtos/hal_stm32.git;protocol=https;destsuffix=git/modules/hal/stm32;name= > stm32 \ > 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;bran > + ch=zephyr;destsuffix=git/modules/lib/openthread;name=openthread \ > git://github.com/zephyrproject- It would cause build failure with v2.5.0. So add SRCREV_openthread in zephyr-kernel-src-2.5.0.inc too. > rtos/libmetal.git;protocol=https;destsuffix=git/modules/hal/libmetal;name=l > ibmetal \ > git://github.com/zephyrproject- > rtos/tinycrypt.git;protocol=https;destsuffix=git/modules/crypto/tinycrypt;na > me=tinycrypt \ > file://0001-cmake-add-yocto-toolchain.patch \ > -- > 2.31.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53832): https://lists.yoctoproject.org/g/yocto/message/53832 Mute This Topic: https://lists.yoctoproject.org/mt/83440062/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [meta-zephyr][PATCHv2 1/5] zephyr-kernel: Clone mbedtls
Made few changes in this patch. Re-sent patchset including some additional patches. Regards, Naveen > -Original Message- > From: Amit Kucheria > Sent: Tuesday, June 8, 2021 7:11 PM > To: Saini, Naveen Kumar ; > amit.kuche...@verdurent.com; yocto@lists.yoctoproject.org; Wojciech > Zmuda ; Andrei Gherzan > > Subject: RE: [meta-zephyr][PATCHv2 1/5] zephyr-kernel: Clone mbedtls > > Hi Naveen, > > I'll take a look with the specific revision ID mentioned. I don't see a build > failure here locally. > > On a related note, since 2.6 is now released, should we just focus on getting > all this working on 2.6 (assuming you'll move meta-zephyr to it soon)? > > Regards, > Amit > > > -Original Message- > > From: Saini, Naveen Kumar [mailto:naveen.kumar.sa...@intel.com] > > Sent: 08 June 2021 16:10 > > To: amit.kuche...@verdurent.com; yocto@lists.yoctoproject.org; > > Wojciech Zmuda ; Andrei Gherzan > > > > Cc: Amit Kucheria > > Subject: RE: [meta-zephyr][PATCHv2 1/5] zephyr-kernel: Clone mbedtls > > > > Build failing: > > > > Could not open 'poky/build-zephyr/tmp-newlib/work/armv7m-yocto- > > eabi/zephyr-mqtt-publisher/2.5.0+gitAUTOINC+fe7c2efca8_c3bd2094f9- > > r0/git/' (in 'osource "$(ZEPHYR_MBEDTLS_KCONFIG)"') (EISDIR: Is a > > directory) > > > > > > > > To fix, can you try following revision for mbedtls. > > - name: mbedtls > > revision: 24d84ecff195fb15c889d9046e44e4804d626c67 > > https://github.com/zephyrproject-rtos/zephyr/blob/zephyr- > > v2.5.0/west.yml#L94 > > > > Regards, > > Naveen > > > > > > > > > -Original Message- > > > From: amit.kuche...@verdurent.com > > > Sent: Monday, June 7, 2021 2:01 PM > > > To: yocto@lists.yoctoproject.org; wojciech.zm...@huawei.com; > > > andrei.gher...@huawei.com; Saini, Naveen Kumar > > > > > > Cc: Amit Kucheria > > > Subject: [meta-zephyr][PATCHv2 1/5] zephyr-kernel: Clone mbedtls > > > > > > From: Amit Kucheria > > > > > > MBed TLS is a library that implements cryptographic primitives and > > > SSL/TLS and DTLS protocols that are needed in secure network > > communications. > > > > > > Add it to the kernel include files to build and link against > > > applications that need mbedtls. > > > > > > Signed-off-by: Amit Kucheria > > > --- > > > recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc| 1 + > > > recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.5.0.inc | 1 + > > > recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 1 + > > > 3 files changed, 3 insertions(+) > > > > > > diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc > > > b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc > > > index 330fe59aebe5..c9acbbbc3645 100644 > > > --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc > > > +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc > > > @@ -28,6 +28,7 @@ ZEPHYR_MODULES = "" > > > 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_mbedtls = "\;${S}/modules/lib/mbedtls" > > > ZEPHYR_MODULES_append_openamp = "\;${S}/modules/lib/open- > > > amp\;${S}/modules/hal/libmetal" > > > > > > EXTRA_OECMAKE_append = " - > DZEPHYR_MODULES=${ZEPHYR_MODULES}" > > > diff --git > > > a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.5.0.inc > > > b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.5.0.inc > > > index 5d66f0f3cb5b..3aeb3bf6fc3f 100644 > > > --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.5.0.inc > > > +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.5.0.inc > > > @@ -6,6 +6,7 @@ SRCREV_stm32 = > > > "cc8731dba4fd9c57d7fe8ea6149828b89c2bd635" > > > SRCREV_open-amp = "de1b85a13032a2de1d8b6695ae5f800b613e739d" > > > SRCREV_libmetal = "9d4ee2c3cfd5f49861939447990f3b7d7bf9bf94" > > > SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" > > > +SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" > > > > > > PV = "2.5.0+git${SRCPV}" > > > > > > diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc > > > b/recipes- kernel/zephyr-kernel/zephyr-kernel-src.inc > > > index 1d06d916a1e0..069fa561667c 100644 > > > --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc > > > +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc > > > @@ -13,6 +13,7 @@ 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 > > > ;n > > > ame= > > > nordic \ > > > git://github.com/zephyrproject- > > > rtos/hal_stm32.git;protocol=https;destsuffix=git/modules/hal/stm32;n > > > am > > > e= > > > stm32 \ > > > + > > > + git://github.com/zephyrproject-rtos/mbedtls.git;protocol=https;des > > > + ts uf fix=git/modules/lib/mbedtls;name=mbedtls \ > > > git://github.com/zephyrproject-rtos/open- > >
[yocto] [meta-zephyr][PATCH 10/10] zephyr-kernel-src: drop 2.4.0 support
v2.6.0 is available now. Signed-off-by: Naveen Saini --- .../zephyr-kernel/zephyr-kernel-src-2.4.0.inc | 11 --- 1 file changed, 11 deletions(-) delete mode 100644 recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.4.0.inc diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.4.0.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.4.0.inc deleted file mode 100644 index a2a3770..000 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.4.0.inc +++ /dev/null @@ -1,11 +0,0 @@ -SRCREV_FORMAT = "default_cmsis" -SRCREV_default = "7a3b253ced7333f5c0269387a7f3ed1dee69739d" -SRCREV_cmsis = "542b2296e6d515b265e25c6b7208e8fea3014f90" -SRCREV_nordic = "d8a6ea9695ddf792bb18bb6035c13b1daac5d79c" -SRCREV_stm32 = "f0e11398128ac9abdff713da5d3035e6c96e9b86" -SRCREV_open-amp = "de1b85a13032a2de1d8b6695ae5f800b613e739d" -SRCREV_libmetal = "9d4ee2c3cfd5f49861939447990f3b7d7bf9bf94" -SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" -SRCREV_mbedtls = "aef137b1af8aa7a0f43345c82459254b8832262e" - -PV = "2.4.0+git${SRCPV}" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53810): https://lists.yoctoproject.org/g/yocto/message/53810 Mute This Topic: https://lists.yoctoproject.org/mt/83412279/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 09/10] zephyr-kernel-src-2.4.0.inc: add srcrev for mbedtls module
Ref: https://github.com/zephyrproject-rtos/zephyr/blob/zephyr-v2.4.0/west.yml#L93 Signed-off-by: Naveen Saini --- recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.4.0.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.4.0.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.4.0.inc index d1ef80e..a2a3770 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.4.0.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.4.0.inc @@ -6,5 +6,6 @@ SRCREV_stm32 = "f0e11398128ac9abdff713da5d3035e6c96e9b86" SRCREV_open-amp = "de1b85a13032a2de1d8b6695ae5f800b613e739d" SRCREV_libmetal = "9d4ee2c3cfd5f49861939447990f3b7d7bf9bf94" SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" +SRCREV_mbedtls = "aef137b1af8aa7a0f43345c82459254b8832262e" PV = "2.4.0+git${SRCPV}" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53809): https://lists.yoctoproject.org/g/yocto/message/53809 Mute This Topic: https://lists.yoctoproject.org/mt/83412278/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 08/10] zephyr-kernel-src-2.6.0.inc: add srcrev for mbedtls module
Signed-off-by: Naveen Saini --- recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc index 7ef1697..8475b5b 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc @@ -6,6 +6,7 @@ SRCREV_stm32 = "f8ff8d25aa0a9e65948040c7b47ec67f3fa300df" SRCREV_open-amp = "6010f0523cbc75f551d9256cf782f173177acdef" SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb" SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" +SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" PV = "2.6.0+git${SRCPV}" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53808): https://lists.yoctoproject.org/g/yocto/message/53808 Mute This Topic: https://lists.yoctoproject.org/mt/83412277/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 07/10] zephyr-kernel-src set default preferred version to 2.6.0
From: Wojciech Zmuda Signed-off-by: Wojciech Zmuda --- 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 01c87c4..5e43583 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc @@ -22,5 +22,5 @@ SRC_URI = "\ S = "${WORKDIR}/git" # Default to a stable version -PREFERRED_VERSION_zephyr-kernel ??= "2.5.0" +PREFERRED_VERSION_zephyr-kernel ??= "2.6.0" include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53807): https://lists.yoctoproject.org/g/yocto/message/53807 Mute This Topic: https://lists.yoctoproject.org/mt/83412276/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 06/10] zephyr-kernel-src: add 2.6.0 release
From: Wojciech Zmuda Zephyr 2.6.0 release notes: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.6.0 Update the following submodules to most recent revisions: - hal_nordic: nrfx_dppi: Fix variable used in logging function - hal_stm32: dts/st: use a pull-down for SPI SCK pin - openamp: lib: update open-amp lib to release v2021.04.0 - libmetal: lib: update libmetal to release v2021.04.0 + VERSION path fix Signed-off-by: Wojciech Zmuda Signed-off-by: Naveen Saini --- .../zephyr-kernel/zephyr-kernel-src-2.6.0.inc | 13 + 1 file changed, 13 insertions(+) create mode 100644 recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc new file mode 100644 index 000..7ef1697 --- /dev/null +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc @@ -0,0 +1,13 @@ +SRCREV_FORMAT = "default_cmsis" +SRCREV_default = "79a6c07536bc14583198f8e3555df6134d8822cf" +SRCREV_cmsis = "c3bd2094f92d574377f7af2aec147ae181aa5f8e" +SRCREV_nordic = "574493fe29c79140df4827ab5d4a23df79d03681" +SRCREV_stm32 = "f8ff8d25aa0a9e65948040c7b47ec67f3fa300df" +SRCREV_open-amp = "6010f0523cbc75f551d9256cf782f173177acdef" +SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb" +SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" + +PV = "2.6.0+git${SRCPV}" + +SRC_URI_append = " file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch \ +" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53806): https://lists.yoctoproject.org/g/yocto/message/53806 Mute This Topic: https://lists.yoctoproject.org/mt/83412274/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 02/10] zephyr-echo-client: Add recipe for echo client
From: Amit Kucheria This sample application provides an example of using the the MBEDTLS library. Signed-off-by: Amit Kucheria Signed-off-by: Naveen Saini --- recipes-kernel/zephyr-kernel/zephyr-echo-client.bb | 5 + 1 file changed, 5 insertions(+) create mode 100644 recipes-kernel/zephyr-kernel/zephyr-echo-client.bb diff --git a/recipes-kernel/zephyr-kernel/zephyr-echo-client.bb b/recipes-kernel/zephyr-kernel/zephyr-echo-client.bb new file mode 100644 index 000..c17e1e7 --- /dev/null +++ b/recipes-kernel/zephyr-kernel/zephyr-echo-client.bb @@ -0,0 +1,5 @@ +include zephyr-sample.inc + +ZEPHYR_SRC_DIR = "${S}/samples/net/sockets/echo_client" + +ZEPHYR_MODULES_append = "\;${S}/modules/lib/mbedtls" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53802): https://lists.yoctoproject.org/g/yocto/message/53802 Mute This Topic: https://lists.yoctoproject.org/mt/83412270/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr][PATCH 05/10] zephyr-mqtt-publisher: Add recipe for mqtt publisher
From: Amit Kucheria This sample application provides an example of using the the MBEDTLS library. Signed-off-by: Amit Kucheria Signed-off-by: Naveen Saini --- recipes-kernel/zephyr-kernel/zephyr-mqtt-publisher.bb | 5 + 1 file changed, 5 insertions(+) create mode 100644 recipes-kernel/zephyr-kernel/zephyr-mqtt-publisher.bb diff --git a/recipes-kernel/zephyr-kernel/zephyr-mqtt-publisher.bb b/recipes-kernel/zephyr-kernel/zephyr-mqtt-publisher.bb new file mode 100644 index 000..b4e3067 --- /dev/null +++ b/recipes-kernel/zephyr-kernel/zephyr-mqtt-publisher.bb @@ -0,0 +1,5 @@ +include zephyr-sample.inc + +ZEPHYR_SRC_DIR = "${S}/samples/net/mqtt_publisher" + +ZEPHYR_MODULES_append = "\;${S}/modules/lib/mbedtls" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53805): https://lists.yoctoproject.org/g/yocto/message/53805 Mute This Topic: https://lists.yoctoproject.org/mt/83412273/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-