aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-09-27zephyr-qemuboot: fix parse build failureNaveen Saini
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 <naveen.kumar.saini@intel.com>
2021-08-24layer.conf: update machine confs with new tune locationsNaveen Saini
Added logic to make sure, it does not break with old releases. 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-05layer.conf: add honister to LAYERSERIES_COMPATNaveen 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-27intel-x86-32.conf: drop machine configurationNaveen Saini
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 <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-flash-bossac.bbclass: Enable board flashing via bossacNagesh Shamnur
Currently only dfu and pyocd flashing are supported. Some boards such as Arduino Nano 33 BLE can be flashed via bossac which is released by Arduino repo. Find the installed Arudino version of bossac and flash using that tool. Signed-off-by: Nagesh Shamnur <nagesh.shamnur@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-15arduino-nano-33-ble.conf: Add Arduino Nano 33 BLE and BLE Sense supportNagesh Shamnur
Signed-off-by: Nagesh Shamnur <nagesh.shamnur@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-27zephyrtargetcontrol.py: fix testimage 'testimage_dump_monitor' argument issueNaveen Saini
Error log: Exception: TypeError: __init__() got an unexpected keyword argument 'testimage_dump_monitor' Ref: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3acbec85b00d693d2d731bc2b09cc40be1cc68e9 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-24qemu-x86: set new -machine value for QEMUNaveen Saini
-machine type=pc-1.3 is deprecated with QEMU 5.1.0 Error: machine runqemu - ERROR - Failed to run qemu: qemu-system-i386: unsupported machine type Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-21qemuzephyrrunner.py: use existing qemu conf fileJon Mason
Read the generated QEMU conf file, instead of using hard coded values. This allows for machines not conforming to the hard coded values to work with testimage. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-21acrn.conf: drop acrn machine configurationNaveen Saini
zephyr can be build for 'acrn' with following configuration: MACHINE = "intel-x86-64" ZEPHYR_BOARD = "acrn" Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-21intel-x86-32.conf: add common MACHINE for x86 (32-bit) BOARDSNaveen Saini
User need to specify board value to ZEPHYR_BOARD in local.conf ZEPHYR_BOARD = "minnowboard" By default it set to MinnowBoard Max 'minnowboard' Currently 32-bit supported boards: * up_squared_32 * minnowboard Ref: https://docs.zephyrproject.org/latest/boards/x86/index.html Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-21intel-x86-64.conf: add common MACHINE for x86 (64-bit) BOARDSNaveen Saini
User need to specify board value to ZEPHYR_BOARD in local.conf ZEPHYR_BOARD = "ehl_crb" By default it set to Elkhart Lake CRB 'ehl_crb' Currently 64-bit supported boards: * up_squared * ehl_crb_sbl * ehl_crb * acrn * acrn_ehl_crb Ref: https://docs.zephyrproject.org/latest/boards/x86/index.html 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-20nrf52840dk-nrf52840.conf: Add nRF52840 DK supportWojciech Zmuda
Add support for Nordic Semiconductor nRF52840 Development Kit board. This is a generic MACHINE over nRF52 SoC family config plus PyOCD flashing ability. Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-20nrf52832.inc: Rename to nrf52.incWojciech Zmuda
The file is so generic anyway it can be targeted for the nRF52 family without any harm. Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-18zephyr-qemuboot.bbclass: Remove dependency on qemu-system-nativeAndrei Gherzan
runqemu only really needs the sysroot for qemu-helper-native. Pulling other qemu dependency would get into a racing issue with rm_work. That can also be fixed by tweaking the do_addto_recipe_sysroot order in oe-core for qemu-system-native but that is just not needed for this specific dependency requirement. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-18zephyr-qemuboot.bbclass: Don't overwrite the entire elf dictionary keyAndrei Gherzan
The nios2_machdata_setfunc was overwriting the elf key in matchdata for arc done in arc_machdata_setfunc which in turn was overwriting the one from oe-core. This is making qemu-x86 builds (as an example) unbuildable: Exception: KeyError: 'i586' This patch makes sure that the changes complement the machdata dictionary as opposed to overwriting the entire "elf" key. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> 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-05-12zephyr-qemuboot.bbclass: Fix runqemu dependency on qemu native sysrootAndrei Gherzan
The runqemu script depends on having the native sysroot populated for the qemu recipes. Add the required dependency to the mix. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-04-27qemuzephyrrunner.py: add tmpfsdir supportJon Mason
OE-Core rev: fd1c26ab426c3699ffd8082b83d65a84c8eb8bff added an additional parameter, tmpfsdir, to the API. This caused testimage to no longer work in meta-zephyr. Add that parameter and everything is happy now. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-04-15zephyr-flash-pyocd.bbclass: Fix problems with flashing particular boardsZbigniew Bodek
By default, pyocd uses generic target type called "cortex_m" which should be able to connect and debug but not flash the memory. Normally pyocd would warn us of using default target instead of proper one but this message wasn't displayed. Despite not providing target type, flashing process succeeded but results were undefined. On Nitrogen, sometimes it worked (especially for small images) and sometimes the programmed device crashed miserably. Fix flashing operation by providing pyocd target type acquired from the conditional PYOCD_TARGET variable declared for each machine (chip family). Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com> 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-03-23layer.conf: add hardknott compatibilityJon Mason
Signed-off-by: Jon Mason <jon.mason@arm.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-17README.txt: Fix small typo in email subject prefixAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> 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>