| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The new subtree paradigm has moved the meta-bsp layers to the top level
Change-Id: Ic4f64c39465be699bed3649e125e027d17daf938
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
| |
As part of the move to subtrees, need to bring all the import layers
content to the top level.
Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sensorNamePattern is missing the Romulus sensor yaml config.
Add it by sensor_yaml_config.py:
sensor_yaml_config.py -i config.yaml -o output.yaml -f
Tested: Verify the sensorNamePattern is added and it is the same as
Witherspoon's yaml config.
Change-Id: I4a21b4bb896ec058b5ac1e40fbda934516b62929
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add cpu core, dimm temperature sensors.
The yaml is generated from romulus.rpt by sensor_yaml_config.py
sensor_yaml_config.py -i config.yaml -o output.yaml -e -r romulus.rpt
Tested: Verify that core/dimm temperature sensors are returned by
ipmitool sensor command.
Change-Id: Ic564233d93d6a6297eff6368c14632a9e85258e1
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add entityID and entityInstance to sensor config yaml, with the help
script from
https://github.com/mine260309/openbmc-tools/blob/dev-mine/leiyu/obmc-utils/sensor_yaml_config.py
Tested: Verify it passes the build.
Change-Id: Ie9e1861e8c8e2919b88dabc387d8c1234486df51
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Sort the sensor yaml config using PyYAML by loading and saving the yaml.
This is a preparation for further changes of sensor configs.
Tested: Verify the generated sensor-gen.cpp is technically the same as
before.
Change-Id: I1315072b36236bb2eff01eb5d1507641e7978b42
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
bmc-fru-config.yaml defines the frus from BMC.
Romulus has 3 fans.
Tested: Verify that fan frus are shown with ipmi fru list command.
Change-Id: I9cd5a93c4711a0f336058617403c6560547a6121
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
In phosphor-ipmi-host, channel.yaml sets the info about number of
available Ethernet channels.
Romulus has eth0 only.
Tested: Verify the generated channel-gen.cpp reflects this yaml
config.
Change-Id: I902f6b0adb6066ad2c4f1654a4614bbf012e36a5
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Serve the mostly pre-compressed static webui content via nginx. If nginx
can't find a static file, proxy the URI back to the rest server.
A follow-up commit will remove code that serves webui from the
phosphor-rest-server.
Tested:
- The webui, rest server and bmcweb seem to be working as before.
- curl -H "Accept-Encoding: gzip" https://<witherspoon>/foo.html
is served compressed content.
- curl https://<witherspoon>/foo.html is served uncompressed
content.
Change-Id: Ice443f00a467f3558f28d697261df4f23278f420
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
This was moved to STATIC_HOSTING and the default for it (on)
is what the IBM layer wants
ref: https://gerrit.openbmc-project.xyz/#/c/openbmc/bmcweb/+/11905/
Change-Id: I4da0bdacc3a36c2760058f60de446e97817514f6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
| |
This is used by the ColdFire FSI driver. All OpenPower machines will be
switched over to this driver, so it makes sense for it to be in the
common layer.
Change-Id: Iccd9e793169564c78a295ff3a44b7397ba67c091
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove meta-virtualization from any bblayer.conf.samples. It was
originally added for the python-pyyaml and python-gevent recipes
but better maintained versions of these recipes are provided by
meta-python.
Before this can be done the python-gevent bbappend in the phosphor
layer must be removed. The version scope was wildcarded to any version
but the patches don't apply to python-gevent_1.2.2, which becomes the
default from meta-python when meta-virt is removed. Drop the bbappend.
Change-Id: I6658a163460e3c8e63dc7371ffff803a7b6915b5
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moves Palmetto to use the kernel API, and the ColdFire master driver.
This change bumps the kernel (with device tree changes) and the skeleton
repository for a corresponding op-hostctl (host_control.exe) change.
Palmetto is the only system in the tree using this code. Any out of tree
systems (such as other P8s) must switch to using the kernel interface as
well.
Skeleton changes:
Joel Stanley (1):
hostctl: Move to kernel FSI interface
Linux changes:
Benjamin Herrenschmidt (2):
ARM: dts: aspeed: Add Power8 CFAM description for use by Palmetto
ARM: dts: aspeed: Palmetto system can use coprocessor for FSI
Change-Id: I43aada22c9d7b21dc24bd5aae3c4dcb77bdaaa8f
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes the 'pnorboot' tool for configuring the LPC firmware
mapping.
This is used by Palmetto instead of mboxd, as Palmetto only requires the
LPC mapping component. The mbox component causes interrupts to be
continually triggered on the host, causing unnecessary CPU load.
As Palmetto is the only in-tree user of this tool, the service file hard
codes the PNOR size. If we merge machines in the future this should be
configured by the machine layer.
Resolves: openbmc/openbmc#3357
Tested: Booted host on Palmetto, checked interrupt count
Change-Id: I87daafa5008e978afd3a5fc386b347b014624911
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default phosphor-reboot-host@.service sleeps for 5 seconds between
power off and power on.
On Romulus, this interval is not enough for CPU to clear the error
status, e.g. checkstop status.
Increase the interval to 8 seconds to makre sure the status is cleared.
Resolves openbmc/openbmc#3330
Tested: Verify the checkstop status is cleared after error injection.
Change-Id: I14ab9975fe820e7fba27feaf1da32a2903d4bc13
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Put behind nginx and only activate when /redfish is
queried via https.
Testing: Verified that with this change in bmcweb:
https://gerrit.openbmc-project.xyz/#/c/openbmc/bmcweb/+/11518/
that redfish commands can successfully be sent via nginx
on the witherspoon qemu model.
Change-Id: I97509dc3484deffd06c3d60db710eb3b17dfccb5
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I09eff172c39d44d5e7a32552cfb34c68b58acfe8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add fault groups, e.g. core, dimm fault groups in led config, so that
fault monitor could set related fault group to turn on the fault led.
Tested: Verify the led fault groups are created, and when asserted, the
fault led is turned on.
Change-Id: Iace27d605c11b8c5b3d33685eecdaffb402fc6ad
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
| |
Starting with sumo, bitbake emits a warning if this variable is
not set. Indicate sumo branch compatibility.
Change-Id: I592ecf6f9940004b2dccb0f4217464d389c771d4
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
This commit adds witherspoon specific json file that specifies
whitelisted URLs to be allowed access by REST server.
Change-Id: Iaa9c77a38ac60748df8d819191596c17c635a18a
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
yocto requires bbappend paths match the path of the
layer that is being appended to. This was working with
prior yocto releases but seems like the latest now
enforces this rule.
Testing: Verified override conf files are back in witherspoon
image.
Resolves openbmc/openbmc#3316
Change-Id: Idaace35871276ad20ef4d5bef51974fcdfbce9f1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I05a4bb07a08cc6e89df302b2f25531a665118e1d
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
phosphor-ipmi-inventory-sel provides a yaml config for sel events, and
Romulus was using the default one, which makes the sel events not
mapping to the expected devices.
Provide a yaml config that matches Romulus system.
Tested: Inject error and check SEL logs are correctly parsed by
openbmctool.py in openbmc-tools/thalerj.
Change-Id: Ic2a03a34e98bb383e32ef902f1a5da1d6ee6fe9e
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Romulus was using the exmaple callouts yaml and it is just a dummy one.
Provide the real callouts yaml config for Romulus.
Tested: With the following commit, verify CALLOUT_INVENTORY_PATH is
correctly set when CPU error is injected and the event is sent
to BMC.
Change-Id: I266c51cc52ebdd770dd332c50e26ed3e8cd65155
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
| |
That project was killed.
Change-Id: I8fec67b0136f7302f43f45223606bf7410c628d3
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Somewhere between systemd 234 and 237 the install process stopped making
/usr/lib/systemd/network for us. When we move to Yocto 2.5 this will
result in an install failure.
bitbake.conf provides a variable for /lib/systemd. Use it, as it's the
correct location for these configuration/unit files anyhow.
Tested: Booted QEMU witherspoon image to shell:
Change-Id: I000b6f1b5548efb920d31226558159cba3deb8d6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
| |
Technically bitbake does not care where bbappends live but the
universal norm is to put bbappend files in the same directory
as the base recipe. Update to match meta-witherspoon and oe-core.
Tested: Booted QEMU witherspoon image to shell
Change-Id: I9b06de644ae414f76c2b8f390a6d32fe1e3e55d2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
| |
This enables webui hosted by Romulus machine.
Tested: WebUI works fine on Romulus.
Change-Id: I29cefdb07892717d3bb2397647a5e2dbf701dc8e
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous phosphor-dbus-monitor rules would only watch
for the functional property to change on a fan, and then
resolve errors for that fan if the property changed to true.
This change will watch for both present and functional property
changes, and resolve fan errors if both properties are true at
that time.
This closes the window of where if a fan is removed long enough for
the present property to change to false but replaced fast enough
that the functional property always stays true then the NotPresent
error that was created will never get resolved so the fault LEDs
won't turn off.
Resolves openbmc/openbmc#3231
Tested: Various combinations of Present/Functional property state
changes and also fan plugs/unplugs.
Change-Id: I3255c0510b95509810b018a2a71d307bd7d4a946
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
OE norms dictate recipes that track HEAD be named:
foo_git.bb
and set PV explicitly to "x.y.z+git${SRCPV}"
Change-Id: Iaeffab1e3bb1df6720ae4e236c3515fb1ec30cc8
Tested: Built the obmc-console recipe
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I71ef26fc33bf9a7f85eaf59bc48139d8b42d0929
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
| |
The Aspeed layer now supports both chips and the SOC specific layers
do not have any content. Drop the redundant layers.
Change-Id: I48a813fe4c02b8fc8861c6dd58906ae559c64403
Tested: Built and verified witherspoon and palmetto images
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename linux-obmc to linux-aspeed and move to the Aspeed
layer. Like recipes for u-boot forks, recipes for kernel
forks in support of different SOCs are typically provided
in the BSP supporting the SOC.
Moved a number of phosphor-isms out of the kernel recipe and put
those in a bbappend in aspeed-layer/bbappend.
Removed COMPATIBLE_MACHINE setting. We simply use PREFERRED_PROVIDER
in machine configuration files to set the default kernel recipe.
Tested: Booted spoon/palmetto images using QEMU
Change-Id: I7dc73629cad4789dcd5aeb0f7b6214fe064c6adc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
CONFIG_HWMON is implied by the drivers that use it, so we do not need to
specify it in the defconfigs.
Change-Id: I1c6e8679412f80dc0db69ef0f72a9c73e8602fb9
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
| |
Change-Id: I800864610120826ca4d9abbfbe59e66606d77d29
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the supported ciphers to those under the
"Modern" section for mozilla.
https://wiki.mozilla.org/Security/Server_Side_TLS
Resolves openbmc/openbmc#3209
Tested: Built image and verified nginx correctly starts
and REST api't still work as expected.
Change-Id: I6692b42b6a1dec10e51b72654e75da4f0c0d3b99
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
| |
channel.yaml keeps the info about number of available Ethernet
channels on the given machine.
Resolves openbmc/openbmc#3191
Change-Id: I904e02a96bb6f295c6456b8a8ba26e756c218df0
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
|
|
|
|
|
| |
Change-Id: Ib13ae97aaba4a0af0aefb5b4dbd2d0d6f3c08728
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
| |
Firestone was never fully working, and has no maintainer. Remove it
from the tree.
Change-Id: I0e64b5c01766c154f642c7314acdc2dff9251082
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
| |
Garrison was never fully working, and has no maintainer. Remove it
from the tree.
Change-Id: Ifbdb8c955a2b9d1777844046a13afca9401ced72
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make this service have a .wants dependency to the
obmc-chassis-poweron@.target instead of .requires. This way
if it fails, the power on will still continue, just without
the failing drivers bound to their devices.
The drivers are only used for surfacing hwmon temps and voltages.
The only ones of those actually used by code are the water
cooled witherspoon VDD VRM temperatures which are used by fan
control, and fan control can deal with missing VRM temps.
Tested: Inject a fail into the bind script, and ensure the service
fails but the power on still continues.
Resolves openbmc/openbmc#3205
Change-Id: Id7551b8dd9e36c105f11e91697035d7ca90bdec3
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enhanced the ir35221-unbind-bind.sh script to:
1) Retry a few times on failures binding the device driver.
2) Still try to bind other devices even if one device fails.
The script will still return a nonzero exit code if any of
the binds fail.
Tested:
* Do several power cycles.
* Modify script to fail a bind. Check that it returns nonzero.
Change-Id: Ia235557292d792998a1c10260fe2bf8b2e631b2c
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A change was put in to wait 10 seconds before powering off a system when
too many fan enclosures were non-functional, this reverts that change
back to the original 5 seconds. The original change was done to help
mitigate a performance issue where PDM was held off from being able to
process fan functional state changes.
Reverted change: https://gerrit.openbmc-project.xyz/#/c/8352/
Tested:
System shutdown after 5 seconds with 2 non-functional fan enclosures
Change-Id: If40b54f475a54d151439922fc0893686caeb8ae7
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
|
|
|
| |
To support fixed flash layout that contains 32MiB image, manifest,
publickey and signatures, increase client_max_body_size to 33MiB.
Change-Id: Ibc5ecfd907a2fe796e4767ecfdec2ea7bb1543b1
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
| |
Change-Id: I44e2841df9e7a13c350785b7e487bdc95a68cb9e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
| |
Add the sync manager which watches for files to be synced
to the alternate BMC chip.
Change-Id: I543dacf389629c024b35d1b855745bbcc0bbd848
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I75cd0dcc7f42ae34cab232312f1f453f28cd480d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I20e9eff239665a76be1813cd1aa8bb49eee04382
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable signature verification in the openpower-software-manager code
for witherspoon. This causes an error to be logged if updating to
an unsigned image, or image signed with a different key than the one
on the system, and if field mode is set, it'll stop the activation
process.
Tested: PNOR signature verification is enforced on witherspoon,
verified error is logged with and without field mode enabled, and
activation is prevented with field mode enabled.
Change-Id: I6b8b74f146066da058e137779faf9af157f7131b
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make both romulus-ipmi-inventory-map-native and
romulus-ipmi-fru-read-inventory-native recipes use the same yaml config.
Resolves: openbmc/openbmc#3134
Tested: Verify the generated fru-read-gen.cpp reflect the yaml config
and ipmi fru command prints the correct FRU information.
Change-Id: If52a883e0901d44cea473ac67e89d4361cd5354c
Signed-off-by: Lei YU <mine260309@gmail.com>
|