189 Commits

Author SHA1 Message Date
Davide Gardenal
bcb6af4c10 fwupd: add COMPATIBLE_HOST to match dependency
Add COMPATIBLE_HOST to fix build error when musl is enabled,
this will match efivar requirements.

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-06 20:25:34 -04:00
Randy MacLeod
9a7d42ec20 edac-utils: update to latest git head
Add a DESCRIPTION.

Commits added:
   1c57818 etc/labels.db: add MiTAC HAWK layout
   d98769e Merge pull request #13 from musicinmybrain/fsf-address
   edf15c8 Update obsolete FSF postal addresses
   556ebce Merge pull request #6 from paulmenzel/remove-blank-lines-at-eof-in-labels.db
   55865fb etc/labels.db: Remove blank lines at end of file

The COPYING license file was changed in:
   edf15c8 Update obsolete FSF postal addresses
In addition to changing the address, the file indentation was also changed.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-24 09:45:25 -07:00
Richard Hughes
5c5a21112d fwupd: New release
New features:
- Add a flag to indicate the device has a signed or unsigned payload
- Add a plugin to set a GPIO pin for the duration of an update
- Add a simple plugin to enumerate (but not update) SCSI hardware
- Add two more instance IDs to the MTD devices
- Add X-BaseboardManagementController as an update category
- Allow assigning issues to devices for known high priority problems
- Parse the MTD firmware version using the defined GType

Fixed bugs:
- Modify the AT retry behavior to fix getting the firmware branch
- Do not show a warning if the TPM eventlog does not exist
- Do not show TSS2 warning messages by default
- Fix a critical warning when loading an empty TPM eventlog item
- Fix the error handling when updating USB4 retimers
- Show the user when devices are not updatable due to inhibits
- Skip probing the Dell DA300 device to avoid a warning
- Try harder to convert to a version into a correct semver
- Use multiple checksums when there are no provided artifacts

Signed-off-by: Richard Hughes <richard@hughsie.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-07 09:27:53 -08:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Ross Burton
880defa729 fwupd-efi: upgrade to 1.2
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-03 08:44:32 -08:00
Richard Hughes
4b51cf81df fwupd: Update to 1.7.3
New features:
 - Add a sync-bkc subcommand to ensure a known set of firmware versions
 - Make Upower and powerd support optional

Fixed bugs:
 - Check the value range when parsing the quirk keys
 - Do not wait for a USB runtime if will-disappear is set
 - Enable the MOTD integration when using pam_motd
 - Ignore a USB error for STM32 attach when the device goes away
 - Make the HSI tests optional for embedded targets
 - Make the plugin startup order deterministic
 - Use endian-safe version functions when enumerating Logitech hardware

Adding support for the following hardware:
 - Most Nordic Semiconductor nRF Secure devices

Signed-off-by: Richard Hughes <richard@hughsie.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-14 08:13:53 -08:00
Ross Burton
8936585e28 cpufrequtils: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-13 21:20:01 -08:00
Ross Burton
236822433d fwupd: fix dependency typo
lzma was the PACKAGECONFIG name, not the recipe name.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-24 09:35:40 -08:00
Ross Burton
03c5f64174 fwupd: upgrade to 1.7.2
PACKAGECONFIG changes:
- Rename bluez to bluetooth
- Remove plugin_altos as the plugin was removed upstream
- Move lzma to intel-spi as that's the only user so far
- Disable AMT and Thunderbolt on non-x86
- Add offline option and enable it in systemd builds
- Add disabled options for compat-cli, fish-completion, and metainfo.

Also drop upstreamed patches.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-23 10:33:05 -08:00
Ross Burton
786a317182 fwupd: add new recipe
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-09 11:23:54 -08:00
Ross Burton
2a46c9947c fwupd-efi: add new recipe
This is the EFI executable that is used by fwupd when building EFI
capsules.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-09 06:53:02 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
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: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
LiweiSong
8c7eb54dde Revert "chipsec: platform security assessment framework"
This reverts commit ae1705aad57a80a1122ebef117ea689d7307171f.

move chipsec to meta-security.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-08 09:23:16 -07:00
LiweiSong
ae1705aad5 chipsec: platform security assessment framework
Add chipsec, tools to dump and analyzing hardware, system firmware
components, like PCH register, ioport or iomem configuration space.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-29 07:23:22 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj
8910327c6a flashrom: Fix build with clang
Fixes
warning: implicit declaration of function 'asm' is invalid in C99 [-Wimplicit-function-declaration]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18 08:33:07 -07:00
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