summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gsj
AgeCommit message (Collapse)AuthorFilesLines
2021-12-02Remove BBLAYERS_NON_REMOVABLE variableAlexander Filippov1-13/+0
`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>
2021-11-19meta-quanta: gsj: Add explicit layer dependenciesWilliam A. Kennington III1-0/+1
We want the machine layer to be guaranteed to override our top-level layers. Change-Id: I9737762255be61e5af2c32881d7024133f72bf1e Signed-off-by: William A. Kennington III <wak@google.com>
2021-11-04Partially revert "treewide: remove obmc-system-mgmt feature"Patrick Williams1-0/+1
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>
2021-10-26treewide: remove obmc-system-mgmt featurePatrick Williams1-1/+0
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
2021-10-26treewide: clean up use of OBMC_MACHINE_FEATURESPatrick Williams1-1/+1
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
2021-09-16bitbake: Use IPK packaging for rootfs assemblyAndrew Jeffery1-1/+1
bitbake offers a choice of DEB, RPM or IPK packaging. To a degree the choice is functionally arbitrary for image generation but control over the package format becomes important if we want to: 1. Include runtime package management functionality in the firmware image 2. Mess about with the packages on the build system With respect to 1 the IPK format and opkg (an ipk package manager) are designed for embedded systems[1] - by contrast to RPMs have heavier dependencies and a greater impact on the size and complexity of the firmware image. Regarding 2, the embedded nature and the need for opkg to work without much fuss leads to a lower configuration barrier by comparison to RPMs. With ipk it becomes possible to reuse the packages built during image preparation for core analysis without needing to generate an SDK: ``` $ export LD_LIBRARY_PATH=./tmp/work/x86_64-linux/opkg-native/*/recipe-sysroot-native/usr/lib $ MY_DEBUG_ROOT=tmp/rootfs-debug $ ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \ -f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/*/opkg.conf \ -o $MY_DEBUG_ROOT \ update $ fakeroot ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \ -f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/opkg.conf \ -o $MY_DEBUG_ROOT \ install dbus-sensors dbus-sensors-dbg $ gdb-multiarch (gdb) set solib-absolute-prefix .../tmp/rootfs-debug (gdb) add-auto-load-safe-path .../tmp/rootfs-debug (gdb) file tmp/rootfs-debug/usr/bin/nvmesensor (gdb) core-file obmcdump_17_9597/core.nvmesensor.0.aae91b519d0e4e0e8bbe746e3f6cd25f.2779.9594000000 Core was generated by `/usr/bin/nvmesensor'. Program terminated with signal SIGABRT, Aborted. pthread_kill.c:45 45 pthread_kill.c: No such file or directory. (gdb) bt pthread_kill.c:45 ../sysdeps/posix/raise.c:26 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 "xyz.openbmc_project.NVMeSensor", this=0x488f04) at /usr/include/sdbusplus/bus.hpp:234 ../../../../../../workspace/sources/dbus-sensors/src/NVMeSensorMain.cpp:159 (gdb) ``` This approach documented in the Poky Reference Manual: https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#platdev-gdb-remotedebug-launch-gdb-inferiorbins Switch all machines to IPK to align the debugging experience with upstream's documentation and to facilitate efficient use of packaged software at runtime. [1] https://openwrt.org/docs/guide-user/additional-software/opkg Change-Id: I8ef526add2d7a6790de1b3eb3fb85cd39b864f23 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams2-4/+4
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
2021-08-31meta-quanta: meta-gsj: Remove unneeded packagesVivekanand Veeracholan2-1/+37
Remove the unneeded obmc packages and add specific ones that are used. Signed-off-by: Vivekanand Veeracholan <vveerach@google.com> Change-Id: I80472124ec1af684ebbd502219c8ae6d9f8fcee9
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams1-1/+1
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
2021-08-17meta-quanta: Fix incorrect change in Yocto syntax updateDavid Wang2-4/+4
'SYSTEMD_ENVIRONMENT_FILE', 'SYSTEMD_LINK', 'SYSTEMD_OVERRIDE' should stay underscore Signed-off-by: David Wang <davidwang@quantatw.com> Change-Id: Ia30f306857d1552b19ff5ed06664c8bd5360cb4c
2021-08-13meta-quanta: Cleanup for Yocto override syntax changeDavid Wang2-4/+4
- 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
2021-08-11meta-quanta: {gbs,gsj}: increment CONF_VERSIONPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I569f08159a5da3d148f63a5b1ed29b5cd52181db
2021-08-11meta-quanta: meta-gsj: Cleanup for Yocto override syntax changeWilly Tu22-87/+87
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>
2021-06-25google-ipmi-sys: srcrev bump 3b1b427c1f..ac730af213Andrew Geissler1-3/+5
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>
2021-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III1-1/+1
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>
2021-05-18meta-quanta: gsj: Remove networkd overrideWilliam A. Kennington III1-1/+0
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>
2021-04-30meta-quanta: gsj: Remove gsj specific mac-address.bbBrandon Kim1-34/+0
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
2021-04-29meta-quanta: gsj: Update mac-address to use meta-commonBrandon Kim3-11/+10
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
2021-04-27gsj: ipmi-fru-properties: Add presence valuesWilly Tu3-0/+27
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>
2021-04-23quanta: gsj: linux: Enable USB NPCM UDC driverWilly Tu1-0/+2
Google-Bug-Id: 186163211 Change-Id: I0e7a43b93cb441ee382b5b94e6f5aac24aaddc7d Signed-off-by: Willy Tu <wltu@google.com>
2021-04-06hardknott: yocto releaseAndrew Geissler1-1/+1
Latest upstream yocto has moved on to the 3.3 hardknott release Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
2021-03-22openbmc: add meta-security layerAnton D. Kachalov1-0/+4
This layer provides libseccomp. Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
2021-02-24meta-quanta: gsj: install NVMe monitor recipesBenjamin Fair1-0/+2
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>
2020-11-23meta-quanta: update Yocto compat for gatesgarthPatrick Williams1-1/+1
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>
2020-11-12Remove 'scale' parameter from the sensor interface in IPMI sensors YAML filesKonstantin Aladyshev1-24/+0
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>
2020-11-12Use correct type for Dbus sensor interface in IPMI sensors YAML filesKonstantin Aladyshev1-32/+32
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>
2020-08-21meta-gsj: opt out of obmc-user-mgmt-ldapBrad Bishop2-1/+1
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>
2020-07-18Add mac-address config fileHank Liou2-1/+15
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>
2020-05-29phosphor-settings-manager: remove override for Time.OwnerPatrick Williams1-6/+0
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>
2020-05-04meta-quanta: gsj: remove skeleton codeBenjamin Fair2-4/+1
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>
2020-04-28meta-quanta: dunfell: add support for new layerAndrew Geissler1-1/+1
(From meta-quanta rev: cbd23c178e4a13d876c5f4fd0ca111f8fec43a83) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Idd24cffd70bbb8b9cd9f11e746c0759874ed8a95 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-17meta-quanta: gsj: remove unneeded binariesBenjamin Fair5-5/+9
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>
2020-04-10meta-quanta: gsj: Configure ipmi-net over usb0Vivekanand Veeracholan4-0/+38
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>
2020-04-01meta-quanta: gsj: Add iperf3 for USB testFighterNan1-1/+2
(From meta-quanta rev: 93ccf3726852f3077d543122dbb40943f6b949ee) Signed-off-by: NanZhou <nanzhoumails@gmail.com> Change-Id: I6e502909baa505c8a6440c51cf98679e5d1c22ff Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-26meta-quanta: gsj: Add service for setting hotswap controllerSpencerKu4-0/+107
(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>
2020-02-06meta-quanta: gsj: configure phosphor-ipmi-flashBenjamin Fair1-0/+1
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>
2019-11-12meta-quanta: gsj: specify IGPS_MACHINEBenjamin Fair1-0/+1
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>
2019-10-17meta-quanta: gsj: quanta-nvme_powerctrl: fix setting initial SSD[i] GPIOsSamuel Jiang1-2/+2
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>
2019-10-09meta-gsj: phosphor-pid-control: Fix rescaling issue in pid controlHank Liou2-0/+12
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>
2019-10-03meta-quanta: gsj: modify whitelist and enable whitelist by defaultP.K.Lee3-13/+34
- 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>
2019-09-24meta-quanta: gsj: Set gain value for current and power of hotswapDuke Du1-6/+8
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>
2019-09-23meta-quanta: gsj: usb-network: configure network after IPMIBenjamin Fair1-0/+1
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>
2019-09-23meta-quanta: layer.conf: add zeus compatibilityPatrick Venture1-1/+1
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>
2019-09-14meta-quanta: Remove references to QUANTABASEBrad Bishop8-8/+8
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>
2019-08-07meta-gsj: phosphor-pid-control: Change fan read pathHank Liou2-12/+12
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>
2019-08-06meta-quanta: gsj: remove gbmc-psu-hardreset.target from google-ipmi-sysP.K. Lee3-0/+9
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>
2019-07-19meta-quanta: gsj: Lower fan speed to default duty as booting and rebootingHank Liou6-14/+28
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>
2019-07-19meta-quanta: gsj: add overrides to phosphor-hwmon configBenjamin Fair1-2/+2
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>
2019-07-09meta-gsj: mac-address: Initialize MAC addressesHank Liou2-0/+38
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>
2019-07-09meta-quanta: gsj: Modify fan threshold to hwomnDuke Du1-19/+19
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>