Commit Graph

684 Commits

Author SHA1 Message Date
Stephanos Ioannidis ea427ce3e6 release-notes: Add release notes for 0.15.1-rc2
This commit adds the release notes for the Zephyr SDK 0.15.1-rc2
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-10-01 03:08:09 +09:00
Stephanos Ioannidis 98678001d4 openocd: Pull in sleeping target flash failure fix
This commit pulls in the fix for the OpenOCD failing to flash a target
when the target is in sleep state.

Note that this is only a workaround until the Zephyr-side OpenOCD
configurations are updated to fundamentally fix this issue -- refer to
the linked OpenOCD commit message for more details.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-09-29 19:09:03 +09:00
Stephanos Ioannidis 8a02e1dc97 VERSION: Bump to 0.15.1-rc1
This commit bumps the Zephyr SDK version to 0.15.1-rc1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-09-28 06:49:10 +09:00
Stephanos Ioannidis 09211d4485 release-notes: Add release notes for 0.15.1-rc1
This commit adds the release notes for the Zephyr SDK 0.15.1-rc1
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-09-28 06:49:10 +09:00
Stephanos Ioannidis 01f76f0581 cmake: Update Kconfig symbol name for 0.15
This commit updates the Kconfig symbol name to reflect the current
version of Zephyr SDK (the 0.15.0 release forgot to do it).

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-09-27 21:28:32 +09:00
Stephanos Ioannidis 25fd3a6817 gcc: Pull in rv32ifac multilib support
This commit pulls in the GCC commit that adds support for the rv32ifac
multilib variant.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-09-23 01:06:34 +09:00
Eugeniy Paltsev 74af83ad8b gcc: ARC changes to add missing rel310a mcpu
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-09-23 01:06:34 +09:00
Keith Packard 4f610b9cf7 cmake: Declare toolchain support for thread local storage
The Zephyr SDK toolchains all enable TLS, so add a Kconfig setting
which reports this to the Zephyr build. This will allow the
explicit zephyr toolchain variant check in Zephyr's kernel/Kconfig to
eventually be removed.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-09-22 18:56:47 +09:00
Kevin Townsend 79789b3d46 doc: readme: Add note on patch testing workflow
Adds a note on a typical workflow to generate the Zephyr SDK to test
changes to gcc or other submodules.

Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
2022-08-30 10:54:38 +09:00
Stephanos Ioannidis 867ac95a23 Revert "ci: Use Zephyr topic-sdk15 branch for testing [v2]"
This reverts commit cd04a0ba13.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-30 10:54:24 +09:00
Stephanos Ioannidis fccebd0ad3 Revert "ci: Use Zephyr topic-sdk15 branch for testing"
This reverts commit 589923639e.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-30 10:54:24 +09:00
Stephanos Ioannidis 002e7c89ca gcc: Pull in AArch64 weak symbol GOT indirection fix
This commit pulls in the GCC commit that reverts the controversial GCC
behaviour, introduced in the GCC 12.1 release, that emits the GOT
indirections for the weak symbol references even when not compiling
position-independent code (PIC).

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-25 03:34:15 +09:00
Stephanos Ioannidis ab83726380 gcc: Pull in RV64 multilib code model fix
This commit pulls in the RV64 multilib code model fix in order to
ensure that the RV64 multilibs are built using the `medany` code model,
as required by Zephyr.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-20 08:06:00 +09:00
Stephanos Ioannidis bde7563184 ci: Disable Git directory ownership check
Since Git 2.35.1, the `safe.directory` config can be set to a wildcard,
which has the effect of disabling the ownership check.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-20 00:38:46 +09:00
Stephanos Ioannidis d88c931b1b ci: Add runner temp directory to git safe directory list
This commit adds the GitHub runner temporary directory (`RUNNER_TEMP`)
to the Git safe directory list because the `meta-zephyr-sdk` build
process may check out source files under this directory.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-19 22:47:33 +09:00
Stephanos Ioannidis bb23eb2aa7 ci: Add container owner mismatch workaround
The owner UID of the GITHUB_WORKSPACE directory may not match the
container user UID because of the way GitHub Actions runner is
implemented, and this can cause the Git operations to fail unless the
workspace directory is explicitly listed as a "safe directory."

For more details, refer to the following GitHub issue:

actions/checkout#760

Remove this workaround when GitHub comes up with a fundamental fix for
this problem.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-19 21:46:46 +09:00
Keith Packard 53c34568fa riscv: Make GCC default architecture include zicsr and zifencei
This makes the new version of GCC compatible with older versions
when no -march is specified on the command line

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-08-19 15:40:06 +09:00
Stephanos Ioannidis a359cc145f ci: Install ninja and meson for toolchain build on macOS
This commit updates the CI workflow to install ninja and meson, which
are required for building the picolibc, for the toolchain build job on
macOS.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-18 17:18:55 +09:00
Stephanos Ioannidis 3c734ab584 ci: Use sdk-build image v1.2.3
This commit updates the CI workflow to use the sdk-build image v1.2.3,
which added the ninja-build and meson utilities required for building
the picolibc.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-18 17:18:55 +09:00
Stephanos Ioannidis 0176041621 VERSION: Bump to 0.15.0
This commit bumps the Zephyr SDK version to 0.15.0.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-17 09:40:47 +09:00
Stephanos Ioannidis c359f409b8 release-notes: Add release notes for 0.15.0
This commit adds the release notes for the Zephyr SDK 0.15.0 release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-17 09:40:47 +09:00
Stephanos Ioannidis 898b6753f0 VERSION: Bump to 0.15.0-rc2
This commit bumps the Zephyr SDK version to 0.15.0-rc2.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-12 19:23:22 +09:00
Stephanos Ioannidis f8226a0cbc release-notes: Add release notes for 0.15.0-rc2
This commit adds the release notes for the Zephyr SDK 0.15.0-rc2
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-12 19:23:22 +09:00
Stephanos Ioannidis 7ccbc0b1a8 gcc: Pull in ARC pattern instruction offset fix
This commit pulls in the ARC pattern instruction offset fix.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-12 00:57:58 +09:00
Stephanos Ioannidis 7fe4c24046 binutils: Pull in ARC fixes
This commit pulls in the ARC architecture-related fixes that were
merged as part of zephyrproject-rtos/binutils-gdb#6.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-12 00:57:58 +09:00
Eugeniy Paltsev b175752ba8 ARC: ARCv3: fix toolchain prefix for ARCv3 32bit
Both 32bit and 64bit ARCv3 have same toolchain prefix

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
2022-08-11 22:14:26 +09:00
Eugeniy Paltsev ce283dd576 meta-zephyr-sdk: arc_qemu: Update to 2022.08.04 release
This commit updates the ARC QEMU to 2022.08.04 tag.

Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
2022-08-11 20:44:22 +09:00
Stephanos Ioannidis 9507c52a2f ci: Replace intel_s1000_crb with intel_adsp_cavs18
The `intel_s1000_crb` platform support, which is currently used for
testing the Intel S1000 Xtensa toolchain, has been removed from the
upstream Zephyr.

This commit updates the CI workflow to test the Intel S1000 Xtensa
toolchain using the `intel_adsp_cavs18` platform, which is another
board that builds using this toolchain.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-11 18:11:44 +09:00
Stephanos Ioannidis 61bd806b61 VERSION: Bump to 0.15.0-rc1
This commit bumps the Zephyr SDK version to 0.15.0-rc1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-27 02:19:44 +09:00
Stephanos Ioannidis 805cb33dac release-notes: Add release notes for 0.15.0-rc1
This commit adds the release notes for the Zephyr SDK 0.15.0-rc1
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-27 02:19:44 +09:00
Stephanos Ioannidis e04544d3a5 gcc: Pull in libstdc++ getentropy usage fix
This commit pulls in the GCC patch that fixes the problem in which the
libstdc++ incorrectly picks up the availability of the "getentropy" and
"arc4random" functions and uses them for "std::random_device" leading
to "undefined reference to `getentropy`" link errors.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-26 13:26:33 +09:00
Stephanos Ioannidis 31f02b1edf Revert "newlib: Enable C99 format specifier support for newlib-nano"
This reverts commit 46ceb8961a, which
enabled the C99 format specifier support for the "nano" variant of the
newlib.

It has been decided at the TSC to keep the C99 format specifier support
disabled for the newlib "nano" variant at the cost of breaking the C99
standard compatibility[1] until the picolibc gains more adoption and
can function as an effective replacement of the newlib "nano" variant.

[1] https://github.com/zephyrproject-rtos/zephyr/issues/47329#issuecomment-1190530446

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-21 09:27:47 +09:00
Stephanos Ioannidis 274cb481ed VERSION: Bump to 0.15.0-beta2
This commit bumps the Zephyr SDK version to 0.15.0-beta2.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-13 22:10:07 +09:00
Stephanos Ioannidis 9152f6c76d release-notes: Add release notes for 0.15.0-beta2
This commit adds the release notes for the Zephyr SDK 0.15.0-beta2
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-13 22:10:07 +09:00
Stephanos Ioannidis 356f3d6a6d ci: Upload release assets in parts
This commit modifies the CI release workflow to upload the release
assets in multiple parts because the `softprops/action-gh-release`
action attempts to load all specified release assets into the runner
memory at once and this may cause the runner instance to run out of
memory.

For more details, refer to the GitHub issue #520.

Revert this when the action is updated to use the streams.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-13 20:24:10 +09:00
Stephanos Ioannidis 1d007f17c1 VERSION: Bump to 0.15.0-beta1
This commit bumps the Zephyr SDK version to 0.15.0-beta1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-09 08:05:49 +09:00
Stephanos Ioannidis 9274ed4e1a release-notes: Add release notes for 0.15.0-beta1
This commit adds the release notes for the Zephyr SDK 0.15.0-beta1
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-09 08:05:49 +09:00
Stephanos Ioannidis fa59c26837 Revert "scripts: template: Disable ARC targets"
This reverts commit e59c246236 since the
ARC targets have been re-enabled.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-08 16:25:54 +09:00
Stephanos Ioannidis dc1d92f3bc Revert "ci: Disable ARC targets until the latest patches are available"
This reverts commit 3054f9216e since the
ARC patches for the GNU toolchains have been merged and the toolchains
for it can be built now.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-08 16:25:54 +09:00
Stephanos Ioannidis a2807f0318 newlib: Pull in ARC patches
This commit pulls in the 32-bit and 64-bit ARC architecture support
patches for the Newlib.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-08 16:25:54 +09:00
Stephanos Ioannidis e50967d54e gcc: Pull in ARC patches
This commit pulls in the 32-bit and 64-bit ARC architecture support
patches for the GCC.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-08 16:25:54 +09:00
Stephanos Ioannidis 5648df9e6f configs: arc64: Enable GDB build
This commit enables the GDB build for the ARC64 target because the
Zephyr GDB 12.1 branch now includes the support for it.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-08 16:25:54 +09:00
Stephanos Ioannidis 2f6f0ad5b1 gdb: Pull in ARC patches
This commit pulls in the 32-bit and 64-bit ARC architecture support
patches for the GDB.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-08 16:25:54 +09:00
Stephanos Ioannidis 31aba219df configs: arc64: Switch to binutils Git submodule
The ARC64 binutils patches have been reworked so that it can be cleanly
applied on top of the upstream GDB 12.1 branch without affecting other
ARC architectures.

This commit updates the ARC64 toolchain configurations to use the
binutils Git submodule instead of the local ARC64-specific patch.

It also removes the local ARC64-specific binutils patch under the
`patches-arc64` directory since it is no longer used.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-08 16:25:54 +09:00
Stephanos Ioannidis acc0190952 binutils: Pull in ARC patches
This commit pulls in the 32-bit and 64-bit ARC architecture support
patches for the Binutils.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-08 16:25:54 +09:00
Stephanos Ioannidis 15a7071419 crosstool-ng: Pull in LZMA and Guile scripting support configs
This commit pulls in the crosstool-ng patch that adds the
configurations to explicitly control the liblzma and libguile library
linkage so that the shared version of these libraries are not
automatically linked on the systems that have these libraries
installed (e.g. macos-x86_64).

Note that these configurations are disabled by default, so simply
pulling this patch in should be enough to disable the liblzma and
libguile library linkage.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-07-05 00:26:55 +09:00
Stephanos Ioannidis 8cbcc6d645 gcc: Pull in RISC-V bit manipulation extension multilib patch
This commit pulls in the GCC patch that builds the multilibs for the
RISC-V target configurations that support the bit manipulation
extension (Bitmanip).

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-29 21:42:55 +09:00
Stephanos Ioannidis 5e558552e6 gcc: Pull in RISC-V base ISA multilib patch
This commit pulls in the GCC patch that builds the multilibs for the
RISC-V base instruction sets (i.e. rv32i, rv32e, rv64i) in order to
increase the ISA extension configuration coverage.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-29 00:57:50 +09:00
Stephanos Ioannidis 1643afa83a overlays: xtensa_espressif_esp32s2: gdb: Relocate gdbserver files
This commit relocates the gdbserver `xtensa-xtregs.c`, which was
previously located under `gdb/gdbserver` to `gdbserver` as required by
the GDB 12.1.

Also note that the `xtensa-xtregs.c` file has been renamed to
`xtensa-xtregs.cc`.

The `xtensa-regmap.c` file is removed because it is not used anywhere.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00
Stephanos Ioannidis 2849d32477 overlays: xtensa_espressif_esp32s2: gdb: Update xtensa-config.c
This commit updates the `xtensa_tdep` global variable definition in the
GDB `xtensa-config.c` to use the new type introduced in GDB 12.1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-26 19:20:20 +09:00