Skip to content
  1. Aug 23, 2018
  2. Aug 22, 2018
  3. Aug 21, 2018
    • Andrew Geissler's avatar
      phosphor-pid-control.bb: bump version · 054e886c
      Andrew Geissler authored
      
      
      Change-Id: I7ab76637af5a601b92f3fbcd31f5c39af49f6f0d
      Signed-off-by: default avatarAndrew Geissler <geissonator@yahoo.com>
      054e886c
    • Lei YU's avatar
      meta-romulus: Add missing sensorNamePattern in sensor config · c1f39c5a
      Lei YU authored
      
      
      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: default avatarLei YU <mine260309@gmail.com>
      c1f39c5a
    • Lei YU's avatar
      meta-romulus: ipmi: Add core/dimm temp sensors · 31d50494
      Lei YU authored
      
      
      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: default avatarLei YU <mine260309@gmail.com>
      31d50494
    • Lei YU's avatar
      meta-romulus: Add entityID/entityInstance to sensor config · a7170d0b
      Lei YU authored
      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: default avatarLei YU <mine260309@gmail.com>
      a7170d0b
    • Lei YU's avatar
      meta-romulus: sort ipmi sensor config · 7ad9c7a4
      Lei YU authored
      
      
      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: default avatarLei YU <mine260309@gmail.com>
      7ad9c7a4
    • Lei YU's avatar
      meta-romulus: Add ipmi bmc-fru-config.yaml · 006d8690
      Lei YU authored
      
      
      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: default avatarLei YU <mine260309@gmail.com>
      006d8690
    • Lei YU's avatar
      meta-romulus: Add ipmi channel.yaml · 7a0b8a16
      Lei YU authored
      
      
      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: default avatarLei YU <mine260309@gmail.com>
      7a0b8a16
    • Deepak Kodihalli's avatar
      webui: serve via nginx · ef18a48d
      Deepak Kodihalli authored
      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: default avatarDeepak Kodihalli <dkodihal@in.ibm.com>
      ef18a48d
    • Benjamin Fair's avatar
      linux-nuvoton: move to v4.17.14 · ed734e8c
      Benjamin Fair authored
      
      
      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: default avatarBenjamin Fair <benjaminfair@google.com>
      ed734e8c
    • Benjamin Fair's avatar
      meta-nuvoton: evb-npcm750: disable MTD image generation · 498cd0e5
      Benjamin Fair authored
      
      
      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: default avatarBenjamin Fair <benjaminfair@google.com>
      498cd0e5
    • Andrew Geissler's avatar
      Remove deprecated PHOSPHOR_WEBUI define · 167d2462
      Andrew Geissler authored
      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: default avatarAndrew Geissler <geissonator@yahoo.com>
      167d2462
    • Adriana Kobylak's avatar
      obmc-flash-bios: Remove UBI vols by id instead of name · bbbc7fa2
      Adriana Kobylak authored
      
      
      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: default avatarAdriana Kobylak <anoo@us.ibm.com>
      bbbc7fa2
    • Joel Stanley's avatar
      openpower: Add ColdFire firmware to initrd · bb3592fc
      Joel Stanley authored
      
      
      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: default avatarJoel Stanley <joel@jms.id.au>
      bb3592fc
    • Joel Stanley's avatar
      kernel: ast2400 MTD, FSI ColdFire · d74b2e42
      Joel Stanley authored
      
      
      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: default avatarJoel Stanley <joel@jms.id.au>
      d74b2e42
    • Joel Stanley's avatar
      phosphor: Remove 'pflash -i' service · f569ebe7
      Joel Stanley authored
      
      
      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 14f965d8
       > 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 e7b0fd56 ("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: default avatarJoel Stanley <joel@jms.id.au>
      f569ebe7
    • Brad Bishop's avatar
      import-layers: Drop meta-virtualization · a8af6e42
      Brad Bishop authored
      
      
      Drop the unused meta-virtualization layer.
      
      Change-Id: I14591d81f5d82cad7126921e5978a8707e2221d6
      Signed-off-by: default avatarBrad Bishop <bradleyb@fuzziesquirrel.com>
      a8af6e42
    • Brad Bishop's avatar
      remove use of meta-virtualization · f7ea135d
      Brad Bishop authored
      
      
      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: default avatarBrad Bishop <bradleyb@fuzziesquirrel.com>
      f7ea135d
    • Alexander Hedges's avatar
      Fix inconsistent indentation · b220f993
      Alexander Hedges authored
      
      
      Change-Id: I8473b4c93915d57a513384c38137186353c052bd
      Signed-off-by: default avatarAlexander Hedges <ahedges@ethz.ch>
      b220f993
  4. Aug 20, 2018
  5. Aug 17, 2018
  6. Aug 16, 2018
    • Andrew Geissler's avatar
      phosphor-webui.bb: bump version · 0fb4fda7
      Andrew Geissler authored
      
      
      Change-Id: Ia9b517ccea96d32d65f38eeb38cd132a3023ab66
      Signed-off-by: default avatarAndrew Geissler <geissonator@yahoo.com>
      0fb4fda7
    • Joel Stanley's avatar
      kernel: Move to v4.17.14 stable release · 0d7c299e
      Joel Stanley authored
      
      
      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: default avatarJoel Stanley <joel@jms.id.au>
      0d7c299e
    • Joel Stanley's avatar
      Use ColdFire FSI interface on Palmetto (P8) · 64b38e73
      Joel Stanley authored
      
      
      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: default avatarJoel Stanley <joel@jms.id.au>
      64b38e73
    • Joel Stanley's avatar
      openpower: Add ASPEED LPC Control tool · 347ca073
      Joel Stanley authored
      
      
      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: default avatarJoel Stanley <joel@jms.id.au>
      347ca073
    • Andrew Geissler's avatar
      phosphor-host-postd.inc: bump version · 9af50e2f
      Andrew Geissler authored
      
      
      Change-Id: I3e4f730965d0c9ec8743c91b40891310fdad0890
      Signed-off-by: default avatarAndrew Geissler <geissonator@yahoo.com>
      9af50e2f
Loading