Age | Commit message (Collapse) | Author | Files | Lines |
|
The MAINTAINERS files are no longer used and are out of date (references
to IRC still exist in most of them). Remove them and rely on the OWNERS
exclusively.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0f5d2719ad97e218ce03c4503efe1b1c92ac455e
|
|
Switch u-boot devicetree to ast2600-bletchley
This patch depend on the u-boot patch:
https://patchwork.ozlabs.org/project/openbmc/patch/20220211005419.14454-1-potin.lai@quantatw.com/
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ia9c53f7c27b29cab6f12fdb4e0e10c05bb055a2e
|
|
1. Switch to 1-based index to align with sled index
2. Update criticalHigh to 67 based on thermal team's requirement
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I7d594ef6e5e5f84abd054c7283db4a19b696d584
|
|
- Virtual_CFM_Sensor
Airflow which calculated from inlet fan tach
- Virtual_Inlet_Temp
Apply calibration equation to adjust inlet temperature
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ia4021871a64bec34a3f309b3305bf1c9e6886753
|
|
As mentioned by I970e06ca6f9d0a9792af122eb25da1bb9a06f058, append and
remove directives with '+=' are no longer valid Yocto syntax and raise a
warning.
See https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n40
One interesting caveat has to do with the difference between "append"
and "+=".
foo:append = "a"
foo:append = "b"
Results in `foo = "ab"`, but
foo += "a"
foo += "b"
Results in `foo = "a b"`. When `:append +=` is used it has behavior
like the `+=` operator. Therefore, in some cases we need to insert
additional whitespace after the `:append = "` to ensure concatenation
behaves as expected. I've manually reviewed the results to ensure there
is no ill side-effects from an additional space potentially being added.
Fix up the entire tree with the following one-liner (and similar for
`remove`):
git ls-files -- ':!:poky/**' ':!:meta-security/**' \
':!:meta-raspberrypi/**' ':!:meta-openembedded/**' \
| grep "\.bb" | xargs grep -l ":append.*+=" \
| xargs sed -i 's/:append\(.*\)+=\([^"]*\)" */:append\1=\2" /'
or ...
| xargs grep -l ":remove.*+=" \
| xargs sed -i "s/:remove\(.*\)+=/:remove\1=/"
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iea6235e7c76e252f4d473652957c2925f6b8845a
|
|
Update LED behavior
- turn off fanX_blue when fanX_fault
- turn off fanX_bmberlue when fanX_good
- blink sledX_amber when sledX_fault
- turn on sledX_amber when sledX_good
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ie024763d881f097a713619d5133e584daaaf74e3
|
|
rebase sled to 1-based due to multi host systems.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I6ef00a8976d4b64fb9fe0467e8955d93821ac6bd
|
|
Add command to perform the steps below to trigger DFU mode on host
1. turn off host ac
2. press power button and wait at least 10 seconds
3. turn on host ac, and keep hold power button for 3 seconds
4. release host power button
Example:
root@bletchley:~# power-ctrl sled3 dfu
Set host3 DFU mode
SLED3: turn ac-off
set_gpio: set power-host3 = 0 success
SLED3: pressing power button
Motor go forward to press Power button
Power button switch triggered
SLED3: turn ac-on
set_gpio: set power-host3 = 1 success
SLED3: releasing host power button
Motor reverse to initial position successful
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I055b862ad5a1302050d5df1505a3470858c6ec58
|
|
enable INA2XX driver for PSUSensor sensor reading
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ia75b14ee7f2a432ac84158342a69cb6173cb1bd3
|
|
Bletchley doesn't make use of the AST2600's hardware root-of-trust:
https://discord.com/channels/775381525260664832/867820390406422538/936755075920068759
Change-Id: I477d72cf1413fc0141714d863b22ac15637e259b
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
We want to do motor-init and turn on ac when system boot-up,
make service instances link under /lib/systemd/system/multi-user.target.wants/
Change-Id: I53bc97270d111b90e0d70052f81a7e428805ead1
Signed-off-by: Allen.Wang <Allen_Wang@quantatw.com>
|
|
Per [1], Yocto is going to start requiring both branch names and
`protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to
automatically fix our URIs.
1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
|
|
motor-ctrl recipe was reported to periodically fail with:
ERROR: When reparsing motor-ctrl_0.1.bb:do_fetch, the basehash value
changed from AAA to BBB. The metadata is not deterministic and this
needs to be fixed.
There was inconsistencies in the way the SYSTEMD services were defined
and some of them appeared to not instantiate templates correctly.
Clean them all up to match.
Also perform trivial alphabetic sorting of some other variables.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9c66fa1106a4003041f39c68c1a43ef8b6a2c00e
|
|
1. add host-ac-on and host-ac-off service.
2. init host-ac-on during BMC boot.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ie3954297e20f35c9d1f723d9d5e74cee91ec32ac
|
|
This sets u-boot to the package containing the v2016.07-aspeed-openbmc
branch. This ensures there will be no change if the default changes in
the future.
Change-Id: Iea12e1691dbdda34a3f95d6d0862add0b15bcf37
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
switch sled to 1-based numbering to align with multi host systems
tools only accept input sled1 to sled6
Change-Id: Ic372e011716d8de7edf2eebdf8667e44b2179e64
Signed-off-by: Allen.Wang <Allen_Wang@quantatw.com>
|
|
1.enable bmc pwm output by sysfs
2.control motor vref by libgpiod-tools
3.Correct typo and formating
Change-Id: Ie0a57a12e328913f007cb2014d4205ded99c91b3
Signed-off-by: Allen.Wang <Allen_Wang@quantatw.com>
|
|
root is only added to a number of required groups if either
`debug-tweaks` or `allow-root-login` is on (see
phosphor-rootfs-postcommands.bbclass). For internal builds we turn off
`debug-tweaks`, so add `allow-root-login` to our IMAGE_FEATURES since we
need it on everywhere.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic65dce4fd5374a6a9c8389c67693b980a2b5509c
|
|
For Bletchley platform, we can only power on system by step motor to press power key.
Add tools and service to initialize step motor and control system power
by motor.
Signed-off-by: Allen.Wang <Allen_Wang@quantatw.com>
Change-Id: Ic75352a037566d701b2e362743c527c370b0c2e5
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Builds done using facebook/openbmc do not use the 'obmc-phosphor-image'
image name, but instead use 'MACHINE-image'. This means that bbappend
files have no effect and we need a different method to get consistent
sets of include files. Introduce 'fb-phosphor-image.inc' and
'fb-MACHINE-phosphor-image.inc' as the replacements for the
obmc-phosphor-image.bbappend.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I166342c1744d1cd0237f8c75d90d87153fb19b35
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I19d92019649ba990dcc33ac1bc25c4ebadc933b6
|
|
1. create configuration layer for fru yaml config
2. add fru eeprom path and id config
3. add FRU_YAML_GEN in phosphor-ipmi-host bbappend
Test:
root@bletchley:~# busctl introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/bmc
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus.Introspectable interface - - -
.Introspect method - s -
org.freedesktop.DBus.Peer interface - - -
.GetMachineId method - s -
.Ping method - - -
org.freedesktop.DBus.Properties interface - - -
.Get method ss v -
.GetAll method s a{sv} -
.Set method ssv - -
.PropertiesChanged signal sa{sv}as - -
xyz.openbmc_project.Inventory.Decorator.Asset interface - - -
.BuildDate property s "2021-12-21 - 07:56:00" emits-change writable
.Manufacturer property s "Quanta" emits-change writable
.Model property s "" emits-change writable
.PartNumber property s "3RL19MA0000" emits-change writable
.SerialNumber property s "1234567890123" emits-change writable
.SparePartNumber property s "" emits-change writable
.SubModel property s "" emits-change writable
xyz.openbmc_project.Inventory.Decorator.Revision interface - - -
.Version property s "FRU Ver 0.01" emits-change writable
xyz.openbmc_project.Inventory.Item interface - - -
.Present property b false emits-change writable
.PrettyName property s "Bletchley -Class 1" emits-change writable
xyz.openbmc_project.Inventory.Item.Bmc interface - - -
xyz.openbmc_project.Inventory.Item.Board interface - - -
root@bletchley:~# busctl introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/bmc/ethernet
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus.Introspectable interface - - -
.Introspect method - s -
org.freedesktop.DBus.Peer interface - - -
.GetMachineId method - s -
.Ping method - - -
org.freedesktop.DBus.Properties interface - - -
.Get method ss v -
.GetAll method s a{sv} -
.Set method ssv - -
.PropertiesChanged signal sa{sv}as - -
xyz.openbmc_project.Inventory.Item.Ethernet interface - - -
xyz.openbmc_project.Inventory.Item.NetworkInterface interface - - -
.MACAddress property s "3AD664F68D3F" emits-change writable
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I70d624885abaa13639a0617b356554aa6c88af57
|
|
1. Enable sync-mac
2. add inventory mapping config
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I441c00c22d7f1c0e3d0c9f83b9cc149007acd781
|
|
This script runs at startup as systemd service.
It checks if the bmc time is in sync from NTP server.
otherwise it reads the host time via ipmb interface
and updates as bmc time.
This change was tested and verified in yosemitev2 and tiogapass
platforms.
Signed-off-by: Naveen Moses <naveen.mosess@hcl.com>
Change-Id: I8c937c16415b2dd05d05155facadc0bed797db07
|
|
To setup GPIOs and set fan speed to 70%
Signed-off-by: Howard Chiu <howard.chiu@quantatw.com>
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I7a64e19b6e34bcab7013b382d19d7be6156bf87a
|
|
select aspeed-bmc-facebook-bletchley.dts for build
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I85503d876b959a2f220ad84b6a9ddba047e89c80
|
|
enable SPI_GPIO feature
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I24bb13acfbddcff14c5f15fbd9262ba1b019d9f7
|
|
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I3e576e5f9f831a4f73cf9d048859f37d471f3ed7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
while applying the patch facing some build warnings.
Tested : Tested in Yosemitev2.
Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com>
Change-Id: I1544059d205413823e148eff1a56b994ca2b05c1
|
|
add support of phosphor-led-manager for Bletchley
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I4c27fb1a7658b89ff20f8f2ee4c38ae5bd17ffc0
|
|
This is required by newer versions of Yocto.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I7011bb03b3a384903f44154d2ea2a8f283afd237
|
|
1. AST26xx ADC driver
2. AST26xx PWM v14 driver
3. AST26xx Tach driver from Aspeed-linux
4. Enable driver for PHY fixed link
5. HDC1080 humidity sensor driver
6. PCF85363 RTC driver
7. FUSB302 USB-PD PHY driver
8. MP5023 HSC driver
9. DEVMEM driver for early debug purpose
Signed-off-by: Howard Chiu <howard.chiu@quantatw.com>
Change-Id: Ib87de12cabd5aef4ef8bd25ac3451a1df56d3fc1
|
|
Use phosphor-nvme to monitor the temperature of NVMe SSD on each sled
Signed-off-by: Howard Chiu <howard.chiu@quantatw.com>
Change-Id: Ib61dca1742f66b93cab7bee86b27b33cc7dce969
|
|
Removed the debug uboot console prints.
Initialized the baudrate to 57600.
Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com>
Change-Id: Ia6cd59e3d6a8a0d73d6a6113c60e13bba0f90b22
|
|
Corrected invalid gpio configurations for YosemiteV2.
Dbus based gpio config change due code logic change
in ipmbgpiosensor.
Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com>
Change-Id: I8bafd6b077471ef9910954d1342274fc075274fa
|
|
Change-Id: Ia32f0baf56fb7a3e035198ece7e74fe18f8fa05c
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
|
|
`BBLAYERS_NON_REMOVABLE` is obsolete and no longer required.
As it said by Yocto documentation it can be used by `Hob`
https://www.yoctoproject.org/docs/1.5.2/ref-manual/ref-manual.html#var-BBLAYERS_NON_REMOVABLE
that already removed since Yocto-2.1
https://www.yoctoproject.org/tools-resources/projects/hob
Change-Id: Ibc2d8268a9d837a81e9cf6b0131dba8d0a030a3f
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
|
Changed the default timezone as PST,
minimal core-region timezone files are installed.
TESTED: Tested and verified in YosemiteV2
Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com>
Change-Id: Ia05987c5c68c831aab5b4ae3bd953a03f368cf89
|
|
The majority of our hardware uses ttyS4 and 57600. Rather than have
each machine specify this, put it into a generic "facebook" override
as the default for all our machines. Assuming OVERRIDES is set
correctly, machines can still make specific overrides as alternatives.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id8b704163dc57d94e27481dba7aef1bdf66aeee5
|
|
Ensure OVERRIDES are specific, MACHINE or DISTRO, rather than extending
the primary OVERRIDES variable. Fix the order so that the variables are
ordered from least-specific to most-specific since bitbake applies
overrides in increasing order. This makes it so that 'fb-withhost' is
applied before 'fb-compute-multihost' is applied before 'yosemitev2'.
Thus, if a recipe has a specialization for 'yosemitev2' it is used
rather than the weaker specialization for 'fb-withhost'.
Tested by checking the OVERRIDES and MACHINEOVERRIDES for Bletchley,
Tiogapass, and Yosemitev2 to verify they look correct.
```
MACHINEOVERRIDES="armv7a:aspeed:aspeed-g6:fb-nohost:bletchley"
MACHINEOVERRIDES="armv6:aspeed:aspeed-g5:fb-withhost:fb-compute:fb-compute-singlehost:tiogapass"
MACHINEOVERRIDES="armv6:aspeed:aspeed-g5:fb-withhost:fb-compute:fb-compute-multihost:yosemitev2"
```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id5fa38de29c748e4ceafd5ef5c831b4f6434ea01
|
|
The obmc-system-mgmt feature is currently used in the image to trigger
inclusion of a virtual-provider which provides a number of packages many
systems need. Partially revert the removal of this feature so that
the outcome is:
1. The empty obmc-phosphor-sysd package is still removed.
2. By default the 'obmc-system-mgmt' feature is included, unless
specifically exempted.
3. All EVB platforms remove the 'obmc-system-mgmt' feature since
they have no system they are managing.
This partially reverts commit 060ad3ff7fcc30aff78a9e504efee9d8fa0d4526.
Tested:
* Built `bletchley` and confirmed `packagegroup-fb-apps-system` and
`entity-manager` are present.
```
entity-manager armv7ahf-vfpv4d16 0.1+git0+6bf41588ab-r0
packagegroup-fb-apps-system all 1.0-r1
```
* Built `witherspoon` and confirmed `packagegroup-op-apps-system` and
`pdbg` are present.
```
packagegroup-op-apps-system noarch 1.0
pdbg arm1176jzs 3.3
```
* Ran `bitbake -p` on `evb-ast2600` to confirm the undefined
`virtual-obmc-system-mgmt` is not being included in the image.
Change-Id: I8b7804d5101cc84a2c57473b3f85672bf7767c67
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I62cf17d414795e91d673d468a196d4f0a6c0a71b
|
|
Every machine layer treats 'system-management' as either part of a
package-group or removes the feature. The sample implementation in
meta-phosphor is a do-nothing shell script (and up until recently was a
Python script). There appears to be no useful purpose to this feature
as a stand-alone concept, so remove it.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I20ca1fa8ff3cb01cac2d07d4ded84e0769e4514b
|
|
Modify the machine meta-layer configs to remove the use of the
OBMC_MACHINE_FEATURES indirection and favor the Yocto MACHINE_FEATURES
variable instead.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ifafb79e4e4c010e9476b9547cd4982f5b645060e
|
|
Manojkiran Eda (1):
Add OWNERS file
Change-Id: Iffaa976f9522a806bbef6d257fd72e8b81d4b154
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
These config files contains the gpio configuartion which will be used
by the x86 power control.
PGood config is dbus based gpio configuration is added for all hosts.
TESTED:Tested and verified in YosemiteV2.
Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com>
Change-Id: I94c12545b26ac3bae8226ac6434e61c7c1ee9e06
|
|
Patrick Williams (1):
catch exceptions as const
Change-Id: I98ce5f5a6f3fe329f0240ac140c2a7889120bee8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia05891430c6c97a89b7bc8ba4558ae496866bf7d
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I75f71a404016949179cca78605ae5be4613249e3
|
|
phosphor-host-ipmid: srcrev bump d1bd8c48c0..7a3296df0c
Arun P. Mohanan (1):
Add check for reserved sensor number
Chanh Nguyen (1):
chassishandler: Support Hard Reset command
Hieu Huynh (1):
Implement the set/get system boot option parameters 0x04
P Dheeraj Srujan Kumar (1):
NULL check before pointer dereference
Patrick Williams (1):
exception: switch to public sdbus exception
Vernon Mauery (4):
Use SecureString where there is data to be cleansed
Add a SecureBuffer class
properly handle unexpected exceptions
Rewrite Set User Password command with new API
fb-ipmi-oem: srcrev bump 58c1ca2f7c..485f9b31cb
Patrick Williams (1):
biccommands: use SecureBuffer for IPMB call
Change-Id: I4df3dbda793f9ebab5e898d3c5556b1dfe05b247
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|