37 Commits

Author SHA1 Message Date
Sandeep Gundlupet Raju
3efff04359 meta-zephyr: Update README files
Update README files with following.

 - Build instructions
 - Maintainers lists and patch submission

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
2025-08-19 09:17:39 +08:00
Sandeep Gundlupet Raju
bbeeb12eb8 classes-recipe: Convert zephyr-sample inc file to bbclass
Convert recipes-kernel/zephyr-kernel/zephyr-sample.inc file to
classes-recipe/zephyr-sample.bbclass. Using this bbclass user can
inherit this bbclass from any layer to build custom or out-of-tree
zephyr applications.

Also update the recipes to inherit zephyr-sample bbclass.

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
2025-08-18 07:55:33 +08:00
Sandeep Gundlupet Raju
1672b7f892 qemu-cortex-a9: Fix runqemu errors
Fix below runqemu errors for qemu-cortex-a9 machine.

runqemu - ERROR - Failed to run qemu: qemu-system-arm: -device virtio-rng-pci,rng=rng0: No 'PCI' bus found for device 'virtio-rng-pci'

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
2025-08-18 07:47:54 +08:00
Lee Chee Yang
eb7d04624e layer.conf: Update to whinlatter release series
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
2025-08-14 08:21:00 +08:00
Naveen Saini
dc75d6db11 layer.conf: update LAYERSERIES_COMPAT to use walnascar
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2025-04-09 14:39:28 +08:00
Naveen Saini
666d816b48 qemu-x86.conf: remove invalid option
qemu-system-i386: -no-acpi: invalid option

https://github.com/zephyrproject-rtos/zephyr/issues/72191

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-09-30 09:27:59 +08:00
Ben Cownley
e4ad333f5b topics/baicow01/zephyr-ARCH-remove: Remove ARCH from meta-zephyr
meta-zephyr current passes an ARCH variable to the CMake build
It's widely believed this is no longer necessary as it is
inferred from the BOARD variable

Signed-off-by: Ben Cownley <ben.cownley@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-09-27 09:58:45 +08:00
Naveen Saini
614c5519e9 layer.conf: update LAYERSERIES_COMPAT to use styhead
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-09-12 22:46:54 +08:00
Naveen Saini
5bd0c9b17c layer.conf: update LAYERSERIES_COMPAT to use scarthgap
Drop compatibility to nanbield.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-03-18 11:32:52 +08:00
Naveen Saini
51d1063859 intel-x86-64.conf: add intel_ prefix to x86 board names
Use newly added naming convention (intel_).

03905f7e55
2b757f1eca

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Tested-by: Jon Mason <jon.mason@arm.com>
2023-11-06 09:51:48 +08:00
Naveen Saini
fa76b75bd6 layer.conf: update LAYERSERIES_COMPAT to use nanbield
Drop langdale and mickledore.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-09-13 10:32:11 +08:00
Jon Mason
a63dfe0aac zephyr-bsp/v2m-beetle: add support
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-02-14 15:51:06 +08:00
Naveen Saini
174c3187a7 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 <naveen.kumar.saini@intel.com>
2023-01-05 10:12:12 +08:00
Jon Mason
030c1e2d89 zephyr-bsp: add support for v2m-musca-s1
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-11 14:55:32 +08:00
Jon Mason
a3dda6da2d zephyr-bsp: add support for v2m-musca-b1
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-11 14:55:32 +08:00
Jon Mason
68424901c6 zephyr-bsp: add support for mps3-an547
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-11 14:55:32 +08:00
Jon Mason
8511091467 zephyr-bsp: add support for mps2-an521
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-11 14:55:32 +08:00
Jon Mason
dc18d0ba26 zephyr-bsp: add support for mps2-an385
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-11 14:55:32 +08:00
Jon Mason
eba9a96732 zephyr-bsp: add support for qemu-cortex-a9
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-11 14:55:32 +08:00
Jon Mason
5611bbb46a layers: add langdale compatibility
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-04 10:23:08 +08:00
Philippe Coval
c97c564178 frdm-kw41z.conf: Add new machine from NXP
It was tested using zephyr-blinky and deployed manually using:

    udisksctl mount -b  "/dev/disk/by-label'FRDM-KW41ZJ"

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: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-04 10:23:08 +08:00
Philippe Coval
e700f6bff1 nrf52840-mdk-usb-dongle.conf: Add new machine from makerdiary
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 <philippe.coval@astrolabe.coop>
Signed-off-by: Philippe Coval <philippe.coval.ext@huawei.com>
Tested-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-28 15:12:18 +08:00
Jon Mason
d525eec4bf zephyr-bsp: update cortex-m4's to use new path
Update the machines using cortex m4s to use the OE tune file, and remove
the duplicate one locally.

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-21 11:51:20 +08:00
Jon Mason
0a287c123b zephyr-bsp/qemu-cortex-m3: update to use new path
Update the qemu-cortex-m3 machine to use the OE tune file, and remove
the duplicate one locally.

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-21 11:51:20 +08:00
Jon Mason
ec316aba43 zephyr-bsp: remove unused tune file
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-21 11:51:20 +08:00
Jon Mason
561e717869 zephyr-bsp: zephyr parameters update
Update the parameters being run in qemu to get more stable results.
Values taken from zephyr qemu.  Also, use QB_GRAPHICS instead of
QB_OPT_APPEND for the relevant places.

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-21 11:51:20 +08:00
Jon Mason
928906b02b zephyr-bsp/qemu-cortex-a53: run testimage
Make the changes necessary to get testimage working and run it as part
of CI

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-21 11:51:20 +08:00
Peter Hoyes
17db53ed83 Cleanup README.txt files
The README.txt files at the root and in meta-zephyr-core are identical,
so replace the copy inside meta-zephyr-core with "See ../README.txt" to
remove the need to keep two files in sync.

Add a similar README.txt to meta-zephyr-bsp.

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-08 21:16:28 +08:00
Jon Mason
e47a5e00b0 zephyr-bsp: add support for qemu-cortex-m0
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-08-02 14:47:21 +08:00
Jon Mason
5a22003a85 zephyr-bsp: add support for qemu-cortex-r5
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-08-02 14:47:21 +08:00
Jon Mason
3866c9d2b8 zephyr-bsp: add support for qemu-cortex-a53
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-08-02 14:47:21 +08:00
Jon Mason
bdea0e3154 qemu-nios2: use glibc
newlib fails to compile for nios2 architecture.  Work around this by
using glibc instead.

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-07-13 11:30:44 +08:00
Davide Gardenal
6544a70f57 generate-zephyr-machine: add leading whitespace to SRC_URI
Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-04-07 16:09:49 +08:00
Jon Mason
005557e6d4 layers: add kirkstone support
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-02-28 20:30:57 +08:00
Eilís Ní Fhlannagáin
ba8905724b recipes-meta: Abuse CMake to create OE machine definitions
Trying to handwrite all the machine defintions in zephyr would be an
enormous task. This commit creates a patch to zephy which abuses cmake
to output machine definitions for OE.

Not all machines can be generated this way and meta will need to be in
COREBASE/meta. It's mainly a prototype tool at this point to be able to
add all the machines this patch can figure out to meta-zephyr-bsp.

The hope is at a future date we can use it to autogenerate all the
machines we can from zephyr and use them in meta-zephyr-bsp.

Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-01-24 19:26:35 +08:00
Eilís Ní Fhlannagáin
4ea9140deb zephyr.bbclass: Remove need for MACHINEOVERRIDES for ZEPHYR_MODULES
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-24 19:26:35 +08:00
Eilís Ní Fhlannagáin
dde88ba40b meta-zephyr-core/bsp: Restructure into sublayers
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>
2022-01-24 19:26:35 +08:00