| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
Bump the Nuvoton Linux kernel version to 4.17.14. This includes a fix
for the security vulnerability in #3359.
Tested: Built and ran on the NPCM750 EVB.
Change-Id: Ied49e5486ea84408de16e5b081238acfa3d00ae6
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The OpenBMC build system doesn't currently generate a flash image usable
by NPCM7XX BMCs, and the OpenBMC Nuvoton kernel doesn't have an MTD
SPI-NOR driver.
The MTD image generation build step is failing for the NPCM750 eval
board, so disable it and instead generate a rootfs cpio suitable for
loading from u-boot.
Tested: Built for evb-npcm750 and was able to netboot the board
Change-Id: I8b6275979d78b7d5657e77d25bd74f933c740ea8
Signed-off-by: Benjamin Fair <benjaminfair@google.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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Alexander Amelkin (2):
mtd: spi-nor: fix options for mx66l51235f
mtd: spi-nor: fix spi register address for AST2400
Joel Stanley (1):
fsi: master-ast-cf: Don't set FLAG_SWCLOCK on ast2400
Resolves: openbmc/openbmc#3358
Change-Id: Id2e7b9ba04f891c2a56bde1a6037e4c87ebf624c
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Once upon a time this service was added to initalise the host flash
before starting the host firmware, otherwise some systems would not
boot.
> commit 14f965d8dc806d710218de18357ba7f106484a8e
> Author: Andrew Geissler <andrewg@us.ibm.com>
> Date: Thu May 11 09:54:04 2017 -0500
>
> PNOR init workaround for P8 based systems
>
> The PNOR chip requires an init to be done to it prior
> to starting the host. This is a temporary fix to this
> issue until we get the mboxd function ported to P8.
Ever since e7b0fd568ae2 ("Switch userspace to use MTD access by
default", October 2017) running pflash hs not done this, as it
access the flash through the kernel mtd interface.
A machine could chose use mboxd and the mbox protocol on P8 but it is
not required to fix this issue.
Change-Id: I5c2400063bf776018ef60f2642fb2629c96af0a7
Resolves: openbmc/openbmc#1598
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
| |
Drop the unused meta-virtualization layer.
Change-Id: I14591d81f5d82cad7126921e5978a8707e2221d6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I8473b4c93915d57a513384c38137186353c052bd
Signed-off-by: Alexander Hedges <ahedges@ethz.ch>
|
|
|
|
|
| |
Change-Id: Icf5868a967bc55e5d45a8b58c80bfb6a1aaf96bd
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Id24b1c26d0e91172285f745926d6b0ff538d37f0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ia57c246400656cee580f8fd5f249a05ad44c2715
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In obmc-init.sh, there is "clean-rwfs-filesystem" that clean the rwfs
during boot, but it backs up the files in whitelist, so it is not a
*real* factory reset.
Add a new "factory-reset" option, and when it exists, erase the rwfs
without restoring files in whitelist.
Tested: Set openbmconce=factory-reset in u-boot env, and verify the rwfs
is erased during boot without restore;
Set openbmconce=clean-rwfs-filesystem in u-boot env, and verify
that rwfs is erased with whitelist restored.
Change-Id: Ifdc76da46fe273e9c942f30444173e51f8106fcc
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
| |
Change-Id: Ibbb72012ce64021300413fa4de7f591eb8ae69a0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ia9b517ccea96d32d65f38eeb38cd132a3023ab66
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
| |
This includes changes up to and including the 4.17.14 stable release.
Notably for OpenBMC there are a number of fixes for handling malformed
squashfs partitions.
Resolves: openbmc/openbmc#3359
Change-Id: Ifda0efa9ad4f701777d789dcc68f9dad34d121d3
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I3e4f730965d0c9ec8743c91b40891310fdad0890
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I7ff2e1c95a00c9c5dc62427aca3fe0f1bdf1aa30
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I6f8fca9d7922386a91129a54c9f028d91929a048
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Icb33325493b1bd3dd4f4faf4313cc6918afeceff
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I155c11daa55d454be4eb615d39f907563184c5df
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ibd1e9079fb4a20326f64888e2aa49190262ed9c5
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I715fa2b0e223986143cba7648e46bcd35eb5dc1f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I5a9f2d8a7fdc37fe65d9bd3408162fb5f88db372
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I2a6176fd7dcdb89c94f3e2bc9982143a69882562
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I9dfe7bd38124eb50949a8bae661f6d99c94ce276
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ibee2586ecd5fc5ede67f5707c587c04e8f77f017
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I89305d24643ceb31722b7cfbdaac838700444c48
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I098cd6c6019b1db60d34fcd5a7ad5e645e0e60c9
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
| |
Enables installing the OEM IPMI handler for phosphor-pid-control that
allows setting it in manual mode, or checking if it's in fail-sade mode.
Change-Id: I4e4f31977aa30ae8ef245f78ece02518ec015aca
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
| |
Change-Id: If036922bfabbedc7359bcdde4992122b431cb195
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I665bb97261523cc04253ea0f88cfcc0257d76602
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ic7ce9c574b443e295951bcfe5d484a3e56b910da
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2016.09.16 -> 2018.03.13
License-Update: s/http/https/ in the license requires md5sum update.
(From OE-Core rev: ac0bdebcc415f0ad448a41907d4e6a23f4855813)
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From Yocto rev: 7a4684c381772b9605111a96f4baf9e8974b1bd7)
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I5374b42ab5a2390503d998ef1877001d7b44d780
|
|
|
|
|
|
|
|
|
|
| |
this is the bitbake portion of the renaming of libapphandler to
libipmi20. The shared object contains much more than just app commands,
so it should be named something more generic.
Change-Id: I8e89252a32cb0a331bf31fccf0cff525bca556b0
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
(cherry picked from commit 06e58138a8ddaed752e401383e3c326791f59cfd)
|
|
|
|
|
| |
Change-Id: Id5b1ace9f039ca40ad15c46bc5e19415f6a0a3d6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Phosphor-snmp provides the D-Bus service named network-snmp-conf
which is used to configure the snmp manager details.
Phosphor-snmp also provides the lib which is used by the client
to send the snmp trap.
Phosphor-snmp uses the net-snmp libs to send the trap.
net-snmp provides the following packages
net-snmp-libs,net-snmp-server, net-snmp-client,
net-snmp-server-snmpd-netsnmp-server-snmptrapd.
To send a trap we are interested only in the net-snmp-libs.
By default the net-snmp-libs is having the code enabled for server
sepcific functions which makes the libs heavy.
This commit adds the recipe for phosphor-snmp and the service file
for D-Bus service(network-snmp-conf) and disables those features
from net-snmp which are specfic for MIB parsing,snmpd and snmptrapd.
However this features may be required if we start using
the snmp agent functionality.
Change-Id: I6ff36fcd378db2f506b0621569693d66d7de79e9
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default phosphor-reboot-host@.service sleeps for 5 seconds between
power off and power on.
Make the sleep time as configurable parameter in environment, so
different machines could use different sleep time.
Tested: Verify the sleep time is from the config file.
Change-Id: I81d17e56010fe595dd46295923746f8678678209
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
| |
Change-Id: I371409c5c223cb123a65d7167cb859b36bb8c35a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
| |
The latest version uses a unified firmware binary, so we can use the one
binary on all machines.
Change-Id: I59525c9203a491ac786a5199e457c1847a4ae0e0
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
| |
Change-Id: I76c0bd2e79acf887fd19a1dfb83ebc597722fcfb
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|