| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Change-Id: Ida2cbe57d83785e2c8c196b55351d89805590169
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
|
|
|
| |
Change-Id: Ia78317bd76f70bb3f701bfad6e262438ea061d6c
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
|
|
|
|
|
|
|
|
|
| |
The pci_reset_out depends on BootProgress sensor to release the reset
hold. The /org/openbmc/sensors/host/BootProgress object is deprecated
and we should use /xyz/openbmc_project/state/host0 now.
Update the code to use new object and it fixes the P8 PCI reset issues.
Change-Id: I97b311b548c4e8d081820f488dc2a8b40a41cf1c
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
| |
Change-Id: Iddd77221c768c5ce5d2f36dc98b640b7df9c5553
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
|
|
|
| |
Change-Id: Ic1e554136be3b7a3afa213b20e4aea69194c856f
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
|
|
|
| |
Change-Id: I144def3cc221e923e3c3e10c6d8aadddeb88fea1
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
|
|
|
| |
Change-Id: I9a8b47d862690c5bba4b5e12b9835ad8dd86954d
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
|
|
|
|
|
|
| |
This is more python hygiene than anything required - it makes the module
importable without running arbitrary code at import time.
Change-Id: I7f5d8056fa553f484076299823716f73e5c7ead2
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
|
|
|
|
|
|
| |
None of the specified DBus objects have the 'method' property any
longer, so drop the code supporting it and cleanup the resulting cruft.
Change-Id: I9c66226c233e082e9d518310b62b0641ba410532
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support for u-boot redundant environment variables was
added where u-boot alternates writing to each environment
every time an variable is written. But initramfs doesn't
know which environment is active so it always reads from
the same one. Therefore need to twice set the
environments that initramfs reads so that they're written
to both environments and initramfs can read it.
Part of openbmc/openbmc#2292
Change-Id: Ifaa9a55067cdd2f42b534b680809552f6574a56a
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This pci_reset config causes intermittent network drop
issues on witherspoon. openbmc/openbmc#2288 tracks getting
to root cause of this network issue.
Resolves openbmc/openbmc#2228
Change-Id: I3275f9b231c125cea45e3fa0cd302469343bd654
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The service file that starts the bios flasher was changed from specifying
the path /usr/sbin/<flasher> to just <flasher> to allow the service file
to find the binary on any directory specified by PATH and enable patching
on a read-only filesystem.
Remove the parsing of the path from the code, and change execl to execlp
which gets the path from the PATH env variable.
Resolves openbmc/openbmc#2271
Change-Id: I2b74e287e1e5db8feb96bfe51a0a73d999ba43c2
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I5db50fc156005aa901714e370cf75a4d5455d4cb
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I1db7b44d8fdff7876af83c8fb24fc77b5c7c61b7
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
|
|
|
|
|
| |
Updated new inventory objects in u-boot fw_env scripts.
Change-Id: I9545f29f603e2fc46424d44df45ca82379df5ecb
Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
The pcie_reset_outs is incorrect and cause the PCIE reset functionality
broken.
Fix this by correctly parsing the GPIO config table.
Change-Id: I14bef6eba32c43fcc8e13ec956ad2e171d3e90b8
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
| |
Change-Id: I3524ef2bba925d81c9746cfa12c16706dcecad5a
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Find the file to copy from the firmware environent config,
and assume the complete file should be saved as an image
to the u-boot-env mtd partition.
Preserve network settings has worked to save the u-boot-env
by copying the runtime copy of the env saved by the
initramfs init script to /run/fw_env. That copy was
created as a workaround for a flash erase problem that
can not be created with the current driver.
Change-Id: Ie42ddbb4f821447349f70ab21d1333194aba08cf
Signed-off-by: Milton Miller <miltonm@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the no longer present initramfs image as the initramfs
is no longer stored in a seperate partition.
Individual flash partition updates have not worked via rest (Update will
return "Unpack Error") since the switch to storing the initramfs in the
FIT image.
Change-Id: Ie01fc18704fca2296cb7436dfea07ba4773a0ace
Signed-off-by: Milton Miller <miltonm@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The targets have changed within openbmc for hard
power off and soft power down. This file will be
deprecated some day but for now it needs to be
in sync with the new targets.
Resolves openbmc/openbmc#1593
Change-Id: I1e2949c67fd9b4756a6f18070eea63c8b161c7bf
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Remove a signal subscription from the deprecated
org.openbmc.SensorThresholds interface.
Change-Id: I75d83324ada77642a8f560b4250fb24190dc540a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
The xyz sensor namespace is fully functional. Remove legacy
HWMON_CONFIGs and association sensor references.
Change-Id: I71ce7627e72d23f3729690260103e925e4d11329
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Remove the legacy pyhwmon application. Its functionality has been
replaced by phosphor-hwmon.
Change-Id: Icbba91cd7d0841b3fc74eec280455edaa79af1f6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enabling the Watchdog was moved to systemd unit and hence
doing so from here needs to be removed.
Currently, Host Power on target launches phosphor watchdog in
Disabled state. However, there was an inadvertent change that
removed the unit that was enabling Watchdog during power on.
It was getting enabled a little later as part of host sending
SET_WATCHDOG command. However, deferring Enable until then will
result in very early Host hangs going undetected and a fix will be
put to address that.
Fixes openbmc/openbmc#1822
Change-Id: I290d84ecc991c258f5fb925b5c073922e2e1868b
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
| |
Host Watchdog has been refactored now and hence this
needs to be deleted.
Change-Id: Ib0fc60e9fdf1daf8156b33127b4a574022d52067
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
| |
Host Checkstop monitor has been refactored now and hence this
needs to be deleted.
Change-Id: I6fffd499420589f893ac44d366ecbdd60cc742ad
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The recent refactoring of the systemd target names to power on
and off the chassis had a significant impact to openpower partners
because they'd encoded the systemctl command to power on just
the chassis into a lot of instructions and scripts. There's no
guarantee the team won't do this again in the future so a wrapper
around the command for this function makes sense to have. Now if
the target name changes, it's all abstracted within obmcutil.
Change-Id: Ib7b1907cf4618cf0985f76f2c5f5c5e04d4c162f
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Ie5ef0cfea6edf4242f9962be8a752b7a0f2c2ba7
Signed-off-by: Ken Chen <chen.kenyy@inventec.com>
|
|
|
|
|
|
|
| |
Fixes openbmc/openbmc#1522.
Change-Id: Icbbc67f712f70e408207b7fb4cec3e70992009b3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
| |
The target change is:
obmc-quiesce-host -> obmc-host-quiesce
Change-Id: I713c9c694fbc5b45e0ee86c0e7ccc7f544bc823c
Signed-off-by: Josh D. King <jdking@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
The target change is:
obmc-chassis-stop -> obmc-host-stop
obmc-chassis-start -> obmc-host-start
Change-Id: Ibba1e8d56e8d911dca309a6e6dc9ad3335bb644d
Signed-off-by: Josh D. King <jdking@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The POWER_BUTTON and RESET_BUTTON direction needs to be set to `both`,
otherwise there is no interrupt generated and thus the buttons do not
work.
Change the direction to `both` fix the issue.
Fixes openbmc/openbmc#1437
Change-Id: If586dd2e44aa2a8790f045d1e37f4d8f3ea210c8
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#1213
Change-Id: Iea56a41e20ea15df13e2775f3d73af2eed608da7
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#1409
Change-Id: I5d86d09859935b44e7f0d7019620cbfa50bddf0f
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Now that the LED Group manager support is in, the users can make a
call to phosphor-ledmanager and assert the Identify group and hence
this code in here is not needed.
Change-Id: I7c268710ee8806215c60015d6b39a0ef19601fd0
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
| |
Change-Id: I099198a74fc84024eb24e84985df67f0738a0627
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I2b84147e4dae5bb0ef1ea4b58b80e3bd152f5389
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: Ie007597516d9da00b6bbe6be56084bf4ac790a19
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit e2babdb30796fa23ab676eef2a4f6bdf2e043a13.
Original change is causing other problems reported via
openbmc/openbmc#1321.
Change-Id: Ib61329fb0ac6d807f9cde5fb1d63d76fd04d0faf
Signed-off-by: Dhruvaraj S <dhruvaraj@in.ibm.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
| |
Partial fix for openbmc/openbmc#1112.
Change-Id: If4eb2036cdfc1d81578fd70ae0360cc39c7deca4
Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Fixing the failure in recovery from timeout which was
due to not informing back the timeout condition correctly.
Resolves openbmc/openbmc#1239
Change-Id: I1554c71eba134195be003a7fa5d5c98a35b51d05
Signed-off-by: Dhruvaraj S <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
| |
Remove the use of system state from obmcutil
Change-Id: Ia74b68d945fce7526aa4bbc62cda4ad242cdec25
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Sync sensor numbers with hostboot.
Note:
* Some sensors are not avaialbe yet so commented;
* OCC is not enabled yet so they are unchanged.
Change-Id: I51373f73e5e399dbfe2c3fbdcd1abadd84b669d3
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Zaius motherboard has latches between BMC control pins to power up
the host and the input pins to the power sequencer. This allows BMC
resets to not interrupt power to the host.
Currently, the latches are made transparent prior to sampling the power
state of the system, which causes BMC boot to kill host power. In
addition the latches remain transparent, so the system can be brought
down by the BMC shutting down.
Enable the latches only after power control pins change state.
Enable the latches only momentarily.
After this change, Zaius BMC can reboot without taking down its host.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: If150cbcf3fabda359d1ce94602c40cb96741e869
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Machine.py files in skeleton hard code the sysfs path to the devices. The
hardcoded paths use the old i2c-adapter directory which is only around for old
userspace. From the Kconfig help text:
Say Y here if you intend to run lm-sensors 3.1.1 or older, or any
other user-space package which expects i2c adapters to be class
devices. If you don't know, say Y.
Symbol: I2C_COMPAT [=y]
Type : boolean
Prompt: Enable compatibility bits for old user-space
Instead use /sys/bus/i2c/devices.
Fixes openbmc/openbmc#1252
Change-Id: Iaa9ef96e150084d9a605d5cab8053ddc910cfeaf
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
| |
Fix up a couple applications that were missed when
we switched over to xyz.openbmc_project.ObjectMapper.
Change-Id: I84cf5d7280be14be245d0a979c189b48076ee4bf
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
Remove 'Warning - unhandled hwmon'
Change-Id: Idabc312ae4ae9d8a206712b147c2db2a433bcdc8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Fixed a few sensor numbers to match reality.
Didn't fix them all, as this is all being refactored anyway.
Change-Id: Ic01fd7493aa77292401b1daf175019556b0431fc
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
This change alters the behavior on a host
checkstop or watchdog error. Instead of simply
rebooting, go to the new quiesce state.
Change-Id: I4dd3a3d7a91607fc56a684873115d5f32de18f6a
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the sensor numbers to match what hostboot is using.
The correct BootProgressSensor is required for the checkstop
reboot monitor to work.
This also involved adding some new inventory objects for the
additional cores on P9 so that all cores can have their presence
property correctly set on their corresponding inventory objects.
Change-Id: I509b14abcf6bf28ffb5b3d96b342394e159f3090
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|