| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Add avsbus-control runtime dependency to pdbg-based host control.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I47395f61a4de096476c861145944aa903969fbd6
|
|
|
|
|
|
|
|
| |
Make refclock-fixup a runtime dependency to pdbg-based host control.
Remove refclock-fixup's direct dependency to image.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I2ba73d43f6e9dcaac50fe8256ff0aa210cdf40f2
|
|
|
|
|
|
|
|
|
|
| |
Remove sequencing against Witherspoon-specific services from pdbg host
services.
Add sequencing against obmc systemd targets.
Shorten descriptions in pdbg control services.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I4d2f55c639f6b3095bdb36fe6161ccc9e2032eec
|
|
|
|
|
|
|
| |
Fix missing instantiation parameter for vcs_workaround unit.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I86e6e9d404cf81878b86814d0330fff6a136ceac
|
|
|
|
|
|
|
|
|
|
| |
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.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I3f7a36a6c16d32bb7b648b0f84c9ab3abb922399
|
|
|
|
|
|
|
|
|
|
| |
Set Zaius machine conf to use P9 features (pdbg host control and VCS
workaround).
Use Zaius vcs-control recipe for machine-specific VCS workaround
components (virtual/p9-vcs-workaround).
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: Ib75779da074b47c4fa335c5d2dfc40dc1bb82f04
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add script for reading/writing VCS rail states on Zaius.
Add systemd services with VCS on after workaround and VCS off at host
power down.
Add recipe to install script and services.
This implementation of the VCS workaround is specific to Zaius as it
requires UCD power sequencer logic to default to VCS rails off.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I3acf89f69c4d3df0036cd6fcc8639af0b3f3c68a
|
|
|
|
|
|
|
|
|
|
|
| |
After the system is powered off (PGOOD is a 0),
we will make sure VCS is off. Even though the power on
sequence also turns it off, we're being safe by
also doing it here especially if some other code
does the power on.
Change-Id: I0834650083005bd41fbffc500cb2bc88b61d5c81
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I3739068a89645628d007e5fe1d530f51bbe1c3d6
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Perform an AVS bus workaround on the VRMs attached
to the processor. The AVS bus is how the processor
talks to the VRMs.
After the workaround, this also provides services to
disable the AVS bus so a VRM override can be run, and
then enable it again afterwards.
Change-Id: I68c48ffaafe5d7125556aa9d36cf11bf55ca93ac
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Overrides the default voltages of Witherspoon
VRMs before a power on.
Change-Id: Ide881b4b0656f53782459a427f8acde729137822
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
No Wants= relationship added because the refclock fixup is not
dependent on VCS workaround.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: Idd3904b17a2a56b9e57d05214b910faa560d8711
|
|
|
|
|
| |
Change-Id: Idf38914bec90a33198088b72918953aebcff91b3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current scripts use ecmd-style bit ranges and call a "putcfam"
function/command that doesn't exist.
Use latest VCS fix and IPL start commands from Dean Sanner (including
scratch register 8 value), converted to pdbg masked read-modify-write
format.
Add optional argument to scripts for specifying pdbg's '-d' flag.
Scripts tested to boot a Zaius machine, but not tested with systemd
services for sequencing.
Partially resolves openbmc/openbmc#647.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I87761d1454306ebf4ad597057d2160eae10dc8cb
|
|
|
|
|
|
|
| |
Setup UCD module to disable VCS rails from power-on
Change-Id: Ib72595cf120cd082bb8baf3657307154b5abd117
Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
|
|
|
|
|
|
|
|
| |
For bringup use to set the fans to a fixed value until the real
fan control code is ready. Can be removed then.
Change-Id: I9e07d371222e19b542fd0c211180f5c5f5747061
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Service file will call set_fan_speeds.sh at power on
to set a default speed of 8000 RPM.
Can be removed when real fan control is ready.
Change-Id: I776e95effcb58dca330aa2f92b50c2c12ec14695
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Sets all fans to the RPM value passed in. Uses the i2cset
command because there is no hwmon entry yet for the
fan controller chip.
Will be removed when real fan control is implemented.
Change-Id: I50289dbcfcf175ab3349d851f4e45da061436b73
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Async mode changes the CFAM clock to an internal reference clock
instead of the FSI clock (which on SoftFSI is intermittent).
Change-Id: I8af7989de72774aae0e6ffb91bce7e70bd6592a1
Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Zaius's host reference clock generator IC requires an output
configuration fixup before trying to send the P9 host any FSI
transactions. The IC is powered by the main 3.3V rail (the BMC runs
from standby 3.3V), so the fixup has to be applied every time after it
is powered on.
Add script that performs the I2C writes to the clock gen.
Add systemd service that launches the script following power on.
Add bitbake recipe to install service.
Add image build append to build service into image.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I8b1b83d0dabbb86439a043f8a1d9cdcb56986c45
|
|
|
|
|
| |
Change-Id: I175b1da5735ce022975354d3a961a94d223b5603
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Add systemd unit, which starts start_host script after vcs on.
Partially resolves openbmc/openbmc#647
Change-Id: Ieaa3713ce200bc5f156ba0e4548e264de6918e45
Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Add systemd unit, which starts vcs_on script after vcs workaround.
Partially resolves openbmc/openbmc#647
Change-Id: Ibf13a24b592d6d526b1c599d8f7b4eb8c7596150
Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Add systemd unit, which starts vcs_workaround script after pgood.
Partially resolves openbmc/openbmc#647
Change-Id: I1ec8fecffcb4293238a0a0f486101c4bd2ecd05c
Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Add systemd unit, which orders itself before powering on
Partially resolves openbmc/openbmc#647
Change-Id: Ibc3f3a928958b164c46056452c13f91c20b17277
Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add Witherspoon power sequencer configuration scripts.
Add P9 VCS workaround script.
Add P9 SBE start instructions script.
Partially resolves openbmc/openbmc#647
Change-Id: I0a25b2fc0fc74b2a88fd7d2c77b59aa72e0b2876
Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pflash changes:
Move to latest upstream release of skiboot which includes the mtd erase
patch we were carrying. Adds a patch to fix parsing of the longer mtd
labels we have since updating the device tree bindings.
dev: size erasesize name
mtd0: 00060000 00001000 "u-boot"
mtd1: 00020000 00001000 "u-boot-env"
mtd2: 00280000 00001000 "kernel"
mtd3: 001c0000 00001000 "initramfs"
mtd4: 01740000 00001000 "rofs"
mtd5: 00400000 00001000 "rwfs"
mtd6: 02000000 00001000 "1e620000.flash-controller:flash@1"
mtd7: 08000000 00001000 "1e630000.flash-controller:pnor@0"
Linux kernel changes:
Three of the patches move the comaptible string for the bt interface to match
what we have sent upstream. There is also a dts change to the mtd nodes that
add back the 'pnor' label to the PNOR mtd device, as required by pflash.
Cédric Le Goater (2):
ipmi/bt-bmc: change compatible node to 'aspeed, ast2400-ibt-bmc'
ARM: dts: aspeed: fix flash module device nodes
Joel Stanley (2):
ipmi/bt-bmc: Add comaptible node for ast2500
arm: dts: aspeed: Use upstream comaptible string
Fixes openbmc/openbmc#785
Change-Id: If2c293b85075edcf3078ef599e7b61f3a6d77c66
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
| |
Include kernel drivers for the I2C arbitrator and the hotswap
controller.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: Id6178e6e5c7eba0d71d2d57a0ec09c0ac8e49bb3
|
|
|
|
|
|
|
| |
This option pads unused portions of the flash, up to 64 MiB, with 0xFF.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I345a56342fdc16a079ea1b96d82adb2e1d9c4a15
|
|
|
|
|
| |
Change-Id: I65e34e4b9e82957cc8c0b648a5ef0594790b6e59
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
The CONFIG_IIO is depended by CONFIG_BMP280.
Change-Id: I543dac0485b6ebdc0c86397f61ac62e99e13fd6f
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
| |
Major update that adds support for i2c access to secondary processors.
Change-Id: I79cae7a62f4e13e1bff01ae8dd579ad859a3ed79
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
| |
Change-Id: I09b7b98e03e5fa30dfd3c37563e68cf751dd8c84
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
| |
New recipe copies the devtree-config.yaml to a place
the device tree generator can find it.
Change-Id: I3ac107986de469ce47a4cd76cb790a8ab60988bc
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The libflash mtd backend lacked support for full-chip erase so it did
not work. This patch adds that support to libflash. Patch is on it's
way upstream[1].
Note: the old MMIO access method could perform a wole-chip
erase on SPI NOR parts that supported it. This was sometimes a fraction
faster than erasing each page one-by-one when re-flashing the entire
chip.
The mtd API does not (yet) provide a userspace API for that, so libflash
always erases the flash one page at a time. This means you are better
off using the -e command over -E.
Fixes: openbmc/openbmc#747
[1] http://patchwork.ozlabs.org/patch/691765/
Change-Id: I20cf50e70a8487edc8cd77d41e73832913237b1b
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently pflash defaults to using the MMIO interface through /dev/mem.
We want to disable /dev/mem in production systems in the near future, so
all non-debugging uses of it need to be eliminated.
The new version of pflash defaults to MTD access. It also brings some
API cleanups to libflash.
We recently moved flasher to use MTD. This updates skeleton to pull in
an update to flasher so that it can build against the new libflash API.
Fixes: openbmc/openbmc#713
Change-Id: I6bde91c7df5d0588fc48dd2e847f21f0624a6950
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Witherspoon and Romulus contain an Epson RX8900CE RTC which is supported
by the RV8803 kernel driver. This patch enables it now that the RTC is
enabled in the respective device trees.
See this commit for Witherspoon:
6c628de9d450b ARM: dts: witherspoon: add Epson RX8900CE RTC module
And this commit for Romulus:
c5682cbc3542a arm: dts: Add Romulus BMC machine
Change-Id: I336a6a19c455d2e20084e7fd92c29404ccd5851c
Signed-off-by: Chris Smart <chris@distroguy.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
obmc-phosphor-image_types_uboot constructs a full flash image from the
built kernel, initramfs, etc. The size of the flash image depends on
FLASH_SIZE which is expected to be set by the machine config.
evb-ast2500 never set this which caused the initial setting of the flash
image to all 0xFF to silently fail. A functional flash image was still
produced since the copying of the various files into the flash image
succeeded. The flash image just ends early and writes zeros to unused
sections instead of 0xFF.
Change-Id: I640b2191e116ea82546a636e83c2a45c7e45c789
Signed-off-by: Rick Altherr <raltherr@google.com>
|
|
|
|
|
|
|
|
|
| |
This file will be read by the device tree generation
code to fill in some things that aren't strictly
hardware dependent so don't belong in the XML.
Change-Id: I8d863adfd04c13dee5e133f1aceed76d470c2fe1
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Add Zaius specific driver configs for RTC, 1-wire thermal sensor, and
I2C mux.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: If265035e7a2f03e1a890c512f86cce27d091391c
|
|
|
|
|
|
|
|
|
|
|
| |
Romulus is a Power9 OpenPOWER system developed by IBM.
TODO:
- bump skeleton for config/Romulus.py
- bump kernel for device tree
Change-Id: I9779f213e3ebc6286f6eaac35650e6c4fe395f80
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#653
Change-Id: I2c696ea0cf10b71ce971b456983ab0acdb5fed3f
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Patch U-Boot to hard reset Zaius BMC's Broadcom PHY and to enable MAC2
that it's attached to. These are temporary Zaius-specific patches that
should be removed when the Zaius U-Boot target is complete.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I0004b354d5774be1c244243e1bbbc527f195010c
|
|
|
|
|
| |
Change-Id: I0fbf66ee1cc06222d1cc24d94674b142d3c08363
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
These two machines contain the MAX31785 fan controller. We have an
interim driver for these in the dev-4.7 Aspeed kernel tree, so add the
driver to the configs for these machines.
Change-Id: Id619e8b6e3338c880aabb8780db468cc5fff6a6f
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
| |
This was an oversight when moving all of the systems to the 4.7 kernel
tree.
Fixes openbmc/openbmc#662 and fixes openbmc/openbmc#648.
Change-Id: Idc39a1e8b8406f72f1c2c20a6a37af06eb2ad002
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
| |
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I3523a192f60e335a728c06d667bdf8836dde0a16
|
|
|
|
|
|
|
|
|
|
|
| |
Remove net name patches from Firestone, Garrison, and Witherspoon. The
equivalent configuration was moved into the Python machine config.
Fixes openbmc/openbmc#601, fixes openbmc/openbmc#636, and
fixes openbmc/openbmc#637.
Change-Id: I2c2b03b506abffc1511e53dc622f42fe0589b00f
Signed-off-by: Xo Wang <xow@google.com>
|
|
|
|
|
|
|
|
| |
Include machine features in openpower.inc to enable host control
functionality. This requires zaius-config (Zaius.py) in the skeleton group.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: If02e863f861618683cd3d547056ffb23b08e7f22
|