summaryrefslogtreecommitdiff
path: root/meta-quanta
AgeCommit message (Collapse)AuthorFilesLines
2020-06-02meta-quanta: meta-common: Change File PathSpencerKu4-0/+0
Move network folder under recipes-quanta. (From meta-quanta rev: 6350637b4b657b13629968a27d78cc98bfdf1f82) Signed-off-by: SpencerKu <Spencer.Ku@quantatw.com> Change-Id: I470a1ff7543935d5e9a4f64c9f6cf15e759b4230 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-28meta-quanta: olympus-nuvoton: dunfell: add support for new layerJoseph Liu1-1/+1
(From meta-quanta rev: 686363b1a1ec8d0320ae6ebb0b3b1e358bb8ea53) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Change-Id: I65a734a3e1ad5b43179553ba6e81bc1c6676893c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-28meta-quanta: layer.conf: Add meta-common to layer confSpencerKu1-2/+2
Since there add two packages to meta-common, need to modify layer conf. (From meta-quanta rev: 13b3272dff2f0304c6be20e0e8c916ad3d5cd01e) Signed-off-by: SpencerKu <Spencer.Ku@quantatw.com> Change-Id: Ia0d3bdcc753293af660e662a9c91225021f2be78 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-22meta-quanta: meta-common: Add "mac-address" and "usb-network" servicesSpencer Ku4-0/+89
Add two services into meta-quanta/meta-common: (1)mac-address (2)usb-network These two service is used to set network config when initialize system. (From meta-quanta rev: 0ec0ff35cd63d216fa07a67b3eadb41a29ffdcb2) Signed-off-by: Spencer Ku <Spencer.Ku@quantatw.com> Change-Id: Ib06467737701b7eccd92bda4f7b7be799a593708 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-21meta-quanta: add meta-gbs machineGeorge Hung5-0/+98
The meta-gbs equipped with Nuvoton NPCM730 BMC SoC. Tested: Build GBS image and load on the target hardware (From meta-quanta rev: c679ff6a47362319a59a511d710a116ddd90ca2a) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I5b85609a5c310ce1b7dc13df867b7c230cf59c39 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 Geissler2-2/+2
(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-12-11meta-quanta: olympus-nuvoton: IPMI net deafult bindingSamuel Jiang1-0/+1
The IPMI network out-of-band listen will bind eth1 network channel. (From meta-quanta rev: a79eac1c5fa32c3a2536373be3bdf6870430c1f7) Change-Id: Ie54afeec351ce388ff27a8e2a3feb5a1856203ad Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-11meta-quanta: meta-olympus-nuvoton: binding ipmi fru to deviceSamuel Jiang3-0/+26
The olympus nuvoton have runbmc nuvoton module and olympus motherboard FRU informations. The phosphor-ipmi-fru package binds related informations. (From meta-quanta rev: 6375cb97e6e70553df918b04bf9f7f4419e44678) Change-Id: Iaa8db9ad2336f1752e5f0722ffd426bdec2d9f81 Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-11meta-quanta: olympus-nuvoton: binding KCS to specify deviceSamuel Jiang2-0/+4
The Olympus-nuvoton commuicated with BIOS use KCS channel 1 Setting obmc-host-ipmi-hw use kcs protocol binding KCS1 device in Olympus-nuvoton (From meta-quanta rev: 1d11afbf135af12fbb7dd489ed529df7f3a08e31) Change-Id: If4701303bb2d3ddc6259ba49d905f7a6621b8812 Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-21meta-quanta: olympus-nuvoton: linux: enable new leds configJoseph Liu1-0/+1
Enable Linux LED support, this allows control of supported LEDs from both userspace and optionally. (From meta-quanta rev: da09ffd483adad0ca1ed97fef553938d6f738ebf) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Change-Id: Ib0c7b2777ec98ae15bc3ff68554085bbb0d00655 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-20meta-quanta: olympus-nuvoton: sensors: Add hwmon config filesYSChu23-0/+466
Including temperature, current, adc voltage, and fan-tech sensors (From meta-quanta rev: 3e6c6bf6067915f59f4b2551ffdfb8640612f192) Change-Id: I034970d082ccfd84f830a107cf5f18f834310ba4 Signed-off-by: YSChu <yschu@nuvoton.com> Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-19meta-quanta: olympus-nuvoton: npcm7xx-bingo: remove custom XMLBenjamin Fair3-369/+0
These image generation XML files will come from the npcm7xx-igps recipe instead. (From meta-quanta rev: 902c46d575fc89967bb03cf304ad2ed1e847ae41) Change-Id: Iaddd02ad6dfcc32405e39a40963507fe9d4df724 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-18meta-quanta: olympus-nuvoton: specify IGPS_MACHINEBenjamin Fair1-0/+1
This variable determines which XML image configuration files will be used from npcm7xx-igps. (From meta-quanta rev: 5d54cbf770d5701f0973fcfb8b49ed751532ddd0) Change-Id: Ic269c8d44e1ea5a0d323ac66e419002307c19051 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-18meta-quanta: meta-runbmc-nuvoton: rename meta-olympus-nuvotonSamuel Jiang24-59/+59
For avoid confusing this layer only with RUNBMC module (https://www.opencompute.org/documents/ocp-runbmc-daughterboard-card- design-specification-v1-4-1-pdf) The meta-runbmc-nuvoton will rename meta-olympus-nuvoton. That means the Quanta Olympus product with RUNBMC module which based on Nuvoton SoC. The layer configuration will binding Olympus product hardware design. (From meta-quanta rev: f4a8e7ae48dc788fa7e52f024578c67f164c8620) Change-Id: I6faa1bfbb3b8f033239fea3c41e8b8ed18fc492d Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-14quanta: Add MAINTAINERSBrad Bishop1-0/+46
Add a maintainers file for meta-quanta. Benjamin is commit count leader after Patrick and he already does high quality reviews of all the meta-quanta patches. (From meta-quanta rev: f27092b1c64457153defd1afa6322bbd9bb4b61f) Change-Id: Ifc1d0d3b6119538e8d1f840f0238a18d74f595d1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.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-09meta-quanta: runbmc-nuvoton: pid: fix build error of pid recipeTim Lee1-1/+1
(From meta-quanta rev: 8274d4054b3f6e772f26f944227542e3f72d562a) Change-Id: If782a70491c9f42ba65cc80d7cfeda20be2d8cfc Signed-off-by: Tim Lee <timlee660101@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-04meta-quanta: runbmc-nuvoton: ipmb: configure IPMB channelkfting2-0/+22
The IPMB channel communicates with ME from the host. (From meta-quanta rev: 34964359eca0e4e924b4c7191aea411e3aa7f3e4) Signed-off-by: kfting <kfting@nuvoton.com> Change-Id: Iac56c5feb455c66b7ae322ba33806b575972495b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-04meta-quanta: runbmc-nuvoton: pid: enable PID to control FAN tach for RunBMCTim Lee5-0/+457
Enable phosphor-pid-control to control FAN tach according eight temperature sensors. There are six FANs in RunBMC and all controlled by PWM1, thus we only define one fan type sensor in .json file. Consider FAN tach might be stopped then cause RunBMC sever hang, FAN tach will turn into full speed if swampd daemon dead unexpected. (From meta-quanta rev: 1689d1e7e4ed67560f73eee673a06b25cb346e60) Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I52db7eeff8abd1573ee9b4a61bd6af4a1b624d9a 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-25meta-quanta: runbmc-nuvoton: console: configure SOL parameterskfting2-0/+13
The parameters are specified in obmc-console related settings. (From meta-quanta rev: b6cf219ae11ccce599e6839000901e2aa105adf5) Signed-off-by: kfting <kfting@nuvoton.com> Change-Id: I824ef331bdac1586a8cd55d39e159171f851f857 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-24meta-quanta: meta-runbmc-nuvoton: linux: update kernel configurationSamuel Jiang1-9/+28
Update runbmc-nuvoton.cfg support below features 1. Enable PECI read CPU and DIMM tempature 2. Enable i2c slave mqueue for ipmb communication 3. Eanble UDC (From meta-quanta rev: c3d7855baf24c9a6161476d7512ad8dbb113167e) Change-Id: Idf8f14b1a00c5de387b401d32762e010d34bf351 Signed-off-by: Samuel Jiang <Samuel.Jiang@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 Venture4-4/+4
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-19meta-quanta: runbmc-nuvoton: Update machine configJoseph Liu1-4/+19
Update runbmc-nuvoton machine config: 1) Add flash layout 2) Add machine features 3) Modify u-boot defconfig name with correct platform name 4) Rename npcm750-runbmc.dtb to npcm750-runbmc-olympus.dtb (From meta-quanta rev: bf7821d16c6a8c94ec83bc0d2dfaf84ab0a4ac79) Change-Id: I338602edb98eaa3bb228640845d7782372b9ab90 Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-19meta-quanta: runbmc-nuvoton: Remove u-boot-nuvoton_%.bbappendJoseph Liu1-5/+0
The u-boot-nuvoton has been upgraded to 2019.01, and we just use the versions in meta-nuvoton with same branch. (From meta-quanta rev: 453eb5b26f437b62dbb551aa8d786aee5e421dca) Change-Id: I24d388cca7edf5956ab1829f43b756a7de95be68 Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-19meta-quanta: runbmc-nuvoton: images: Add runbmc XML filesJoseph Liu3-0/+369
Nuvoton's full flash image includes also a bootloader called Bootblock, and headers for it and for the u-boot. Generating headers and merging the Bootblock and the u-boot are being done by Nuvoton's binary generator tool (Bingo), which uses external paramteres from XML files for that. (From meta-quanta rev: 2306d68b4bdd85a7f07431a325abd3c10231b263) Change-Id: I422ad0d8ad56f537a302385f4a8c584d05821cb4 Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-16meta-runbmc-nuvoton: set BBFILE_PATTERNJoseph Liu1-1/+1
Bitbake uses this regex to associate recipes and bbappends from BBFILES (which contains recipes and bbappends from -all- layers listed in bblayers.conf) to this layer. The association is then used to map the BBFILE_PRIORITY value for this layer onto the recipes provided by this layer. BBFILE_PRIORITY is used to determine which recipe to use when the same recipe appears in multiple layers. Without BBFILE_PATTERN set, recipes in this layer will get a default priority and not the priority specified in BBFILE_PRIORITY. This layer doesn't set a priority anyway, so functionally this patch is a noop but it is an improvement from a correctness standpoint, and it makes a warning go away. (From meta-quanta rev: 9bcdc320a7d1f049ea703de4dbecbc8013bfa2e5) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Change-Id: Id6d2d050d43fc0fa0b90497a91be22e008e7f7b3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-14meta-quanta: Remove references to QUANTABASEBrad Bishop15-17/+14
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>
2019-07-09meta-quanta: gsj: image: install fan control daemonsBenjamin Fair1-0/+2
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>
2019-06-20meta-quanta: gsj: Detect dual rotor fan failDuke Du3-0/+95
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>
2019-06-19meta-gsj: phosphor-pid-control: Add fan control algorithmHank Liou7-0/+1446
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>
2019-06-10meta-gsj: quanta-nvme-powerctrl: Update package processSamuel Jiang2-94/+66
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>
2019-06-10meta-gsj: quanta-nvme-powerctrl: add shared scriptSamuel Jiang2-1/+68
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>