aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/zephyr-kernel
AgeCommit message (Collapse)Author
2021-10-21zephyr-kernel/2.5.0: drop recipeNaveen Saini
As v2.7.0 is being added, drop this version support Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-10-21zephyr-kernel/2.7.0: add recipeNaveen Saini
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 <naveen.kumar.saini@intel.com>
2021-10-07zephyr-kernel-test: disable broken testsJon Mason
Add tests that don't currently compile successfully to the remove list for each specific machine. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-10-06zephyr-kernel: add openamp-rsc-table sampleArnaud Pouliquen
The recipe to build rpmsg sample demonstrating messaging between main core dunning Linux and and the coprocessor running Zephyr. Useful to demonstrate inter-processing communication. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-09-27zephyr-kernel: upgrade 2.6.0 -> 2.6.1Naveen Saini
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 <naveen.kumar.saini@intel.com>
2021-08-13zephyr-kernel-src-dev.inc: add dev recipeNaveen Saini
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 <naveen.kumar.saini@intel.com>
2021-08-13zephyr-kernel-src: switch to main branch for hal_stm32 module repoNaveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-08-05Convert to new override syntaxNaveen Saini
Use the convert-overrides.py to convert to new syntax and fixed some additional changes manually. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-07-16zephyr-openthread-echo-client: Add new echo-client variant for OpenThreadStefan Schmidt
Similar to the normal echo-client example it demonstrates socket usage, but in this variant we enable the OpenThread config overlay and add the needed module to the build. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-07-16zephyr-kernel-src.inc: Add backport patch for storage partitionStefan 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 <stefan.schmidt@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-07-08zephyr-kernel: install .efi image if availableNaveen Saini
EFI images are being generated for x86 platforms. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-07-08zephyr-kernel/2.6.0: update to include latest commitsNaveen Saini
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 <naveen.kumar.saini@intel.com>
2021-06-23zephyr-coap-client: Add recipe for CoAP clientAmit Kucheria
This sample application provides an example coap-client using the the MBEDTLS library. Signed-off-by: Amit Kucheria <amit.kucheria.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-23zephyr-coap-server: Add recipe for CoAP serverAmit Kucheria
This sample application provides an example coap-server using the the MBEDTLS library. Signed-off-by: Amit Kucheria <amit.kucheria.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-15zephyr-kernel: Add OpenThread add module to buildStefan 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 <stefan.schmidt@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-15zephyr-blinky: add sample app recipeDavide Ricci
Blinky is the most referenced sample in Zephyr's documentation and recall Arduino's first sketch example. This .bb file allows to build such example. Signed-off-by: Davide Ricci <davide.ricci@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-15zephyr-kernel: install .bin image if availableNagesh Shamnur
Some boards (e.g. Arduino Nano 33 BLE) require image in bin format for flashing with `-c flash_usb`. Provide that image along with ELF image on do_deploy step. Signed-off-by: Nagesh Shamnur <nagesh.shamnur@huawei.com> Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-15zephyr-kernel-test: fix Cortex-M tests failure with 2.6.0 kernelNagesh shamnur
Edit the test recipe removing obj_tracing tests that have been removed from Zephyr 2.6.0 release. Signed-off-by: Nagesh Shamnur <nagesh.shamnur@huawei.com> Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-kernel-src: drop 2.4.0 supportNaveen Saini
v2.6.0 is available now. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-kernel-src-2.4.0.inc: add srcrev for mbedtls moduleNaveen Saini
Ref: https://github.com/zephyrproject-rtos/zephyr/blob/zephyr-v2.4.0/west.yml#L93 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-kernel-src-2.6.0.inc: add srcrev for mbedtls moduleNaveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-kernel-src set default preferred version to 2.6.0Wojciech Zmuda
Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com>
2021-06-10zephyr-kernel-src: add 2.6.0 releaseWojciech 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 <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-mqtt-publisher: Add recipe for mqtt publisherAmit Kucheria
This sample application provides an example of using the the MBEDTLS library. Signed-off-by: Amit Kucheria <amit.kucheria.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-websocket-client: Add recipe for websocket clientAmit Kucheria
This sample application provides an example of using the the MBEDTLS library. Signed-off-by: Amit Kucheria <amit.kucheria.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-http-client: Add recipe for http clientAmit Kucheria
This sample application provides an example of using the the MBEDTLS library. Signed-off-by: Amit Kucheria <amit.kucheria.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-echo-client: Add recipe for echo clientAmit Kucheria
This sample application provides an example of using the the MBEDTLS library. Signed-off-by: Amit Kucheria <amit.kucheria.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-kernel: Clone mbedtlsAmit 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 <amit.kucheria.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-21zephyr-kernel-src: fix efi generation failure for x86 boardsNaveen Saini
With zephyr v2.5.0, EFI binary support has been added for x86 board (64-bit mode). To achieve this, an python tool[1] has been added to convert zephyr ELF file into an EFI appliable. But currently this does not work with Yocto cross-compilation env. This patch fix this issue and allow to build zephyr.efi Ref: [1]https://github.com/zephyrproject-rtos/zephyr/commit/928d31125f0b4eb28fe1cf3f3ad02b0ae071d7fd Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-17zephyr-kernel-src: switch from master branch to mainNaveen Saini
* branch was renamed in upstream repo It fixes do_fetch failure Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-03-31zephyr-kernel-src.inc: Support samples from external layersAndrei Gherzan
The inc file references patch(es) local to the inc file. Including this file from another recipe as part of an external layer, will make bitbake fail finding the files referenced in zephyr-kernel-src.inc's SRC_URI. By including an explicit path to the files directory in FILESEXTRAPATHS, we make sure that any recipe including this inc file will inherit the needed path. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-22zephyr-kernel-src.inc: set default preferred version to 2.5.0Naveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-22zephyr: upgrade 2.5.0-rc4 -> 2.5.0Naveen Saini
Release notes: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.5.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-kernel-src: Upgrade 2.5.0-rc3 to rc4Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-peripheral-hr: Add recipe for BT HR sampleAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17Use an include file for the common parts of the sample recipesAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-kernel.inc: Remove include fileAndrei Gherzan
This file has little advantage and can be easily replaced by just directly including the src include file. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-kernel-common.inc: Reformat EXTRA_OECMAKEAndrei Gherzan
This will improve diffs readability in the future. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-kernel-common.inc: Fix configuration CPPFLAGS warningAndrei Gherzan
Configure warns when CPPFLAGS is provided as environment variable and expects its value to be passed to cmake. This patch does that to surpress the warning. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-kernel-src-2.5.0-rc3.inc: Add support for zephyr kernel version 2.5.0-rc3Andrei Gherzan
This version can be selected defining PREFERRED_VERSION_zephyr-kernel ??= "2.5.0-rc3" Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-kernel-src: Restructure recipeAndrei Gherzan
* Restructure recipe to use include files as opposed to a bbclass. The latter is unnatural when defining versions, sources etc. * Make the zephyr-kernel-src follow the version as defined by PREFERRED_VERSION_zephyr-kernel. * Make the setup of the zephyr-kernel-src.inc extensible for multiple versions. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-09zephyr-ipm: drop recipeNaveen Saini
ipm moved to driver folder. Sample is no longer available. Ref: https://github.com/zephyrproject-rtos/zephyr/commit/131cfa2043b255246ae5c30c2c1383dff49a0442 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-09zephyr-hci-uart: set COMPATIBLE_MACHINE to 96b-nitrogen machineNaveen Saini
Fix recipe to build. Support for Board arduino-101-ble already dropped from v1.12 Ref: https://github.com/zephyrproject-rtos/zephyr/blob/v2.4-branch/samples/bluetooth/hci_uart/README.rst https://github.com/zephyrproject-rtos/zephyr/blob/v2.4-branch/samples/bluetooth/hci_uart/boards/96b_nitrogen.conf Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-09zephyr-kernel-common.inc: use ZEPHYR_MODULES varNaveen Saini
Use ZEPHYR_MODULES variable to pass list of absolute source paths of additional external modules. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-05zephyr-peripheral-esp: fix compilationWojciech Zmuda
Bluetooth peripheral ESP sample application does not compile because of: - broken source directory path passing to cmake, - broken paths in do_deploy, - unnecessary call for do_install, - missing tinycrypt. The first issue caused the following error: <...>/gcc/arm-yocto-eabi/9.3.0/ld: <...>/recipe-sysroot/usr/lib/libc.a(lib_a-exit.o): in function `exit': /usr/src/debug/newlib/3.2.0-r0/newlib-3.2.0/newlib/libc/stdlib/exit.c:64: undefined reference to `_exit' collect2: error: ld returned 1 exit status Fix the issue by providing Zephyr source directory to cmake via OECMAKE_SOURCEPATH variable. On the do_configure step cmake now gets the full path to the sample source code instead of Zephyr root directory. The second and third issue caused errors because of missing files. Don't execute do_install and use the same paths in deploy as the other sample apps do. Inspecting meta-zephyr commits history shows that similar approach was used in bb files of other sample application when updating them to work with Zephyr 2.0. For the missing Tinycrypt, append its location to cmake. Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-12-16zephyr-kernel: clone OpenAMPWojciech Zmuda
OpenAMP is a framework providing software components enabling development of software applications for AMP systems. It is downloaded by default by west from two Zephyr Project repositories based on original OpenAMP repositories: - open-amp - IPC layer that implements rpmsg communication between cores, - libmetal - HAL abstraction layer used by open-amp. Clone the repositories so they can be used for building images for boards with multicore chips. Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-12-16zephyr-kernel: clone STM32 HALWojciech Zmuda
HAL for STM32 chipsets is one of Zephyr subprojects. It is downloaded by default by west. Clone the HAL repository so it can be used for building images for boards with STM32 chips. Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-12-14zephyr-kernel: clone Nordic HALWojciech Zmuda
HAL for Nordic chipsets is one of Zephyr subprojects. It is downloaded by default by west. Clone the HAL repository so it can be used for building images for boards with Nordic chips. Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-11-03zephyr-kernel-test: drop fatal kernel testcaseNaveen Saini
kernel 'fatal' testcase has directory structure changes in v2.4.0 version, which does not fit in current meta-zephyr test build structure. So excluding it for now. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-10-30zephyr-kernel: add Zephyr RTOS version 2.4.0 supportJon Mason
Update Zephyr to the latest version. Tested via zephyr-philosophers on qemu-cortex-m3. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>