Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Adds obmc-yadro-lssensors to nicole firmware.
(From meta-yadro rev: 6ad79177812c3b3af1c962c31b65c76eb76b51dc)
Change-Id: Ife48ab428e402b2291047f585e3b089ef7ed4c77
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Artem Senichev (1):
Fix build with GCC 10
(From meta-yadro rev: af4fcfc9196dec6b4a3aac60f5a211ddc689917a)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I9ea6dc5fb97870b8b0ecda9633a16e5e764f06ae
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Creates default administrative account for managing the OpenBMC.
(From meta-yadro rev: 7eef85ee0d2e6f8100c06c0f9a9cb52c941ecd50)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: If4aa85ace08c9628e98252f00c508fbf28385c9b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Command Line Interface (CLI) is a Bash-based shell that is used by
non-system users to manage the OpenBMC system.
(From meta-yadro rev: cd42b3483a43c1b80aaff8464d9f9c5c3d46979b)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: If63b3eb4bdec59d966422d114d1a960c4a67ce2f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Set default properties for some types of FRU.
This fixes the problem with Presence flag, which must be set to "true"
for such FRU as "motherboard" or "opfw".
File with extra properties was created long time ago but it was not
added to build.
(From meta-yadro rev: c6c78ffba8e184220b6e9205f4ddd9336589fc1a)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I8c2b610a1683148fac75bb5567929d6dc2e1c563
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
- Removes the unused GPIO definitions.
- Adds the ID_BTN definition.
(From meta-yadro rev: 542879edd5894c93b75ff17569c867808336c146)
Change-Id: I720e1fec9fccb7f3192cc922b7b7192e0cd19702
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The LEDs were renamed in the DTS to correspond
https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md
The labels were also added. All of these changes led to change the names
of the LEDs in sysfs.
This commit makes the corresponding changes in the phosphor-led-manager
config.
(From meta-yadro rev: 683b49512a70c98599277ce719caf695ebd3da8d)
Change-Id: I1a7e00136d25c1f379737b64a313e9d322a1f958
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Nicole has RTC battery monitored by aspeed adc.
This commit adds the config for hwmon to create
/xyz/openbmc_project/sensors/voltage/vbat dbus object.
(From meta-yadro rev: 00a58de373844c2819c88993242a6bbda6235e8a)
Change-Id: Ib9eacb8884d793b3895f6dd4749512517c9d8988
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Prepares the Nicole DTS to push it to the linux mainline.
- Removes unused i2c buses.
- Adds a comment for empty i2c definitions.
- Adds a missed iio-hwmon-battery node.
- Adds the GPIOs names.
- Adds the leds labels.
(From meta-yadro rev: ae1aea75fe6b5369183b86a05729d56abec77565)
Change-Id: I149c8d98984c7d8e515b338006c43d0cca5a60a2
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
OE-core is switching over to dunfell.
This adds dunfell compatibility for meta-yadro, meta-vesnin and
meta-ncole layers.
(From meta-yadro rev: 5149d928b3be14a819e8424f2df4502f0b9afc14)
Change-Id: I73ca9cdeb7aca395eb9c7323faa0d46941f3ea4b
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This was a P9 DD1 workaround. These systems are no longer supported and
are not found in the wild, so the workaround has been retired.
All of the p9 systems in the tree exclude the package so this change
should be a noop.
(From meta-yadro rev: 0abffd09e40f85cf9b69a6d217d6a9b76a90800a)
Change-Id: Ie5b2116291e31635bde5c41a0e5644e611defa4a
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Makes the phosphor-discover-system-state running only on cold BMC boot.
As a result, on the warm BMC reboot the host's power restore policy
will not be applied.
Tested:
- on the warm BMC reboot the host power state is not changed.
- on the cold BMC boot (power cycle) the host power state depends on
the power restore policy.
(From meta-yadro rev: ff3f2e23697817d4e14891ce6753509b5fb22e6b)
Change-Id: I9265011d078e732d840eaa2572bf5220fc6951d5
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Adds obmc-yadro-fwupdate to nicole firmware.
(From meta-yadro rev: c9660b9e69cdb968527ce555857abd5dc3b42337)
Change-Id: Iffafccab4d4cf8d676637c0015cd84ac5bd33c37
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This is a backport of the patch file from intel-bmc/openbmc repository.
It makes the u-boot to add the system reset status to the bootargs.
tested: the /proc/cmdline must contain:
- resetreason=power after cold bmc boot
- resetreason=watchdog after warm bmc reboot
(From meta-yadro rev: 3851142232368d6db77b674e79541d677d68aa41)
Change-Id: Ic46b3e497e1c8df4e5bd6d2cf2706e1daba80965
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The 5.3 kernel adds an 'fsi-master' directory in front of the fsi0 and
fsi1 directories in the OCC device tree paths. Update the OCC hwmon
file paths accordingly as those are based on that path.
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
(From meta-yadro rev: 54b7c9b1ab1bf5b91b293c76335de887f7ff8311)
Change-Id: Ie506f88c4e7b2b20f4b589c655982d42dcc3a3f1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Changed to be consistent with the schematics.
(From meta-yadro rev: 19d9cb67b24396fabbe7160a3f04a71d775c166c)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I46a3f1dde090bd247ddbf72a3a0c1310d6fafdd2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Changed to be consistent with the schematics.
(From meta-yadro rev: c3bb02e54cbccb89c5ba7c308ae36c7655922f2d)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I7610fb0ed0f28c8cfccc98799100df96a57b4722
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
VPD contains general description of the BMC card and MAC address for
the Ethernet controller.
Physically, VPD is stored in the EEPROM AT24C256C, which is connected
to the Aspeed SoC via I2C and can be read or written through
the special device file /sys/bus/i2c/devices/0-0050/eeprom.
(From meta-yadro rev: 95f98dc7d5ccf2b221d2a5aea51bf411201f351c)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I21624f154cfa1e92eddbc1739a4e053d00889b5a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
NCSI channel number is selected depending on GPIO state of a pin
described in the device tree (gpio/nsci_cfg node).
Currently, this pin is controlled via MCU, and its state represents
Nicole's physical position inside a fabric.
Channel selector scheme:
* GPIO pin is LOW: channel 0;
* GPIO pin is HIGH: channel 1;
* invalid configuration or error: channel 0.
After changing pin's state it is necessary to reboot the BMC to apply
new channel number.
(From meta-yadro rev: 2661355417e52d968e9845298c37cae8ff1dfe6b)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I8eeac34f71197fc110e41d186dd1fd4d2f1ef064
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Fixes build with kernel 5.4.4+
This is a copy of the change which was done in the linux repo for
Romulus and other AST2500 based HW
Original commit is 06a318f9 Andrew Jeffery <andrew@aj.id.au>
ARM: dts: aspeed: Add RCLK to MAC clocks for RMII interfaces
We need to ungate RCLK on AST2500- and AST2600-based platforms for RMII
to function. RMII interfaces are commonly used for NCSI.
(From meta-yadro rev: d971ee2180f448f125fb4e9e471cd10a61bf5ff8)
Change-Id: If92e32f144b0c79b937def0136cbf86b4a8aeb73
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Artem Senichev (4):
Allow using fsp-trace from current directory
Fix parsing "Creator subsystem" field
Add source file name to fsp-trace output
hostboot: bump version 3920d160..0921b80a
(From meta-yadro rev: 1e65c1adfc33232d89e9deb50e436c2356317f6a)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: If56a76133bb9fff94638fafe5428969797b257a8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This is the same changes which ones were done in the linux repo for all
AST2500 based DTS.
Original commit is ed7120aa Andrew Jeffery <andrew@aj.id.au>
"ARM: dts: aspeed: Add RCLK to MAC clocks for RMII interfaces"
We need to ungate RCLK on AST2500- and AST2600-based platforms for RMII
to function. RMII interfaces are commonly used for NCSI.
(From meta-yadro rev: f66aaa5cea8ee9a6423cb2d7dcf7f5e75bf95f96)
Change-Id: Ieb908db2fb5ef0f0e4ff53dd1563b50e14fc2334
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
OE-core master will be dropping warrior soon; zeus is the next release.
(From meta-yadro rev: 27e7dd3d6c82478ab61973e9a6470fba6f2b4502)
Change-Id: Id4a5cb6bff0f2f64df99c6ae602bbbfb55e4cfd0
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
(From meta-yadro rev: 25631eaa5a8c6b4542555aff48a8fc3865956d43)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I5003c0f741333d4c0301fa0707dd83d2edf8c127
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
YADROBASE is only used for pointing at licenses...point at the
licenses in oe-core in meta/files/common-licenses instead. to match the
defacto convention used in other oe layers like meta-openembedded.
(From meta-yadro rev: 55fa5d541e0cb4291c46213132b479e6d16e8360)
Change-Id: I8388c5e60837f7ae0d81be4b6cab82db71d43709
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
(From meta-yadro rev: ab139e076ccf28f19d61728d1bd9f6c6a6e75523)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: Iba51aa5fc183a406e2e0cea65c90e344f131b197
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Ported from IBM Romulus layer.
(From meta-yadro rev: b64a2eeade9e2ba61ad4103cef8efe300cffd4c0)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I717c8fda8e61ed0c824252ac85f68d58076e9246
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
NICOLE is a new storage controller for TATLIN server.
It based on IBM Romulus reference design (POWER9)
and uses an AST2500 BMC SoC.
(From meta-yadro rev: 13af90da095c5eb6874ce6f89a8b66a7932e6c50)
Change-Id: I4685be88448e1de8a1a716ad3f59ef09e168a1df
Signed-off-by: Alexander Soldatov <a.soldatov@yadro.com>
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|