Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia05891430c6c97a89b7bc8ba4558ae496866bf7d
|
|
bitbake offers a choice of DEB, RPM or IPK packaging. To a degree the
choice is functionally arbitrary for image generation but control over
the package format becomes important if we want to:
1. Include runtime package management functionality in the firmware image
2. Mess about with the packages on the build system
With respect to 1 the IPK format and opkg (an ipk package manager) are
designed for embedded systems[1] - by contrast to RPMs have heavier
dependencies and a greater impact on the size and complexity of the
firmware image.
Regarding 2, the embedded nature and the need for opkg to work without
much fuss leads to a lower configuration barrier by comparison to RPMs.
With ipk it becomes possible to reuse the packages built during image
preparation for core analysis without needing to generate an SDK:
```
$ export LD_LIBRARY_PATH=./tmp/work/x86_64-linux/opkg-native/*/recipe-sysroot-native/usr/lib
$ MY_DEBUG_ROOT=tmp/rootfs-debug
$ ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \
-f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/*/opkg.conf \
-o $MY_DEBUG_ROOT \
update
$ fakeroot ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \
-f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/opkg.conf \
-o $MY_DEBUG_ROOT \
install dbus-sensors dbus-sensors-dbg
$ gdb-multiarch
(gdb) set solib-absolute-prefix .../tmp/rootfs-debug
(gdb) add-auto-load-safe-path .../tmp/rootfs-debug
(gdb) file tmp/rootfs-debug/usr/bin/nvmesensor
(gdb) core-file obmcdump_17_9597/core.nvmesensor.0.aae91b519d0e4e0e8bbe746e3f6cd25f.2779.9594000000
Core was generated by `/usr/bin/nvmesensor'.
Program terminated with signal SIGABRT, Aborted.
pthread_kill.c:45
45 pthread_kill.c: No such file or directory.
(gdb) bt
pthread_kill.c:45
../sysdeps/posix/raise.c:26
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
"xyz.openbmc_project.NVMeSensor", this=0x488f04) at
/usr/include/sdbusplus/bus.hpp:234
../../../../../../workspace/sources/dbus-sensors/src/NVMeSensorMain.cpp:159
(gdb)
```
This approach documented in the Poky Reference Manual:
https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#platdev-gdb-remotedebug-launch-gdb-inferiorbins
Switch all machines to IPK to align the debugging experience with
upstream's documentation and to facilitate efficient use of packaged
software at runtime.
[1] https://openwrt.org/docs/guide-user/additional-software/opkg
Change-Id: I8ef526add2d7a6790de1b3eb3fb85cd39b864f23
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Switching to IPK usage breaks the building of this package.
During the installation there are no required groups.
This commit fixes the issue.
Change-Id: Ibe80f3bf80e851005f637e47ca669e47035dba6d
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
Upstream bbclasses changed to typically use the `:${PN}` override
syntax, including the SYSTEMD_ variables. Change our systemd.bbclass
to do the same for consistency and perform a tree-wide variable
replacement.
Spot checked by building bletchley and witherspoon and checking
some of the SYSTEMD_LINK directives on installed packages under qemu.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
|
|
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current
and the upcoming. Remove 'gatesgarth' is it is now 2 releases back.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
|
|
Convert with convert-overrides.py
Sync local.conf.sample with:
- poky/meta-poky/conf/local.conf.sample
- meta-facebook/meta-tiogapass/conf/local.conf.sample
Additional manual changes (not found by convert-overrides.py) in
- meta-yadro/meta-nicole/recipes-kernel/linux/linux-aspeed_%.bbappend
- meta-yadro/meta-nicole/recipes-phosphor/images/obmc-phosphor-image.bbappend
- meta-yadro/meta-nicole/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend
Tested: image compiles.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I959669bad43ce09c0817b2a002e6db546fb98f7f
|
|
This commit fixes build by correcting default value of mailbox settings.
Change-Id: I5df137ca7dc8f8008d49a0cd010c14691dc6754b
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
Moved "inherit native" statements to the last position to remove QA Issues.
The message is: WARNING: QA Issue: {RECIPENAME}: native/nativesdk class is not
inherited last, this can result in unexpected behaviour. Classes inherited
after native/nativesdk: {CLASSFILES} [native-last]
Change-Id: Ib6d8f41c437ca62a8d4a9885ff670adb5ad69f8a
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
This is apparently not actually working anymore and is removed in the
next poky update.
Change-Id: Ia1c6a258d124a4a30a14fc42e8e0bba95e64faeb
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We want to use packageconfig options instead of build system specific
ones.
Change-Id: I13002f3d1f62acb882ca713b038316397720bda0
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The repository supports it, so switch it over in bitbake.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
|
|
Latest upstream yocto has moved on to the 3.3 hardknott release
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
|
|
phosphor-led-manager has 3 packages
- phosphor-led-manager : Default
- phosphor-led-manager-ledmanager : Packages phosphor-ledmanager
- phosphor-ledmanager-faultmonitor : Packages phosphor-fru-fault-monitor
Because of this, it was not possible to install files via Makefile and
that always needed a corresponding update to FILES_{PN}-ledmanager.
Removing phosphor-led-manager-ledmanager will eliminate this problem.
Change-Id: I00ca4c34346a47f887872464b9050a46d8f5e8e9
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
This brings the thresholds for the VBAT sensor.
End-User-Impact: The VBAT sensor will now have thresholds.
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Change-Id: I7a8fb0194900cb6f39ab09b6c3ad9f1ff65d23ee
|
|
This brings the VBAT sensor to the sensor's list shown by the
`ipmitool sensor` command.
End-User-Impact: The `ipmitool sensor` command will now contain the VBAT
sensor.
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Change-Id: I6465a2d6386bf6cd271763de678cae1ee086d6ee
|
|
This reverts commit 12f7c29b5365fc3d40665b4326b2f2c8c559ce67.
The GAIN was too small due the bug in the phosphor-hwmon.
It is no longer required as the bug has already fixed.
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Change-Id: I54f565f777e4c0edb7368f70c999b08ce9c05b98
|
|
This layer provides libseccomp.
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
|
|
Alexander Filippov (1)
Fix build with OpenBMC 2.10.0-dev
Change-Id: Iee1968deb5c72c3559cbf629742af03bf29bfae2
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
The next release of Yocto is soon and most of the upstream
layers have switched support strings for it. Support layer
compat for gatesgarth (current) and dunfell (previous).
(From meta-yadro rev: a5126fbe78b18fbe1e52356fb7500cf528e74a65)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9f89933f2d3892323400e7acad213a2a1e0c09eb
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Alexander Filippov (2):
vegman: sensors: use lssensors
bmc/datetime: add time synchronization method
This also adds some used tools as runtime dependency.
(From meta-yadro rev: e884b08867fed7ba959ae86f4ff676ff94262062)
Change-Id: Ifc702728ab05346ed44d4e33bdb986692cc28afe
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Disables setting the primary group for admin account and removes its
memberships from group 'operator' and 'user'.
Sudo membership is not necessary anymore.
Made for compatibility with User Management service.
(From meta-yadro rev: 8435f349732c6a2460aa1b05f74cb65717c120b3)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: Ib4a7b94c352a15e8ad5487ed3cdefb35d976d0fb
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The `bmcweb` by default has enabled the mutual TSL authentication
support. But this feature requires the
`phosphor-nslcd-authority-cert-config` installed. This package was
removed with LDAP support and as a result the `bmcweb` is crashing now.
Nicole does not require LDAP and TLS auth.
This commit disables the TLS auth in the `bmcweb` and fixes the issue.
(From meta-yadro rev: 98c4bccc9c649da1bbdba41253e0de667f9bc0a0)
Change-Id: Ica0f5443dc79174d58a57a105595e8b6fbae1ff3
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
VBAT is measured in millivolts but should be shown in volts.
This commit fixes the gain parameter.
(From meta-yadro rev: 8b9a6e68150bb92990314743ba7b95166cf9d409)
Change-Id: I508948907b5ffc8845bf1ce04c8a811f4632171f
End-User-Impact: VBAT will now show in Volts.
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Since the commit 022da0dd the value type of sensors was changed
from `int64_t` with scale to `double`.
This brings the same replacement for `phosphor-ipmi-host`.
(From meta-yadro rev: fe84801b413deef4185337a117098f62fca4dbc6)
Change-Id: I3de00a101a0633658292131c5d255080ab24f64c
End-User-Impact: `ipmitool sensor` will now show actual sensor's values.
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Remove the `aux` field from `dev_id.json` in order to enable
parsing of the AUX info from the version string.
(From meta-yadro rev: 10a64bde2de34a34bcd015bfb1f8d4183f51321f)
Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
Change-Id: I74fd12967b19d900f3cdffcd5163242a13efde0f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The functionality of this package was added as a part of `systemd-conf`
package. This package is no longer required.
(From meta-yadro rev: e5fb11c84f7455acff17efb79373e954afef1780)
Change-Id: Iee5368e0bcc60ccdb745323937ec5506ce3c1c4d
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This brings the default network settings for Tatlin as a part of
`systemd-conf` package.
These settings contain a predefined IPv4 address for eth0 interface,
keep the possibility of getting an additional IP address from DHCP.
VALN4004 with predefined IPv6 address is also kept.
(From meta-yadro rev: 56e7efa11a0b281f39d160cd99c84b7a95632205)
Change-Id: Ibb025a1ae519f0843bfcb8ec71e009e2bc97141f
End-User-Impact: - BMC now has predefined IPv4 address on the eth0.
- VLAN4004 also present and has predefined IPv6 address
- BMC is able to get a dynamic IP address on eth0.
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Use TATLIN Storage Controller BMC product ID
End-user-impact: The BMC is now properly identified via IPMI
using the Get Device ID command.
Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
Change-Id: I51d2da6c844effa6478df87dd55609a976f48abd
(From meta-yadro rev: 59d7d9823b9e77b81f24d93cc5fb5b7e6e2e5187)
Change-Id: I70f17380aa3f87c3670cae2dbd1e5cb2980f7dde
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Added the channel configuration file for the NICOLE hardware.
(From meta-yadro rev: 47e0014171e94b3a9188473f0e81a69ffe67e4d0)
Signed-off-by: Kirill Pakhomov <k.pakhomov@yadro.com>
Change-Id: Ie95c491a41086e7e7461ebc0098cff90d120646a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Upstream is in the process of reworking how ldap user management is
included (or not) - moving from a distro feature to an image feature.
Opt out from the new image feature to avoid picking up the ldap user
management packages when upstream makes the switch. There is no longer
any need to remove ldap from DISTRO_FEATURES, so remove that.
(From meta-yadro rev: 8675f543d73843d5d4fe185134d8edc72ef22246)
Change-Id: I5071152dfa9c2d71286d76d72d10a4e4569eea2d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
DTS for Nicole present in the kernel source since 5.7.
This commit removes the local copy of DTS from yocto.
(From meta-yadro rev: 9b2cfd0597cb1c3aa8b451e94712b7a0e383a184)
Change-Id: Iaaf90287ce5ddcfedc883936b36fdf102356f049
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Artem Senichev (3):
sel: Show event list by default
user: Using primary group as role
nmi: Use D-Bus instead of direct pdbg call
(From meta-yadro rev: 3434293378d7ce0ac9d0db440ec5dabc6b016fb6)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: Ic78d82a344c94e207cd9b80cbae1cbaf730a4025
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
By default, OpenBMC allows SSH connection only for members of priv-admin
group. This patch removes this restriction.
(From meta-yadro rev: 840348016139393f61482ee95f2dcb07187d589b)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I9bf5c2950a25715ad814b1d4247a882359a26249
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Current implementation by IBM supports only witherspoon platform.
This patch makes it possible to use a D-Bus call for initiating kernel
crash (System Reset vector) on the Nicole host system.
(From meta-yadro rev: 5f76189ed4eb64e20191fe460f00f803b37ed88c)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I8ef5ecfd209860500f8303a594636a1cff1298a3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The time synchronization is not required by default on Nicole.
It will be done by the host.
(From meta-yadro rev: cca25e974f7b7d6c5f4b1e19b6fdab503649c763)
Change-Id: I2478ac2dd528462024e93dc791b6564385f1a1ff
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Boot Initiator Mailbox should be available on all our hardware.
This commit moves all required files and recipes to the meta-yadro.
(From meta-yadro rev: 9ee3c28294c6a87912edbcf09b999b926634f836)
Change-Id: Idc52bfb50c8f122662279a593de0ee40703ddb51
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add handlers to process the chassis system option 7
(boot initiator mailbox). The format of mailbox is
specific to the machine/bootloader. This commit only
adds generic handlers to process getting and setting
of the mailbox data regardless of the content.
Only the IANA Enterprise number is checked in the data
block 0. Also checked are the data boundaries.
It is expected that a machine-specific override for
phosphor-settingsd sets the supported state and
the IANA number according to the used bootloader.
(From meta-yadro rev: ef10645f38d431598fe0a2bce98cb656354df01e)
Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com>
Change-Id: I819e2f8ef9d7ddfbadacc5d5bcb6c4fbf98271a0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Some settings such as Boot Initiator Mailbox do not support
one-time setting mode (as per IPMI 2.0 specification).
This commit adds support for such persistent-only settings.
(From meta-yadro rev: 10458e3a5362815e0f4dc45a103cbdda3165b856)
Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com>
Change-Id: I44a00b9c19e12e2165a311f6b2867509ee911c80
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add defaults for Control/Boot/Mailbox interface so
that phosphor-settingsd could implement and handle it.
(From meta-yadro rev: 548286c74a67e8043679be69a47f00325947a327)
Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com>
Change-Id: I24e302fdcce21de7e570e4edc592dd97bf4a8df6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add the xyz.openbmc_project.Control.Boot.Mailbox interface to allow
for provision of the boot initiator (such as Petitboot or UEFI) with
its specific parameters. This is based on IPMI 2.0 Table 28-14 'Boot
Option Parameters' parameter 7 'Boot initiator mailbox'.
(From meta-yadro rev: 8a37d4554c77f6b3b93fea17eae46b0124b42d28)
Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com>
Change-Id: I231b8658d47d331d0af665b8ccb86da5ea8b2845
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This tool can be used by an end user to backup and restore OpenBMC
configuration files.
(From meta-yadro rev: 558449cc14a7437a8d45efbe05fca142e789c21f)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I2aaa209177122a9ee69d4a7d1421f34cd7d986c6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The phosphor-network now has the sync-mac feature.
It does the same thing as the first-boot-set-mac without any additional
services.
This commit enables this new feature in phosphor-network and removes
obsolete first-boot-set-mac service.
(From meta-yadro rev: fea7a8d7a57accd658aa60248cb203afc735c73b)
Change-Id: I31e530850b2550de70f72091c683153ecb6968a7
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This tool can be used by an end user for managing OpenBMC network
configuration.
(From meta-yadro rev: e5c4bc9cda0ffc2aa4a72dd5fef99573d91d968b)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: Ic2647434f0ad675037f12c97adc5526948612ecf
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This tool can be used by an end user to print OpenBMC inventory list.
(From meta-yadro rev: d8533edaabad01bfc353a7fe1ca44077ac79512d)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I801ed25fe94cbdf87d509b5f1eb6ff25d4fc2c7e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This adds VLAN4004 configuration to the nicole firmware image.
The IPv6 address will be chosen depending on the BMC position.
During the firmware upgrade the stored previous version of
`/etc/systemd/network/00-bmc-eth0.network` may prevent to start new
VLAN4004 interface.
This commit also adds a service which should fix this issue on the
first boot time after upgrade by adding necessary option to the
interface configuration file if it is not present yet.
Tested: BMC now has additional `eth0.4004` interface use static IPv6
address and this address depend on BMC position.
(From meta-yadro rev: 83aa32ac997e6dc66cc5e2041a0a3cb723e950d9)
Change-Id: I5fc6663ddee67aafcfa9f2004083d8a4a528950f
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This adds a dev_id.json with Nicole specific values and a systemd unit
which changes at the boot time the device ID in the dev_id.json to the
actual BMC position.
Tested: `ipmitool mc info` now shows the actual BMC position in the
Device ID field.
(From meta-yadro rev: 8dcdb1ef8661b2f5624d75787bd4bcc4da8301d7)
Change-Id: Ia819ef4154ffe368ca9684662c248295060e0597
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Nicole does not require the LDAP support as the end users will never get
direct access to it.
This completely removes the LDAP support from the Nicole's build.
(From meta-yadro rev: f8f482d64a990e20b55a4d5547e53cd7fccd6278)
Change-Id: I19dbae120373794a9579ad84e39fa62e05737bc9
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This brings:
- GPIO support in u-boot
- BMC position is determined by the GPIOE1 and stored as a boot
argument.
(From meta-yadro rev: 1b68cd934fe58ce3c33b272b45497d2a1b4e35e6)
Change-Id: Ieaf5bda2267b533327618330760431e66224092a
End-User-Impact: In the u-boot shell now available `gpio` command
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Enables the field mode by default.
This marks the BMC as production version and activates some production
specific functionalities.
For example, this makes the software manager to discard unverified
firmware images.
Tested:
- The output of `fw_printenv` contains `fieldmode=true`.
- `busctl get-property xyz.openbmc_project.Software.BMC.Updater \
/xyz/openbmc_project/software \
xyz.openbmc_project.Control.FieldMode FieldModeEnabled`
returns `true`
(From meta-yadro rev: ca760a233b348efaf860e0691ea4b3f1c0db1ec1)
Change-Id: I9c6fbead319f3c990efba669c923dccb97110e16
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Adds a firmware image signature verification.
This brings:
- The key is stored in `/etc/activationdata` folder.
- The software item activation now begins with signature verification.
The verification failure stops the activation only when the
`fieldMode` is set to true.
See https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Control/FieldMode.interface.yaml
(From meta-yadro rev: f9e0ad9f1bb2a2520651f771e2b873bef384423a)
Change-Id: I91cf92d15d29737a9cd05120b194189eb767636e
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|