summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-07-19nuvoton: Set LAYERSERIES_COMPATBenjamin Fair3-0/+3
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>
2018-07-19Tell phosphor-logging about the sw-mgr error yamlMatt Spinler4-6/+27
This needs to be done so phosphor-logging will know to grab the error log's metadata from the journal and add it to the log in the AdditionalData field. Tested: Check that the errors now show up in the elog-lookup.cpp file generated during the build by phosphor-logging. Change-Id: I59e357986ac56ea752c9f7241a5138eb4985ceb6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2018-07-19Tell phosphor-logging about the LED error yamlMatt Spinler2-0/+22
This needs to be done so phosphor-logging will know to grab the error log's metadata from the journal and add it to the log in the AdditionalData field. Resolves openbmc/openbmc#3015 Tested: Check that the LED errors now show up in the elog-lookup.cpp file generated during the build by phosphor-logging. Change-Id: I9bcbf1b1c8d7499e4ef8e384005c34b858d25a7d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2018-07-19python2: Fix build with gcc8Ross Burton3-0/+45
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Change-Id: Iddcb02c07c457cb27d6e0f69b7bbf6c4a14e61d3 [patch from openembedded-core mailing list] Signed-off-by: Joel Stanley <joel@jms.id.au>
2018-07-19Fix bmcweb socket activationEd Tanous2-1/+10
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>
2018-07-19phosphor-host-postd: allow configuring the daemonBenjamin Fair2-2/+8
This adds variables to the recipe file which specify the name of the LPC snoop device and the number of bytes per POST code. The variables can be easily overridden in a platform-specific bbappend. Change-Id: Ia7778a72b62225238d2142c62b8e88e5e8ca33ee Signed-off-by: Benjamin Fair <benjaminfair@google.com>
2018-07-19Add dependency to the chassis state serviceMatt Spinler1-1/+1
On startup, the service attempts to read the PGOOD property to know if the system is already on. For that to work, the org.openbmc.Control.Power service must already be running, so ensure that is the case. Having this check working right allows the code to know if there was an AC loss while booted. Resolves openbmc/openbmc#3266 Tested: Check that the service knows power is on when rebooted at runtime. Change-Id: I1314865609ecdf3765603f8bd8ed1add6888e558 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2018-07-19Add recipe for phosphor-ipmi-kcsEd Tanous2-0/+46
This recipe adds a target and support for building phosphor kcs bridge daemon. The phosphor KCS bridge daemon is very similar to the block transfer bridge daemon, in that it is capable of briging requests from the KCS driver into dbus, and return the appropriate responses. Keyboard Controller Style interfaces are commonly on server platforms for BMC communication to a host system. This also includes a modification from Benjamin Fair <benjaminfair@google.com> that allows selecting the kcs device at compile time, sourced from here: https://gerrit.openbmc-project.xyz/#/c/11476/ Change-Id: I05eea9f12e2460e2514f657aeb1d055d0e48851f Signed-off-by: Ed Tanous <ed.tanous@intel.com>
2018-07-19meta-phosphor: nuvoton-layer: add gpio-keys kernel featureBenjamin Fair3-0/+13
The phosphor-base.inc distro file enables the phosphor-gpio-keys KERNEL_FEATURE. Add support for this feature to the linux-nuvoton recipe via a bbappend in meta-phosphor's nuvoton layer. Tested: Built and ran on NPCM750 EVB Change-Id: Id957c6209ebb841fce2cdad1cc0790e0d58da60c Signed-off-by: Benjamin Fair <benjaminfair@google.com>
2018-07-19nuvoton: move npcm7xx support into meta-nuvoton layerBenjamin Fair14-21/+13
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>
2018-07-19phosphor-led-manager.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I6373776531963351831420fea39d88fc3995e8bf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-19phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Ib55af6f615cacbf74eb081e0ca33e9683d8dd7bf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-19phosphor-rest.inc: bump versionAndrew Geissler1-1/+1
Change-Id: If88a42419c4acde338488d9c092b787d29b820a1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-19gcc: Backport fixes for std::pair high memory usageJoel Stanley2-0/+59
When building some phosphor packages, a particular use of std::pair with tempates causes the build to require many gigabytes of RAM to build. This is a fix that was applied to the upstream GCC 7 branch that should help reduce the memory usage. If we ever move to GCC 7.4 this patch can be dropped. Change-Id: I213f96d1d6332e2dce5765482ff3413f1abd7ff8 Signed-off-by: Joel Stanley <joel@jms.id.au>
2018-07-19ibm: Set LAYERSERIES_COMPATBrad Bishop4-0/+4
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>
2018-07-18Get whitelisted URLs - witherspoon jsonNagaraju Goruganti2-0/+15
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>
2018-07-18Get whitelisted URLs - openpower jsonNagaraju Goruganti2-0/+15
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>
2018-07-18Get whitelisted URLs -jsonNagaraju Goruganti2-0/+23
This commit adds a json file that specifies whitelisted URLs to be allowed access by REST server. Change-Id: Ie9aaa6a1f9de00799e22af450c436d5e791c4b2a Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
2018-07-18ingrasys: Set LAYERSERIES_COMPATBrad Bishop2-0/+2
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>
2018-07-18Move systemd bbappend to match base layer pathAndrew Geissler4-0/+0
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>
2018-07-18kernel: Move to 4.17.7 stable releaseJoel Stanley1-2/+2
This bumps the openbmc kernel to the latest stable release. Change-Id: I32b8c55c8a0759cc2b732dd7803171423a7e5b3c Signed-off-by: Joel Stanley <joel@jms.id.au>
2018-07-18kernel: FSI fixes, FSI ColdFire master, AST2400 scratch regsJoel Stanley3-1/+3
Benjamin Herrenschmidt (4): fsi: sbefifo: Fix checker warning about late NULL check fsi: Don't use device_unregister() in fsi_master_register() dt-bindings: fsi: Document binding for the fsi-master-ast-cf "device" fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire Guenter Roeck (1): fsi/sbefifo: Add dependency on OF_ADDRESS Joel Stanley (2): fsi: master-gpio: Sync with 'Add missing release function' ARM: dts: aspeed-g4: Expose SuperIO scratch registers Wei Yongjun (1): fsi: sbefifo: Fix missing unlock on error in sbefifo_dump_ffdc() Change-Id: I7b14830959e9e3ed4c1e38cf1a8106370f53b62a Signed-off-by: Joel Stanley <joel@jms.id.au>
2018-07-18phosphor-host-postd.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I3c677f730dddcc1fced75176c4a2cd65cc7b5fae Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-17phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I07e4095903ca89884d172657472b2a83d4ae8697 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-17openpower-software-manager.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I6652c21f914f1a7eb4767ee73e458879bedf8fe2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-17phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Ia7c156eb9b24017098064432f7632e3274ccf8d3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-17phosphor-software-manager.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I7685577363722d767cfb881d8388824812c06265 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-17image_type_phosphor: refactor signatures generationLei YU1-12/+12
There are duplicated code about generating signatures. Combine the duplicated code into a bash function so the code is cleaner and easier to read. Tested: Generated tarball contains the expected files. Change-Id: I4144633f36291329dfc4008bb73482fb5a0d43c1 Signed-off-by: Lei YU <mine260309@gmail.com>
2018-07-17meta-romulus: Enable image signature checkLei YU2-1/+2
Change-Id: I05a4bb07a08cc6e89df302b2f25531a665118e1d Signed-off-by: Lei YU <mine260309@gmail.com>
2018-07-17phosphor-software-manager: ubifs_layout package configLei YU2-0/+3
Add ubifs_layout package config and pass --enable-ubifs_layout configuration option when ubi-fs distro feature is enabled. Tested: Verify --enable-ubifs_layout is passed to phosphor-software-manager's config for Witherspoon; And it is not passed for Romulus. Change-Id: I6daa0c565d2c2be980b6292e62654c0a86a69bbc Signed-off-by: Lei YU <mine260309@gmail.com>
2018-07-16openpower-software-manager.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Ia0d8671b7607b274d99f8b4e640add36bfe2167e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-16Remove TODO in phosphor-reset-host-running serviceAndrew Geissler1-1/+0
This TODO was properly addressed but the comment was not deleted Part-of openbmc/openbmc#2207 Change-Id: I410e2a95707c1c14c3d0699af00c7dcb874cef23 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-16npcm7xx: kernel: replace linux-obmc with linux-nuvotonBenjamin Fair5-4/+29
The linux-obmc recipe has been removed and BSPs are expected to provide their own Linux recipes now. This updates the Nuvoton BSP to include its own Linux recipe so it can build successfully again. Change-Id: I61e0cf0745be6ae4e282b32abf36aad4c5f4b860 Signed-off-by: Benjamin Fair <benjaminfair@google.com>
2018-07-16Correct the dependency for state related service filesTom Joseph3-6/+8
The dependency on the legacy system service is obsolete and so it is removed. The dependency on the mapper is added. Change-Id: I6afd2020f73829df7c5a53342087a3051939928d Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2018-07-16meta-lanyang: add AVSBus script, servicesBrian Yang6-1/+159
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>
2018-07-16meta-lanyang: add Lanyang config recipeBrian Yang1-0/+5
Change-Id: I4a85d84158ba8ff14b5de2452c353f865188486c Tested: Built lanyang image correctly uses the Lanyang.py's config. Signed-off-by: Brian Yang <yang.brianc.w@inventec.com>
2018-07-16meta-lanyang: Rename obmc-console recipeBrian Yang1-0/+0
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>
2018-07-16Fix to speed up boot to BMC Ready stateTom Joseph2-2/+0
The legacy services(like system and chassis) was assigned nice value of 19 to alleviate CPU stress at boot time. The systemd bootchart showed that many services are dependedent on the system service. The nice is set to default value of 0 and there is a consistent improvement of ~10 sec in BMC getting to ready state. Change-Id: I8f9f76da0a36c136243026aa7d7691e814634987 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2018-07-16openpower: Set LAYERSERIES_COMPATBrad Bishop1-0/+1
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>
2018-07-16linux-aspeed: Fix defconfig SRC_URILei YU3-2/+4
The defconfig in SRC_URI contains ast2400/2500 directory, when working with devtool, it causes the defconfig to be copied into unexpected subdirectory in working dir. Fix it by specifying FILESEXTRAPATHS_prepend and remove the directory from SRC_URI. Resolves: openbmc/openbmc#3294 Tested: Build linux-apseed on both Palmetto and Romulus and verify the defconfig is correctly used. Build, clean, and rebuild linux-aspeed with devtool and verify the defconfig is correctly used. Change-Id: I3ec9ab71f39f26e434f2eb593b27fbb34b69bd54 Signed-off-by: Lei YU <mine260309@gmail.com>
2018-07-16busybox: patch "umount: ignore -c"Eddie James2-0/+50
Upstream busybox has a change to ignore the -c option, which systemd uses when unmounting during shutdown/reboot. Currently, if -c is used, umount fails. This results in extensive umount failures during shutdown. See http://lists.busybox.net/pipermail/busybox/2018-January/086045.html Change-Id: I4630935dc5ec61263a7af9e24b70ca8f1f8b5359 Signed-off-by: Eddie James <eajames@us.ibm.com>
2018-07-16Add manifest and signature for fixed flash layoutLei YU1-4/+28
In generated fixed flash layout tarball, add manifest and signature which can be used for code update by phosphor-software-manager. Tested: Verify the generated static tar contains image(s), manifest, public key and their signatures. Verify that all.tar can be used to do code update by both legacy method (org.openbmc.control.BmcFlash.service) and phosphor-software-manager. Change-Id: Ib6880c8a6d456cce6b0fd47116960d1d448d5d50 Signed-off-by: Lei YU <mine260309@gmail.com>
2018-07-16phosphor-software-manager: Create new UBI bbclassAdriana Kobylak3-45/+53
Remove from the base phosphor-software-manager recipe everything that is conditional in the ubi-fs distro feature and put it in its own class. This allows for the base recipe to be cleaner and for future specific packages to be added conditionally. Tested: Built witherspoon and romulus and verified only witherspoon contained the UBI-specific files. Booted a witherspoon and a romulus qemu. Change-Id: I2a783abc6152aadcf212a35f0060409f8dac2241 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2018-07-16phosphor-host-postd.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Iff72ca3da0566a056dcbb22034bcb9d89c22ba8c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-13phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Iff73a0b1583d589fad619142b45b989223e0a96a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-13phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I67d18750f9e01a439d95801d2e5f5e5758527788 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-13phosphor-ipmi-net.bb: bump versionAndrew Geissler1-1/+1
Change-Id: If22743553706e74c7c6a5dd327cdfb04e4c94ccc Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-13obmc-console_git.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I720c5a89b2a0a238a84323f48a6e2583ef4d99bb Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-12phosphor-dbus-monitor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I7cbadc6b8f2ed7bccff24721119eb52b957ab762 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-12openpower-occ-control.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Ia141956fd41dcbf1c95573455118c9eb9a169ca9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>