summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add S2600WF GPIO JSONMatt Spinler2018-08-282-0/+48
| | | | | | | | | | These GPIOs are used by the code in the skeleton repo. (From meta-intel rev: 5ed9fa2b7afcf26db471f13845c47950939a517f) Change-Id: I40004c8b9d5258dd0af6d702b02768835820eaa1 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add Lanyang GPIO JSONMatt Spinler2018-08-282-0/+79
| | | | | | | | | | These GPIOs are used by the code in the skeleton repo. (From meta-inventec rev: 6abf0600f408fc66d182e829c60a3ea807e49ffa) Change-Id: Ia0e3b5ddf720163b039c0b5d70f23b83833e4d93 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add Zaius GPIO JSONMatt Spinler2018-08-282-0/+79
| | | | | | | | | | These GPIOs are used by the code in the skeleton repo. (From meta-ingrasys rev: 5d62d701c830a68eb2ca20246535787ea4456355) Change-Id: I999f36730a33dd61051a9ce691fdfb8fd05a9ec5 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add Palmetto GPIO JSONMatt Spinler2018-08-282-0/+61
| | | | | | | | | | These GPIOs are used by the code in the skeleton repo. (From meta-ibm rev: 2ba966c18046651d2115d732cbb0ed8b231bafad) Change-Id: I58a5087252b5dc6a98174837305485925c07c712 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add Romulus GPIO JSONMatt Spinler2018-08-282-0/+73
| | | | | | | | | | These GPIOs are used by the code in the skeleton repo. (From meta-ibm rev: 55b2003b3e07c7d45f94409eaf636f0335571152) Change-Id: I88f44342a587b8dccaa845bff59c35e1414d1358 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add Witherspoon GPIO JSONMatt Spinler2018-08-282-0/+64
| | | | | | | | | | | | These GPIOs are used by the code in the skeleton repo. Resolves openbmc/openbmc#3332 (From meta-ibm rev: b11913ce2ee64a085fd69146eb76a3ebff94e7ab) Change-Id: Ic82d55bae6c7772cb8a5b836fb6138f429dd0346 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Install GPIO definition JSONMatt Spinler2018-08-282-0/+9
| | | | | | | | | | | | | | | | The code in libopenbmc_intf.so looks for the GPIO definition file /etc/default/obmc/gpio/gpios_defs.json. Install it from this recipe. The actual JSON files should go into the corresponding directories in the machine layers along with a bbappend of this recipe to set FILESEXTRAPATHS_prepend. (From meta-phosphor rev: 728258c6a235f75176ea213e671d7a93904ca72a) Change-Id: I3969e005cbdfd04ae8cec1c13c3c3bb625dca574 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-software-manager: Add ACTIVE_BMC_MAX_ALLOWED configLei YU2018-08-282-0/+3
| | | | | | | | | | | | | | | | | | For static flash layout, configure ACTIVE_BMC_MAX_ALLOWED to 1, because it has only one active BMC image; For ubi-fs, configure ACTIVE_BMC_MAX_ALLOWED to 2, because ubi-fs assumes there are two BMC images by default. Resolves openbmc/phosphor-bmc-code-mgmt#2 Tested: Verify that ACTIVE_BMC_MAX_ALLOWED is set to 1 for Romulus build, and set to 2 for Witherspoon build. (From meta-phosphor rev: bf3edf1ce09f19836c38c2dd43ab4e50664fc46e) Change-Id: I60e49c14bda25547fde9a2308470ed164ebbd249 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-software-manager: Add MEDIA_DIR configLei YU2018-08-282-0/+13
| | | | | | | | | | | | | | | | Configure MEDIA_DIR to /run/media for static flash layout; Configure MEDIA_DIR to /media which is default for ubi-fs. Resolves openbmc/phosphor-bmc-code-mgmt#3 Tested: Verify that the MEDIA_DIR is set to /run/media for Romulus build, and set to /media for Witherspoon build. (From meta-phosphor rev: f43eb6ee89433e4898cbdb1532963f038419c003) Change-Id: If96c2ee135d314bd6de0cd745c6a871b75183fe1 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Make obmc-flash-bmc-setenv common for static and ubiLei YU2018-08-282-7/+13
| | | | | | | | | | | | | | | Static flash layout will use obmc-flash-bmc-setenv service to set factory-reset env in u-boot, so make it common for both static and ubi flash layout. Tested: Build the image and verify the service and the obmc-flash-bmc script exist in both static and ubi builds. (From meta-phosphor rev: b2c944f13b0f891a7f569f3a9608e3c0de27a462) Change-Id: Ia067cebfe35a9d2d7d2af8b4d1bd4cb5717372ae Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-lanyang: add IPMI recipeBrian Yang2018-08-286-0/+1279
| | | | | | | | | | | | Add CPU, DIMM and Motherboard inventory for Lanyang machine Tested: Built the IPMI recipe then read the information of the CPU, DIMM and Motherboard's inventory after power on. (From meta-inventec rev: 9d47808f7e1a582a7001b11bb9419742b17d4a1c) Change-Id: I0b550daa15bc9ab73948075e7cc1ac172612e88f Signed-off-by: Brian Yang <yang.brianc.w@inventec.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Disable bmcweb static hosting in IBM layerAndrew Geissler2018-08-281-1/+1
| | | | | | | | | | | | | | | | | | | openbmc/bmcweb#5 tracks an issue with bmcweb and static hosting of web files on IBM systems. Until this bug is resolved, disable bmcweb from hosting the files. Currently in the IBM layer, bmcweb is only used for redfish support and the static hosting is not needed for the basic redfish support to work. Testing: Verified bmcweb now starts fine and responds to redfish requests. (From meta-ibm rev: 8891e02efa759bb3173a0985f194c1e9a0bc255b) Change-Id: I1f1ac2008afdb787de6b034a71b6ed6b2d51422b Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add recipes-phosphor to Palmetto's recipes.txtGunnar Mills2018-08-281-0/+1
| | | | | | | | | | Fix Palmetto's recipes.txt. (From meta-ibm rev: 543acb28fc1ee93a819de955f4a14dd5d0fee499) Change-Id: Ibfe2724dc65122d23070396867a97064ac4e1124 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* linux: Move to 4.17.18 stable releaseJoel Stanley2018-08-281-2/+2
| | | | | | | | | | This updates the kernel to the latest 4.17 stable release. (From meta-aspeed rev: 76cf24ad58962b882bd28a6f8c55c30930c4db77) Change-Id: Id1e482bbbba4b9cae6e882be99a47612862855ee Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* linux: Move to 4.17.18 stable releaseJoel Stanley2018-08-281-2/+2
| | | | | | | | | | This updates the kernel to the latest 4.17 stable release. (From meta-nuvoton rev: 8730f2ecb7acdc3bf27c20a4d9b6c70fad9eab11) Change-Id: If07d6ce0942671cd112fa05713850d42cf55317e Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-palmetto: Update occ sensor namesLei YU2018-08-281-22/+22
| | | | | | | | | | | | Update occ sensor names to make it consistent with Witherspoon. Tested: Verify the sensor names are updated via REST API. (From meta-ibm rev: fc7a1853fd16af0e58bcf104bd1f9585b1f36a20) Change-Id: Ia2b31ecfd591c580d8ec382fe7d26b30fd34d427 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-openbmc-machines: Remove BarreleyeJoel Stanley2018-08-2836-3779/+0
| | | | | | | | | | | | Barreleye was the first machine to be designed and built for the IBM OpenBMC project. It no longer builds and no one has stepped forward to maintain it, so this removes it from the tree. Resolves: openbmc/openbmc#2777 Change-Id: I4b2fd53f1a72fe5a5b7ed700dd451b98cebfa445 Signed-off-by: Joel Stanley <joel@jms.id.au>
* Increase witherspoon host console log to 256KAndrew Geissler2018-08-271-0/+1
| | | | | | | | | | | | | | | | The host team has requested a bump in their allocated log size. Appears as if witherspoon has the filesystem space to spare so bump up from the default of 16K to 256K. Testing: Loaded on system and caused a lot of traffic in host console and verified /var/log/obmc-console.log did not grow beyond 256K and properly wrapped. (From meta-ibm rev: 50ba839a2ee314b06b21273ff4a4a9456baef6d2) Change-Id: Ie9a7f003778b3e38f7a444f32d69942bcfc1575b Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add cjson recipeEd Tanous2018-08-271-0/+15
| | | | | | | | | | | | | | | | CJson is a support library implementing json support for C libraries. It is relatively small, and compliant enough for secure systems usage. More information can be found in the CJson homepage here: https://github.com/DaveGamble/cJSON Tested by: "bitbake cjson" and saw no build failures. (From meta-phosphor rev: 908d4f44184e34e0d13e6017221122ab5915a310) Change-Id: I8b9fcbc5ce0ffe556da8bfa6b1d84c527160a65e Signed-off-by: Ed Tanous <ed.tanous@intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* gpioplus: Add libraryWilliam A. Kennington III2018-08-271-0/+23
| | | | | | | | | | | Tested: Package builds successfully and the output looks correct. (From meta-phosphor rev: cb1a1831baa36b0e6bb5e199a333255f42d3593e) Change-Id: I6aa75e0147793b13992bd05ac9efffbaef19c092 Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Sumo refreshBrad Bishop2018-08-27185-2020/+8805
| | | | | | | Update external subtrees to latest Yocto sumo. Change-Id: I8364f32bef079841c6e57f1c587f4b1bedf62fef Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Fixing bblayers conf versioningDave Cobbley2018-08-241-1/+1
| | | | | | | | This fix allows others consuming the meta-phosphor layer to update bblayers conf independent of the upstream layer. Change-Id: I8e170da62d260bbad175ed0fd13407886cb77e7f Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
* sdeventplus_git.bb: bump versionAndrew Geissler2018-08-231-1/+1
| | | | | Change-Id: I6f208f294b9f2cfdfa3e0101dbfdc2f45817e1d1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
* [Subtree] Bring openbmc machines to top levelDave Cobbley2018-08-23642-226/+223
| | | | | | | | | The new subtree model brings the subtrees up from the openbmc-machines layer. Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0 Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* [Subtree] Move board support packages to top levelDave Cobbley2018-08-2263-34/+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-229327-189/+141
| | | | | | | | | 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>
* sdeventplus: Add packageWilliam A. Kennington III2018-08-231-0/+24
| | | | | | | | | | This adds the initial recipe for the sdeventplus package. Tested: Package builds successfully and the output looks correct. Change-Id: I506955205dc9bcfe75a83b76442f4857c74b99bb Signed-off-by: William A. Kennington III <wak@google.com>
* mtd-utils: Revert "Return correct error number in ubi_get_vol_in"Adriana Kobylak2018-08-232-0/+93
| | | | | | | | | | | | | | | | | | | | Add mtd-utils upstream patch that fixes a regression on the mtd-utils tools such as ubinfo. Details of the issue which affects mtd-utils 2.0.1 and 2.0.2: http://lists.infradead.org/pipermail/linux-mtd/2018-June/081562.html Upstream-Status: Accepted [http://git.infradead.org/mtd-utils.git/commit/0f833ac73ad631248826386e2918d8571ecf0347] (From OE-Core rev: 41356d2c86d85b199962c3024f25361a709d9180) Signed-off-by: Adriana Kobylak <anoo@linux.ibm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (From Yocto rev: ffb7fd233ce23af06b54bee5b934f7d01271da97) Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ic6e244369f5e86d3ee2411bf1f7566a6637622e3
* phosphor-pid-control.bb: bump versionAndrew Geissler2018-08-221-1/+1
| | | | | Change-Id: I10692dea155377dcd8558ae57e69948e6995ded0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
* sdbusplus.bb: bump versionAndrew Geissler2018-08-221-1/+1
| | | | | Change-Id: I849e03f2334a8602e05058669158083ad158104f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-webui.bb: bump versionAndrew Geissler2018-08-221-1/+1
| | | | | Change-Id: I1c709f716bec80bed0c4dc5b16fa70c809c8cc64 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* inarp.bb: bump versionAndrew Geissler2018-08-221-1/+1
| | | | | Change-Id: I3aa64d678759bcba72bfc093f88d07c5a6bb91ae Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-gpio-monitor.bb: bump versionAndrew Geissler2018-08-221-1/+1
| | | | | Change-Id: I6622c666a193d8c17b88027d88790fda88e33b96 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* kernel: Move Romulus to ColdFire FSI driverJoel Stanley2018-08-221-1/+1
| | | | | | | | | | | | | | | This bumps the kernel to incldue a commit that switches to the ColdFire FSI driver. Benjamin Herrenschmidt (1): arm: dts: aspeed: Romulus can use coprocessor for FSI A note to developers: from here on you must use an initrd that includes the ast-cf-fsi.bin firmware, or FSI will not function. See commit 'openpower: Add ColdFire firmware to initrd'. Change-Id: I701381de714b5f200fc796a09a055ff4f0d14633 Signed-off-by: Joel Stanley <joel@jms.id.au>
* kernel: Use new FSI chardev systemJoel Stanley2018-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kernel has changed how the character devices are allocated by the fsi driver. All of the in-tree users of fsi have been updated to use this new system. The changes include an optional feature improve the layout of userspace API. This is controlled by the CONFIG_FSI_NEW_DEV_NODE option, which we do not set yet. Benjamin Herrenschmidt (14): fsi: sbefifo: Fix inconsistent use of ffdc mutex fsi: Add support for device-tree provided chip IDs fsi: master-ast-cf: Fix build warnings on 64-bit platforms fsi: master-ast-cf: Mask unused bits in RTAG/RCRC fsi: master-ast-cf: Rename dump_trace() to avoid name collision fsi: Add new central chardev support fsi: sbefifo: Convert to use the new chardev fsi: scom: Convert to use the new chardev fsi: Add cfam char devices fsi: Prevent multiple concurrent rescans fsi: scom: Fix NULL dereference fsi: sbefifo: Bump max command length fsi: occ: Convert to use the new chardev arm: dts: aspeed: Change how power9 chips are represented on OpenPower Gustavo A. R. Silva (1): fsi: master-ast-cf: Fix memory leak Joel Stanley (1): fsi: sbefifo: Remove unnecessary mutex unlock Change-Id: I1201a7e6317776ab6bb4f4307b95d388defd66ee Signed-off-by: Joel Stanley <joel@jms.id.au>
* phosphor-pid-control.bb: bump versionAndrew Geissler2018-08-211-1/+1
| | | | | Change-Id: I7ab76637af5a601b92f3fbcd31f5c39af49f6f0d Signed-off-by: Andrew Geissler <geissonator@yahoo.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>
* linux-nuvoton: move to v4.17.14Benjamin Fair2018-08-211-2/+2
| | | | | | | | | | 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>
* meta-nuvoton: evb-npcm750: disable MTD image generationBenjamin Fair2018-08-211-0/+4
| | | | | | | | | | | | | | | 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>
* 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>
* kernel: ast2400 MTD, FSI ColdFireJoel Stanley2018-08-211-1/+1
| | | | | | | | | | | | | 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>
* phosphor: Remove 'pflash -i' serviceJoel Stanley2018-08-212-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
OpenPOWER on IntegriCloud