Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
If the name of the volume is passed to ubirmvol to be removed,
ubirmvol searches and stores the information for the available
UBI volumes, such as id, type, name, etc. If a volume is
deleted by another process while this search is in process,
ubirmvol would fail, which is the case when removing a PNOR
version since 2 separate systemd service files remove the
read-only and read-write volumes.
Instead pass ubirmvol the volume id instead of the name, so
that the ubirmvol doesn't need to do any searches and instead
knows which volume to delete.
Closes openbmc/openbmc#2863
Tested:
Verified a Delete operation does not fail with a
ubirmvol error leaving the rw volume behind. Ex:
Aug 01 16:43:03 witherspoon systemd[1]: Starting Remove UBIFS volume pnor-rw-5ac20d5d...
Aug 01 16:43:04 witherspoon systemd[1]: Starting Remove UBIFS volume pnor-ro-5ac20d5d...
Aug 01 16:43:05 witherspoon obmc-flash-bios[1458]: libubi: error!: cannot read "/sys/class/ubi/ubi8_0/type"
Aug 01 16:43:05 witherspoon obmc-flash-bios[1458]: error 19 (No such device)
Aug 01 16:43:05 witherspoon obmc-flash-bios[1458]: ubirmvol: error!: cannot find UBI volume "pnor-rw-5ac20d5d"
Aug 01 16:43:05 witherspoon obmc-flash-bios[1458]: error 19 (No such device)
Change-Id: Ib9aaeef4bfc268f3dac29288a469256bc771e195
Signed-off-by: Adriana Kobylak <anoo@us.ibm.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>
|
|
With commit 494894d69c88cf4909993227af2dd8f2ca938752,
the code to perform a factory reset (ubiclear) is now an API
call instead of a service call, so we can remove the service.
Tested: Host factory reset still works.
Change-Id: Ifb5876eee30332b2e6c0923cf315349c69c78fcc
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Change-Id: I5fa2416a10f17356b8d93e45852ce2aba1477bf3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The motherboard or 'node' should implement the Inventory.Item.Board
interface, and not the Inventory.Item.Chassis interface.
The patch lets us view contained systems via the redfish/v1/Systems API
on openpower boxes running bmcweb.
Change-Id: I1a8755636b516e2284d4fa09391ce88cad113ec5
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
Update LED Manager recipe to support Lanyang machine
Tested: Built the LED recipe then checked the LED behavior
on Lanyang
Change-Id: Ic6be977815897007e09ebc685f1e714be02c36c9
Signed-off-by: Brian Yang <yang.brianc.w@inventec.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: Iadf107e86a6fb343bbf6292ebbdd71a4b1ae101f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This bumps skiboot to the latest release.
Tested: Built on a Witherspoon
Change-Id: I7fc9d0f3e236fd6734617ddd86e27ed06ba2770b
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
Change-Id: I09eff172c39d44d5e7a32552cfb34c68b58acfe8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Initially interested in bmcweb for its redfish support
Change-Id: Ia180a895c8db2b184a455cd3be2bf28db4c4116d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I6770247bb9202d68ab9f9e4140c60ff2201b8d03
Signed-off-by: Amithash Prasad <amithash@fb.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>
|
|
Change-Id: I5be442e3fe38ce840f1f16abb68b55fc880e9232
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Ib6fa73502384669f8e6cca209f7ca34abd0fa2cf
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Bitbake warns when this variable is not set for a layer. Set it in the
Nuvoton BSP and EVB layers to indicate sumo branch compatiblity.
Change-Id: If2dd63954ca88d0dc4e0427eb6c3ccf035681585
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
|
|
It looks like the socket activation part of the recipe got missed in
the review. bmcweb can boot without it, but it's still desired to
allow people to change what port bmcweb boots on per platform.
Tested By: Launching image and verifying bmcweb boots on port 883, and
all services are available.
Change-Id: Idba19082d80ea4007c6a450219481756bd03938b
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
|
|
Move support for the npcm7xx SOCs directly into the meta-nuvoton BSP
layer. This matches the layout for other chip vendors' BSPs.
Change-Id: I47ac7a5b02cf87f6dd60d0f6fba2463c18e9fdf1
Signed-off-by: Benjamin Fair <benjaminfair@google.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>
|
|
This commit adds a json file that specifies whitelisted URLs to be
allowed access by REST server for openpower layer.
Change-Id: I14b1c40db87c7806a86e34b0b7ca12c2bcd20635
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
|
|
Starting with sumo, bitbake emits a warning if this variable is
not set. Indicate sumo branch compatibility.
Change-Id: I231b7d38f4dea0e34f408bd6d721dd221abf3545
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.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: I6652c21f914f1a7eb4767ee73e458879bedf8fe2
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I05a4bb07a08cc6e89df302b2f25531a665118e1d
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
Change-Id: Ia0d8671b7607b274d99f8b4e640add36bfe2167e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add AVSBus control script.
Add systemd services to enable AVSBus after power on and disable AVSBus
at power off.
Add bitbake recipe to install script and services.
Remove p9-vcs-workaround in the lanyang.conf and p9-host-start.bbappend
because there is no UCD on lanyang platform.
Change-Id: I3508776ff2b3ef5378af840f096d1cc4420f5062
Tested: built image correctly then can boot to host.
Signed-off-by: Brian Yang <yang.brianc.w@inventec.com>
|
|
Change-Id: I4a85d84158ba8ff14b5de2452c353f865188486c
Tested: Built lanyang image correctly uses the Lanyang.py's config.
Signed-off-by: Brian Yang <yang.brianc.w@inventec.com>
|
|
The obmc-console.bb on meta-phosphor
(openbmc/meta-phosphor/common/recipes-phosphor/console)
has been renamed as obmc-console_git.bb so we rename
obmc-console_%.bbappend to fit it.
Please refer below link:
https://github.com/openbmc/openbmc/commit/586e2261981bd999e31875b870569d6cfac86f58
Change-Id: Ic199f46e8a010378ec52de82201aef9b3617bdbd
Tested: Built the obmc-console recipe
Signed-off-by: Brian Yang <yang.brianc.w@inventec.com>
|
|
Starting with sumo, bitbake emits a warning if this variable is
not set. Indicate sumo branch compatibility.
Change-Id: Ic95fb7929b2115c4659abf5632c4954cdd9a4440
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change-Id: Ia141956fd41dcbf1c95573455118c9eb9a169ca9
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Update bmcweb recipe to pull in the new dependencies (sdbusplus) and
drop old (boost-dbus and libdbus), as well as bump bmcweb to the latest
Change-Id: I056c6c835f7f4f4aa7891e0d3afca70ec70712bc
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
|
|
The hub scan was removed, now it's just the regular fsi-scan.
Change-Id: I9fc73d5a21cb3233311f2eb5d583311461ed6cc7
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
Tested: system boots and reboots
Change-Id: I3c122f0a1f1f186e831a5e8965c9168f9bf15690
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
Change-Id: I5110c3a82fd035c7ee3ba143c9b249e3bf69247a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Id9dd42affea6437030bc267b15bc44b48cb00eef
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Need the ${D} in the copy destination.
Tested: Check that the errors now show up in the elog-lookup.cpp
file generated during the build by phosphor-logging.
Change-Id: I70d0b0acde98c697cadd2c4c50f0f16088014ce2
Signed-off-by: Matt Spinler <spinler@us.ibm.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>
|