Age | Commit message (Collapse) | Author | Files | Lines |
|
Upstream bbclasses changed to typically use the `:${PN}` override
syntax, including the SYSTEMD_ variables. Change our systemd.bbclass
to do the same for consistency and perform a tree-wide variable
replacement.
Spot checked by building bletchley and witherspoon and checking
some of the SYSTEMD_LINK directives on installed packages under qemu.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
|
|
Remove the unneeded obmc packages and add specific ones that are used.
Signed-off-by: Vivekanand Veeracholan <vveerach@google.com>
Change-Id: I80472124ec1af684ebbd502219c8ae6d9f8fcee9
|
|
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current
and the upcoming. Remove 'gatesgarth' is it is now 2 releases back.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
|
|
'SYSTEMD_ENVIRONMENT_FILE', 'SYSTEMD_LINK', 'SYSTEMD_OVERRIDE'
should stay underscore
Signed-off-by: David Wang <davidwang@quantatw.com>
Change-Id: Ia30f306857d1552b19ff5ed06664c8bd5360cb4c
|
|
- Cleanup subtree meta-f0b, meta-olympus-nuvoton, meta-q71l with
convert-overrides.py meta-quanta/meta-f0b
convert-overrides.py meta-quanta/meta-olympus-nuvoton
convert-overrides.py meta-quanta/meta-q71l
git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-f0b
git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-olympus-nuvoton
git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-q71l
git grep -l _f0b -- meta-quanta/meta-f0b | xargs sed -i 's/_f0b/:f0b/'
git grep -l _olympus-nuvoton -- meta-quanta/meta-olympus-nuvoton | xargs sed -i 's/_olympus-nuvoton/:olympus-nuvoton/'
git grep -l _quanta-q71l -- meta-quanta/meta-q71l | xargs sed -i 's/_quanta-q71l/:quanta-q71l/'
- Fix up a few by hand
- Revert 'BBFILE_PATTERN' and 'LAYERSERIES_COMPAT'
- Add honister to 'LAYERSERIES_COMPAT'
- Update 'CONF_VERSION'
- Fix up 'SYSTEMD_ENVIRONMENT_FILE', 'SYSTEMD_LINK' and 'SYSTEMD_OVERRIDE' in all subtree
Signed-off-by: David Wang <davidwang@quantatw.com>
Change-Id: Ic431624d09dc5899b1d84439559bea9efca08ad8
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I569f08159a5da3d148f63a5b1ed29b5cd52181db
|
|
Cleanup with
```
convert-overrides.py meta-quanta/meta-gsj
git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-gsj
git grep -l _gsj -- meta-quanta/meta-gsj \
| xargs sed -i 's/_gsj/:gsj/'
```
Note:
Need to revert the change to BBFILE_PATTERN and LAYERSERIES_COMPAT.
After cleanup
```
$ git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-gsj/ | grep '.bb'
meta-quanta/meta-gsj/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_%.bbappend:do_install:append:gsj () {
meta-quanta/meta-gsj/recipes-google/ipmi/google-ipmi-sys_%.bbappend:do_install:append:gsj() {
meta-quanta/meta-gsj/recipes-gsj/detect-fan-fail/detect-fan-fail.bb:do_install:append:gsj() {
meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/quanta-nvme-powerctrl.bb:do_install () {
meta-quanta/meta-gsj/recipes-phosphor/fans/phosphor-pid-control_%.bbappend:do_install:append:gsj() {
meta-quanta/meta-gsj/recipes-quanta/network/mac-address_%.bbappend:do_install:append:gsj() {
```
Change-Id: I058371ed32214d665aaaf616a650c2efeaf5be66
Signed-off-by: Willy Tu <wltu@google.com>
|
|
William A. Kennington III (3):
makefile: Fix target install
treewide: Cleanup pedantic C++ warnings
build: Add meson build
linyuny (1):
Add new google ipmi sys command: SysHostPowerOff
Change-Id: I988b24ca97d95ffa4ef7332741b682f1fae06011
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This is apparently not actually working anymore and is removed in the
next poky update.
Change-Id: Ia1c6a258d124a4a30a14fc42e8e0bba95e64faeb
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We don't need to override this option anymore as the network will
be configured correctly without it.
Change-Id: Icdc7bb645afa18c12cb5d16337d13cdab7b3e339
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
gsj should be using the meta-common mac-address. Remove the gsj specific
mac-address.bb
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Iad1daca6308f4952816ba5fa6192cd6a161a75ca
|
|
meta-gsj is using SRCREV = "${AUTOREV}" which is outdated.
Instead, use the bitbake from meta-common similar to meta-gbs.
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I7c05b04987d10382329e7e813e71d0d79f2c4b9e
|
|
The ipmi command checks the FRU device's Present property upon a
FRU device info reading request.
The fru eeprom devices is availabe in dbus, but cannot
be accessed by ipmi.
```
$ ipmitool fru
FRU Device Description : Builtin FRU Device (ID 0)
Device not present (Requested sensor, data, or record not found)
FRU Device Description : hsbp (ID 1)
Device not present (Requested sensor, data, or record not found)
```
Google-Bug-Id: 186454762
Change-Id: I173c8b3a43dc117f026908d035a00cf49a4e90f5
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Google-Bug-Id: 186163211
Change-Id: I0e7a43b93cb441ee382b5b94e6f5aac24aaddc7d
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Latest upstream yocto has moved on to the 3.3 hardknott release
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
|
|
This layer provides libseccomp.
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
|
|
These are needed to monitor the NVMe drives.
Change-Id: I298871dac5195fed4d30fe9722370d98c68da942
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Willy Tu <wltu@google.com>
|
|
The next release of Yocto is soon and most of the upstream
layers have switched support strings for it. Support layer
compat for gatesgarth (current) and dunfell (previous).
(From meta-quanta rev: 34f30a0dca7ab63d93d56132f93e96244b02aeff)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I388aa5bf43235718668da109ebdb800e27b856d0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Support for the Scale property on the sensor Value interface was dropped
in the phosphor-hwmon commit ecac0ae208cfc437 ("Fixes for when sensor value
is a double").
(From meta-quanta rev: 8158024f02f58e04bae6677a5703d4e69d990877)
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: Ic21f54a1f21529d4e36d5111fb4562f2581b4c82
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Dbus sensor interface 'xyz.openbmc_project.Sensor.Value' migrated
from int to double. Therefore all old 'int64_t' types in
"*-ipmi-sensor*.yaml" files for this interface should be changed to
'double'.
(From meta-quanta rev: e48a99450e7c33ddca74cf9aeab4258e38ed1cab)
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: I42da4df4e06d22fdd68dae4ab1ab9213908feac8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Upstream is in the process of reworking how ldap user management is
included (or not) - moving from a distro feature to an image feature.
Opt out from the new image feature to avoid picking up the ldap user
management packages when upstream makes the switch. There is no longer
any need to remove ldap from DISTRO_FEATURES, so remove that.
(From meta-quanta rev: a6a05a72f7a39af65a5fa28c56650e774fe12e6d)
Change-Id: Ica159c232dad540246166d571e5e3e7bc1824c01
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Make EEPROM location of mac address data to be changeable.
(From meta-quanta rev: 0e9942ee044566f398a33fb42fb100e10d19a7a5)
Signed-off-by: Hank Liou <Hank.Liou@quantatw.com>
Change-Id: I2585b7471ae1db6d852f0d2721c8f8f81b81810b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Time.Owner has been removed from phosphor-dbus-interfaces so this
override is no longer appropriate.
(From meta-quanta rev: 5df7b472851713c743d1d13766c71836bd301173)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I66b58fbabf907544f84c6895ee9aa42c2eb5402f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The obmc-host-ipmi feature pulls in phosphor-ipmi-hw-example from
skeleton which isn't needed.
Also remove obmc-control-chassis, which is another skeleton recipe that
isn't needed on gsj.
(From meta-quanta rev: 2a53c3569af7fa1b0e1736d179e8178ffecf427d)
Change-Id: If47d92c581859719de148e09127f34a3f208adf9
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-quanta rev: cbd23c178e4a13d876c5f4fd0ca111f8fec43a83)
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Idd24cffd70bbb8b9cd9f11e746c0759874ed8a95
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Save room in flash by taking out some binaries that are unused.
This includes defining a new distro based on Phosphor that removes LDAP,
SLP, and Avahi as these are not used.
(From meta-quanta rev: c27ca70b613310ffc4ac41b11b361691e99fc0f3)
Change-Id: Ia22da47136c715734d2df6fb767fee2e53f9bbaf
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
gsj uses usb0 for RMCPP.
Add necessary channel config and access settings.
(From meta-quanta rev: 96620f6b11f72fd94c39a5472f7a97b81d66e541)
Signed-off-by: Vivekanand Veeracholan <vveerach@google.com>
Change-Id: I303b781572f0ef107839bc4f0ab435b781702b74
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-quanta rev: 93ccf3726852f3077d543122dbb40943f6b949ee)
Signed-off-by: NanZhou <nanzhoumails@gmail.com>
Change-Id: I6e502909baa505c8a6440c51cf98679e5d1c22ff
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(1)Add a service for setting the value to hotswap controller,
and checking the return value is right.
(From meta-quanta rev: 83d0a87b74ac974112873690739727167137793d)
Signed-off-by: SpencerKu <Spencer.Ku@quantatw.com>
Change-Id: I51c5512562429351c007fd4ae9225b8d7097435f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Enable the network backend for data transfer, "reboot" BMC update type,
and support for static BMC images.
(From meta-quanta rev: 8e79132f200101445a08b38b6e066bdc98f3c3b8)
Change-Id: Id0102c97aaeafc6f59ee59de13306d6250cac40b
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This variable determines which XML image configuration files will be
used from npcm7xx-igps.
(From meta-quanta rev: c14953708446f32cc95f5b9a33bef6a0683b522d)
Change-Id: I86390644d88156c5afd91ecaccc8c43b2b0bd88b
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
When any SSD was not plugged, the bash script only sets RST_BMC_U2
and POWER_U2 GPIOs low for SSD0. Instead set the corresponding GPIOs
low for all unplugged SSDs.
(From meta-quanta rev: 4ac9d5f6173debda19b9b0d5da6075a48407b390)
Change-Id: I914d74634f93506d7911fdd3e1b75b73073ccdcc
Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This commit is to fix rescaling issue by ignoring Dbus min/max.
(From meta-quanta rev: a21cf339050e234df0060e67f3aa713010d4fe47)
Signed-off-by: Hank Liou <Hank.Liou@quantatw.com>
Change-Id: I7f736537784f9ab2e380ff8b4a4deb0f38c3df1b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
- Modify gsj-ipmid-whitelist.conf for the gsj project.
- Enable whitelist by default.
(From meta-quanta rev: 7f62bc2c5a71b9275b8b636dd6daad000288b2f4)
Change-Id: I52363809de53fabb0c6609e0bc564bdcd69c2e75
Signed-off-by: P.K.Lee <p.k.lee@quantatw.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Set gain value to tune current and power value of hotswap and
test on gsj board pass.
(From meta-quanta rev: 1217b67bfd1f908a61602132014254bdc5a3c943)
Signed-off-by: Duke Du <Duke.Du@quantatw.com>
Change-Id: Ifde1dfe5f239ab9df0460cd8d2e557a0d6049c6e
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Ensure that the IPMI daemon has come up before configuring the USB
network interface so that clients won't see failing requests before IPMI
is ready.
(From meta-quanta rev: 33a9371a5da1a2dcf14c7d5e30dc4acd043afd4b)
Change-Id: I3c936a6c128cace80ab08f513f362a3cfd02fdac
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
OE-core master will be dropping warrior soon; zeus is the next release.
(From meta-quanta rev: bee6771b647c0da99af4d06a3f60b7445d8427aa)
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I7c5f88138fffd3ef7649270bc2e44354450018a8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
QUANTABASE is only used for pointing at licenses...point at the
licenses in oe-core in meta/files/common-licenses instead. to match the
defacto convention used in other oe layers like meta-openembedded.
(From meta-quanta rev: 170929b6044497d12e65a6a2c5e7025262c9d783)
Change-Id: I12defd008e095db3227e5cd39261f942abd1406c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This commit changes fan read path so as not to trigger fan-fail utility
in phosphor-pid-control but dual-rotor-fail service.
(From meta-quanta rev: ccd4657416374d12b1b8bd1bf545cf9ba8527419)
Signed-off-by: Hank Liou <Hank.Liou@quantatw.com>
Change-Id: Ifbc868d751b0a6194c2768bcfdaa8a9e231819c3
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Remove gbmc-psu-hardreset.target from google-ipmi-sys to get
DelayHardReset to return the expected unspecified error.
(From meta-quanta rev: c95abb8caea6e56de78f009338ed656518928566)
Signed-off-by: P.K. Lee <p.k.lee@quantatw.com>
Change-Id: I910d976c0b37b88523e3351ad83ce60124cd28df
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The fan speed is lowered to 90 duty for thermal issue.
(From meta-quanta rev: 39041e2fa1e5b816c09925411081acc30010f782)
Signed-off-by: Hank Liou <Hank.Liou@quantatw.com>
Change-Id: I5a14320a3687326e710976f8bab9bfa65f3b2865
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add _append_gsj to the environment files variable in gsj's
phosphor-hwmon bbappend in order to avoid affecting platforms.
Tested: Built for gsj and conf files were installed
(From meta-quanta rev: 79cabcb4faac7fe6a2f927ea5b9158ac432d8b58)
Change-Id: I49ea81f98a4aadbbec47aa251cf4ffe4a44b243f
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This commit is to assign MAC address to eth1, usb0_dev, usb0_host and
eth0 ports. The address of eth1 is read from EEPROM, while others are
obtained by adding one, two and three to eth1 respectively. We will
randomly generate address of eth1 once an error occurs.
The randomly-generated MAC address is of the form "00:1B:24:XX:XX:XX".
(From meta-quanta rev: b1c33ab8eb04ccf7ac77df58dca661a964cce293)
Signed-off-by: Hank Liou <Hank.Liou@quantatw.com>
Change-Id: I000f818058989af2fe1f9457e22b4568ce47a8d5
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Modify fan threshold according to quanta thermal team
data and test on gsj board pass.
(From meta-quanta rev: faedc464d99c795be1805d280564709ee5c002f2)
Signed-off-by: Duke Du <Duke.Du@quantatw.com>
Change-Id: I7e93a25fe8ee79ab1f3fba879249ecf9043e5c97
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Install phosphor-pid-control and detect-fan-fail into the final image in
order to enable fan control on the gsj platform.
(From meta-quanta rev: f2b76d699c94976d38108141c8c6ebc7923a85da)
Change-Id: Ibaadcce5f4330428cdfc5db3f31ae9e9b7b6dcb1
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
While rpm of dual rotor are lower than critical threshold
of fan, the script would stop phosphor-pid-control.service
and set other rotors pwm to 255 until fail rotor recover,
which test on gsj board pass.
(From meta-quanta rev: 94311c532fef9231cd71f9da0a2817f6d6575e7a)
Signed-off-by: Duke Du <Duke.Du@quantatw.com>
Change-Id: I1ed670a48b2de28dda6da2fdee2ea0ba2bc1802a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This change adds fan control function with following features.
1) Fans will be at full speed while rebooting or a sensor is not ready.
2) Detect different skus automatically.
(From meta-quanta rev: bf5dffe65b849f9548f75b3a18d05ef7e899c4a3)
Signed-off-by: Hank Liou <Hank.Liou@quantatw.com>
Change-Id: I9667e832109d6a06b6e4f6410de0df97481fd3fb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Update quanata-nvme-powerctrl process and
delete two duplication function and variable
init_once.sh:
1. Dump input pin information because of confirming HW signal.
2. HW POWER_U2 default is output high. If detect SSD is plugged, don't
need to initialize POWER_U2 again.
3. Add RST_BMC_U2 steps, check PWRGD_U2 is fine, wait 100ms then st
RST_BMC_U2 high.
nvme_powermanager.sh:
1. Add RST_BMC_U2 steps, check PWRGD_U2 is fine, wait 100ms then set
RST_BMC_U2 high.
2. Independent package for power control delete nvme_main DBus property
trigger and tranfer led trigger to nvem_main package.
(From meta-quanta rev: e689ff4990c9d76bb54c89f37831d23ff31993d2)
Change-Id: Idb1faff9f30785c5cc168adfe18173ea93e7a146
Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add shared nvme_powerctrl_library script for mantain function
It could be easy review steps with specification.
(From meta-quanta rev: a9607d7703020f46598b28a4d1cea7be6997b47a)
Change-Id: I7d7471005d253a3a0cca6bbcc083d0bfcf7efbc6
Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
in gsj.
- Set default TimeOwner to "Host"
- Set default TimeSyncMethod to "Manual"
(From meta-quanta rev: 5b11c82db0edf49711a8e81af12efb579b2c64fd)
Signed-off-by: Tony Lee <tony.lee@quantatw.com>
Change-Id: Id9ed58fd24d064f798d8e01b2239dfdc516c4d00
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|