| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
It was a typo that it uses 0x70 for VDN0's i2c address.
Fix it to use the correct address 0x71.
Change-Id: I0600e8371e05c64bf2c95fa93cfcb7b79242a835
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Similar to Witherspoon, Romulus avs-disable/enable scripts need to
enforce the PAGE setting. Otherwise host may fail to boot
intermittently due to AVS command failure in hostboot.
Change-Id: I323c5c89702a440812d08b5633621ef4f811e29d
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
| |
Change-Id: Ibf316dc4492018e30b204e81d30e85ff46597604
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I888d74ac34b4682a512c183080155d983f47b6c6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I4c83e40ec602fd19e2972e0eeb1640ecd6d9dffa
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- On several systems we found out that the persistence
priority file was not deleted as part of the delete
interface. Therefore creating symlinks based just on
those files was not a reliable solution.
- The new design approach checks both /media and the
persistence priority files before updating the symlinks.
Change-Id: Ida2a4a5d5daf4ae8b9c9a17d755b6ca0ccd1c132
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ability for u-boot to load a kernel from a ubi volume.
Add boot options for the kernel to boot a rootfs from a ubi volume.
Create env variables that can be set by userspace to indicate to
u-boot and the kernel where the ubi volume information.
Resolves openbmc/openbmc#1940
Resolves openbmc/openbmc#1943
Change-Id: I670435923c563490afa6a85b852594289295651c
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add MTD and UBI support to the default g5 include, conditioned to
having MTDPARTS_DEFAULT defined.
This allows platforms to enable this support if desired without
adding it by default since it increases the size of u-boot.
Change-Id: Id6d95769a5e65f4f0f30238bf6a6ee2878c5a521
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In testing, a number of issues have occurred in which which we have
attempted to create a read-only volume to mount the squashfs file,
but it's failed because of an existing volume or UBI block of the
same name.
This commit resolves those issues by simply removing any mounts or
volumes of the same name prior to creating and mounting a new
read-only volume during the activation process.
Resolves openbmc/openbmc#2109
Change-Id: Ifa4db46fc873d2177025ec973cace3b23cf17097
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I23a2ebe3d4eedee36eb342c064a87598893dfaa6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
| |
xz is a lossless data compression program; phosphor-debug-collector
uses this for compressing dump data files.
Change-Id: I2fca916b2cf94f49a317c88e714a5bef979bcbf4
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I930907ea6040e44aa20f330af633851daebd2e28
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
| |
Add support to the aspeed flash driver to enable the common mtd layer
through CONFIG_FLASH_CFI_MTD.
This enables the flash to be used by u-boot mtd drivers including
the mtdparts and ubi commands.
Change-Id: Ib95d778fdb88ec0e62a8f53e651795b4f40041d9
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
| |
Change-Id: I06f511350e025144a8612c8077427a1d35cdfe10
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Ie064ea9595742b78ccb7fe8a59c923b147ebfff6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
| |
When the obmc-ubi-fs feature is enabled we should use the raw Linux
kernel fitImage rather than the kernel+initramfs. Update
image-overlay to select based on the MACHINE_FEATURE.
Change-Id: I099e37c7f82218a2a7173de93724301b9a499bd3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I94fe5ce5231a2950dba5efbb3ee55522da6641a5
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I9b91ce8c540df347537544bbe5e8b5396aa2d3dc
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently building causes a warning about a postinstall hook that is
unable to run, due to needing qemu, which causes the postinstall hook to
be delayed until first boot. When moving to a read-only-rootfs, we
cannot have delayed postinstall actions (otherwise bitbake fails).
The glib package does not actually have any GIO modules that need the
postinstall action executed for, so remove it entirely via bbappend.
This is not appropriate to do upstream for the glib package because,
depending on glib options, this may become required. We only use glib
for the python dbus libraries, so we are unlikely to ever be affected
by this. (Even if we are it just causes a small performance hit on
process start-up due to a gio cache not being populated.)
Change-Id: I217d4f21be3e2af20895b51267830f4fda376d2c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Ic617c0037abc4ec9ba5dab3e0f6e90c6a2b92cfd
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update fw_env config with two sections.
Update init script to handle redundant envs.
Patch u-boot. Can be removed when openbmc/u-boot is updated and recipe
bumped.
Resolves openbmc/openbmc#1937
Change-Id: I15137f55d960381a0b3fbb58c53090bbd5b86482
Signed-off-by: Edward A. James <eajames@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add new image types to enable selection of a two partition mtd
image: u-boot, and remaining components in a ubi image.
UBI enables advanced volume management for flash devices.
Resolves: openbmc/openbmc#1941
Change-Id: Ia6ffa96877943c73c14aba76f8fe9533d22b3aa5
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
More refactoring in preparation for ubi based mtd images.
Promote tar file generation to a real image_fstype. This allows tar
generation to be turned on or off as needed.
Move image-overlay function to image_types_phosphor. Perhaps phosphor
is not the best name but for now we only have a handful of image types and
the generation logic is to interdependant to warrant seperate classes
for each.
Attempt to improve readability throughout.
Drop ext4 override to discourage mtd block emulation.
Change-Id: Idbdc03444549b955ef2180622d133904cb191b28
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
| |
Early in the dev-4.4 kernel lifetime a workaround was developed when the
fw_setenv command was failing. That issue does not appear with the
current kernel and the workaround can be removed.
Change-Id: I2a0f01f274b7ce76fbd1e80fe901cc86087ee5d8
Signed-off-by: Edward A. James <eajames@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I51bff72dd3647f3f45ebfaf3956e342173b5f71b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Iddbdf16ca0e13b9edc8055b85137037108c2970c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I0ffbff93a06638179a8c896c56a265430e8258fc
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The OCC active sensor drives the binding and unbinding
of the OCC device driver to the OCC's. Need to ensure
if the host is stopped for any reason, that the OCC
sensors are set to non-active.
Resolves openbmc/openbmc#2148
Change-Id: I5e4bc5469ddda16c961b9f46c771c101b7092cd6
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Ica5b38fe0305a60c384e01e984bf1e6c5803ce0f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I039ec6edad495ee5afe22ed703257ea9e2f7f49f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Ie257918727b1d471968c0fc7d3f87813df5c7776
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Ieb0ba06bc8875af382b1f8e9ed38ec36eeaece48
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
| |
Change-Id: I50181ed76be53de3780a0a91a12f64bd5acb647d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Ib1c8b04cdc4cde632fc85758757fb899ca098fb2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I2052c4a511f481b8c1c67c132160d0414d7a0771
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Create a static service file that will be run
on all BMC boot to remount the bmc ubi volume.
- Read the ubinfo for all available volumes from
obmc-flash-bmc script.
- Re-Mount the available volumes on /media/ dir
using the volume names.
Change-Id: I8f3a0b41257927fa0e69001278cc836ba0a52dda
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I26d670fc727bc1a7cbd407b27107642467ccfa7f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I7afc512428f81da253166136d4a537d9b67f502f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I427ecd2461185dbc979c831e5e80cb4a227c4640
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I1fd5511f807f3832861650feab796274ebb2d6c1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A system specific YAML file helps map ipmi sensors to corresponding
d-bus objects. This YAML was using the sensor type as the key. This was
an issue because there is a possibility of different sensors, with the
same sensor type, mapping to different d-bus objects and interfaces.
While still maintaining the sensor number as the key in the "output"
YAML (generated by an MRW parser), use the sensor instance name as the
key in the input YAML. This helps to have 1x1 mappings between sensors
and d-bus objects.
Resolves openbmc/openbmc#2130.
Change-Id: I3e87fa88d8622615f1a21aa46084f7082dcc4d0f
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
|
|
|
|
|
|
| |
Add msn specific defconfig layer. It adds configs used
by msn boards.
Change-Id: Idba0423d554b50c61801c830b7b9daab73633725
Signed-off-by: Mykola Kostenok <c_mykolak@mellanox.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Replace the functionality of updating the symlinks
under openpower-pnor-code-mgmt to a service file.
- The new service has a dependency on mboxd.service.
This allows us to only defer the symlink creation/update
until the mboxd.service is started, which prevents
symlink updates while HOST is running.
Change-Id: I8542aa24a9058af9560a32eec5140ff5ddee60d1
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
iicmaster no longer works with the (soon to be) upstreamed FSI-based
I2C driver.
fsidbg is one tool to access FSI engines and perform client driver
operations, including SCOM, SBEFIFO, OCC, and I2C.
Change-Id: I1802977d1b812d42213b38462596ee49838cfd3b
Signed-off-by: Edward A. James <eajames@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I9ed0f022389bac2bc4c1b4aa14e2972b2ffb85d8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
| |
Per request of power team, adding an AVDD override to
our power on sequence
Resolves openbmc/openbmc#2112
Change-Id: I82478e6f3eb30a108c4e7332369d36568e425315
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I2fc2b3c0f4a24d5fe343cde3f2bb4fed661bac69
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Edward A. James (8):
hwmon: (pmbus): Switch status registers to 16 bit
hwmon: (pmbus): Access word data for STATUS_WORD
hwmon: (pmbus): Add generic alarm bit for iin and pin
hwmon: (pmbus): Add debugfs for status registers
dt-bindings: i2c: Document the IBM CCF power supply version 1
hwmon: (pmbus): Add IBM Common Form Factor (CFF) power supply driver
Documentation: hwmon: Document the IBM CFF power supply
ARM: dts: aspeed: Witherspoon: Add power supplies to i2c bus
Jaghathiswari Rankappagounder Natarajan (1):
Documentation: dt-bindings: Document bindings for ASPEED AST2400/AST2500 PWM and Fan tach control
Joel Stanley (2):
ARM: configs: aspeed: Add VLAN options
ARM: configs: aspeed: Enable IBM CFF Power Supply driver
Mykola Kostenok (2):
Documentation: dt-bindings: aspeed-pwm-tacho cooling device.
hwmon: (aspeed-pwm-tacho) cooling device support.
Change-Id: I78081bba5af67a1b1987fe256dd1f2ff3182472d
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
| |
Change-Id: I4a74c8f651dc3bd064701c24560fde6e89eb2bbc
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I79ec3a085de3d5e3935ecfe9e7a8f5ee0c94a085
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|