| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
With Current Code: when "persist_network_settings" variable is set, This BMC update process via REST copied / backuped the "u-boot-env" image to a wrong location: /run/initramfsimage-u-boot-env
With the Fixed / Updated Cod: Uboot env image is copied (correct) location: /run/initramfs/image-u-boot-env
Signed-off-by: Adi Gangidi adi.gangidi@rackspace.com
|
|\ \ \
| | | |
| | | | |
skeleton: Add dbus objects for adm1278 hwmon sensors
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add dbus object for adm1278 Vout and Iout sensors.
Add the sense resistor as scaling factor in skeleton.
The sense resistor value is used while converting adm1278 'current' and 'power'
register value to real world value. The adm1278 driver does the conversion,
but without taking into account of the sense resistor.
The resistor value need to be set according to Barreleye design.
Signed-off-by: Yi Li <adamliyi@msn.com>
|
|\ \ \
| | | |
| | | | |
Add BMC Flash dbus object to Palmetto
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add the BMC Flash dbus object to Palmetto.py to expose interfaces
to flash the BMC. Without it, there are no interfaces to flash BMC
from REST. This change is already in Barreleye, just porting to Palmetto.
|
|\ \ \ \
| | | | |
| | | | | |
Allow sysfs path to be passed to OCC sensor
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The previous method of overriding this didn't work because
the base class constructor disables the sensor before the path
is updated with the correct one.
Pass it into the constructor so that the path is correct from
the beginning.
|
|\ \ \ \
| |_|_|/
|/| | | |
Wait for init done before claiming bus name
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Wait for initialization to complete before claiming a well known
bus name. This allows other applications to use a NameOwnerChanged
signal as an indication that service initialization has completed.
|
|\ \ \
| |_|/
|/| | |
Remove custom org.openbmc.Object.ObjectMapper usage
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use the standard freedesktop ObjectManager interface.
Moved gdbus OM export calls to the correct place so these
signals are emitted as expected by system_manager.py.
Python apps that use pyobmc are already emitting these
correctly.
Change system_manager.py to watch for the freedesktop
signal rather than the custom one.
Added an sd_bus OM to led_controller.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
No functional changes.
gg=G
set ff=unix
removed trailing whitespace
remove executable perms
|
| | | |
|
| |/
| |
| |
| | |
It never had any hardware to support this in the first place.
|
|\ \
| | |
| | | |
Replace BUILD_ID with VERSION_ID in then inventory
|
| |/
| |
| |
| |
| |
| | |
Add VERSION_ID to the inventory instead of BUILD_ID because
the version (git tag) is the value that gets updated during
a firmware update, the build id remains constant.
|
|\ \
| | |
| | | |
Support for Garrison system.
|
| |/
| |
| |
| | |
Garrison is an IBM branded OpenPOWER system.
|
|\ \
| | |
| | | |
Support for Firestone sytem.
|
| |/
| |
| |
| | |
Firestone is an IBM branded OpenPOWER system.
|
|\ \
| |/
|/| |
Remove CHASSIS_2 from Barreleye.py
|
|/
|
|
|
|
|
| |
FRU_ID 2 corresponds to CPU1 and it doesn't have a CHASSIS section,
so removing CHASSIS_2 since it causes an error on parsing the vpd
data from hostboot and therefore it doesn't get added to the
inventory.
|
|\
| |
| | |
Supporting LED blink at user defined intervals
|
| | |
|
|\ \
| | |
| | | |
Fix host watchdog timer taking double the time to expire
|
| |/
| |
| |
| |
| |
| |
| |
| | |
The g_timeout_add() glib interface does not spawn immediately after it's called
but instead it runs for the first time after the specified interval.
Therefore need to set the watchdog property to 0 instead of 1 when the watchdog starts, and let
subsequent watchdog refresh calls set it to 1, otherwise the watchdog timer expires in double the time that was specified: it waits the interval time and sees it's 1 then waits a 2nd round to see it's 0.
|
|\ \
| | |
| | | |
Replace HOST_POWERED_DOWN with HOST_POWERED_OFF state in Palmetto
|
| |/
| |
| |
| |
| | |
The HOST_POWERED_DOWN has been deprecated and replaced with HOST_POWERED_OFF.
Update the Palmetto config file with the updated state define.
|
|\ \
| |/
|/| |
Update hconsole to account for background sessions
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Proposed change accounts for users connecting to host through "hconsole" who:
a. Have no existing screen sessions to host console
b. Have an existing attached screen session to host console
c. Have an existing detached screen session to host console
ADVANTAGE 1: Accounting for attached screen sessions in background
WITHOUT this change: When a user connected to host via 'hconsole', accidentally gets disconnected from ssh session, they would have an active screen session to host in background. When same user logs back in and executes 'hconsole' to get back to the host console, he would create a new screen session resulting in lost serial data between these parallel screen sessions on same tty.
WITH this change: Said user can ssh back into BMC and execute hconsole and it will :
a) Detach the existing host screen session
b) Reattach to the same
c) His previous state will be preserved.
ADVANTAGE 2: Accounting for dettached screen sessions in background
WITHOUT this change: If user doesn't want to kill the host screen session and disconnect instead, one cannot execute "hconsole" to reattach to the previously detached session.
WITH this change: User connected to host via 'hconsole' can chose to disconnect from host console screen session instead of killing it. When user wants to get back to the console, one need not actively monitor for existing screen sessions and reconnect to it. Instead one can just type 'hconsole' and it would automatically reconnect to the existing session and the state would be preserved.
PRESERVING PREVIOUS FUNCTIONALITY:
If a user with no background screen sessions to host types 'hconsole' , a new screen session will be created (as done previously ) with a name 'hostconsole'. This would help him differentiate between additional screen sessions he may create on BMC itself and BMC-to-Host screen session.
SCREEN FLAGS USED:
-d Detach the elsewhere running screen (if exists).
-R Reattach if possible, otherwise start a new session.
-U Tell screen to use UTF-8 encoding.
TESTING:
Executed 'hconsole' command from modified source in following cases:
a) With NO screen sessions in background
b) With just local BMC sessions in background
c) With BMC-to-Host detached screen sessions in background
d) With BMC-to-Host attached screen sessions in background
e) Combination or (a) and (b)
f) Combination of (b) and (c or d)
|
|
|
|
| |
Signed-off-by: Norman James <nkskjames@gmail.com>
|
| |
|
|\
| |
| | |
Setup VUART
|
| |
| |
| |
| | |
Signed-off-by: Norman James <nkskjames@gmail.com>
|
|\ \
| | |
| | | |
Implement new LED driver
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Copy the changes from pending pull request:
https://github.com/openbmc/skeleton/pull/39
These changes were done in the led_controller_new file, but
need to be ported to file led_controller since it has been renamed.
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Verification for the new LED driver is completed so time to replace the
previous gpio implementation with the new one. This entails
replacing the led_controller file with the led_controller_new file,
updating the dbus interface name so that it is the same as the previous
one, and updating the code with the new led names.
|
|\ \
| | |
| | | |
Re-enable host watchdog
|
|/ /
| |
| |
| |
| |
| | |
Re-enabling the host watchdog.
It was commented out due to a unhandled use case during power off,
and this use case has been addressed.
|
|\ \
| |/
|/| |
Stop watchdog on power off
|
|/
|
|
|
|
|
| |
Stop watchdog if any on a power off request so that it does not
expire if the system is powered off in the middle of a power on.
Clear any existing watchdog timers before honoring a start
watchdog request so that there is only one timer at a time.
|
| |
|
|\
| |
| | |
Fix syntax errors
|
|/ |
|
|\
| |
| | |
skeleton: Rewrite setValue() method for Dbus object /org/openbmc/sens…
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
/org/openbmc/sensors/host/PowerCap
obmc uses dbus interface 'org.openbmc.SensorValue' of the object
'/org/openbmc/sensors/host/PowerCap' to set Host PowerCap.
Rewrite the setValue() method to set PowerCap via the
"/sys/class/hwmon/hwmonX/user_powercap" OCC-HWMON sysfs attribute.
BMC will sends a "Set User PowerCap" command to OCC.
Signed-off-by: Yi Li <adamliyi@msn.com>
|
|\ \
| | |
| | | |
add back in control_bmc
|
|/ / |
|
|\ \
| | |
| | | |
skeleton: Add BMC coldReset() method to org.openbmc.control.Bmc dbus interface
|