Commit Graph

73 Commits

Author SHA1 Message Date
Khem Raj
e024a4c708 flashrom: Add remaining RISCV support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
2021-03-30 15:36:17 -07:00
Ross Burton
401364d06f flashrom: recipe cleanup
Use Meson to build instead of the bare Makefiles, as the Meson build also
generates pkgconfig files which are needed fwupd.

Add PACKAGECONFIG options for the platform dependencies (libpci, libusb,
libftdi).  Add a patch to the meson.build to ensure that these options
work as intended.

Fix LICENSE, as this is GPLv2-or-later.

Replace 0001-typecast-enum-conversions-explicitly.patch with upstreamed
patch.

Drop 0001-Makefile-Check-for-last-line-only-from-preprocessed-.patch as
this is only needed for the Makefile build.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-30 12:38:55 -07:00
Robert Karszniewicz
38ef5f5bf0 firmwared: add recipe
This program is needed for loading external firmware via Linux' fallback
mechanism.

Signed-off-by: Robert Karszniewicz <r.karszniewicz@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-09 10:14:57 -08:00
Zang Ruochen
d52551d4ec nvme-cli: upgrade 1.12 -> 1.13
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-02 09:00:52 -08:00
Qi.Chen@windriver.com
27657cac27 lmsensors: use /run instead of /var/run for systemd service
Backport patch to use /run instead of /var/run for systemd service
files.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-16 09:21:54 -07:00
Oleksandr Kravchuk
16f141efa3 lsscsi: update to 0.31
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
Oleksandr Kravchuk
19948fa670 nvme-cli: update to 1.12
Removed patch is included in this version.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:23:16 -07:00
Khem Raj
f16aa16e91 flashrom: Fix build failure with glibc 2.32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:23:15 -07:00
lumag
428d4e6885 lmsensors: do not depend on lmsensors-isatools on non-x86
lmsensors will build isadump and isaset only on x86 architecture.
Depending on this package breaks lmsensors on all non-x86 machines. Fix
this by enabling ${PN}-isatools dependency only on x86.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-22 08:46:33 -07:00
Khem Raj
50592776d6 con2fbmap: Add recipe
con2fbmap is handy for debugging OS bringup on
TFT/LCD displays

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-06 16:12:39 -07:00
Pierre-Jean Texier
e4a1287bf1 nvme-cli: upgrade 1.9 -> 1.10.1
Also backport a patch to fix a build failure
with the mucl libc.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-20 07:44:29 -07:00
Khem Raj
802f9127b1 flashrom: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-15 18:05:25 -07:00
Pierre-Jean Texier
c8a84d27cc flashrom: upgrade 1.1 -> 1.2
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-15 16:36:28 -07:00
Changqing Li
d178745cbf conf/layer.conf: add BBFILES_DYNAMIC and dynamic layers
some recipes under meta-oe have dependency on meta-python,
and test_world of yocto-check-layer will failed with error
like:

ERROR: test_world (common.CommonCheckLayer)
ERROR: Nothing PROVIDES 'python3-pytoml-native' (but
/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb
DEPENDS on or otherwise requires it). Close matches:
  python3-numpy-native
  python3-pycairo-native
  python3-rpm-native
ERROR: Required build target 'meta-world-pkgdata' has no buildable
providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'mozjs', 'python3-pytoml-native']

fix by make these recipes only active when identified layers are
present

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-11 08:58:57 -07:00
Paul Barker
5674b0a9e8 lmsensors: Fix sensord dependencies
If sensord is removed from PACKAGECONFIG, the recipe should not depend
on rrdtool and the lmsensors package should not depend on
lmsensors-sensord.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-28 07:02:18 -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
Khem Raj
bdba4d00d6 rwmem: Upgrade to latest
gets gcc10 fixes for missing #include <stdexcept>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-02 09:40:34 -08:00
Khem Raj
02fca7f87c nvme-cli: Use nonarch libdir for dracut config files
Fixes packaging errors where libdir != nonarch_libdir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-20 16:07:50 -08:00
Zheng Ruoqin
19d1ee5340 ledmon: Modify the Upstream-Status to Submitted.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06 06:32:14 -08:00
Zheng Ruoqin
92de599596 ledmon: upgrade to 0.93
1) inherit autotools as new version use autotools.

2) Add a patch to fix compile error.
   0001-Don-t-build-with-Werror-to-fix-compile-error.patch

3) Modify do_install_append() function to fix do_package error as follows:
   ledmon-git-r0 do_package: SYSTEMD_SERVICE_ledmon value ledmon.service does not exist

4) Add ${S}/config in CFLAGS.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:53 -07:00
Zheng Ruoqin
63b4f565b3 lmsensors: upgrade 3.5.0 -> 3.6.0
1) Upgrade lmsensors from 3.5.0 to 3.6.0.

2) Remove two patches for their function have been included in new version.
   0001-lmsensors-sensors-detect-print-a-special-message-whe.patch
   0002-lm-sensors-fix-sensors-detect-can-t-read-the-cpu-inf.patch

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:53 -07:00
Adrian Bunk
b66d2391b7 flashrom: Upgrade 1.0 -> 1.1
Patches applied upstream removed.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
Stefan Wiehler
d33101ac2c nvme-cli: defer host ID generation to post installation
Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-17 05:53:25 -07:00
Randy MacLeod
714b420a1f rwmem: add DESCRIPTION since the summary is vague
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-09 23:27:15 -07:00
Khem Raj
329554e01f nvme-cli: Use install-spec target
install target build install-hostparams as well, which tries to run nvme
tool during build, we defer that to runtime post_install anyway so we
can ignore building it during install task

package systemd unit files

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-09 23:27:15 -07:00
Stefan Wiehler
b75c618de8 nvme-cli: upgrade 1.6 -> 1.9
Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-08 00:52:33 -07:00
Denys Dmytriyenko
1f80fd9618 rwmem: add recipe
This is being moved from meta-ti as it's a rather generic tool to be useful
on other platforms.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-01 08:51:18 -07:00
Callaghan, Dan
df10367ebd lmsensors: add a PACKAGECONFIG for sensord
We don't install the lmsensors-sensord subpackage in our images, but
our build process still has to build the subpackage and all its
dependencies, including rrdtool.

Adding a PACKAGECONFIG for sensord lets us entirely avoid building
rrdtool and its dependency chain, which reduces our image build process
by 141 tasks.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 18:24:48 -07:00
Martin Jansa
67ea219f24 lmsensors: add runtime dependency on bash
* fixes:
  ERROR: QA Issue: /usr/sbin/pwmconfig contained in package lmsensors-pwmconfig requires /bin/bash, but no providers found in RDEPENDS_lmsensors-pwmconfig? [file-rdeps]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-17 01:42:54 -07:00
Martin Jansa
1f6cbc0e8b edac-utils: add runtime dependency on perl
* fixes:
  ERROR: QA Issue: /usr/sbin/edac-ctl contained in package edac-utils requires /usr/bin/perl, but no providers found in RDEPENDS_edac-utils? [file-rdeps]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-17 01:42:54 -07:00
Hongxu Jia
7aeac572de lmsensors: support package lmsensors
Recipe lmsensors has multiple packages, but do not provide package lmsensors.
The fix will allow package lmsensors empty, and it runtime depends on other
sub packages. It is convenience for Yocto new user to install all of them
by specifying one package, especially the package name is the same with
recipe name

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-26 14:29:17 -07:00
Adrian Bunk
d8bbcf5689 efivar: Remove, was moved to oe-core
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-19 19:59:15 -07:00
Adrian Bunk
59277eadd8 efibootmgr: Remove, was moved to oe-core
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-19 19:59:15 -07:00
Robert Joslyn
29fbbc4a87 lmsensors: Update to 3.5.0
* Switch to git rather than using inconsistent GitHub archive tarballs.
* Dependency on libsysfs was removed in 3.0.1
* Remove upstreamed patch fixing musl support and refresh remaining
  patches
* Remove unnecessary conditional on systemd. The update-rc.d and systemd
  classes handle placement of these files properly.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:33 -07:00
Adrian Bunk
18a5897143 Add irda-utils
Removed from oe-core since IrDA support was removed in kernel 4.17,
added here in case there are users left on older kernels.

RRECOMMENDS are the former RRECOMMENDS_packagegroup-base-irda.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-18 12:42:47 -07:00
Martin Jansa
3061021f21 efivar: prevent native efivar depending on target kernel
* fixes:
  ERROR: efivar-native different signature for task do_populate_sysroot.sigdata between qemux86 and qemux86copy
  Hash for dependent task linux/linux-yocto_5.0.bb.do_populate_sysroot changed from de9e49b4f66adddf9a0943db020b4eb677404e0b6ddac60073184a3855d406cb to a912d6ea21336c85c8d8a5e9db4800fccb95197744465b641eda60339bee8901

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-12 10:22:51 -07:00
Adrian Bunk
09ddcc536d efivars: Drop workaround patch for host gcc < 4.7
The -flto change already disappeared in an earlier update.

-std=gnu11 and -Wmaybe-uninitialized are supported by gcc >= 4.7,
which covers all host distributions that are still supported.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-05 23:22:39 -07:00
Adrian Bunk
67b5700da7 ledmon: Mark as incompatible on musl instead of adding bogus patch
atexit is not a drop-in replacement for on_exit,
mark as incompatible with musl instead of adding
a broken patch.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29 10:13:56 -07:00
Liwei Song
a12a37659d ledmon: control hard disk led for RAID arrays
Enable LED support for Intel Virtual RAID On CPU.
Fix build with musl

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-09 21:33:39 -07:00
Dengke Du
6ded201323 lmsensors: read cpu information fail on ppc
The program sensors-detect in lmsensors can't read the cpu
information on ppc and arm arch, such as: fsl-t4xxx based on ppc.

This is because the program sensors-detect design for the x86 and
x86-64, but weak on ppc and arm.

So add the support for the ppc and arm, just add the correspond
field to read in sensors-detect.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-28 09:42:11 -08:00
Ross Burton
3893910f9a efivar: recommend required kernel module
The library to modify EFI variables is useless without access to efivarfs, so
recommend the kernel package that has contains this module.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-26 11:00:07 -08:00
Hongxu Jia
9ff2a0bf6f efibootmgr: fix conflicting types for 'efi_set_verbose'
Since upstream efivar-37 pulibc efi_set_verbose in its
headers [daf3b6c Move verbosity headers to be public],
it is not necessary to delcare in efibootmgr.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18 18:44:59 -08:00
Hongxu Jia
d610cd8fca efivar: 36 -> 37
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18 18:44:59 -08:00
Hongxu Jia
59ea4a873d efivar: correct version number 0.36 -> 36
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:13:37 -08:00
Hongxu Jia
9e0684a473 efibootmgr: 0.16 -> 17
- Correct version number format, remove `0.'

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:13:36 -08:00
Stefan Wiehler
62d21c0ca2 nvme-cli: add recipe
NVMe management command line interface.

Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-10 08:53:21 -07:00
Mingli Yu
ee71404eb2 efivar: make CC_FOR_BUILD value complete
Update CC_FOR_BUILD=${BUILD_CC} to
CC_FOR_BUILD="${BUILD_CC}" to guarantee
the BUILD_CC value passed to CC_FOR_BUILD
completely to avoid below build failure
when ccache enabled:
| NOTE: make -j 48 -C src makeguids CC_FOR_BUILD=ccache gcc
| make: Entering directory '/mybuild/tmp-glibc/work/x86_64-linux/efivar-native/0.36-r0/git/src'
| ccache -isystem/mybuild/tmp-glibc/work/x86_64-linux/efivar-native/0.36-r0/recipe-sysroot-native/usr/include -O2 -pipe ... -DEFIVAR_BUILD_ENVIRONMENT -o makeguids makeguids.c guid.c -ldl
| ccache: invalid option -- 'i'

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-27 08:34:24 -07:00
Hongxu Jia
a0a1a4fc21 lmsensors: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-18 20:17:02 -07:00
Andrea Adami
d49dd866e1 pcmciautils: depend on bison-native
pcmciautils needs yacc as well as lex.

Backport of oe-core commit dd5208ae22d4

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Andrea Adami
6b92e3e81b pcmciautils: drop duplicate chunk from pcmciautils-018/makefile_race.patch
The new rule was patched into the makefile twice.

Backport of oe-core commit c52228f4d071

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00