summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Corrected the Path to backup image-u-boot-env Adi Gangidi2016-05-111-1/+1
|/ / / | | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #57 from adamliyi/adm1278nkskjames2016-05-112-1/+24
|\ \ \ | | | | | | | | skeleton: Add dbus objects for adm1278 hwmon sensors
| * | | skeleton: Add dbus objects for adm1278 hwmon sensorsYi Li2016-04-232-1/+24
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #69 from anoo1/flashbmcnkskjames2016-05-041-0/+6
|\ \ \ | | | | | | | | Add BMC Flash dbus object to Palmetto
| * | | Add BMC Flash dbus object to PalmettoAdriana Kobylak2016-04-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #65 from bradbishop/occ-sensor-pathnkskjames2016-05-041-2/+5
|\ \ \ \ | | | | | | | | | | Allow sysfs path to be passed to OCC sensor
| * | | | Allow sysfs path to be passed to OCC sensorBrad Bishop2016-04-271-2/+5
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #70 from bradbishop/initdonenkskjames2016-05-041-1/+1
|\ \ \ \ | |_|_|/ |/| | | Wait for init done before claiming bus name
| * | | Wait for init done before claiming bus nameBrad Bishop2016-05-021-1/+1
|/ / / | | | | | | | | | | | | | | | 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.
* | | Merge pull request #61 from bradbishop/omPatrick Williams2016-04-2922-3839/+3656
|\ \ \ | |_|/ |/| | Remove custom org.openbmc.Object.ObjectMapper usage
| * | Remove custom org.openbmc.Object.ObjectMapperBrad Bishop2016-04-2114-138/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Fix compiler warnings for objects/*Brad Bishop2016-04-2112-131/+28
| | |
| * | Whitespace fixes for objects/*.cBrad Bishop2016-04-1315-3769/+3778
| | | | | | | | | | | | | | | | | | | | | | | | No functional changes. gg=G set ff=unix removed trailing whitespace remove executable perms
| * | Add gitignore fileBrad Bishop2016-04-131-0/+6
| | |
| * | Remove fan control support from PalmettoBrad Bishop2016-04-121-7/+0
| |/ | | | | | | It never had any hardware to support this in the first place.
* | Merge pull request #63 from anoo1/versionnkskjames2016-04-291-1/+1
|\ \ | | | | | | Replace BUILD_ID with VERSION_ID in then inventory
| * | Replace BUILD_ID with VERSION_ID in then inventoryAdriana Kobylak2016-04-251-1/+1
| |/ | | | | | | | | | | 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.
* | Merge pull request #66 from bradbishop/garrisonnkskjames2016-04-291-0/+610
|\ \ | | | | | | Support for Garrison system.
| * | Support for Garrison system.Brad Bishop2016-04-271-0/+610
| |/ | | | | | | Garrison is an IBM branded OpenPOWER system.
* | Merge pull request #67 from bradbishop/firestonenkskjames2016-04-291-0/+610
|\ \ | | | | | | Support for Firestone sytem.
| * | Support for Firestone sytem.Brad Bishop2016-04-271-0/+610
| |/ | | | | | | Firestone is an IBM branded OpenPOWER system.
* | Merge pull request #68 from anoo1/cpu1nkskjames2016-04-271-1/+0
|\ \ | |/ |/| Remove CHASSIS_2 from Barreleye.py
| * Remove CHASSIS_2 from Barreleye.pyAdriana Kobylak2016-04-271-1/+0
|/ | | | | | | 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.
* Merge pull request #49 from vishwabmc/masternkskjames2016-03-051-3/+64
|\ | | | | Supporting LED blink at user defined intervals
| * Supporting LED blink at user defined intervalsvishwa2016-02-221-3/+64
| |
* | Merge pull request #51 from anoo1/wdtimernkskjames2016-03-051-1/+1
|\ \ | | | | | | Fix host watchdog timer taking double the time to expire
| * | Fix host watchdog timer taking double the time to expireAdriana Kobylak2016-03-011-1/+1
| |/ | | | | | | | | | | | | | | 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.
* | Merge pull request #52 from anoo1/palmoffnkskjames2016-03-031-1/+1
|\ \ | | | | | | Replace HOST_POWERED_DOWN with HOST_POWERED_OFF state in Palmetto
| * | Replace HOST_POWERED_DOWN with HOST_POWERED_OFF state in PalmettoAdriana Kobylak2016-03-011-1/+1
| |/ | | | | | | | | The HOST_POWERED_DOWN has been deprecated and replaced with HOST_POWERED_OFF. Update the Palmetto config file with the updated state define.
* | Merge pull request #53 from agangidi53/patch-1nkskjames2016-03-031-1/+7
|\ \ | |/ |/| Update hconsole to account for background sessions
| * Update hconsole to account for background sessionsagangidi532016-03-031-1/+7
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* Change UUID to be read from /etc/machine-idNorman James2016-02-111-1/+17
| | | | Signed-off-by: Norman James <nkskjames@gmail.com>
* remove start dependency on LEDNorman James2016-02-101-1/+0
|
* Merge pull request #47 from nkskjames/setup_vuartnkskjames2016-02-102-3/+6
|\ | | | | Setup VUART
| * Setup VUART and point hconsole to VUART ttyNorman James2016-02-102-3/+6
| | | | | | | | Signed-off-by: Norman James <nkskjames@gmail.com>
* | Merge pull request #46 from anoo1/newledsnkskjames2016-02-107-664/+466
|\ \ | | | | | | Implement new LED driver
| * | LED Makefile and polarity fixesAdriana Kobylak2016-02-092-20/+16
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Implement new LED driverAdriana Kobylak2016-02-097-664/+470
|/ / | | | | | | | | | | | | | | 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.
* | Merge pull request #45 from anoo1/watchdogonnkskjames2016-02-081-2/+2
|\ \ | | | | | | Re-enable host watchdog
| * | Re-enable host watchdogAdriana Kobylak2016-02-081-2/+2
|/ / | | | | | | | | | | 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.
* | Merge pull request #44 from anoo1/watchdogoffnkskjames2016-02-082-7/+14
|\ \ | |/ |/| Stop watchdog on power off
| * Stop watchdog on power offAdriana Kobylak2016-02-042-7/+14
|/ | | | | | | 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.
* add support for flashing image-rwfsNorman James2016-02-032-8/+14
|
* Merge pull request #41 from mkumatag/fix_errorsnkskjames2016-02-021-1/+2
|\ | | | | Fix syntax errors
| * Fix syntax errorsManjunath A Kumatagi2016-02-021-1/+2
|/
* Merge pull request #30 from adamliyi/powercap3nkskjames2016-02-012-5/+24
|\ | | | | skeleton: Rewrite setValue() method for Dbus object /org/openbmc/sens…
| * skeleton: Rewrite setValue() method for Dbus object ↵Yi Li2016-01-192-5/+24
| | | | | | | | | | | | | | | | | | | | | | | | /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>
* | Merge pull request #35 from nkskjames/add_control_bmcnkskjames2016-02-011-1/+4
|\ \ | | | | | | add back in control_bmc
| * | add back in control_bmcNorman James2016-01-311-1/+4
|/ /
* | Merge pull request #29 from williamli80/addcoldreset2nkskjames2016-01-316-40/+78
|\ \ | | | | | | skeleton: Add BMC coldReset() method to org.openbmc.control.Bmc dbus interface
OpenPOWER on IntegriCloud