63223381 | 21-Feb-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
hwmon: Remove journal spam
Remove 'Warning - unhandled hwmon'
Change-Id: Idabc312ae4ae9d8a206712b147c2db2a433bcdc8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
4335240a | 20-Feb-2017 |
Matt Spinler <spinler@us.ibm.com> |
Witherspoon.py: Fix some sensor numbers
Fixed a few sensor numbers to match reality. Didn't fix them all, as this is all being refactored anyway.
Change-Id: Ic01fd7493aa77292401b1daf175019556b0431
Witherspoon.py: Fix some sensor numbers
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>
show more ...
|
6d2f6c3d | 02-Feb-2017 |
Michael Tritz <mtritz@us.ibm.com> |
Go to quiesce state on checkstop/watchdog error
This change alters the behavior on a host checkstop or watchdog error. Instead of simply rebooting, go to the new quiesce state.
Change-Id: I4dd3a3d7
Go to quiesce state on checkstop/watchdog error
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>
show more ...
|
7812b6d7 | 07-Feb-2017 |
Matt Spinler <spinler@us.ibm.com> |
Zaius.py: Fix sensor numbers
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 addi
Zaius.py: Fix sensor numbers
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>
show more ...
|
6c570c45 | 06-Feb-2017 |
Matt Spinler <spinler@us.ibm.com> |
Define the checkstop GPIO for Zaius
Required so the BMC can detect a checkstop and reboot the host.
Change-Id: I39dfc46b5173bd581b857851f41f388d2bd5ea79 Signed-off-by: Matt Spinler <spinler@us.ibm.
Define the checkstop GPIO for Zaius
Required so the BMC can detect a checkstop and reboot the host.
Change-Id: I39dfc46b5173bd581b857851f41f388d2bd5ea79 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
ed9ff701 | 05-Feb-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pysystemmgr: Dynamically locate the gpiochip
This is required due to differences in the number of GPIOs between AST2400 and AST2500, which affects base GPIO value in the GPIO number space.
Change-I
pysystemmgr: Dynamically locate the gpiochip
This is required due to differences in the number of GPIOs between AST2400 and AST2500, which affects base GPIO value in the GPIO number space.
Change-Id: I755aa340dc6a06a47a43bff8afb99d3a75f39185 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
57eea1bf | 20-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Move pystatemgr over to new host control interfaces
Change-Id: I15b8d0c01164bda44a725b99879eac2b036c69d1 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com> |
25b9a850 | 19-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Move poweron and poweroff over to new host state interfaces
Depends on this chain of code: https://gerrit.openbmc-project.xyz/#/c/1340/
Change-Id: Iac35b6a23a2b10a656a0e386de7796cd0194dfae Signed-
Move poweron and poweroff over to new host state interfaces
Depends on this chain of code: https://gerrit.openbmc-project.xyz/#/c/1340/
Change-Id: Iac35b6a23a2b10a656a0e386de7796cd0194dfae Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
58d7a0bd | 12-Jan-2017 |
Xo Wang <xow@google.com> |
zaius-config: Update GPIOs for EVT2
Remove unused (and now incorrect) FSI data and clock pins. Update reset pushbutton pin. Reset button will not work on the new pin as interrupts on GPIO port AA ar
zaius-config: Update GPIOs for EVT2
Remove unused (and now incorrect) FSI data and clock pins. Update reset pushbutton pin. Reset button will not work on the new pin as interrupts on GPIO port AA are pending a kernel fix.
We're retiring EVT1 boards in favor of EVT2.
Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ib34a7ff81d9ad3013d128c827e4e8b4e9e030946
show more ...
|
45cb4fcc | 28-Nov-2016 |
Lei YU <mine260309@gmail.com> |
Rename power_gpio to gpio_configs.
Change-Id: I22382fbb19a077e333aba93ae81ae614ec0cb70a Signed-off-by: Lei YU <mine260309@gmail.com> |
75a18a23 | 21-Nov-2016 |
Lei YU <mine260309@gmail.com> |
GPIO abstraction for power and host control
In libopenbmc_intf/power_gpio.c there are GPIO abstractions for power related GPIOs. Host control related GPIOs need to do the same abstraction.
The chan
GPIO abstraction for power and host control
In libopenbmc_intf/power_gpio.c there are GPIO abstractions for power related GPIOs. Host control related GPIOs need to do the same abstraction.
The changes include: 1. Add host control related GPIOs in gpio_configs and update system_manager.py 2. Update control_host_obj.c to use the abstracted GPIOs 3. Update GPIO_CONFIGS for all machines and add host control related GPIOs
power_gpio will be renamed to gpio_configs in next commit;
Resolves openbmc/openbmc#814
Change-Id: I7832065d495d7d64c5df2f5b177005b97e68900a Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
f35a7ddf | 09-Jan-2017 |
Xo Wang <xow@google.com> |
obmc-mgr-system: Support GPIOs in AA, AB, AC
Add support for two letter GPIO names that start with A.
Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ie3a063f476f0ba84e2c8ad0415d7a6db59e8bda0 |
cae038e5 | 19-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Fix formatting
A formatting-only change
Change-Id: Ib38451f3b54d752e3648a7fd103eef23d97637f9 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com> |
39df4035 | 16-Dec-2016 |
Yi Li <adamliyi@msn.com> |
Fix wrong reset pin setting
When power on or power off host, the way to set reset pins based on pin polarity is not correct. This makes PCIE devices not working properly.
This patch fixed bug intro
Fix wrong reset pin setting
When power on or power off host, the way to set reset pins based on pin polarity is not correct. This makes PCIE devices not working properly.
This patch fixed bug introduced by commit: https://github.com/openbmc/skeleton/commit/3ab5436 and https://github.com/openbmc/skeleton/commit/0475f65
The relationship between expected reset pin state and pgood state looks like:
pgood polarilty reset_pin(expected) 1 0 1 0 0 0 1 1 0 0 1 1
Related with openbmc/openbmc#876
Change-Id: Id0b36c15ed645c29f3ccc2aa507e50b31a718bb9 Signed-off-by: Yi Li <adamliyi@msn.com>
show more ...
|
51e0b898 | 13-Dec-2016 |
Matt Spinler <spinler@us.ibm.com> |
Remove host0 from BMC_STARTING dependency
/org/openbmc/control/host0 doesn't exist on p9 systems
Change-Id: I4d7ea3ab97ae58f258851e1accc1e46c28f0e80a Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
73078903 | 12-Dec-2016 |
Patrick Williams <patrick@stwcx.xyz> |
flasher: fix compile error in 84ab7e
Change-Id: I99c65334477f346658d37d1523a58985f8057963 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
84ab7e90 | 08-Dec-2016 |
Cyril Bur <cyril.bur@au1.ibm.com> |
flasher: Use arch_flash_* correctly
Change-Id: Ica87c55f08cc021a5c6cc0c53d8dafb1d854aec8 Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> |
14df1973 | 07-Dec-2016 |
Xo Wang <xow@google.com> |
configs/Zaius: Add HWMON_CONFIG stub for UCD monitor, remove other devices
Add UCD I2C name to remove these warnings from the hwmon poller: "WARNING - hwmon: Unhandled hwmon: /sys/class/hwmon/hwmon0
configs/Zaius: Add HWMON_CONFIG stub for UCD monitor, remove other devices
Add UCD I2C name to remove these warnings from the hwmon poller: "WARNING - hwmon: Unhandled hwmon: /sys/class/hwmon/hwmon0/" Remove other devices copied and pasted from another config.
Signed-off-by: Xo Wang <xow@google.com> Change-Id: Id964535f17c278d9b3d8a7a540394b2d751ee610
show more ...
|
3045be31 | 02-Dec-2016 |
Xo Wang <xow@google.com> |
pytools/gpioutil: Strip whitespace from value read
Reading from the value file includes a newline following the value, so strip it.
Signed-off-by: Xo Wang <xow@google.com> Change-Id: I075794d80f6db
pytools/gpioutil: Strip whitespace from value read
Reading from the value file includes a newline following the value, so strip it.
Signed-off-by: Xo Wang <xow@google.com> Change-Id: I075794d80f6db0ad8169c6a142ea56b34bd87164
show more ...
|
5d4a54e8 | 02-Dec-2016 |
Xo Wang <xow@google.com> |
pytools/gpioutil: Don't set direction if already set
Writing "out" to GPIO direction will actually clear the output value. This makes it impossible to read the value of outputs with gpioutil since i
pytools/gpioutil: Don't set direction if already set
Writing "out" to GPIO direction will actually clear the output value. This makes it impossible to read the value of outputs with gpioutil since it always sets value to 0 before reading it.
Fix: don't write direction if the direction already matches that requested.
Change-Id: I2116e6c7f5800239dd89c4f47fe7fd087b3a87cd Signed-off-by: Xo Wang <xow@google.com>
show more ...
|
12a26d27 | 03-Nov-2016 |
Yi Li <adamliyi@msn.com> |
Cleanup Witherspoon GPIO configure
* remove GPIO configures not used by any code * add SOFTWARE_PGOOD * add net-name as comments
Partially resolves openbmc/openbmc#648
Change-Id: I61f317abde182acb
Cleanup Witherspoon GPIO configure
* remove GPIO configures not used by any code * add SOFTWARE_PGOOD * add net-name as comments
Partially resolves openbmc/openbmc#648
Change-Id: I61f317abde182acb52841aab5b628b122c2f5546 Signed-off-by: Yi Li <adamliyi@msn.com>
show more ...
|
f9deaa0f | 01-Nov-2016 |
Adriana Kobylak <anoo@us.ibm.com> |
skeleton: Read mac from u-boot instead of net settings
The system mac should be read from u-boot, not from the network settings, since the network settings one can be the random mac set by the syste
skeleton: Read mac from u-boot instead of net settings
The system mac should be read from u-boot, not from the network settings, since the network settings one can be the random mac set by the system, and if the random mac happens to have the locally managed bit turned on, it'll prevent the mac from vpd from being written into the system.
Fixes openbmc/openbmc#627
Change-Id: I70ffaeb165881a2b83455f2953a4143cb471d688 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
d560aac6 | 18-Nov-2016 |
Lei YU <mine260309@gmail.com> |
Initialize GError* to NULL before calling g_dbus_proxy_new_syn
This fixes the crash issue of power_control when manually build and replace executable or library. The reason why it does not crash on
Initialize GError* to NULL before calling g_dbus_proxy_new_syn
This fixes the crash issue of power_control when manually build and replace executable or library. The reason why it does not crash on a full OpenBMC build may be due to the prelink clear the stack (not sure).
Fixes openbmc/openbmc#818.
Change-Id: I17b0e2188ebe14815d67a7f07eba4906bde75e3c Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
0475f65f | 25-Oct-2016 |
Yi Li <adamliyi@msn.com> |
op-pwrctl: Hold PCI resets until BootProgress passes BASE_INITIALIZATION state
When powering on host, hold PCI resets until hostboot passes stage "BASE_INITIALIZATION"(0x14).
This fix applies to Fi
op-pwrctl: Hold PCI resets until BootProgress passes BASE_INITIALIZATION state
When powering on host, hold PCI resets until hostboot passes stage "BASE_INITIALIZATION"(0x14).
This fix applies to Firestone and Garrison.
Partially resolves openbmc/openbmc#315
Change-Id: Ic71c81406ac188b34df89569e2264ea0b94406f3 Signed-off-by: Yi Li <adamliyi@msn.com>
show more ...
|
dfda9365 | 17-Nov-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Use system call to issue warmReset command
We hit intermittent problems with the existing g_spawn_command_line_async() call. Lets just keep it nice and simple with a system call. This will be refa
Use system call to issue warmReset command
We hit intermittent problems with the existing g_spawn_command_line_async() call. Lets just keep it nice and simple with a system call. This will be refactored in story 783 this sprint.
Partially resolves openbmc/openbmc#519
Change-Id: I545578a24e44cd73461af47c6074a618c0d2bad4 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|