Age | Commit message (Collapse) | Author | Files | Lines |
|
1. ampere-host-power-cycle.service will force off host followed
by force on.
2. ampere-host-reset.service will pulse the sysreset pin
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I4736c82f8f462a21650d5abba55c036a05da8e25
|
|
`BBLAYERS_NON_REMOVABLE` is obsolete and no longer required.
As it said by Yocto documentation it can be used by `Hob`
https://www.yoctoproject.org/docs/1.5.2/ref-manual/ref-manual.html#var-BBLAYERS_NON_REMOVABLE
that already removed since Yocto-2.1
https://www.yoctoproject.org/tools-resources/projects/hob
Change-Id: Ibc2d8268a9d837a81e9cf6b0131dba8d0a030a3f
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
The ampere-host-reset.service and ampere-host-force-reset.service
are not used. Host is reset with ampere-host-power-cycle.service.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: Ie6c58c5c9d1179d79e5c5be307a37bdb263172ff
|
|
For shutdown, if it does not go through the power utility, the
Chassis state will not change.
For host reset, execute additional verification steps attached
to the power utility service performing the host reboot.
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I2f67a34ba8cfd80fd3dde999baa329d44288bdfe
|
|
The phosphor-pid-control package will be provided through
obmc-fan-mgmt, so it does not need to be provided through
obmc-fan-control as well.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I29ac8363056db866d6181d958d8a86e53605400d
|
|
The new yocto syntax was missing from,
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/46289
Also removed an extra empty line from the recipe.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: Id7684b24ecd2a51e7e2a28c10a76b61519ea0872
|
|
Avenash Asai Thambi (1):
Add boot count into motherboard eeprom and clear command
Change-Id: Iedc41527654482c2a45c414ec3c778a451199c93
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Change-Id: I8711fa16a624c9f132310357f973cebd25f9b1d3
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The ampere_power_util.sh file has a syntax error of missing double
quotes in a echo print.
This is a follow up to the gerrit commit
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/48477
Signed-off-by: Mustafa Shehabi <mustafa.shehabi@fii-na.com>
Signed-off-by: avenash.thambi <avenash.thambi@fii-usa.com>
Change-Id: Iff734c390507201c2d539dc6468de09a888623c7
|
|
Adds support for BIOS verification process to execute before
issuing a host reset and boot from AC power.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I31c019a5ea8cb296749f671df15c658a7e2a3b9f
|
|
Adds support for Power On for power button press and Power Off when
holding the power button. This is a temporary and rudimentary method
to handle button presses. The intention is to eventually use
phosphor-buttons with Nuvoton support.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: Iede64f89c716102a688880280c11ff7f3068021b
|
|
Kudo uses GPIO for checking the host status and does not use IPMI
SMS. Therefore, this will remove the host-check feature as some of
the recent recipe changes create stalls between host-state-manager
and IPMI host control. Reference changes made in,
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/45312
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I76b246dd003f94c95f194592647c4291014abf0b
|
|
Instead of a host or chassis restart for a Chassis PowerCycle,
have both the BMC and host perform a hard reset. This requires
changes to phosphor-state-manager to add the handling of
xyz.openbmc_project.State.Chassis.Transition.PowerCycle. Currently,
there is handling for On and Off, but not PowerCycle.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I3d934c47a68899b2fd8fcba966f8d92c97554a77
|
|
Summary of changes:
1. Adjust start time of xyz.openbmc_project.State.Chassis.service
to fix initial chassis state
2. Add shutdown ack service
3. Remove reset ack service
4. Remove heartbeat mode
5. Remove sysreset pin control from power_control.exe
6. Remove all phosphor-fan services that caused power off during
a system reset
7. Adjustments to ampere_power_util.sh (See below)
ampere_power_util.sh:
1. Use GPIO instead of dbus for host state
2. Wait 3 seconds before checking power status for power on
3. Wait 6 seconds before checking power status for power off
4. Have force_off act GPIO while power_off sets Chassis state
5. Graceful shutdown acts GPIO
6. Check host status before issuing system reset
7. Set Watchdog Expire Action to None before power off and reset
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: Ie2720ee60d489c4160165c6827a78a400ae4d30b
|
|
Corrects the nvparm to disable LPI mode NV_SI_CPU_LPI_FREQ_DISABLE
for SCP 1.07 and newer.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I43f4d090fae3ff202834d39c9161802f20e396e1
|
|
The other system components are not using this the MON_BMC_ALIVE
signal, so it no longer requires assertion.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: Ieedc2650d230dc3eff8c2d76d2f1ce70b68919cb
|
|
The obmc-system-mgmt feature is currently used in the image to trigger
inclusion of a virtual-provider which provides a number of packages many
systems need. Partially revert the removal of this feature so that
the outcome is:
1. The empty obmc-phosphor-sysd package is still removed.
2. By default the 'obmc-system-mgmt' feature is included, unless
specifically exempted.
3. All EVB platforms remove the 'obmc-system-mgmt' feature since
they have no system they are managing.
This partially reverts commit 060ad3ff7fcc30aff78a9e504efee9d8fa0d4526.
Tested:
* Built `bletchley` and confirmed `packagegroup-fb-apps-system` and
`entity-manager` are present.
```
entity-manager armv7ahf-vfpv4d16 0.1+git0+6bf41588ab-r0
packagegroup-fb-apps-system all 1.0-r1
```
* Built `witherspoon` and confirmed `packagegroup-op-apps-system` and
`pdbg` are present.
```
packagegroup-op-apps-system noarch 1.0
pdbg arm1176jzs 3.3
```
* Ran `bitbake -p` on `evb-ast2600` to confirm the undefined
`virtual-obmc-system-mgmt` is not being included in the image.
Change-Id: I8b7804d5101cc84a2c57473b3f85672bf7767c67
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Every machine layer treats 'system-management' as either part of a
package-group or removes the feature. The sample implementation in
meta-phosphor is a do-nothing shell script (and up until recently was a
Python script). There appears to be no useful purpose to this feature
as a stand-alone concept, so remove it.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I20ca1fa8ff3cb01cac2d07d4ded84e0769e4514b
|
|
Modify the machine meta-layer configs to remove the use of the
OBMC_MACHINE_FEATURES indirection and favor the Yocto MACHINE_FEATURES
variable instead.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ifafb79e4e4c010e9476b9547cd4982f5b645060e
|
|
Add log rotation for gpio trigger logging
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: I5e77b92115adc637fd4be48c5307f449519c281c
|
|
1. Based on newer version of Ampere's nvparm spec updated nvparm
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: I47a338fcb483c5c22f3a9799088c54de1a9a5153
|
|
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: I97ee9317df93480f68cd69ee3462f970970ba885
|
|
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: I540022c8547367d46f1f2fa52d6a144d41856ec4
|
|
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>
|
|
This will select the option within phosphor-sel-logger to clear the
IPMI SEL through its Clear method. Then there will not be a Record
ID sync issue from the clear of SEL and adding new entries.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I4ba21237b2726254b2a427d9bc26469c5267b565
|
|
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
|
|
The SEL Record IDs are observed to skip in /var/log/ipmi_sel and
the issue has been traced to the rate-limit of rsyslog. When
messages are dropped due to rate-limiting, some of them are SEL
messages. Phosphor-sel-logger is inserting the Record ID into the
message without checking if previous records make it into ipmi_sel.
This causes the skip in Record IDs.
To prevent SEL messages from being dropped, the rate-limit has been
increased. The side-effect is that more messages are being allowed
within a minute to lower performance.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: Iff015e1f45e7f79f73d1a03d05af88832b6f972d
|
|
Enable support for smbios-mdr using IPMI BLOB transport protocol,
and disable the cpuinfo feature.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I035889f3ce0792a06c85a8ea713a19e24c24e546
|
|
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: I276c7333f9f01949db2387735edb5d9a97c4fa1d
|
|
1. Update both primary and backup SCP EEPROMS when updating the BIOS
Modify the
2. Switch the SCP mux correctly on EVT and DVT hw
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: Idd07f4b57bfd2eaa13795f60b653915f1cf7c161
|
|
Add PREFERRED_PROVIDER_virtual/bmc-update in kudo.conf to fix
bmc_update build conflict with gbmc's bmc_update.
Signed-off-by: Mustafa Shehabi <mustafa.shehabi@fii-na.com>
Change-Id: Ideb5cbde0f4c94c7197984c1641223da1583111d
|
|
Enable redfish response to contain EthernetInterface SpeedMbps
/redfish/v1/Managers/bmc/EthernetInterfaces/eth[x]
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: I0d4179935b37c8d7bd5d0c51b122851d4f81a99d
|
|
Add I2C bus 12 to blacklist file in the EM configuration
12 is slave and Fru device should not be scanning it.
Signed-off-by: Mustafa Shehabi <mustafa.shehabi@fii-na.com>
Change-Id: I51c66f7b322113d2b4120a266b053ea3e92cc0fa
|
|
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: I83358748c2a8102c018d3e6ffb7f1fabad459c00
|
|
Fix virtual sensor config so that sensors will show NA in the SDR when
missing its input sensors.
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: I9bba40046c58455e4ba4d8dcd963871023f6920c
|
|
Adding chassis management packages
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: I334f925414815961fd9e6dcb309a52c14d670f03
|
|
Changing the syntax for various yocto files ie. (_ to :) changes to
bb, bbappend and conf files.
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: If25577ee9d98398c1a1ab7f85a0373c46af70245
|
|
add BMC version in distro/openbmc-kudo.conf
add Gbmc.conf
add dev_id.json
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Change-Id: I84c6d735cfad55abaa272edab1d10b4b9d4b0d99
|
|
update the kernel configure file for 5.10 kernel
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Change-Id: I423ed5a6fa78c43d356d3098e3eb518da1f7476f
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
|
|
Enable the Redfish logs and SEL threshold, pulse, and watchdog
event monitoring.
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I8b72923693a8a3a426f2b87185a89aa1add8781c
|
|
The Entity Manager JSON file is being checked into entity-manager
configurations, so it can be removed from meta directory.
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: Ibea2fc4f79012a4c3b27d3e86409856e699b6bd7
|
|
Added
1. phosphor-state-manager
2. ampere-hostctrl
3. Nuvoton chip and skeleton GPIO support in obmc-libobmc-intf
5. obmcutil support
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: I2628a0cab35a9be5afd702cc6269932c0c901e6a
|
|
1. Update to support DVT board
2. Support command for console redirection
3. Disable 2nd CPU clock when only 1 CPU is installed
4. Set HPM_STBY_RST_N to High to match dcscm spec
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Change-Id: I300b272587ddc2c7d82aa76196e5db100d02aae2
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
|
|
This makes it possible for us to change out build specific settings.
Change-Id: I86e0dd6b02373f6c6a0e1766e14510c468f9c06e
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Fix reading of CPLD versions
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: I0557905dfa08080da19a0ff836a9014d6e54a9ac
Signed-off-by: Xiaopeng Chen <xiao-peng.chen@fii-na.com>
|
|
Modify kudo-fw.sh for better flash failure detection
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: Id9418a8fc162e1fa1dc8f8eb0714337785526972
|
|
1. Add kudo watchdog service
2. Add kudo specific watchdog action services
3. Fix watchdog action.services to not autostart
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Change-Id: I49e672c93001a5ba7b8960b914222ff7abc37c9f
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
|
|
add unbind adm1266 driver to support the flash
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: I4221e646279b41b84c1d2be89ad3fb0df2220407
|
|
enabled the ipmi chassis capabilities command
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Change-Id: I0dd4a6eb90a070987a371649385f6d8f037d4e67
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
|
|
Mohaimen Alsamarai (2):
Revert "Add Fii oem command"
Add Fii-oem-ipmi command
Change-Id: Iac6bd7eb76c65db930ae992890bfff8189217420
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|