Commit Graph

349 Commits

Author SHA1 Message Date
Sandeep Gundlupet Raju
3617fcdfd0 README: Update instructions to fix warning
In README instructions DISTRO variable assigment doesn't have
whitespace, due to this bitbake throws the warning messages as
shown below.

WARNING: /scratch/sandeep/yocto/yp-master/build-zep/conf/local.conf:291 has a lack of whitespace around the assignment: 'DISTRO="zephyr"'

Hence update instructions to fix warning messages.

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
2025-06-06 18:17:27 +08:00
Naveen Saini
3c68dd674c README.txt: update for walnascar release
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2025-04-30 14:36:57 +08:00
Naveen Saini
9451792019 layer.conf: Prepare for release, drop scarthgap styhead LAYERSERIES
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2025-04-30 14:36:57 +08:00
Naveen Saini
62ad6a56f3 zephyr-toolchain-zephyr.inc: Fix variable assignment whitespace
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2025-04-29 11:35:48 +08:00
Naveen Saini
e010f34312 meta-zephyr: Fix variable assignment whitespace
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2025-04-22 12:46:52 +08:00
Naveen Saini
a6b9bb58d1 zephyr-kernel: drop support for v3.5.0 and v3.6.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2025-04-22 12:46:52 +08:00
Naveen Saini
5cf1e534cb zephyr-kernel: Add support for v4.1.0
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v4.1.0

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2025-04-22 12:46:52 +08:00
Nicholas Lowell
660188752e zephyr-core/zephyr-kernel: specify newlib capability with cross-compile toolchain
Zephyr upstream reconfigurations now require either the CMake variable
TOOLCHAIN_HAS_NEWLIB or Kconfig NEWLIB_LIBC_SUPPORTED in order to build
with FULL_LIBC_SUPPORTED and NEWLIB.

This cross-compile toolchain does indeed have full newlib support available
so we need to now specify that so it can be used.

Signed-off-by: Nicholas Lowell <Nicholas.Lowell@lexmark.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2025-04-10 12:46:07 +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
Vince Chang
dec3591e1f zephyr-sdk: Upgrade to version 0.16.9
Signed-off-by: Vince Chang <vince_chang@aspeedtech.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-12-13 15:06:14 +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
Naveen Saini
6c98151197 libgloss: add bbappend
It carries patch to disable warnings as error for x86 32-bit
(qemu-x86) machine.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-09-30 09:27:54 +08:00
Ben Cownley
e411e5b839 topics/baicow01/zephyr-toolchain-set: Set zephyr toolchain work dir
Currently the work dir generated by the zephyr toolchain is incorrect
Setting it to correctly reflect the arch and zephyr stage

Signed-off-by: Ben Cownley <ben.cownley@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-09-27 09:58:50 +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
07d144796b x86: fix build for up_squared boards
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-09-13 19:16:43 +08:00
Naveen Saini
c4eaf487e2 zephyr-kernel: build with v3.7.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-09-13 13:57:19 +08:00
Naveen Saini
f84fdf5e28 zephyr-image.inc: fix runqemu failure
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-09-13 13:57:09 +08:00
Jamin Lin
0f06f56f68 zephyr-kernel: support to deploy users customize image
In the previous design, it only deployed zephyr.elf,
zephyr.bin and zephyr.efi.
If users want to deploy their customize images, they should update do_install task.
Add to check "ZEPHYR_MAKE_OUTPUT" to deploy users customize images and zephyr images.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-09-12 22:46:54 +08:00
Jamin Lin
aa00f54e43 zephyr-kernel: Add source version to support v3.7.0
This inc file is created by generate-version.py

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-09-12 22:46:54 +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
987e47a476 zephyr-sdk: use UNPACKDIR
do_unpack: Bitbake Fetcher Error: UnpackError("subdir
argument isn't a subdirectory of unpack root"

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-06-12 09:56:55 +08:00
Naveen Saini
763c72fc30 README.txt: update mailing list
Patches should now be sent to yocto-patches@
https://lists.yoctoproject.org/g/yocto-patches

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-04-11 09:55:32 +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
3be7e3e1ed zephyr-sdk: Upgrade to version 0.16.5-1
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.16.5-1

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-03-07 13:40:35 +08:00
Naveen Saini
279523c224 zephyr-kernel: Add support for v3.6.0
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.6.0

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-03-07 13:40:35 +08:00
Naveen Saini
dc45d347b2 x86: Refresh patch to include efi fix for up_squared board
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-07 22:09:07 +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
62b6d7e43b zephyr-sdk: Upgrade to version 0.16.3
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.16.3

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
af3fa206c8 zephyr-kernel: Drop support for v3.4.0
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-06 09:51:48 +08:00
Naveen Saini
8bc1b8e811 zephyr-kernel: Add support for v3.5.0
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-06 09:51:48 +08:00
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
11c2ab756f CI: Update to the latest kas version
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-11-06 09:42:39 +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
Naveen Saini
a29a29f32a zephyr-sdk: Upgrade to version 0.16.1
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.16.1

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Tested-by: Jon Mason <jon.mason@arm.com>
2023-06-26 10:15:14 +08:00
Naveen Saini
5af99cadbf zephyr-kernel: Drop support for v3.3.0
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-26 10:15:14 +08:00
Naveen Saini
1b0236a573 zephyr-kernel: Add support for v3.4.0
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-06-26 10:15:14 +08:00
Naveen Saini
00ae4c13c0 zephyr-kernel-src-3.3.0: fix build with gcc-13
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-31 13:50:16 +08:00
Tan Wen Yan
953fbe1238 zephyr-core/zephyr.bbclass: Fix do_menuconfig
Update do_menuconfig to run ninja menuconfig as the default
CMake generator is ninja.

Also fix directory path for .config.

[YOCTO #15040]

Signed-off-by: Tan Wen Yan <wen.yan.tan@intel.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-05-31 13:50:03 +08:00
Naveen Saini
b0173e045c zephyr-kernel: Include efi binary generation fix for Raptor Lake too
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-05-15 11:00:25 +08:00
Peter Hoyes
5fde315017 zephyr-core/zephyr-kernel: Fix arm32 binutils 2.40 incompatibility
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-20 15:02:55 +08:00
Peter Hoyes
ffd9279d0d zephyr-core/zephyr-kernel: Use SHA for zcbor module
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-04-20 15:02:55 +08:00
Peter Hoyes
81babac06d zephyr-core/scripts: Resolve West revisions to SHAs
The West manifest in  Zephyr 3.3 contains a tag (instead of a SHA) for
zcbor [1]. OE standard practice is to always specifiy revisions using
SHAs, so in the Jinja template, use the new resolve_revision filter to
resolve any tags.

[1] https://github.com/zephyrproject-rtos/zephyr/pull/51219#discussion_r998123145

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-04-20 15:02:55 +08:00
Peter Hoyes
0a05d27d14 zephyr-core/scripts: Resolve Zephyr tag using git ls-remote
To simplify the logic to resolve Git tags to SHAs, and so that it works
with non-Github repositories, use git ls-remote instead of the Github
API.

Make the resolve_revision function available as a Jinja filter and move
the version resolution to the template.

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-04-20 15:02:55 +08:00
Peter Hoyes
6ead6ee94c CI: Update Kas version to 3.2.3
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-04-20 15:02:55 +08:00
Peter Hoyes
d075b06ade zephyr-core/zephyr-kernel: Remove the downstream "yocto" toolchain
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-24 16:24:35 +08:00
Peter Hoyes
871979b4d1 zephyr-core/zephyr-kernel: Use the upstream "cross-compile" toolchain
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-24 16:24:35 +08:00
Peter Hoyes
c2d10c62c7 zephyr-sdk: Upgrade to version 0.15.2
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.15.2

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-02-23 17:11:16 +08:00
Peter Hoyes
50c97ab5c6 zephyr-kernel: Drop support for v3.1.0 and v3.2.0
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-23 17:11:16 +08:00
Peter Hoyes
6d3072540c zephyr-kernel: Add support for v3.3.0
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-02-23 17:11:16 +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