aboutsummaryrefslogtreecommitdiffstats
path: root/meta-zephyr-core/recipes-kernel/zephyr-kernel
AgeCommit message (Collapse)Author
2024-03-07zephyr-kernel: Add support for v3.6.0Naveen Saini
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.6.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-11-07x86: Refresh patch to include efi fix for up_squared boardNaveen Saini
Include fix for generating efi binary file for the up_squared board, which was missed in v3.5 upgrade. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-11-06zephyr-kernel: Drop support for v3.4.0Naveen Saini
v3.5.0 is available, now drop support for old version. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2023-11-06zephyr-kernel: Add support for v3.5.0Naveen Saini
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.5.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2023-11-06zephyr-core/zephyr-kernel-tests: remove now passing tests from exclude listJon Mason
Retested the zephyr kernel tests to verify which ones are now building and which ones are now passing CI on qemu machines. They are organized as follows: * Any test that fails to be configured is added to a list in zephyr-kernel-test.inc * Any test that fails to compile for all machines is added to a list in zephyr-kernel-test.inc * Any test that fails to compile for a specific machine is added to a machine specific list in zephyr-kernel-test.inc * Any test that fails CI is added to a list in the relevant machine yml file Hopefully by making this way of doing things uniform, it will enable better testing and CI. It is worth noting that with this version of zephyr, gen_isr_table and other tests are now working for a number of machines. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-06-26zephyr-kernel: Drop support for v3.3.0Naveen Saini
v3.4.0 is available, now drop support for old version. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2023-06-26zephyr-kernel: Add support for v3.4.0Naveen Saini
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.4.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2023-05-31zephyr-kernel-src-3.3.0: fix build with gcc-13Naveen Saini
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 <naveen.kumar.saini@intel.com>
2023-05-15zephyr-kernel: Include efi binary generation fix for Raptor Lake tooNaveen Saini
Extend patch to include efi binary generation issue fix for x86 Raptor Lake board too. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-04-20zephyr-core/zephyr-kernel: Fix arm32 binutils 2.40 incompatibilityPeter Hoyes
Armv7 boards are currently failing with binutils 2.40 if certain statements are combined on the same line without a semicolon. Introduce a patch to fix this by inserting a semicolon. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-04-20zephyr-core/zephyr-kernel: Use SHA for zcbor modulePeter Hoyes
Re-run the generate-version.py script for 3.3.0 to convert the tag for zcbor to a SHA. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-02-24zephyr-core/zephyr-kernel: Remove the downstream "yocto" toolchainPeter Hoyes
The "yocto" toolchain requires a downstream patch to be carried and maintained. The upstream "cross-compile" toolchain is equivalent so this is no longer needed. Remove the toolchain-specific inc file and the downstream patch. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-02-24zephyr-core/zephyr-kernel: Use the upstream "cross-compile" toolchainPeter Hoyes
Zephyr upstream contains CMake configuration for a "cross-compile" toolchain for "other cross compilers" which works with the Yocto-built toolchain out-of-the-box, so use this instead of the "yocto" toolchain, which requires a downstream patch to be carried. The Yocto-built toolchain does not support --print-sysroot so that toolchains can be shared between multiple builds with different sysroots, so manually set SYSROOT_DIR to the staging directory. Use the "cross-compile" toolchain by default. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-02-23zephyr-kernel: Drop support for v3.1.0 and v3.2.0Peter Hoyes
Now that v3.3.0 is available, drop support for previous versions. Rename the downstream patches and drop the backport. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-02-23zephyr-kernel: Add support for v3.3.0Peter Hoyes
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.3.0 Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-01-26zephyr-core/zephyr-kernel: Add ZEPHYR namespace to SRC_URI variablesPeter Hoyes
Certain SRC_URI_* variables may collide with other recipes, e.g. SRC_URI_TRUSTED_FIRMWARE_A. Namespace these variables under SRC_URI_ZEPHYR so that the SRC_URIs of Zephyr modules can be independently tweaked from local.conf or the environment. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-12-21zephyr-kernel/3.1: update to latest commitNaveen Saini
Recent commits have CVE-2022-2741 fixed. Also backported CVE-2022-2993 fix. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-12-19zephyr-core/zephyr-kernel: Inhibit packaging steps with the Zephyr SDKPeter Hoyes
The packaging step includes post-processing of elf files using objcopy and strip from the Yocto toolchain. When using the Zephyr SDK, the Yocto toolchain is explicitly not built so it is not possible to run these steps. Therefore, inhibit them in zephyr-toolchain-zephyr.inc Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-12-19zephyr-core/zephyr-kernel: Use layer-relative require for version filePeter Hoyes
The inclusion of the Zephyr version-specific .inc file is currently using a local include. Change to be layer-relative to support including files in other layers. Change to use 'require' instead of 'include' so that an earlier error is printed if the file does not exist. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-11-14zephyr-kernel-src: drop support for v2.7.3Naveen Saini
Support for zephyr v3.2.0 is already being added. So time to drop it. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2022-11-14zephyr-kernel-src: add support for v3.2.0Naveen Saini
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.2.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2022-10-04zephyr-core/zephyr-kernel: Implement do_installPeter Hoyes
Install the Zephyr binaries to ${D}/firmware prior to copying them to ${DEPLOYDIR}. Implementing do_install has three advantages: * In use-cases when the Zephyr application is not the final artifact (e.g. when signing or using additional firmware), other recipes can pick up the Zephyr binary from the sysroot instead of DEPLOY_DIR_IMAGE. * It may sometimes make sense to install the binaries in a Linux filesystem (e.g. to be run by a hypervisor). * OE-core's QA checks run on the packaged binaries. There are currently two QA checks that fail, so add these to INSANE_SKIP for now. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-04zephyr-core/zephyr-kernel: Refactor zephyr-image and zephyr-samplePeter Hoyes
At the moment: * zephyr-image.inc depends on zephyr-sample.inc, which doesn't really make sense. * zephyr-image.inc inherits testimage, even though it may not be required. * Out-of-tree Zephyr apps have to include zephyr-sample.inc in order to deploy the binaries, which is confusingly named if your application isn't a "sample". Do some minor refactoring to untangle the above. Now: * zephyr-sample.inc depends on zephyr-image.inc * zephyrtest.bbclass inherits testimage. * Out-of-tree Zephyr apps can include zephyr-image.inc Additionally, remove QEMU_BIN_PATH, as recent Zephyr versions now pick up the QEMU binary automatically from PATH. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-04zephyr-openthread-rcp: Support nrf52840-mdk-usb-dongle machinePhilippe Coval
This makerdiary board 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 Relate-to: https://gitlab.eclipse.org/pcoval/oniro-presentations/-/wikis/openthread Forwarded: https://lists.yoctoproject.org/g/yocto/search?q=posterid:6590488 Signed-off-by: Philippe Coval <philippe.coval@astrolabe.coop> Signed-off-by: Philippe Coval <philippe.coval.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-28zephyr-openthread-rcp: Support nrf52840dk-nrf52840 machinePhilippe 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 <philippe.coval@astrolabe.coop> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-21zephyr-core/zephyr-kernel: Update dtc.patch Upstream-StatusPeter Hoyes
The patch dtc.patch used by 2.7.3 has been accepted upstream, so it is now a Backport. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Tested-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-21zephyr-core/zephyr-kernel: Migrate to script-driven version filesPeter Hoyes
This commit uses the output of meta-zephyr-core/scripts/generate-version.py for both the 2.7.3 and 3.1.0 versions. Rename a patch for for v2.7.3 to match the filename expected by the generated configuration. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Tested-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-21zephyr-kernel/2.7: update to zephyr v2.7.3Naveen Saini
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 <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2022-09-08zephyr-kernel: Add 'zephyr' toolchain variantPeter Hoyes
Add an option to build applications using the Zephyr SDK by specifying ZEPHYR_TOOLCHAIN_VARIANT="zephyr". This mode works with the zephyr or poky distros (TCMODE is ignored), allowing Zephyr applications to be built alongside a Linux stack. Provide a toolchain-specific inc file for the Zephyr SDK, which configures the dependencies and CMake appropriately. Add Zephyr toolchain variant to CI configuration for qemu-cortex-a53, qemu-cortex-m3 and qemu-x86. Update README.txt Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Tested-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-08zephyr-kernel: Factor out Yocto toolchain specific variablesPeter Hoyes
Create ZEPHYR_TOOLCHAIN_VARIANT variable with an unchanged default value of 'yocto'. To support providing different configuration for different toolchain variants, require a toolchain-specific inc file. Create zephyr-toolchain-yocto.inc, and factor out all variables that are specific to building using the Yocto toolchain. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Tested-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-08-10zephyr-kernel: Checkout zephyr in subdir to match West usagePeter Hoyes
When using West, Zephyr is checked out in a "zephyr" subdirectory of the working directory. At the moment Zephyr is checked out at the root, meaning a workaround is required to extract the module information. In order to remove the workaround, change the Zephyr destsuffix in SRC_URI and ZEPHYR_BASE. As a result of this change, modify patchdir for the patches and the path to the LICENSE file. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-08-10zephyr-kernel: Use ZEPHYR_BASE in all application recipesPeter Hoyes
Change ${S} -> ${ZEPHYR_BASE} in all application recipes, as Zephyr might not always be found at the root of the source directory. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-08-10zephyr-kernel: Remove redundant ZEPHYR_BASE definitionsPeter Hoyes
zephyr-image.inc and zephyr-sample.inc both include zephyr-kernel-common.inc, which already defines ZEPHYR_BASE. Remove the redundant definitions. Also, pass -DZEPHYR_BASE=${ZEPHYR_BASE} instead of ${S} in EXTRA_OECMAKE. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-08-05zephyr-kernel: Add SUMMARY and DESCRIPTION for classic sample appsPeter Hoyes
Hello World and Philosophers do not have a SUMMARY or DESCRIPTION, so add these to both recipes. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-08-05zephyr-kernel: Add synchronization sample recipePeter Hoyes
The Zephyr documentation [1] lists 3 "classic samples" that "can be run on any of the supported platforms": Hello World, Synchronization and Dining Philosophers. meta-zephyr already includes the first two but not synchronization so add a recipe for it. [1] https://docs.zephyrproject.org/3.1.0/samples/classic.html Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-07-29zephyr-kernel-src: bump the v3 version to v3.1.0Bartosz Golaszewski
This upgrades the 3.x series to using v3.1.0. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2022-06-07zephyr-kernel/2.7: update to release tag Zephyr v2.7.2Naveen Saini
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 <naveen.kumar.saini@intel.com>
2022-04-26zephyr-openthread-rcp: Enable Thread 1.2 capabilities in RCP buildStefan Schmidt
When running an up-to-date userspace component, like otbr-agent or ot-daemon, with Thread 1.2 enabled we need a firmware matching this capabilities. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-03-28meta-zephyr-core: drop obsolete patchesNaveen Saini
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 <naveen.kumar.saini@intel.com>
2022-03-10zephyr-kernel: Add CVE_PRODUCT to fix cve-check lookup failDavide Gardenal
Add CVE_PRODUCT override to fix a lookup problem when performing cve-check, if not setted it will search for the recipe name, that in this case depends on the recipe used to build zephyr (eg. zephyr-philosophers) Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-03-10zephyr-kernel: add support for zephyr v3.0.0Bartosz Golaszewski
Add support for zephyr v3.0.0 and make it the preferred version. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-03-10zephyr-kernel: drop support for zephyr v2.6.1Bartosz Golaszewski
v2.7.1 is the LTS release and we'll be adding support fr v3.0.0 in the subsequent patch. Drop support for v2.6.1. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-02-28zephyr-openthread-rcp: add recipe for OpenThread radio co-processor sampleStefan Schmidt
This builds the sample for the radio co-processor firmware with a specific set of overlays to work over USB transport. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-02-11zephyr-image: unify the image generation for tests and samplesBartosz Golaszewski
Reuse the same code that generates zephyr samples for building tests. This allows us to generate .bin files in all cases. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-01-24zephyr-kernel: Modify recipes to work with new -DZEPHYR_MODULESEilís Ní Fhlannagáin
Some of these recipes ended up overriding the ZEPHYR_MODULES we set elsewhere. As well, zephyr-lvgl tries to apply a patch we already apply. Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-01-24zephyr-kernel-src-2.6.1: Add dtc patch.Eilís Ní Fhlannagáin
fd8bf397792d58280928d23686313a8da810485a should have also applied the dtc.patch to the 2.6.1 kernel. This commits applies it, so both 2.7.1 and 2.6.1 work. Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-01-24zephyr-kernel-src: Add complete zephyr sourceEilís Ní Fhlannagáin
Currently meta-zephyr only checks out a subset of the kernel source. With the addition of being able to generate machine configs from zephyr source, we need to be able to have the complete source if we don't want things to break badly. Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-01-24zephyr.bbclass: Remove need for MACHINEOVERRIDES for ZEPHYR_MODULESEilís Ní Fhlannagáin
This commit removes the need for calling out ZEPHYR_MODULES via MACHINEOVERRIDES. It uses west list to figure out what ZEPHYR_MODULES are available and attaches them to -DZEPHYR_MODULES. Additional out of tree modules may be added via ZEPHYR_EXTRA_MODULES. Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-01-24meta-zephyr-core/bsp: Restructure into sublayersEilís Ní Fhlannagáin
This commit restructures meta-zephyr into meta-zephyr-core and meta-zephyr-bsp. It moves machine definitions into meta-zephyr-bsp in preparation for adding the autogenerated zephyr machines. Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>