Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ifa37049a39e5c92577189383e52c840f29be4025
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I28c430cdd7e846d9416ff82ff729cf6df1b427f8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I64109cd08a2115c83705c5f991bbdc9844e038fb
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Resolves openbmc/openbmc#1938
This reverts commit 45af9a22aabf38474a00698f511e334c14d84c76.
Change-Id: I482d8b14ce1cfcb9022973a9412adff46f458f5f
Signed-off-by: Charles Paul Hofer <Charles.Hofer@ibm.com>
|
|
Change-Id: I15d409e7015a70de01711d88859c4de132ab10c9
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: Icabeddbaaf46b51870c7e7bbd8cec79e9333a1fa
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Add code to start a watchdog daemon before calling the update script
as erasing the flash can take over 10 minutes. This allows us to
reduce the shutdown timeout to a much more useful value.
The code kills the watchdog after the update script returns and
also resets the timeout to a different value by invoking and killing
the watchdog command a second time.
Tested with the following code added before the reboot -f code and
changing the timoeuts:
while :
do
let count=$count+1
echo -ne "\rloop $count"
usleep 100
done
Change-Id: Ibe2337339af67421733230b6a5b6df962618a00a
Signed-off-by: Milton Miller <miltonm@us.ibm.com>
|
|
Delete any existing non-current image on the requested mtd
device before updating a new one to make space.
Resolves openbmc/openbmc#2114
Change-Id: I4dd4a3881bc5c3fb65a753e043fd1e6187967808
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
When an image is updated, update the env variables to indicate
u-boot and kernel the ubi information to find the new image.
Store their current values to the alternate env variable before
updating in case the there chips switch due to a failure,
there is a pointer to an existing version.
Update the env variable if the volume was succesfully updated,
create the ubiblock after the successful volume update.
Change-Id: Ia6e3eb133a6535b5de6ecbba4af262c63f2dc140
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Use the unescaped character in the service file (%I) to be able
to check for the ascii character which is more intuitive. That
way the function in the script can be used by other functions
and just pass the ascii character.
Change-Id: Ie07f33faaccc42eb7fd574fe6d72dac7858c380e
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Add function to update the u-boot mtd by doing a direct flash write.
Add it to the read-only function since u-boot is considered a
non-writable partition.
Change-Id: I73e76ba7153f18b03418ac9b181abc5d31f61f17
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Rebase u-boot patches since the ast-common.h has been updated upstream.
Change-Id: I70ac5f32d1bf1d6572c06fcc6c32bd2c0f6a177f
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Updated the phosphor-fan-monitor service file to invoke the fan
monitoring application in 'monitor' mode (actively updating the
functional states of fans).
Created a phosphor-fan-monitor-init service to invoke the fan monitoring
application in 'init' mode where the fans are set to functional, such as
at poweron.
Resolves openbmc/openbmc#2187
Change-Id: If6d1763d69d69f55b7c69bd8b6496f6c9af70589
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
Change-Id: Id78c5abb388823d229b27dfc3dce3dd17f936499
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I7cdcb0bedccc01069a9f1e8473378a033533e0ab
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I6a28934bb18aa2da30c0966c5d5690603495eb00
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
If the BMC was rebooted while the chassis power was on
then we want the BMC to update it's targets to reflect
this and leave the system as-is. This also applies if
the host is running.
Resolves openbmc/openbmc#2180
Change-Id: Ib9c067d79368db749fd65d050132d15ad793fdbf
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
Add support to be able to specify an alternate mtd device to store
a read-only image. The requested mtd devices should be separated by
a plus sign.
If an alternate mtd device is specified, store the image in the
mtd where root is not currently mounted on to be able to
alternate storage devices.
Change-Id: Ic68584f431a5effe68da3c85b798c5818552108a
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
This commit enables patches from the /usr/local path by replacing
absolute paths to /usr/sbin or /usr/bin in every service file with
"/usr/bin/env ". Additionally, SyslogIdentifier is added to each
file to ensure that journal entries are still distinct.
In two cases, service files also had to change due to references
to ${{PATH}}, which doesn't work with /usr/bin/env. These
references - and the corresponding definitions - were changed to
${{DEVPATH}}.
Resolves openbmc/openbmc#2149
Change-Id: I12c5c6e5101eef6820b985a563313836250ff2c7
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
|
|
Package includes systemd tools for storing and retrieving
coredumps.
Change-Id: I7d71b9a0f055213c6293c3cbd1af26a662e87e2a
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
Add a new package from the phosphor-dbus-monitor project for the
msl-verify application.
msl-verify is not installed by default - machine implementations
must add it to an image manually and configure when it is run.
Change-Id: If1f9eeb4e72e7ef9be4bb900b641906fe3bb2a58
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The phosphor-hwmon project recently added a script for setting the MSL
(Minimum Ship Level) on an inventory item given specific MAX31785
firmware revision criteria. Add a package for this script.
The package is not installed by default - machine implementations
must pick it up themselves and configure when it runs and the script
parameters (inventory items, i2c address, revision...) accordingly.
Change-Id: I71aa589ad86b913d5a0637955817046b9d8de15f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Adriana Kobylak (2):
Add MTD support to Aspeed Flash driver
Add optional MTD and UBI support to ast-common
Change-Id: I9f8b9d2e725f9d2f86f67c9dc52929086dff187a
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
Change-Id: I091e986c95906f5f18688cc12cd4ef596703258b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I55bbe0b0366d3dd53fe5ac0261eba0428d55951f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: Ibe98a2f319415bd5a31e8fdbc2fa22a26821a26e
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Name the BMC volume names consistently in the build process and
applications to be <name>-<id> for readability. For names, use
rofs and rwfs instead of ro and rw.
Change-Id: I860f740fb7d0292e4ee09493730db1d1f67c2ae5
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Update witherspoon to store new software bmc images in the
bmc and alternate chip, use the plus sign (+) as separator
since that one doesn't conflict with the build substitution
function and shell scripting.
Set the default location for bmc images to the bmc chip now
that the listed issues have been resolved.
Change-Id: I7cfe9977bde580f571418d5ea450e58b562d2799
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Change-Id: Ia90000b26e97209c922d63f107520edfcb13545f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I5883b7b6a06ad247b01d9d4ba9ef74b8d0745ba9
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I19622dd6e14d0a5789bd591577d12a81542d672e
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Build resulted in 'ImportError: No module named yaml', due
to missing dependencies on python-native packages.
Change-Id: If03ce0ead136b388950507d347c8bfe720f6d1fd
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
|
|
Andrew Jeffery (1):
net: ftgmac100: Fix oops in probe on failure to find associated PHY
Brendan Higgins (1):
i2c: aspeed: add proper support fo 24xx clock params
Edward A. James (3):
hwmon: (pmbus) Add debugfs for status registers
hwmon: (occ): Return power readings in micro-Watts
drivers: occ: Fix bad list access
Change-Id: I3b3b3e043dd2a8abf1dbec8c199abcb305d908e8
Fixes: openbmc/openbmc#2170.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
Change-Id: I0a6148da3c89b839591cb9d7b9aa318ce8f04275
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I2be8e5f86dca5ad4a8f58f46ce901f8c173f4649
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I0e9a948ccfea8b3802bc2860425e51c9d034fe7d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I8948831e2bc01fef102fa38b567d3b87534783e5
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I9bd29858be06fb982ba1faa0ff21e85862714ced
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I8a9f366266cfa0ef4243100861d929c7cba127d6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Resolves openbmc/openbmc#2104
Change-Id: I04db9d42b2460ae9195a5eee988da8dcf03061c7
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
Change-Id: I8d843c146cea4ba845246078be2ab6e84f65bdc6
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
|
|
Most commercial systems default to "off unless told
otherwise". This commit makes this the default for
phosphor systems.
Resolves openbmc/openbmc#2186
Change-Id: Iafc6bf2556f24d1503de7db4d8db4e278b433ed4
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
Change-Id: Idd29f81761ea29899d1a16ddc036a1120ac9e81b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I1f2946004da3dc8a188e1c09c4b3787f4fc32d9a
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: Ia6e00e68335962520f6a9a2b64a3de0a84d15d6c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Yocto does not apply patches by name, but instead it applies them
in the order that files are added to the SRC_URI variable.
Therefore move the common patch file to the top in the u-boot.inc file,
followed by the optional patches that are enabled via machine feature.
Update the patches so that they apply on that order.
Fix the loadaddr env variable to convert from an int.
Escape bootargs variables to keep the variable names and not have
them replaced during build time.
Change-Id: I28d469c643d66e4b11225f37c3331e471676aec5
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Change-Id: I0c4de2a8468d2227ad57c27e6471074aa41498bd
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I71b694835a695fc3a74daecddf5c687bb7650010
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Phosphor-mapper requires pyphosphor-utils.
Change-Id: Ied92da5e70e9967f926b5f6bd41472cb537f389f
Signed-off-by: Patrick Venture <venture@google.com>
|
|
Change-Id: I62a8c0956a7526a727c9691d94e3794eaf2cc935
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|