Commit Graph

160 Commits

Author SHA1 Message Date
Oleksandr Kravchuk 2cd74e9983 broadcom-bt-firmware: add PE back
It was mistakenly removed in @77469168db5062.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-31 13:22:53 -07:00
Oleksandr Kravchuk 77469168db broadcom-bt-firmware: update to 12.0.1.1105_p2
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:52:14 -07:00
Pierre-Jean Texier 110fa8902d minicoredumper: update SRC_URI to use github instead
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>
2020-07-02 08:55:20 -07:00
Liwei Song 2719a80949 pm-graph: add flags support for RT kernel
with PREEMPT_RT enabled in kernel, ftrace have a different
falgs compare with standard kernel. Add supported for
RT kernel ftrace flags format.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-22 23:23:57 -07:00
Yongxin Liu 668d0152c7 intel-speed-select: Add new recipe for the tool to validate Intel SST
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-10 20:55:08 -07:00
Robert P. J. Day d7f5367b53 use weak assignments for PNBLACKLIST in recipe files
Make sure PNBLACKLIST assignments in recipe files use weak assignment,
so they can be overridden in, for example, local.conf files.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-26 10:28:39 -07:00
Yanfei Xu 90bcc2bd49 turbostat: fix the build failure for new v5.7-rc6 kernel
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>
2020-05-22 09:03:04 -07:00
Khem Raj f33a094ddb oprofile: Disable build on riscv
Not supported arch yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-25 08:32:41 -07:00
Khem Raj 29076c7492 crash: Do not build on riscv
Keep mips64 exclusion as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-25 08:32:41 -07:00
Khem Raj 2bb2736bf1 kernel-selftest: Specify the target with -target instead of -arch
This ensures that generated code is properly cross compiled

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-13 11:42:55 -07:00
Scott Branden 31da4a2cb1 kernel-selftest: only emit warning on clang if bpf is built
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-31 23:56:41 -07:00
Scott Branden a3df40b1ba kernel-selftest: add firmware tests
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-31 21:32:50 -07:00
Wang Mingyu a94b7befef kpatch: upgrade 0.9.0 -> 0.9.1
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-31 18:57:40 -07:00
He Zhe 989e57d108 turbostat: Fix build failure for missing kernel internal heaers and clean up
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-27 01:47:53 -07:00
Goran Cengic fa91738a94 crash: fix crash-cross build on x86_64
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-20 07:44:29 -07:00
Wenlin Kang 464c317c85 ipmitool: fixes for CVE-2020-5208
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-03-17 19:46:35 -07:00
Jeremy Puhlman 6820d9ecea ipmiutil: gzip man pages with out timestamp
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-23 22:31:35 -08:00
Khem Raj d280be7d5d oprofile: Fix build with bfd 2.34+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-23 07:49:16 -08:00
Wang Mingyu 247b9dff37 kpatch: upgrade 0.8.0 -> 0.9.0
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-21 14:21:52 -08:00
Wang Mingyu e10d2bdede crash: upgrade 7.2.7 -> 7.2.8
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-21 14:21:52 -08:00
Wang Mingyu 0daeae19f6 makedumpfile: upgrade 1.6.6 -> 1.6.7
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-20 08:22:38 -08:00
Khem Raj 696408ce36 pm-graph: Provide analyze-suspend as well
Remove stale analyze-suspend recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-18 20:52:00 -08:00
Arun Parameswaran 82eafcc41c spidev-test: Add initial version of recipe
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-15 08:05:07 -08:00
Wenlin Kang f3f8add488 ipmitool: fix CVE-2020-5208
Fix CVE-2020-5208

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-14 17:11:40 -08:00
Khem Raj 6e936c45d4 kernel-selftest: Disable bpf tests on mips
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-02-02 08:07:59 -08:00
Khem Raj bd2ad24d7b recipes: Make powerpc64le overrides
The existing conditions for ppc64/be are applicable for le as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-19 02:20:59 -08:00
Wang Mingyu 7d9f681b60 ipmiutil: upgrade 3.0.5 -> 3.1.5
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-12 19:22:45 -08:00
Khem Raj 0d937f7e5c makedumpfile: Drop linking with libebl
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-10 00:43:27 -08:00
Andrei Gherzan ef23e883f2 kernel-selftest: Include rtc tests
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-06 19:22:26 -08:00
Khem Raj 773bd4cec5 libpfm4: Moved here from oe-core
Upgrade to 4.10.1 while here
oprofile/ppc64 still depends on it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-15 21:08:54 -08:00
Randy MacLeod c636bc25db crash: update from 7.2.6 to 7.2.7
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-25 09:48:19 -07:00
Khem Raj a62ed77703 kernel-selftest: Exclude from world builds
Avoid need for installing clang on host, or depending on meta-clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-18 18:51:03 -07:00
Oleksandr Kravchuk 9b2a48016a agent-proxy: update to 1.97
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 18:24:48 -07:00
Naveen Saini 255b755381 pm-graph: upgrade 5.3 -> 5.5
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-11 00:04:29 -07:00
Khem Raj 6de4264bde kernel-selftest: Needs error.h which is missing in musl
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-09 09:59:54 -07:00
Khem Raj 649d491b21 vboxguestdrivers,can-isotp,bpftool: Add to Blacklist
They need forward porting to kernel 5.2+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-07 12:35:59 -07:00
Adrian Bunk c6351749d6 meta-oe: Replace EXCLUDE_FROM_WORLD_libc-musl = "1" with 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-30 09:27:56 -07:00
Khem Raj 44c020f87a kernel-selftest: Explicitly disable stack protector
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-29 09:06:54 -07:00
Khem Raj d46e1e767f bpftool.bb: Disable SECURITY_CFLAGS
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-29 09:06:54 -07:00
Khem Raj e1acbf33f7 kernel-selftest: Warn conditionally about clang-native dependency
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-29 09:06:54 -07:00
Yuan Chao 0c63afaf35 kpatch: upgrade 0.7.1 -> 0.8.0
Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-24 05:20:43 -07:00
Martin Jansa 1ed7486a87 kernel-selftest: skip -Werror=format-security and fortify
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-12 09:11:01 -07:00
Zang Ruochen ff074c9bfd kpatch: upgrade 0.61 -> 0.71
-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-11 08:58:05 -07:00
Khem Raj 2e35a61e2a kpatch: Pass ARCH from environment
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-08 14:54:41 -07:00
Ruslan Bilovol 99723349a4 kpatch: fix QA build errors for nativesdk
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-08 10:04:23 -07:00
Liwei Song 68f1fdf237 pm-graph: fix time format parse error
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-02 18:04:41 -07:00
Adrian Bunk dab0e88e22 meta-oe: Use GNU_MIRROR in more recipes
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-02 18:04:41 -07:00
Martin Jansa ae65eb496b oprofile: drop kernel-vmlinux from RRECOMMENDS
* 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-30 19:15:24 -07:00
Mingli Yu 3a23691a2c makedumpfile: Upgrade to 1.6.6
Rebase two patches.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-21 09:31:09 -07:00
Mingli Yu 96ec1963c4 crash: Upgrade to 7.2.6
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-21 09:31:09 -07:00