summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/conf/machine
Commit message (Collapse)AuthorAgeFilesLines
* phosphor-ipmi-host: Move configuration to phosphor-ipmi-configAndrew Jeffery2018-05-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Witherspoon requires an dev_id.json file whose content is partially derived from data provided by the os-release package. os-release is updated for each commit, as some of its content (VERSION and VERSION_ID) can be derived from `git describe`. As dev_id.json was provided by the phosphor-ipmi-host package, every commit transitively triggered a rebuild of phosphor-ipmi-host in order to satisfy Witherspoon's requirements. Always rebuilding phosphor-ipmi-host is unhelpful for several reasons: * It needlessly reduces CI throughput, as it is likely the commits in question do not modify the phosphor-ipmi-host package. * GCC suffers from what appears to be an unfixable[1] bug[2] that causes phoshor-ipmi-host to consume large (>5GiB) amounts of RAM when compiling some (at least Witherspoon) sensor configurations. To avoid this, separate the configuration files out into virtual/phosphor-ipmi-config and phosphor-ipmi-config packages that phosphor-ipmi-host RDEPENDS on. Witherspoon provides an alternative implementation in witherspoon-ipmi-config to mangle dev_id.json to its particular requirements. A virtual is used rather than a simple bbappends for Witherspoon, as the bbappend approach breaks builds of machines other than Witherspoon if Witherspoon is built first: The Witherspoon-specific dev_id.json file is deployed in its mangled form into e.g. a Zaius image. Specifically, the following sequence will trigger the issue: $ TEMPLATECONF=.../witherspoon.conf . openbmc-env $ bitbake obmc-phosphor-image $ rm -rf conf $ TEMPLATECONF=.../zaius.conf . openbmc-env $ bitbake obmc-phosphor-image [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290#c26 [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290 Change-Id: Ib9629fc77b29e2deeab3f1c3a145d9e966c14ec4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* witherspoon: Enable phosphor-wdt-on-panic KERNEL_FEATUREAndrew Jeffery2018-05-011-0/+1
| | | | | | | | | | | | | This allows the SoC to switch to the alternate BMC flash device when we hit a kernel panic. Tested: Instrumented which chip the system was currently booted from, booted a kernel with a broken root= configuration to trigger a panic, observed the system reboot due to a watchdog event, confirmed the chip used by the reboot was different. Change-Id: I763ebadc3e26cc9e420e2469277970fbde974459 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* Remove obmc-openpower-* machine featuresBrad Bishop2018-03-121-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | The openpower layer supports a usage pattern of building non openpower systems with the openpower layer included in the layer configuration (introduced with 008b81bb). As a part of 008b81bb a number of distro and machine features were added. As with MRW and UBI before it, these features are distro policy and not machine features. As such remove the machine features. Additionally converge the three feature variants down to a single openpower feature since there aren't any in-tree systems that don't enable all three. Add a distro override and fix up combined feature checks to use this override instead for improved readability. Add a new distro configuration that enables these features and point all Openpower sample local.conf files to this new distro config. Tested: Built and validated Witherspoon, Palmetto images Change-Id: Ifa3df61fbe1803f00c38956c265604ba91d7d127 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Convert openpower-ubi-fs to a distro featureBrad Bishop2018-03-121-2/+0
| | | | | | | | | | | | | | | As with MRW the use of the UBI image scheme is distro policy. Convert the existing machine feature to a distro feature. Enable the new distro feature on the systems that use it(Witherspoon). Add a distro override and fix-up MF checks to use this override instead for improved readability. Change-Id: I57f3bc244523eff5bc043caff8365e334d98cb30 Tested: Built a witherspoon image and validate manifest Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Convert obmc-ubi-fs to a distro featureBrad Bishop2018-03-121-1/+1
| | | | | | | | | | | | | | | As with MRW the use of the UBI image scheme is distro policy. Convert the existing machine feature to a distro feature. Enable the new distro feature on the systems that use it(Witherspoon). Add a distro override and fix-up MF checks to use this override instead for improved readability. Tested: Built a Witherspoon image and validated image Change-Id: I8ab03115bbfc2ecc77cff5c9eb8628903ae88051 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* MRW: Use a distro override to enable providersBrad Bishop2018-03-121-3/+3
| | | | | | | | | | | | Now that obmc-mrw is no longer a machine feature we can organize a bit and enable MRW providers off to the side with a disto override, de-cluttering wherever non-MRW defaults are specified. No functional impact but slightly easier for humans to parse. Change-Id: If2731206b94e16e0b0132a385756eb11178118f2 Tested: Built a Witherspoon image and validated manifest Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove obmc-mrw machine featureBrad Bishop2018-03-131-1/+1
| | | | | | | | | | | | | | | | Using MRW or not is distro policy. As such remove the obmc-mrw machine feature. Do not enable the remaining obmc-mrw distro feature in the base phosphor distro configuration. Create new distro configs for the systems that use MRW today (i.e. Witherspoon) that enables the obmc-mrw distro feature and point the local.conf.sample at the new distro configuration. Change-Id: If4cedc745b3ee942518fbfd4d5cf2cd5b60f346d Tested: Built a Witherspoon image and validate the manifest Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* openpower: Fix _appends with missing spaceBrad Bishop2018-03-131-1/+1
| | | | | | | | These _appends can potentially crowd their neighboring entries. Change-Id: I1dae77f9a17744110175916935c01773708652b0 Tested: Built a witherspoon image Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Witherspoon XML revision bumpMatt Spinler2018-02-271-1/+1
| | | | | | | | | | | | Picks up 3 specific BMC related changes: 1) Add power supply fault LEDs 2) Give the turbo_allowed sensor a valid value 3) Assign FRU IDs to the GPUs Resolves openbmc/openbmc#922 Change-Id: I02c3bbf316a8f01faad17b19efe284572784a791 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Witherspoon MRW XML revision bumpAdriana Kobylak2018-01-171-1/+1
| | | | | | | | | | | | | Pick up the change that adds the Volatile sensor. The Volatile sensor was added in the commit prior to the one specified in this bump, but it doesn't compile due to an error, so need to pick up the fix for the compile error. Part of openbmc/openbmc#2397 Change-Id: Ib2a7543e3c26d62d089fda498ec0b2991e4a3c86 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Organize OpenPOWER BMC support as featuresXo Wang2018-01-101-0/+6
| | | | | | | | | | | | | | | | | Add OBMC_MACHINE_FEATURES for OpenPOWER support under openpower.inc. Select OpenPOWER features in the POWER machines' DISTRO_FEATURES so that the features are built. The features are: obmc-openpower for required base support obmc-openpower-extra for non-essential tools obmc-openpower-legacy for deprecated packages like org.openbmc and skeleton packages Part of openbmc/openbmc#2652. Change-Id: Ib9f44a0c2e243eebb6594de6554cdc3fa0d076af Signed-off-by: Xo Wang <xow@google.com>
* Witherspoon MRW XML revision bumpMatt Spinler2018-01-031-1/+1
| | | | | | | Pick up the change that adds the power button LED. Change-Id: Ifb09b91b591d4a5d0f964eae1a2cbf6db33b0a54 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Remove wspoon P9 VCS Workaround from boot pathMatt Spinler2017-12-131-1/+1
| | | | | | | | | | | The level of hardware that required it is no longer supported by the hostboot firmware anyway so systems with those processors cannot boot up. A future commit will remove the newly unused files. Change-Id: Ifb92b697bbf3f7bdfc4fa0a1c6e296f7d9ec3ba6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* MRW: Bump Witherspoon MRW revisionBrandon Wyman2017-10-241-1/+1
| | | | | | | Adding in Host Auto Reboot Control Sensor Change-Id: I224d223e64cd6ff5694b6d115d1ae90bed14165c Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Power supply monitor recipe, service, and confBrandon Wyman2017-09-271-0/+2
| | | | | | | | | | | | | | | Add the Witherspoon power supply monitor application, service file, and configuration files to the witherspoon-pfault-analysis recipe. Moved OBMC_POWER_SUPPLY_INSTANCES to the global metadata so it can be shared between recipes. Resolves: openbmc/openbmc#1731 Depends-On: Ie364a3dc5b7f19cbc587450fc54f231d1ec280f7 Change-Id: I340a1d48a979a97624843e59a5ab1b1ad04056bb Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* witherspoon: enable obmc-ubi-fs featurePatrick Williams2017-09-211-1/+1
| | | | | | | Switch Witherspoon to the UBI-based code update mechanism. Change-Id: Ic89b134654c34f02c3068bb63cf265f79508f1b1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Witherspoon MRW XML revision bumpMatt Spinler2017-09-011-1/+1
| | | | | | | Fixes the IDs for the Power Limit and PS Derating Factor sensors. Change-Id: I439a1586edb983c2628db233f24b5d77a7381297 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Witherspoon MRW XML bumpMatt Spinler2017-08-231-1/+1
| | | | | | | | | Contains some LED_PRIORITY fixes. Resolves openbmc/openbmc#2198 Change-Id: I7a41964a300312ce57d77e3e756c44c5ebfd365d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* mbox: Use MACHINE_FEATURES for virtual-pnorPatrick Williams2017-08-101-1/+1
| | | | | | | | Define MACHINE_FEATURE openpower-ubi-fs to enable the virtual-pnor functionality and enable on Witherspoon. Change-Id: I57a6a39cf36501cf6c638df13b4e4b08a70fec26 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Witherspoon MRW XML revision bumpMatt Spinler2017-08-081-1/+1
| | | | | Change-Id: Ib715367623d8790bc1fa5ec43affa9273773b14b Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* wspoon: Inhibit mrw fan-control fan configBrad Bishop2017-07-131-0/+4
| | | | | | | | | | Use a hardcoded config file for the Witherspoon fan presence configuration. Hopefully a somewhat temporary workaround of missing tags in the Witherspoon MRW. Change-Id: I28525d69ac340371b96d09390c7f2800d89fca5c
* wspoon: Inhibit phosphor-fan-presence-mrwBrad Bishop2017-07-131-0/+4
| | | | | | | | | | | Use a hardcoded config file for the Witherspoon fan presence configuration. Hopefully a somewhat temporary workaround of missing tags in the Witherspoon MRW. Change-Id: If702959012a3ac627e5fb3e3307f2ee79a9af3d0 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* wspoon: Inhibit phosphor-hwmon-config-mrwBrad Bishop2017-07-131-0/+3
| | | | | | | | | | | Use a hardcoded hwmon config file for the Witherspoon max31785 chip. Hopefully somewhat temporary workaround of missing tags in the Witherspoon MRW. Change-Id: Ibf03b6c566d600b34b52a0288e1c511b9ff07e4e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* New Witherspoon MRW XMLMatt Spinler2017-04-271-1/+1
| | | | | | | | | * Added cooling zone information to the fans. * Gave the TMP275 a hwmon name so it will start being recognized by phosphor-hwmon. Change-Id: I54da1677973b52de1594c6011e4a302fb56558fd Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Witherspoon XML revision bumpMatt Spinler2017-03-231-1/+1
| | | | | | | | | | Bump the github.com/open-power/witherspoon-xml revision to pick up: 1) LED fixes 2) fan tach wiring for presence detects Change-Id: I8c083393f43dd8b5958cc145e5b7cd27815ce402 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* New Witherspoon MRW XMLMatt Spinler2017-02-131-1/+1
| | | | | | | | | * IPMI sensor IDs were added. * Fan hwmon labels were added. * System FRU number was set to 3. Change-Id: Iee2989b56f04919e2090f0ada372d97395607b6d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* New Witherspoon MRW XMLMatt Spinler2017-02-091-1/+1
| | | | | | | The XML now contains FRU IDs. Change-Id: I70bc350bcb04d0c07869b9db9c78fb55da6422c9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* ipmi: Remove virtual/phosphor-ipmi-fru-configBrad Bishop2017-02-021-1/+0
| | | | | | | | | | | | | | | | | Replace this virtual with two others: -virtual/phosphor-ipmi-fru-hostfw-config -virtual/phosphor-ipmi-fru-inventory. Update ipmi-fru-parser machine recipes to provide virtual/phosphor-ipmi-fru-inventory rather than virtual/phosphor-ipmi-fru-config. Remove machine recipes on machines that use MRW since a single MRW recipe provides for any MRW using system automatically. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com? Change-Id: Ia0d94b938eb2c7bfadd5a018ae5ea136f14dd874
* Phosphor IPMI FRU config stubs for most systemsBrad Bishop2017-01-251-0/+1
| | | | | | | | Add native recipe stubs that (will) provide the the IPMI -> DBus inventory mapping for the Phosphor IPMI FRU provider. Change-Id: I21e76bc23ef1638ddcc318a179808521dea7f205 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Pick up new Witherspoon MRW XMLMatt Spinler2017-01-111-1/+1
| | | | | | | | | | | | | LEDs are now in the model. There is a Targets.pm change that must go with this that the mrw-rev.bbclass change will get. Because Targets.pm is common between Palmetto and Witherspoon, the Palmetto XML must be patched to make Targets.pm happy. Change-Id: Ic3378cca8c6ebe96870d283aac2d42d97b68358a Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add recipes for Witherspoon VCS workaroundSergey Solomin2016-12-161-0/+3
| | | | | | | | | | | | | | | Create vcs-workaround machine feature p9.inc Add new recipe vcs-pre-post.bb Add new recipe p9-vcs-workaround.bb Add new recipe start_host.bb Create preferred providers Create host control machine/distro/image feature Add dependencies Partially resolves openbmc/openbmc#647 Change-Id: I285cafc81afda20977fdf360ad8ad34d15e38685 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* Set MRW location for Witherspoon MRW XMLMatt Spinler2016-12-071-0/+3
| | | | | Change-Id: I175b1da5735ce022975354d3a961a94d223b5603 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add obmc-mrw Machine featureMatt Spinler2016-10-201-0/+2
| | | | | Change-Id: I0fbf66ee1cc06222d1cc24d94674b142d3c08363 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Move to u-boot v2016.07-aspeed-openbmc branchJoel Stanley2016-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This moves all machines to a new u-boot branch. The u-boot branch is based on this month's upstream v2016.07 release, and contains cleanups that get us closer to submitting upstream. Importantly for the machine configurations, we now have four new defconfigs that replace the previous targets: - ast_g4_ncsi_defconfig: ast2400 with NCSI networking - ast_g4_phy_defconfig: ast2400 with directly attached PHY networking - ast_g5_ncsi_defconfig: ast2500 with NCSI networking - ast_g5_phy_defconfig: ast2500 with directly attached PHY networking We now support Firestone again with the ast_g4_phy_defconfig. This commit updates all machines to the new branch and defconfig. It also removes unused patches that were being made to u-boot, in the case of barreleye (a patch to aspeednic.c) and palmetto (a modification to the u-boot environment). Change-Id: Ic4baf9ae0d5f4046e69cab99d54865771b01cd2a Signed-off-by: Joel Stanley <joel@jms.id.au>
* Initial Witherspoon layerBrad Bishop2016-06-161-0/+8
Witherspoon is an IBM branded OpenPOWER system aimed at the HPC market. It should be noted that this doesn't boot cleanly with the current 4.6 branch. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud