Commit Graph

26 Commits

Author SHA1 Message Date
Jon Mason
39cbc2eec9 zephyr-core/zephyr-kernel-tests: remove now passing tests from exclude list
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-11-06 09:42:52 +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
Jon Mason
c2b0f9d0ca CI/qemu-cortex-m0: remove zephyr-philosophers test
zephyr-philosophers no longer fits within the defined SRAM space, and
fails to compile based on a check for this during building.  Currently,
qemu-cortex-m0.yml inherits the targets from base.yml.  So, we must
redefine the targets in qemu-cortex-m0.yml to be able to remove this.

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-11-14 18:01:00 +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
315109f967 ci: add zephyr-openthread-rcp test
zephyr-openthread-rcp support was recently added to
nrf52840-mdk-usb-dongle and nrf52840dk-nrf52840.  Add this to the
targets for both machines, which necessitates adding a target entry
for nrf52840-mdk-usb-dongle.

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
Jon Mason
d402541ed0 ci: add entry for nrf52840-mdk-usb-dongle
Signed-off-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
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
c53f775d85 zephyr-kernel: Add 'zephyr' toolchain variant
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-08 21:16:28 +08:00
Peter Hoyes
a5d6af7144 CI: Use the matrix to ovleray additional Kas files
Adopt the jobs-to-kas helper script from meta-arm, which uses Gitlab's
parellel matrix to overlay additional Kas files on top of the base Kas
file (based on $CI_JOB_NAME).

This allows multiple combinations of Kas file overlays to be easily
tested with minimal boilerplate.

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
Peter Hoyes
bbb78adff3 CI: Build zephyr-synchronization in base.yml
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-08-05 12:50:19 +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
5c91336c9f CI: add more targets
The autotest change allows for the list of targets to be built to be
larger.  Add more targets to increase the build coverage of CI.
Unfortunately, there are some platforms that do not build everything.
So, clip those down to those that work for all.  Also, there are a few
targets unique to certain platforms.  So, expand those to have coverage.

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
17b16f085a CI: use path to avoid warning
Warnings are being seen in gitlab of
 WARNING  - Falling back to file-relative addressing of local include "base.yml"
 WARNING  - Update your layer to repo-relative addressing to avoid this warning
 WARNING  - Falling back to file-relative addressing of local include "meta-openembedded.yml"
 WARNING  - Update your layer to repo-relative addressing to avoid this warning

Make the relevant changes to resolve this issue

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
cf5700d78d CI: revert the gcc workaround
The fix for the gcc issue has been upstreamed and the workaround is no
longer needed.

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-07-27 17:24:17 +08:00
Peter Hoyes
8844bbd846 CI: Use TESTIMAGE_AUTO
Now that TESTIMAGE_AUTO is available for Zephyr builds, enable it in
ci/testimage.yml and remove the redundant build_and_test base
configuration.

Remove testimage from Nios2 build as it is currently failing.

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-07-27 17:24:16 +08:00
Jon Mason
6d184ce6b6 CI: Add Richard Purdie's workaround to get meta-zephyr working again
Issue being tracked at
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14803

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
Jon Mason
93c44255a4 CI: add Gitlab CI support
Mostly stolen from meta-arm

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