Age | Commit message (Collapse) | Author | Files | Lines |
|
The latest poky commit is requiring us to have all of
our template configs in a subdirectory instead of directly in
the `conf` directory. Without this we end up with errors during
setup like:
```
Error: TEMPLATECONF value (which is .../openbmc/meta-facebook/meta-bletchley/conf) must point to meta-some-layer/conf/templates/template-name
```
Fix this by moving all of our template files into the 'default'
template subdirectory (following the pattern of poky) and modifying
`setup` as necessary to follow.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iecefde73d55acbb6bc63ae3d68c4311adaf327ae
|
|
Defined I2C bus and address for ADM1272(HOTSWAP_CTRL) and
PM6764(STBUCK). Added to prevent hardcoding and promote modularity.
Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com>
Change-Id: I6bd3e993d944e87b9242d6237850d2a4b0e30ada
|
|
The BOARDVER_PVT_LAST is used to indicate the last value of PVT version.
The GPIO line name (BACKUP_SCP_SEL) replaces GPIO number 168.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I9057371597996cdcf620cb79d94b7e72356a535b
|
|
Add the missing shellcheck source path to kudo-lib.sh for the
references to I2C_BMC_CPLD and I2C_MB_CPLD arrays.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I97606afdf59caea3695428839d8806a96198ee96
|
|
For the upgrade to Kernel 5.15.29,
- Consolidate the configurations between those required to be
added and those already included
- Organize the configurations into categories
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: Ia0df58344772af576e9ddb5346d8d505ce11fd1b
|
|
Adds the packages to support the button handler and signals.
Add the GPIO definitions for obmc-libobmc-intf of the skeleton
repository.
The GPIOs configured are,
- PGOOD: Host power good
- POWER_BUTTON: Power button input
- RESET_BUTTON: Reset button input
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I1a8ca713c00b7220793c58b1695ae680882a3404
|
|
Add pwm_init service to set fans to pwm mode and initialise them to a value of 50% on boot.
Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com>
Change-Id: I07963eda9b0c264e66d1dd4f2a0d31f4e74d831e
|
|
Adding Mori Entity Association Map .bb and .json files.
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: I3e090f9cc4258d0215a1af836ea8d85e7b852483
|
|
Adding bios update, bmc update, cpld update, and phosphor ipmi flash
packages
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: I5543f520f710e065a476999991a48bdaf0544c0c
|
|
Editing kudo_entity_association_map json so that PCIe Instance
number matches the i2c bus number.
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: I2c480ae288f9a9a4281d54bd4e1b3131bb427836
|
|
Summary of Changes:
- Add basic mori.sh tool
- Add mori-boot for host and switch initialization
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I2cee6a2b6a15a1e2f9a53baf331fb452f73f080d
|
|
Add the mori-fw file and package in packagegroup.
Supports: CPLD, BIOS, and Bootstrap flashing.
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: I5541af3d07c01a0602f7794c5f1b6610622e93ee
|
|
Add phosphor-ipmi-blobs-binarystore package with the config support
for Mori. The EEPROM is at bus 4 behind mux channel 3 as virtual bus
42 and its address is 0x55.
Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com>
Change-Id: I071488261f97311ea094c4b575134361da4ad272
|
|
Add phosphor image obmc-phosphor-image bbappend file.
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: I170ef615677f69ff570673a3343995f8efa393a3
|
|
Summary of Changes:
- Add BBLAYERS for security, phosphor, nuvoton, google, and mori
- Remove BBLAYERS_NON_REMOVABLE
- Add LAYERDEPENDS for mori-layer
- Add mori u-boot device tree
- Use obmc-phosphor-image appends instead of packagegroups
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I7f3ae13678f36581df5abaf7ba95220a0859843d
|
|
Upstream phosphor-state-manager doesn't want to support
obmc-chassis-powercycle target.
Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com>
Change-Id: Idb955d3f0bee0701bd87d265fac679e7209ff87b
|
|
1. Enable Dump log service transactions through Redfish
2. Enable BMC journal access through Redfish
Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com>
Change-Id: I92dcd5e6ae1ec72cf70be0d6267fb7074c4f9e18
|
|
Adds hotswap power cycle features.
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: Iadb9a312420a1fe70d5c2a31640b7cd2bda480a4
|
|
Adding NIC-ethtool packageconfig to the phosphor-network bbappend file
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: I10ee053a9daa49493d16851a583b7a699fe71df4
|
|
Enables monitoring of Threshold, pulse, and watchdog systems.
clear-sel packageconfig requires sel-logger-clears-sel
phosphor-ipmi-host packageconfig
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: I6cbd7492562ae96b97787e6c7578ad95bfc5a8f0
|
|
Add the smbios-mdr configuration for Mori.
cpuinfo: removed due to libpeci binaries dependency
smbios-ipmi-blob: extracts SMBIOS table data
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: Ibeff229ece565925f142a1f34b8f4748fe74860a
|
|
Add the recipes-extended file containing the rsyslog configuration.
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: I58c42c613111363db0d783aa5338a72a9f2004d3
|
|
Add phosphor-ipmi-config package with the config for mori
machine.
Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com>
Change-Id: I697de45514757a5d45fdf4263d2dedcdea910584
|
|
The upper critical value of CPU0_MEM_PW has been changed to 100
and the max value has been set to 200 to support this change.
Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com>
Change-Id: I1ee84cbeca688a8203e49c891b8a8a870db693fe
|
|
This commit adds the settings for the IPMI Chassis Capabilities
command.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I2fe225a49f960eaa29d6a2d598cde77998ab28a2
|
|
Add mori kernel conf
Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com>
Change-Id: I13807a55806a8fa6348879bbd27e02e9888aff1c
|
|
Adjust CPLD aux version by shifting byte from 2 to 5 to
1 to 4
cmd: kudo.sh fw
Before change: BMC_CPLD: 0.0.15.0
[5], [4], [3], [2]. the [5] is null
Post change: BMC_CPLD: 0.15.0.0
[4], [3], [2], [1]
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: I518ddb5e739fb73876f325b44b0104210a48c09c
|
|
Removed the 2p sensor support from the phosphor-virtual-sensor
and modified the recipe accordingly to support the new config.
Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com>
Change-Id: Ie9896ed6473844f54ba0fb3e422de946bec52892
|
|
The custom phosphor-pid-control.service is not necessary because PID
control still operates with the default phosphor-pid-control.service.
Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com>
Change-Id: Ic0f1447c5a20f275cec9e51d26018f6f55101ed0
|
|
The version value used to be interpreted as hexadecimal for IPMI
and then was changed to decimal to match Redfish.
This will change the interpretation to decimal and increment to
the next version.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I9e3513c7e51186bdbdbc2f3526a8e1dd0edf808d
|
|
kudo.sh: Show which SCP EEPROM is used in (fw) option
kudo-lib.sh: Added get_scp_eeprom() function
Signed-off-by: Karthikeyan Sundaram <karthikeyan.sundaram@fii-na.com>
Change-Id: I686ff6b3bf9ab8ef7434ab44f0668912bfffb9b2
|
|
The phosphor-watchdog-host-reset service used the deprecated
force_reset command instead of the host_reset.
Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com>
Change-Id: I329006b23ce7ac50d659dd8cf59704256b2bffaa
|
|
Replace append directive with += in usb-network bb recipe
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: I57d40a40a3f9f50e0ec52f4f53a10b261f655097
|
|
Replaces the hardcoded board version limits with reference to name
in kudo-lib.sh for Kudo layer.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I69a2a157d5f49f474b06bbc15d15377371fffcf2
|
|
Remove Mustafa Shehabi and add Charles Boyer
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: Ie7a642334e77d3896ddd999b7bcdf52304efff48
|
|
The only recipes which use content from meta-perl are openpower
machines:
```
meta-openpower/recipes-bsp/pdata/pdata_git.bb: libxml-libxml-perl-native \
meta-yadro/meta-nicole/recipes-phosphor/logging/openpower-esel-parser_git.bb: libxml-libxml-perl-native \
```
Remove meta-perl from the bblayers of every layer except openpower
machines.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I51f1a8fbfbe879295c64d2339fc115dbd8823681
|
|
Use GPIO instead of IPMI for host condition.
Adopt the multi-host support and syntax for phosphor-state-manager
services.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I58ff4291ce3ec055579df5a2463c178e53d93625
|
|
This was added with cde0f094f for libseccomp, but shortly after that
upstream moved libseccomp from meta-security to core (241c7d2e6). As
such, meta-security is no longer used or required.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I371e54b11f6336720dfc6edf0ef733d22b7fb4f2
|
|
Adds the I2C bus and address in array form to kudo-lib.sh, and
replaces the hardcoded values with references across Kudo layer.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I69bbff444e013e61d7f7fd5051612a6d4adc8ded
|
|
The method to monitor the power and reset buttons through the
ampere_power_util.sh with phosphor-gpio-monitor was a temporary
solution. It was a temporary workaround until there is support for
Nuvoton GPIO in phosphor-buttons.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I34541c0f56887962ad780b811eae44f1d851059d
|
|
Replaces hard-coded GPIO throughout the Kudo layer with a reference
to its line name from DTS.
The process to dynamically obtain the GPIO number for Get is added
to kudo-lib.sh,
1. Use `gpiofind <Line Name>` to obtain gpiochip# and pin#
2. If the gpiochip# exceeds the number of GPIO banks of Nuvoton,
then it is an I/O Expander.
a. Use `gpiodetect` and extract the I2C bus-addr
b. Obtain GPIO base value from sysfs using bus-addr
c. The GPIO number is then the (base + pin#)
3. If the gpiochip# is within Nuvoton GPIO banks, then calculate
the GPIO number as ((gpiochip#)*32 + pin#)
Then the GPIO number can be used in the export to obtain the value.
Tested with Nuvoton:
- Can read/set Nuvoton GPIO with defined line names
- Can read/set GPIO from I/O Expanders with defined line names
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I651c0707a8bbc170d3c5a5fc261e5f9c62453e9f
|
|
We want it to be possible to order units prior to the powercycle event
if state needs to be persisted prior to a powercycle.
We also no longer need the logic to handle waiting for the delay as this
is now part of the global target logic.
Change-Id: Icba008e66c81834a65099a25b1af4f7bde4e94b5
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Replace append directive with += in kudo-scp-update bb recipe
Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com>
Change-Id: I3d207f3aae5a504ac570472d0848e40a4699cbe7
|
|
Replace append directive with += in kudo-cpld-updates bb recipe
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: If5c63210a5195033b182aade3c995e39225a6597
|
|
Avoid build errors of the form:
ERROR: Nothing RPROVIDES 'virtual-obmc-system-mgmt' (but /opt/openbmc/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb RDEPENDS on or otherwise requires it)
Change-Id: I169ce0e22b74d5fd825a6f560a9ea027bad326a1
Signed-off-by: Peter Foley <pefoley@google.com>
|
|
The NBM 2G and 4G chipset version is selected using expressions in
the json based on the chipset used and available in SDR.
Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com>
Change-Id: Ibd3c683fde94206254c37c3552db828a6b78e982
|
|
Per [1][2], Yocto is starting to deprecate ABORT and has replaced
the "ABORT" action in BB_DISKMON_DIRS entries with "HALT".
1. https://wiki.yoctoproject.org/wiki/Inclusive_language
2. https://git.yoctoproject.org/poky/commit/?id=4f77505d94a8f6260933f457e9848d1d2fa98ce5
Tested:
Built obmc-phosphor-image successfully and eliminate the following
warnings:
```
WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to
"HALT", update configuration
```
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: If57d0ded9fac41e23b31b01e2a0e309ac7388148
|
|
Fixes bash shellcheck errors so that the exemptions in run-repotest
can be removed.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I6afb059cf1151c871ddfcaf67efc6a63183f7130
|
|
The tla2024 support has been moved into internal repo.
Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com>
Change-Id: Ia77538f10015b033f989b9371c69cfe5d286ee52
|
|
Fix an issue where the SubMajor version was not converted
correctly from Hex to Dec.
Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com>
Change-Id: I38d9d7e93652696b9674a8719d751325160b4f13
|