aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel
AgeCommit message (Collapse)Author
2021-11-17recipes: Update SRC_URI branch and protocolsArmin Kuster
This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-07-12minicoredumper: update SRC_URI to use github insteadPierre-Jean Texier
Change SRC_URI: - all minicoredumper related sources moved to https://github.com/diamon/minicoredumper >From the NEWS: The Linux Foundation will be shutting down their git service for workgroups. The minicoredumper repository and bug tracking has been moved to the DiaMon Workgroup account on github.com. We thank the Linux Foundation for providing us the git service over the last 5 years. Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 110fa8902db7e8568f92b314716effc7558980f4) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-05-28turbostat: fix the build failure for new v5.7-rc6 kernelYanfei Xu
Due to the new v5.7-rc6 kernel has some modify in header files, turbostat build failed. Now match the files. Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 90bcc2bd494c2c7a0a43e1d0c4943cdd061e929d) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-04-25oprofile: Disable build on riscvKhem Raj
Not supported arch yet Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-25crash: Do not build on riscvKhem Raj
Keep mips64 exclusion as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-13kernel-selftest: Specify the target with -target instead of -archKhem Raj
This ensures that generated code is properly cross compiled Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-31kernel-selftest: only emit warning on clang if bpf is builtScott Branden
Only emit warning on clang if bpf is actually in PACKAGECONFIG. Signed-off-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-31kernel-selftest: add firmware testsScott Branden
Add firmware tests to kernel-selftest. Signed-off-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-31kpatch: upgrade 0.9.0 -> 0.9.1Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-27turbostat: Fix build failure for missing kernel internal heaers and clean upHe Zhe
To fix the following build failures turbostat.c:(.text+0xc28a): undefined reference to `UL' turbostat.c:33:10: fatal error: sys/capability.h: No such file or directory (for kernel v5.6-rc7) - Add dependency on libcap for kernel v5.6-rc7 and later versions - Copy internal linux/const.h used by previously added internal linux/bits.h - Tweak linux/const.h to allow it to refer to uapi const.h, as linux-libc-headers purposely removes _UAPI from the locker macros of the headers - Remove -I for kernel-source in EXTRA_OEMAKE, as linux-kernel-headers has provided enough and necessary headers - Make do_configure depend on kernel's do_shared_workdir Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-20crash: fix crash-cross build on x86_64Goran Cengic
Remove -m32 from CFLAGS even for -cross recipe. Also remove ${GDB_CONF_FLAGS} from GDB_TARGET variable (that is passed to the gdb configuration) since the use of GDB_CONF_FLAGS is removed by 0001-cross_add_configure_option.patch. Signed-off-by: Goran Cengic <cengic@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-17ipmitool: fixes for CVE-2020-5208Wenlin Kang
This patch is the other part of the fixes for CVE-2020-5208. Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-23ipmiutil: gzip man pages with out timestampJeremy Puhlman
A timestamp was getting encoded into the gzip header. This causes multilib conflicts when installed together, and would likely fail reproducablity tests. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-23oprofile: Fix build with bfd 2.34+Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-21kpatch: upgrade 0.8.0 -> 0.9.0Wang Mingyu
refresh the following patch: 0002-kpatch-build-allow-overriding-of-distro-name.patch Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-21crash: upgrade 7.2.7 -> 7.2.8Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-20makedumpfile: upgrade 1.6.6 -> 1.6.7Wang Mingyu
refresh the following patch: 0001-makedumpfile-replace-hardcode-CFLAGS.patch 0003-build-Delete-libebl-from-required-libraries-during-l.patch removed since it is included in 1.6.7 Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-18pm-graph: Provide analyze-suspend as wellKhem Raj
Remove stale analyze-suspend recipe Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-15spidev-test: Add initial version of recipeArun Parameswaran
Allows for testing SPI interface using spidev driver and is part of the kernel tools. Signed-off-by: Arun Parameswaran <arun.parameswaran@broadcom.com> Reviewed-by: Jonathan Richardson <jonathan.richardson@broadcom.com> Tested-by: Jonathan Richardson <jonathan.richardson@broadcom.com> Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-14ipmitool: fix CVE-2020-5208Wenlin Kang
Fix CVE-2020-5208 Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-02kernel-selftest: Disable bpf tests on mipsKhem Raj
5.4 kernel exposes a problem, where its using host includes to compile BPF tests and it fails for mips because ptrace.h is quite different so it can not find the needed pt_struct definitions during cross compile % clang -fno-stack-protector -I. -I./include/uapi -I../../../include/uapi -I/mnt/b/yoe/build/tmp/work/qemumips-yoe-linux/kernel-selft est/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/../usr/include -D__TARGET_ARCH_mips -g -idirafter /mnt/b/yoe/build/tmp/wor k/qemumips-yoe-linux/kernel-selftest/1.0-r0/recipe-sysroot-native/usr/lib/clang/10.0.0/include -Wno-compare-distinct-pointer-types -O2 -target bpf -emit-llvm \ -c progs/loop1.c progs/loop1.c:21:9: error: no member named 'regs' in 'struct pt_regs' m = PT_REGS_RC(ctx); ^~~~~~~~~~~~~~~ ./bpf_helpers.h:466:29: note: expanded from macro 'PT_REGS_RC' ~~ ^ 1 error generated. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-19recipes: Make powerpc64le overridesKhem Raj
The existing conditions for ppc64/be are applicable for le as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-12ipmiutil: upgrade 3.0.5 -> 3.1.5Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-10makedumpfile: Drop linking with libeblKhem Raj
This seems to be not needed as link succeeds without this library, moreover this is static-only library in latest elfutils Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex.kanavin@gmail.com>
2020-01-06kernel-selftest: Include rtc testsAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-15libpfm4: Moved here from oe-coreKhem Raj
Upgrade to 4.10.1 while here oprofile/ppc64 still depends on it Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-25crash: update from 7.2.6 to 7.2.7Randy MacLeod
Change log: http://people.redhat.com/anderson/crash.changelog.html Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-18kernel-selftest: Exclude from world buildsKhem Raj
Avoid need for installing clang on host, or depending on meta-clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16agent-proxy: update to 1.97Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-11pm-graph: upgrade 5.3 -> 5.5Naveen Saini
This release has python3 support so updating python3 to RDEPENDS. python subprocess comes with python3-core, so removing from RDEPENDS. Removed patch, which is already merged in this release. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-09kernel-selftest: Needs error.h which is missing in muslKhem Raj
prog_tests/flow_dissector.c:3:10: fatal error: error.h: No such file or directory | #include <error.h> | ^~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-07vboxguestdrivers,can-isotp,bpftool: Add to BlacklistKhem Raj
They need forward porting to kernel 5.2+ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-30meta-oe: Replace EXCLUDE_FROM_WORLD_libc-musl = "1" with ↵Adrian Bunk
COMPATIBLE_HOST_libc-musl = 'null' This gives users a proper error message when trying to build a known non-building package. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-29kernel-selftest: Explicitly disable stack protectorKhem Raj
selftests do not support it and clang from meta-clang builds with this turned on by default Disable security flags completely, drop all workarounds used to get around the hoop Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-29bpftool.bb: Disable SECURITY_CFLAGSKhem Raj
We do not pass CFLAGS to build and fortify sources needs some optimization to be enabled, its better to reset the additional flags and let the build system add them as it needs Fixes build failures like tools/include/tools/libc_compat.h:11:21: error: static declaration of 'reallocarray' follows non-static declaration | 11 | static inline void *reallocarray(void *ptr, size_t nmemb, size_t size) | | ^~~~~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-29kernel-selftest: Warn conditionally about clang-native dependencyKhem Raj
When meta-clang is in mix then it does the right thing already so no need to warn in that case Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-24kpatch: upgrade 0.7.1 -> 0.8.0Yuan Chao
Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-12kernel-selftest: skip -Werror=format-security and fortifyMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-11kpatch: upgrade 0.61 -> 0.71Zang Ruochen
-Refresh the following patch: kpatch/0001-kpatch-build-add-cross-compilation-support.patch kpatch/0002-kpatch-build-allow-overriding-of-distro-name.patch Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-08kpatch: Pass ARCH from environmentKhem Raj
If not passed then it computes arch from `uname` and uname will be wrong on cross compiles when target != host Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-08kpatch: fix QA build errors for nativesdkRuslan Bilovol
This patch fixes next QA Issue: nativesdk-kpatch: Files/directories were installed but not shipped in any package: /etc /etc/init /etc/init/kpatch.conf Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-02pm-graph: fix time format parse errorLiwei Song
Time format in dmesg has been changed from "%Y-%m-%d %H:%M:%S" to "%Y-%m-%dT%H:%M:%S", backport an upstream patch to fix this error. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-02meta-oe: Use GNU_MIRROR in more recipesAdrian Bunk
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-30oprofile: drop kernel-vmlinux from RRECOMMENDSMartin Jansa
* now with virtual/kernel dependency dropped we don't want to depend on kernel signature just for this RRECOMMENDS * fixes: === Comparing signatures for task do_package_write_ipk.sigdata between hammerhead and mako === ERROR: oprofile different signature for task do_package_write_ipk.sigdata between hammerhead and mako NOTE: Starting bitbake server... runtaskdeps changed: ['binutils/binutils_2.32.bb.do_packagedata', -linux/linux-lg-hammerhead_git.bb.do_packagedata, +linux/linux-lg-mako_git.bb.do_packagedata, 'opkg-utils/opkg-utils_0.4.1.bb.do_populate_sysroot:virtual:native oprofile/oprofile_1.3.0.bb.do_package oprofile/oprofile_1.3.0.bb.do_packagedata pseudo/pseudo_git.bb.do_populate_sysroot:virtual:native xz/xz_5.2.4.bb.do_populate_sysroot:virtual:native'] linux/linux-lg-hammerhead_git.bb.do_packagedata with hash 0c5215deb4737611ad413f57cf5fbdef8a9b2cc6d04035f754a4e93fb38f61d1 changed to linux/linux-lg-mako_git.bb.do_packagedata with hash 0f3b34773ca3e590739754c25959feb7cdcd67cf7904ac7fe6cc535e8d6519a8 Dependency on task linux/linux-lg-mako_git.bb.do_packagedata was added with hash 0f3b34773ca3e590739754c25959feb7cdcd67cf7904ac7fe6cc535e8d6519a8 Dependency on task linux/linux-lg-hammerhead_git.bb.do_packagedata was removed with hash 0c5215deb4737611ad413f57cf5fbdef8a9b2cc6d04035f754a4e93fb38f61d1 ERROR: 1 errors found in /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sstate-diff/1563368432/signatures.mako.do_package_write_ipk.sigdata.log Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-21makedumpfile: Upgrade to 1.6.6Mingli Yu
Rebase two patches. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-21crash: Upgrade to 7.2.6Mingli Yu
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10turbostat: set PACKAGE_ARCH as MACHINE_ARCHQi.Chen@windriver.com
This recipe depends on 'virtual/kernel', so it should be MACHINE_ARCH. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-18pm-graph: fix multilib build failureNaveen Saini
Added the generic library path used by multilib code Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15oprofile: drop virtual/kernel dependency and switch back to TUNE_PKGARCHMartin Jansa
* the kernel dependency was added couple years ago with: https://git.openembedded.org/openembedded-core/commit/?id=16bc366877a2e02d96adb91b90e30710777e6f09 the reasons for it no longer seem valid as it build ok without the dependency * there as some differences in the resulting binaries (built with and without kernel dependency): docker-shr qemux86-64@ ~/build/oe-core $ diff -rq tmp-glibc/work/*/oprofile/*/image Files tmp-glibc/work/core2-64-oe-linux/oprofile/1.3.0-r0-without-kernel-dep/image/usr/bin/ocount and tmp-glibc/work/qemux86_64-oe-linux/oprofile/1.3.0-r0-with-kernel-dep/image/usr/bin/ocount differ Files tmp-glibc/work/core2-64-oe-linux/oprofile/1.3.0-r0-without-kernel-dep/image/usr/bin/opannotate and tmp-glibc/work/qemux86_64-oe-linux/oprofile/1.3.0-r0-with-kernel-dep/image/usr/bin/opannotate differ Files tmp-glibc/work/core2-64-oe-linux/oprofile/1.3.0-r0-without-kernel-dep/image/usr/bin/oparchive and tmp-glibc/work/qemux86_64-oe-linux/oprofile/1.3.0-r0-with-kernel-dep/image/usr/bin/oparchive differ Files tmp-glibc/work/core2-64-oe-linux/oprofile/1.3.0-r0-without-kernel-dep/image/usr/bin/operf and tmp-glibc/work/qemux86_64-oe-linux/oprofile/1.3.0-r0-with-kernel-dep/image/usr/bin/operf differ Files tmp-glibc/work/core2-64-oe-linux/oprofile/1.3.0-r0-without-kernel-dep/image/usr/bin/opgprof and tmp-glibc/work/qemux86_64-oe-linux/oprofile/1.3.0-r0-with-kernel-dep/image/usr/bin/opgprof differ Files tmp-glibc/work/core2-64-oe-linux/oprofile/1.3.0-r0-without-kernel-dep/image/usr/bin/ophelp and tmp-glibc/work/qemux86_64-oe-linux/oprofile/1.3.0-r0-with-kernel-dep/image/usr/bin/ophelp differ Files tmp-glibc/work/core2-64-oe-linux/oprofile/1.3.0-r0-without-kernel-dep/image/usr/bin/opimport and tmp-glibc/work/qemux86_64-oe-linux/oprofile/1.3.0-r0-with-kernel-dep/image/usr/bin/opimport differ Files tmp-glibc/work/core2-64-oe-linux/oprofile/1.3.0-r0-without-kernel-dep/image/usr/bin/opreport and tmp-glibc/work/qemux86_64-oe-linux/oprofile/1.3.0-r0-with-kernel-dep/image/usr/bin/opreport differ * comparing the first one with diffoscope shows only 2 insignificant changes: - GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) Build ID: 71d68718f2b1393cce55605691453ca0615a985d + GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) Build ID: 3b6d2e8b3ce02b99a41e594fafb756e5648edd3c - 0x0041ab00 31203230 31390032 323a3334 3a333100 1 2019.22:34:31. + 0x0041ab00 31203230 31390032 323a3239 3a303600 1 2019.22:29:06. * similarly for other binaries Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-27crash: do not use unstable github archive tarballsHongxu Jia
Since commit [21f84fc insane: add sanity checks to SRC_URI] applied in oe-core, do not use unstable github archive tarballs Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>