summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines
Commit message (Collapse)AuthorAgeFilesLines
* [Subtree] Move board support packages to top levelDave Cobbley2018-08-2215-26/+26
| | | | | | | | The new subtree paradigm has moved the meta-bsp layers to the top level Change-Id: Ic4f64c39465be699bed3649e125e027d17daf938 Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* [Subtree] Removing import-layers directoryDave Cobbley2018-08-2215-127/+127
| | | | | | | | | As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-romulus: Add missing sensorNamePattern in sensor configLei YU2018-08-211-0/+71
| | | | | | | | | | | | | 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>
* meta-romulus: ipmi: Add core/dimm temp sensorsLei YU2018-08-211-0/+1408
| | | | | | | | | | | | | 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>
* meta-romulus: Add entityID/entityInstance to sensor configLei YU2018-08-211-0/+142
| | | | | | | | | | | 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>
* meta-romulus: sort ipmi sensor configLei YU2018-08-211-1034/+1034
| | | | | | | | | | | 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>
* meta-romulus: Add ipmi bmc-fru-config.yamlLei YU2018-08-212-0/+28
| | | | | | | | | | 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>
* meta-romulus: Add ipmi channel.yamlLei YU2018-08-212-0/+12
| | | | | | | | | | | | 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>
* webui: serve via nginxDeepak Kodihalli2018-08-213-2/+35
| | | | | | | | | | | | | | | | | | 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>
* Remove deprecated PHOSPHOR_WEBUI defineAndrew Geissler2018-08-211-1/+1
| | | | | | | | | | 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>
* obmc-flash-bios: Remove UBI vols by id instead of nameAdriana Kobylak2018-08-211-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* openpower: Add ColdFire firmware to initrdJoel Stanley2018-08-211-0/+0
| | | | | | | | | 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 use of meta-virtualizationBrad Bishop2018-08-2114-26/+0
| | | | | | | | | | | | | | | 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>
* Use ColdFire FSI interface on Palmetto (P8)Joel Stanley2018-08-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* openpower: Add ASPEED LPC Control toolJoel Stanley2018-08-163-1/+25
| | | | | | | | | | | | | | | | | | 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>
* meta-romulus: Increase delay in host rebootLei YU2018-08-082-0/+4
| | | | | | | | | | | | | | | 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>
* openpower-software-manager: Remove ubiclearAdriana Kobylak2018-08-073-20/+0
| | | | | | | | | | | 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>
* openpower-ipmi-oem.inc: bump versionAndrew Geissler2018-08-061-1/+1
| | | | | Change-Id: I5fa2416a10f17356b8d93e45852ce2aba1477bf3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower: inventory-config: fix-up interfaceDeepak Kodihalli2018-07-271-1/+1
| | | | | | | | | | | 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>
* meta-lanyang: add LED recipeBrian Yang2018-07-252-0/+49
| | | | | | | | | 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>
* Add bmcweb to meta-ibm layer for redfish supportAndrew Geissler2018-07-245-1/+32
| | | | | | | | | | | | | 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>
* openpower-software-manager.bb: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: Iadf107e86a6fb343bbf6292ebbdd71a4b1ae101f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* skiboot: bump to v6.1Gunnar Mills2018-07-241-2/+2
| | | | | | | | This bumps skiboot to the latest release. Tested: Built on a Witherspoon Change-Id: I7fc9d0f3e236fd6734617ddd86e27ed06ba2770b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* ibm-logging.bb: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: I09eff172c39d44d5e7a32552cfb34c68b58acfe8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Put bmcweb in common layer for others to useAndrew Geissler2018-07-243-56/+0
| | | | | | | Initially interested in bmcweb for its redfish support Change-Id: Ia180a895c8db2b184a455cd3be2bf28db4c4116d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* powerwell-neptune: Rename linux-obmc to linux-aspeedAmithash Prasad2018-07-233-2/+2
| | | | | Change-Id: I6770247bb9202d68ab9f9e4140c60ff2201b8d03 Signed-off-by: Amithash Prasad <amithash@fb.com>
* meta-romulus: Add led groups for faultsLei YU2018-07-231-0/+300
| | | | | | | | | | | 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>
* openpower-software-manager.bb: bump versionAndrew Geissler2018-07-201-1/+1
| | | | | Change-Id: I5be442e3fe38ce840f1f16abb68b55fc880e9232 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* bmcweb.bb: bump versionAndrew Geissler2018-07-191-1/+1
| | | | | Change-Id: Ib6fa73502384669f8e6cca209f7ca34abd0fa2cf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* nuvoton: Set LAYERSERIES_COMPATBenjamin Fair2018-07-192-0/+2
| | | | | | | | 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>
* Fix bmcweb socket activationEd Tanous2018-07-192-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>
* nuvoton: move npcm7xx support into meta-nuvoton layerBenjamin Fair2018-07-191-2/+0
| | | | | | | | 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>
* ibm: Set LAYERSERIES_COMPATBrad Bishop2018-07-184-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>
* Get whitelisted URLs - witherspoon jsonNagaraju Goruganti2018-07-182-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>
* Get whitelisted URLs - openpower jsonNagaraju Goruganti2018-07-182-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>
* ingrasys: Set LAYERSERIES_COMPATBrad Bishop2018-07-182-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>
* Move systemd bbappend to match base layer pathAndrew Geissler2018-07-184-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>
* openpower-software-manager.bb: bump versionAndrew Geissler2018-07-171-1/+1
| | | | | Change-Id: I6652c21f914f1a7eb4767ee73e458879bedf8fe2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* meta-romulus: Enable image signature checkLei YU2018-07-172-1/+2
| | | | | Change-Id: I05a4bb07a08cc6e89df302b2f25531a665118e1d Signed-off-by: Lei YU <mine260309@gmail.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2018-07-161-1/+1
| | | | | Change-Id: Ia0d8671b7607b274d99f8b4e640add36bfe2167e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* meta-lanyang: add AVSBus script, servicesBrian Yang2018-07-166-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>
* meta-lanyang: add Lanyang config recipeBrian Yang2018-07-161-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>
* meta-lanyang: Rename obmc-console recipeBrian Yang2018-07-161-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>
* openpower: Set LAYERSERIES_COMPATBrad Bishop2018-07-161-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>
* openpower-occ-control.inc: bump versionAndrew Geissler2018-07-121-1/+1
| | | | | Change-Id: Ia141956fd41dcbf1c95573455118c9eb9a169ca9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Update bmcweb to latestv2.3Ed Tanous2018-07-121-1/+1
| | | | | | | | 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>
* Fix dependency in fsi-enable.serviceMatt Spinler2018-07-111-2/+2
| | | | | | | 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>
* openpower: Fix typo in enable-clearvolatileMatt Spinler2018-07-111-1/+1
| | | | | | | Tested: system boots and reboots Change-Id: I3c122f0a1f1f186e831a5e8965c9168f9bf15690 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* openpower-occ-control.inc: bump versionAndrew Geissler2018-07-101-1/+1
| | | | | Change-Id: I5110c3a82fd035c7ee3ba143c9b249e3bf69247a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* bmcweb.bb: bump versionAndrew Geissler2018-07-091-1/+1
| | | | | Change-Id: Id9dd42affea6437030bc267b15bc44b48cb00eef Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
OpenPOWER on IntegriCloud