| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
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: I5be442e3fe38ce840f1f16abb68b55fc880e9232
Signed-off-by: Andrew Geissler <geissonator@yahoo.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>
|
|
|
|
|
| |
Change-Id: I6652c21f914f1a7eb4767ee73e458879bedf8fe2
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ia0d8671b7607b274d99f8b4e640add36bfe2167e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ia141956fd41dcbf1c95573455118c9eb9a169ca9
Signed-off-by: Andrew Geissler <geissonator@yahoo.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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
A year ago I added support for the external mode sysfs file to use when
using cronus. This meant we did not need to un-bind the FSI driver. When
that change went in we also should have removed the now-unused fsi-bind
service.
Change-Id: Ief0c2362f30f4dd7c320bf904000fe11be6b4914
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
| |
Change-Id: I0db419e4a175c47a806b18a76b4e7dcabb2b0091
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I7c3eee7b8c4a888929ece932faea0b77ddc67971
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1e4452449 added a systemd tmpfile config file for the software image
upload path but the config file was added to the systemd recipe.
tmpfile config files should be added to the recipes/config files that
use them. For example on an RPM based distro:
$ rpm -qf /usr/lib/tmpfiles.d/samba.conf
samba-common-4.7.7-0.fc27.noarch
Tested: Validated software.conf present in Witherspoon rootfs
Change-Id: I47e8c8c44eb19440cc98d0380e9634f688eccb21
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
| |
Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.
Change-Id: Ib4c4a0cc166932efa8fd62125e20e71abc292296
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I93b7f69fcc9b17e66846baec051d73a8e9df6c12
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I9ae42e97b85f819adafca286441a7d09baf0548d
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
| |
Change-Id: Iffff6732d670dd8010ff0edc3e2f143394c195ce
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I087c88dc14c3ba29e66ee3dd8b2daa56131a763a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
| |
This bumps skiboot to the latest release.
Change-Id: I43ce295d67801d8196616871a21591abba7c82df
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
| |
There's no need to patch skiboot, we can just use the existing 'prefix'
variable.
Change-Id: I65c00333c86cf1d42aa03760c1317fa479b74a20
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
| |
Change-Id: I86ea9d4df443afd31ce3186bc7e631a2492e2f60
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I9f3585ad9ba51cff151ae3d7071d55110438e6a2
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I2b813d2b8211ddd9706176636a9aaea5e8d7fcf8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I50c26a963017385be81370a600bb67967c09b3f8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Id8768544bd67821cd903558c1b573555e86beabf
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ib2374b15d4a384579606ef714e32bdf10adfbf5f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I9f2f2bde81265e4f30d26dd4294d086a0823becd
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ie2060c060d24a09bef4344882ffc98fc13e70981
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Id843f7bceaaf76797d138f5e40325d288642572a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add the definition for the verify_pnor_signature package
to the base openpower-software-manager recipe.
This package is disabled by default.
Tested: Built witherspoon image.
Change-Id: I8154e53d1db902fab824cc52b0ddccae21ccfd1a
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
| |
This is required for all systems that use hostboot.
Change-Id: I1ff15e4538fa64e369e5ac4b7fb45b68b828f98d
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
| |
This installs the system service and bash program.
Change-Id: If6d73a9ac37d20782dfc0f86f3170b84371461a7
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
| |
This runs the hb_settings script at boot time in order to configure the
SIO registers. It only needs to be done once at boot, as the registers
stick and are not changed in normal operation of the BMC.
Change-Id: I1b24836f2c7e6dfee0a665ea77b6ca7b810553ef
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This shell script is used to configure the SIO registers that are read
by Hostboot at boot time in order to configure settings before IPMI and
other forms of communication are possible.
In the past these were hardcoded in the kernel, which is not an option
now that we support non OpenPower machines in OpenBMC.
Change-Id: If0f4e62cf28849648d1b1611da42e469b786eb86
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The OpenPower part number and serial number should be
coming from the VP and VS keywords in the OPFR record.
Resolves openbmc/openbmc#3174
Tested: Check that the serial and part number fields are
filled in with valid values in the inventory.
Change-Id: I06109a24518975c54be6bf3ec6feb66b89be100a
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I4dd9d87e8f9b70ea6fdcdd017f433ea62b9ee54f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I5ec2b7fea98ea30cc4af9e14b00f3c1f0c3967fc
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Idaa61f76d942a547eed7a5a34f191e3cc5d99e15
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The OpenPOWER host firmware requires OpenBMC to clear out certain
"volatile" sections of it's flash chip in certain scenarios:
- Any fresh power on
- Any boot/reboot of the server where a certain "volatile" sensor is
enabled
This commit utilizes the obmc-host-start target, which is only run during
fresh power on operations, to ensure the volatile sensor is set. The new
obmc-host-startmin target is then utilized to check for this sensor and
clear the host volatile flash sections if the sensor is set. In this
way, the volatile flash sections are cleared on all fresh power on
operations and in any reboot loop that the host has set the sensor.
Testing:
- Clean Power On (cleared as expected)
Starting Enable the clearing of the Volatile PNOR partitions in host0...
Started Enable the clearing of the Volatile PNOR partitions in host0.
Starting Clear the Volatile PNOR partitions in host0 if Enabled...
Clear /var/lib/phosphor-software-manager/pnor/rw/HB_VOLATILE
Started Clear the Volatile PNOR partitions in host0 if Enabled.
- Host Reboot with host running (cleared as expected)
Starting Clear the Volatile PNOR partitions in host0 if Enabled...
Clear /var/lib/phosphor-software-manager/pnor/rw/HB_VOLATILE
Started Clear the Volatile PNOR partitions in host0 if Enabled.
- Reboot during hostboot, before istep 16 (nothing cleared as expected)
Starting Clear the Volatile PNOR partitions in host0 if Enabled...
Started Clear the Volatile PNOR partitions in host0 if Enabled.
Resolves openbmc/openbmc#2397
Change-Id: I56a897ce8919a95f9e80ab730ecabf880723f1f6
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I9fbf94ebb374a764bc4afdff9b4293a89bc75830
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I5247e8c03ba3aac7af517e228cd5ef6554f7e58f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|