Age | Commit message (Collapse) | Author | Files | Lines |
|
Moves fwupdate and lssensors into the cli folder.
(From meta-yadro rev: 717867bd2d45baefc5784c8f20992a884bc9648b)
Change-Id: I93e5051a4c3874ac70d58d1cc81634a365fddd58
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>
|
|
lssensors is a command line tool which shows available sensors.
(From meta-yadro rev: d54a06e15444c1d7e66b0da7e1e1f9e36c158884)
Change-Id: I25ba2b2725ad6cb18497070631ce4edd26484e60
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>
|
|
fwupdate is a command line tool for update firmware.
(From meta-yadro rev: 2c9c5dfb227f695d50a8f3c950b1c0a8d3837fa5)
Change-Id: I64633572b45a4793ee0a41a571c4e251ba221317
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>
|
|
The green led should be on while host is up.
(From meta-yadro rev: a7fc645df8796c679ac01aaa1b421271af478d0a)
Change-Id: I8ea751e5a6d8a509800732a0d002788488329101
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>
|
|
Reduce size of vesnin-ipmi-fru.yaml by using aliases.
It's a cosmetic change and does not yield any changes in functionality.
(From meta-yadro rev: b6267a85874aca5fc1971ff11617ce0fbd6a64d0)
Change-Id: Ie5807ce37db1d4d4d6dc3514a5af3d33a0946e18
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
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>
|
|
The aspeed-lpc-ctrl.c has been moved to the new path.
This commit brings the corresponded changes.
(From meta-yadro rev: 01cca906159e75a4b68c456efca6b16178f402e3)
Change-Id: I768b0908c9e5ea10f1271b7e8c142d5249a098b1
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The `mbox` driver was removed from kernel sources, so the 'lpc_host`
node is no longer required.
(From meta-yadro rev: 2ae27084f441b13c36952642a52173ec34ed2fc2)
Change-Id: I69cc44448dea265b86c666e4e5b79b9c72b42309
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
All the IPMI virtuals and PREFERRED_PROVIDERS in meta-phosphor are in
the process of being deprecated. Prepare for that and move to a simpler
scheme for providing the YAML configuration for Vesnin systems.
(From meta-yadro rev: 9c29d1b377aafa400444273bfb7fdd28b0803f34)
Change-Id: Id243bb4e0f2c742ebb1124195a16b9ce20856091
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Alexander Filippov (4):
Initial commit
meta-yadro: Initial version of meta-vesnin layer
meta-yadro: Add readme files
meta-vesnin: Use VESNIN DTS from kernel repo
Change-Id: Ifa6f1ad3890af4800d27a76fb709e8f8d91295df
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|