255 Commits

Author SHA1 Message Date
Khem Raj dd3221a5e7 taisei: Fix build with glibc 2.43 + c23
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-16 12:21:07 -07:00
Gargi Misra dd96b8a81e Revert "refpolicy-targeted: Added sepolicy for adb service"
This reverts commit 00616ccdaf.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-10 08:03:23 -07:00
Gargi Misra b9399b33ef Revert "refpolicy-targeted: Add sepolicy for adb service"
This reverts commit 801addc528.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-10 08:03:23 -07:00
Yi Zhao 6b88305138 netplan upgrade 1.1.2 -> 1.2.1
ChangeLog:
https://github.com/canonical/netplan/releases/tag/1.2
https://github.com/canonical/netplan/releases/tag/1.2.1

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-10 07:59:59 -07:00
Wang Mingyu 9f1cc39d7b thingsboard-gateway: upgrade 3.8.2 -> 3.8.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-01 19:29:12 -07:00
Swamil Jain 7e4c318f16 kmsxx: update SRCREV
Update SRCREV to pick the latest changes for kmsxx

Signed-off-by: Swamil Jain <s-jain1@ti.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-01 13:16:39 -07:00
Khem Raj e6fbb6330b bpftrace: Upgrade to 0.25.1 release
* This version works with llvm 22+
* Use system libbpf

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-30 19:46:39 -07:00
Khem Raj c358831993 bcc: Upgrade to 0.36.1
* Drop upstreamed patches
* Backport clang-22 fix
* Disable git lfs

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-30 19:46:38 -07:00
Abhilasha Manna 801addc528 refpolicy-targeted: Add sepolicy for adb service
- Fix adb pull/push operations.
- Fix interactive shell execution.

Signed-off-by: Abhilasha Manna <amanna@qti.qualcomm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-27 09:09:05 -07:00
Kai Kang c1867c52ae bpftrace: remove ptest subpackage for powerpc64
bpftrace-ptest requires bpftool which is not compatible with powerpc64.
So remove sub-package bpftrace-ptest for powerpc64 & powerpc64le.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-24 23:32:48 -07:00
Peter Kjellerstedt e585da399f bpftrace: Update the runtime dependencies
* bash and python3 are only needed by the ptest package.
* xz appears to not be needed at all.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-18 14:33:29 -07:00
Gargi Misra 00616ccdaf refpolicy-targeted: Added sepolicy for adb service
- Labeled adb binary
- Moved adb shell from initrc_t to unconfined_t
- meta-selinux does not provide adb domain added policy in meta-oe
  instead of refpolicy: SELinuxProject/refpolicy#1085

Signed-off-by: Gargi Misra <gmisra@qti.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-18 14:33:28 -07:00
Gyorgy Sarvari cce9a3b937 bcc: add missing build dependency
Without xz present, compilation fails with the following error:

| <...>/x86_64-oe-linux-ld: warning: liblzma.so.5, needed by <...>/libbcc.so, not found (try using -rpath or -rpath-link)
| <...>/x86_64-oe-linux-ld: <...>/libbcc.so: undefined reference to `lzma_code@XZ_5.0'
| <...>/x86_64-oe-linux-ld: <...>/libbcc.so: undefined reference to `lzma_end@XZ_5.0'
| <...>/x86_64-oe-linux-ld: <...>/libbcc.so: undefined reference to `lzma_stream_decoder@XZ_5.0'
| collect2: error: ld returned 1 exit status

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-18 14:33:24 -07:00
Viswanath Kraleti 9f5c6b28e3 android-tools: add fix for strchr() conformance to C23
Building android-tools v29.0.6.r14 with glibc 2.43 fails due to ISO C23
changes to strchr(). Add a patch to update the affected libunwind sources
to use const pointer types to fix this build failure.

Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-18 14:33:24 -07:00
Harish Sadineni 4937ed55d8 bcc: Add ARM and AArch64 support to static tracepoints
This resolves USDT probe test failures on ARM64 platforms.
Without these changes, the .note.stapsdt section containing probe
information was missing entirely on ARM64, causing test failures when
attempting to find and attach to USDT probes in the BCC test suite.

Upstream-Status: Submitted [https://github.com/iovisor/bcc/pull/5491]

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-17 13:25:15 -07:00
Harish Sadineni cdf9d099b9 bcc: Add riscv syscall prefix detection in C++ API
Fixes issue where bpf.get_syscall_fnname() on riscv64 returns bare syscall
name instead of the prefixed _riscv_sys variant, causing kprobe
attachment failures.

Upstream-Status: Submitted [https://github.com/iovisor/bcc/pull/5490]

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-17 13:25:15 -07:00
Harish Sadineni eed01e5cc0 bcc: Add ARM64 syscall prefix detection in C++ API
Fixes issue where bpf.get_syscall_fnname() on ARM64 returns bare syscall name
instead of the prefixed _arm64_sys variant, causing kprobe attachment failures.
Now detects ARM64 prefix alongside x64 (x64_sys) and generic (sys) prefixes.

Upstream-Status: Submitted [https://github.com/iovisor/bcc/pull/5489]

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-17 13:25:15 -07:00
Wang Mingyu 8941d7c480 thingsboard-gateway: upgrade 3.8.0 -> 3.8.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-02 19:25:57 -08:00
Shoudi Li c276518790 android-tools-conf-configfs: remove this recipe without selinux dependency
For the boards with multiple UDC ports, when compiling with meta-selinux
layer adb funtion will be impacted due to below error. Remove the recipe
under dynamic-layers/selinux/ as it's not required anymore, and ensure
adb work normally on the boards with multiple UDC ports.

ls /sys/class/udc/ > /sys/kernel/config/usb_gadget/adb/UDC
ls: write error: Device or resource busy

Signed-off-by: Shoudi Li <shoudil@qti.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-30 23:59:11 -08:00
Khem Raj e4b25c0fcb rwmem: Fix tests to build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-24 13:18:31 -08:00
Liu Yiding 8e285b64d0 rwmem: upgrade 1.2 -> 2.0
2. Pyrwmem and static-libc build option has been removed in 2.0.

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-23 12:22:42 -08:00
Martin Schwan 16493d4c1d thingsboard-gateway: upgrade 3.7.4 -> 3.8.0
With thingsboard-gateway 3.8.0, the source URI must be set to the
project Git repository, as source releases are no longer provided via
PyPi for this project.

Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-21 08:54:01 -08:00
Weisser, Pascal f1193ecbf8 rwmem: Add HOMEPAGE variable
Add HOMEPAGE variable to rwmem recipe.

Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-10 08:58:49 -08:00
Liu Yiding b84c199327 rasdaemon: upgrade 0.8.3 -> 0.8.4
1.Changelog:
https://github.com/mchehab/rasdaemon/commit/5a1efb8f324498df8cbaaa5adff0e9db96f648a9

2.Remove 0001-rasdaemon-fix-post-processing-options.patch as it was merged upstream.

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-26 15:28:07 -08:00
Yi Zhao 5ce1a7de82 rasdaemon: fix post-processing options
Some post-processing options require an argument, otherwise a segfault
will occur:

root@qemux86-64:~# rasdaemon  -p --status --ipid
Segmentation fault    (core dumped) rasdaemon -p --status --ipid

Backport a patch to fix this issue.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-20 02:01:29 -08:00
Sasi Kumar Maddineni d9ca35948c libziparchive: fix missing fixed-width integer types in zip_writer.h
Compilation fails due to undefined types 'uint16_t' and 'uint32_t' in
zip_writer.h. These types are used in struct members but are not recognized
because the required header <cstdint> is not included. This results in
errors such as:
  error: 'uint16_t' does not name a type
  error: 'uint32_t' does not name a type

Added '#include <cstdint>' to zip_writer.h to ensure fixed-width integer
types are properly defined.

Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-29 21:02:20 -07:00
Sasi Kumar Maddineni aa430364a2 libunwind: guard unreachable() macro to avoid redefinition with stddef.h
The build fails due to a macro redefinition conflict for `unreachable()`.
GCC 15.2.0 defines `unreachable()` in `stddef.h`, and `libunwind_i.h` also
defines it based on the presence of `HAVE__BUILTIN_UNREACHABLE`. This causes
a redefinition error when building with `-Werror`.

Added a guard around the `unreachable()` macro definition in `libunwind_i.h`
to ensure it is only defined if not already present.

Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-29 21:02:20 -07:00
Sasi Kumar Maddineni 838dbfc496 android-tools: scope 'write' macro to prevent conflict with std::basic_ostream::write
The build fails with a compiler error due to a macro redefinition of 'write'
to '___xxx_write'. This macro substitution interferes with the standard C++
library's definition of std::basic_ostream::write, leading to a mismatch
between function declarations and definitions in <ostream.tcc>.

Wrap the `#undef write` and `#define write ___xxx_write` directives with
`#if defined(__ANDROID__)` to ensure they are only applied when building
for
Android.

Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-29 21:02:20 -07:00
Khem Raj 7e143c1e76 bpftrace: Upgrade to 0.24.1 release
Drop upstreamed patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-28 23:31:28 -07:00
Martin Schwan df95f956b6 thingsboard-gateway: Update systemd service
Update the systemd service file to reflect the changes of the source
repository.

Add a user and group "thingsboard_gateway" which the service runs under,
instead of root.

Store temporary files, like logs, in /var and make use of the newly
created user and group.

Additionally, the service should start after and wants a network
connection to be online, not just be activated.

Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 09:06:24 -07:00
Martin Schwan 5005e061ce thingsboard-gateway: Use configs from source repository
Replace the outdated configuration files with the ones found the source
repository of thingsboard-gateway. This makes sure, the configuration
file examples stay up-to-date in future versions.

Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 09:06:24 -07:00
Martin Schwan 958cf68ef2 thingsboard-gateway: Add missing dependencies
Add all missing runtime dependencies that are required by
thingsboard-gateway. Since thingsboard-gateway tries to install missing
dependencies via pip and fails to do so, install the dependencies
system-wide beforehand.

Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 09:06:24 -07:00
Changqing Li 8bc16df184 bpftrace: fix do_configure failure when ptest disabled
After upgrade to 0.24.0, do_configure failed with error:

| CMake Error at cmake/Embed.cmake:3 (find_program):
|   Could not find XXD using the following names: xxd
| Call Stack (most recent call first):
|   src/stdlib/CMakeLists.txt:1 (include)

[1] https://github.com/bpftrace/bpftrace/commit/df21d917d9cced77ebde1202c1b3508a169f46a0

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-16 08:48:34 -07:00
Ross Burton 095cdf4a8c taisei: clean up recipe slightly
There's no need to inherit python3native as there are no python3- native
dependencies.

Remove RDEPENDS_${PN}, these are all libraries that are linked to so the
relevant RDEPENDS are created. The fact that this recipe is still using
the old syntax suggests that they're not needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-13 23:47:40 -07:00
Khem Raj ff2a53be1c taisei: Add packageconfigs for lto and rtti
meson's rtti detection logic fails especially with
clang which disables rtti by default. The test is
triggerred in one of taisei's submodules especially
this commit [1], I think it should be something in
meson to fix in its rtti detection logic

Similarily LTO is only enabled when it is in distro
features, clang disables support for LTO in toolchain
when its not in distro features and linking fails since
it can not find linker plugin.

[1] https://github.com/taisei-project/basis_universal/commit/851bfc63fd0f9d00dd1a21fb542a9b8c0f7d06ec

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-05 21:43:43 -07:00
Khem Raj 67fa4530d1 taisei: Upgrade to 1.4.4 release
Stable release with fixes

Fixed the macOS build crashing on startup.
Fixed audio distortion when the audio device uses a sample rate other than 48 kHz.
Fixed the internal mixer_chunksize setting being ignored. This resulted in a larger audio buffer than intended, increasing latency.
Fixed some minor SDL3 migration issues, particularly in handling of IO errors.
Fixed mimalloc being built incorrectly as a subproject.
Debugging symbols for the official builds are now available as a separate download.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-05 21:43:43 -07:00
Khem Raj 2886182331 bpftrace: Fix runtime deps and enable musl builds
Remove systemtap from build time dependencies it seems to be
not needed and it does not build on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-10 23:50:39 -07:00
Khem Raj 8783b260a4 bpftrace: Upgrade to 0.24.0
Fix build with clang-21 and libc++

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-10 23:50:39 -07:00
Khem Raj c415680160 bpftrace: Upgrade to 0.23.5 release
Drop backported patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-07 12:33:27 -07:00
Khem Raj ec3c60bd9f bcc: Fix build with LLVM/Clang 21
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-29 22:02:54 -07:00
Khem Raj 6afa1b72c3 spdm-utils: Move back to meta-oe
Clang dependency can be met by oe-core now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-01 17:23:41 -07:00
Khem Raj 13e814bb88 thin-provisioning-tools: Move out of clang dynamic layer to meta-oe
clang is now in oe-core so it can live in its original place

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-01 17:23:41 -07:00
Bo Sun 7e3b4725c9 thin-provisioning-tools: fix bindgen build error with clang on octeontx2
Remove unsupported '-mcpu=octeontx2+crypto' from BINDGEN_EXTRA_CLANG_ARGS
as clang does not recognize 'octeontx2' as a valid target CPU, causing
bindgen to fail when generating Rust bindings.

Since bindgen only parses headers using Clang, CPU-specific options
like -mcpu are generally unnecessary.

Fixes build failure:
|   error: unsupported argument 'octeontx2+crypto' to option '-mcpu='
|   error: unknown target CPU 'octeontx2'

Signed-off-by: Bo Sun <bo.sun.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-24 08:40:45 -07:00
Khem Raj ccf21651a0 bpftrace: Remove absolute buildtime paths in cmake files
Fixes
WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testlibs/CTestTestfile.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths]
WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testlibs/CTestTestfile.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths]
WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testlibs/cmake_install.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths]
WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testlibs/cmake_install.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths]
WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testprogs/CTestTestfile.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths]
WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testprogs/CTestTestfile.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths]
WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testprogs/cmake_install.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths]
WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testprogs/cmake_install.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-16 23:12:37 -07:00
Khem Raj 1db713b038 bpftrace,bcc: Migrate recipe from meta-clang to meta-oe
These recipes depend on clang, and clang being on core
it is better place for these tools to be in a common
layer for now that is meta-oe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-16 08:47:50 -07:00
Swamil Jain 7692f40f5b kmsxx: Revert to using original name for kmstest
Earlier both libdrm[1] and kmsxx[2] projects used to provide a binary
program called kmstest. To avoid the clash, the kmsxx recipe was
updated to rename this binary to kmsxxtest during installation. However
libdrm project has now removed kmstest[3] and hence there is no clash
in naming anymore, so revert back to original name of binary i.e.
kmstest.

[1]: https://gitlab.freedesktop.org/mesa/libdrm.git
[2]: https://github.com/tomba/kmsxx
[3]: https://gitlab.freedesktop.org/mesa/libdrm.git
commit: 2b997bb4bb688be00620887c8646ff24ccb9396b

Signed-off-by: Swamil Jain <s-jain1@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-15 23:54:13 -07:00
Khem Raj 5901e29e37 taisei: Upgrade to 1.4.3
Drop 0001-util-consideredharmful-Use-overloadable-func-attribu.patch
which is fixed differently upstream [1]

Specify strip=false via meson cmdline and avoid patching sources

Move dependency to libsdl3 instead of libsdl2 which is required in this
version

[1] https://github.com/taisei-project/taisei/commit/6a0c1c8bf0138b565bc2dd39f4175f76ba254129

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-12 13:50:00 -07:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Wang Mingyu 696319b726 thingsboard-gateway: upgrade 3.7.2 -> 3.7.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-21 07:38:27 -07:00
Markus Volk bdae8b7167 taisei: make use of virtual/libsdl2
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-25 14:47:10 -07:00