| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
do_generate_flash() was manually packaging the initramfs cpio archive as
a u-boot ramdisk legacy image. Add the u-boot type to
INITRAMFS_FSTYPES to use the existing infrastructure instead.
NOTE: if you have an existing build directory, this change may cause the
build to fail while creating symlinks. This is caused by the .u-boot
file changing from an actual file to a symlink.
Change-Id: I9fa69620f97452671f89675768b1d1f33dbe97f2
Signed-off-by: Rick Altherr <raltherr@google.com>
|
|
|
|
|
| |
Change-Id: Iaf582464f1a6311cda2d96c921ad27bc28ec9686
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Ibec49aeea5d234ba1aca56d76baf8118becdf176
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Id060c692e220c55c505311d76e2d312257d0a430
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
These are useful for diagnosing issues with network devices.
net-tools is brought in for mii-tool.
Change-Id: Ib47e7a7498a5f999ffa86a343191e9fcd6dd0a87
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
| |
Change-Id: I18777b815ca119dc8451e2378356a0f264717e9b
Signed-off-by: Rick Altherr <raltherr@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
OpenBMC has been using a .bbappend to add/remove packages from
core-image-minimal-initramfs. Doing so keeps the recipe and initramfs
image name as core-image-minimal-initramfs which is misleading as it now
is very much phosphor-specific. Instead, make a new
obmc-phosphor-initramfs recipe and image that is patterned after
core-image-minimal-initramfs.
Change-Id: Ieca2268eff01bb61cc0d25a1cbc1a6f5fadb6d2c
Signed-off-by: Rick Altherr <raltherr@google.com>
|
|
|
|
|
| |
Change-Id: I683f1eb10bcd64c85fa8267d6b9f3ee67f922978
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds FIT support from Rick.
Two of the patches are only relevant to our out-of-tree Aspeed support,
but one was sent upstream. There is also a bugfix for a linker issue
discovered when preparing this release that was sent upstream.
Bugfix for building with bleeding edge binutils
* Makefile: Fix linking with modern binutils (sent upstream[1])
FIT image support
* Enable FIT image support and FDT loading for AST2400/AST2500
* bootm: relocate ramdisk if CONFIG_SYS_BOOT_RAMDISK_HIGH set (sent
upstream [2])
* aspeed: remove hack loading ramdisk in memory
[1] https://patchwork.ozlabs.org/patch/706336/
[2] https://patchwork.ozlabs.org/patch/704192/
Change-Id: I46469bb0426c1071843884a3b4f1e15e3d6a58e0
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the initrd decompression address to 0x42000000 to avoid overlap in
the decompressed image. A symptom of this was seeing the following in
the kernel logs:
INITRD: 0x40800000+0x0017eaed overlaps in-use memory region - disabling initrd
Followed by a backtrace when the kernel cannot find any root file
system.
The new address is high enough that we can fit kernels larger than the
1.5MB window that the existing address gave us.
Change-Id: Icb79fadc5d9f01dbf89c73c74d2ed40c10b25c2a
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- FSI changes
* Merge v1 of the FSI patchset as sent to lkml
* Merge Jeremy's raw driver for slave address-space access
* Define pins in Palmetto DTS
* Build the FSI SCOM driver for both ast2400 and ast2500 systems. The
driver has not been enabled in the device tree so it will not affect
any sytems at this stage. We will enable systems as the userspace
changes are made to support the kernel driver.
- Zaius
* Enable LPC to AHB mapping for flash access
- Update the ast2400 systems with the correct amount of RAM
* They systems have 512MB, minus the 16MB framebuffer, but our device
tree restricted them to 256MB.
* We now set them to 512MB with a 16MB no-map reservation at the top
for RAM for the PCI framebuffer
Change-Id: I7377e0f3bd075b78d923ff7295b133a75158e5d9
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
| |
The host settings service can now handle the host
control object not being present, so no dependency
is required.
Change-Id: I860b848c9e49bfce51b78f9af6ca1d86bd86bd23
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: Icbfbad11289d66a23e86772ab967a8f12c216c5b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
| |
Useful for anyone who set up repo with this project as the root.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I68e63bfd2f3cdea607696b02cbc443324b6e9896
|
|
|
|
|
| |
Change-Id: Ie01cc18ee9fa7bbaa906db1ececdbdef1bb66b36
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Idc251f7382f86239d8cfd1d418e51c9c699221cf
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Change-Id: Idcd8cf5dd904478c6200729146c62bd7b5264a66
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As a known issue, the introspection data cannot be built on ppc64le.
https://lists.yoctoproject.org/pipermail/yocto/2016-April/029582.html.
To work around, I disable the use of qemu when we build openbmc
by modifying the configuration files:
Add
MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode"
to the end line.
Resolve: openbmc/openbmc#640
Change-Id: Idb6584ca43a8d4f005aa365f62aa1d46d2a00fd5
Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I37d1f50f38043ccc774c47533b430a15e3b61abe
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I23aefb5c5fefe708096800efb78eba929c635129
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Ia55e74dfbc0b203dbd962f653574024e2f8f45d8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I3bdb4eeeebf55894481ad083c3c2e3d09f5feedf
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I48029f737f11cd76484e6a7192281bf52ef7e8f2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: If5145f71fd3082cd70abf94f4734bc0d4984458e
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I2ffc5e312f43765cbda6f0e77e5574b6c0d32c65
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The problem was that when a curl command
was given without any options, several error
messages would be thrown that can flood the
journal. To fix this I had to use a 'try
catch' statment to catch the error. I
modified the current 'try catch' statement
to catch and pass on the ssl error so no
error messages of that kind could flood the
journal. After implementation no more ssl
error messages were flooding the journal,
however a new error was thrown so I had to
create an additional exception and pass on
it as well. This fixes issue number 583.
Resolves openbmc/openbmc#583
Change-Id: I4857861f3c0ff103e2bccf9f5a5821c8219aefe6
Signed-off-by: Josh King <jdking@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I24cfe2457d7466fdc77ed0e75b96dc4e86638ded
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I82ca5b6bd5497c051b1f39f4e93184dd0480b378
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|