summaryrefslogtreecommitdiff
path: root/meta-quanta
AgeCommit message (Collapse)AuthorFilesLines
2019-08-20meta-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-20meta-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>
2019-06-10meta-quanta: gsj :Override default settings of TimeOwner and TimeSyncMethod ↵Tony Lee2-0/+14
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>
2019-05-23meta-quanta: conf bugfix: layerPatrick Venture1-3/+7
Fix the quanta layer to be named "quanta-layer" to conform to expectations. Also add missing boilerplate code to add recipes from this layer. There are currently no recipes in this layer outside of within a machine specification, but the change will prevent future bugs. (From meta-quanta rev: 7cbfa54ecf5fb464dfd1a93090b9462261105f9c) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I1c0ac88ee4e502563ed89612657f230548d4b58d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-23meta-quanta: gsj: Add sensor threshold to hwomnDuke Du9-47/+117
Add sensor ucd90160 to hwmon, modify exists sensor threshold and test on gsj board pass. (From meta-quanta rev: eb4958ddd1081f856c7876cac8a21b166fee28a7) Signed-off-by: Duke Du <Duke.Du@quantatw.com> Change-Id: I4a06978e081653ac27097342bc5cd2dd10816c7e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-23meta-gsj: quanta-nvme-powerctrl: Update package README documentSamuel Jiang1-26/+22
Update design, process, test, todo subject included: 1. The new design follow PCI Express Card Electromechanical Specification. It could review refer to specification section. 2. The new design and specification don't mention about SSD and LED property so delete update led property and nvme_main property steps. 3. Update PCI clock function has been implemented so remove TODO subject. 4. Improve initail power-up and service execute sequence. 5. Fix some grammer sentenses. (From meta-quanta rev: 4d42bc87aa4aa61533572e2f9c4645cfe5a58745) Change-Id: I622b7a054afc64f3fee5c37b29b99d856bb56558 Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-23meta-quanta: gsj: modify fru parser configurationDuke Du2-11/+7
Change fru id test on gsj board pass. (From meta-quanta rev: 13a9b58e3709db4fa9f449931934d5d457e0b079) Signed-off-by: Duke Du <Duke.Du@quantatw.com> Change-Id: Iccdc73fa39cdd22167ab82351c91887b340f6f24 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-22meta-quanta: gsj: Update the gsj-ipmi-sensor-mapTony Lee1-16/+160
- Modify M value of fan - Change label P12V_BRIC_Current to P12V_BRIC_Curr - Add led fault sensors (From meta-quanta rev: d8ab351499b60975da4057f8c53dbaa2c9457461) Signed-off-by: Tony Lee <tony.lee@quantatw.com> Change-Id: I68f42c48a0c19b935b0d281d3dce017315354068 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-15meta-gsj: quanta-nvme-powerctrl: improve services sequenceSamuel Jiang2-7/+10
For mateched new design, the package will be independent. 1. This package will not depends on nvme.manager.service and the log messages directly store on syslog. 2. The nvme_powermanager.service must wait for nvme_gpio.service initial complete all GPIO setting. (From meta-quanta rev: 5a161f129ac473c98b5fd07b4a152e697e02eef7) Change-Id: I878a3de62dd0009d011122d1b0d3478931eaa852 Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-15meta-quanta: gsj: update FRU formatBenjamin Fair1-16/+0
Remove the product info area fields as these aren't used in the new FRU format. Tested: Read HSBP FRU over ipmitool and the contents were as expected (From meta-quanta rev: 55ef60d4021d3c76ebca8fc000542efc2685d89f) Change-Id: I389df7d422e738827689415d7dcc0c714a96c045 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-09meta-quanta: q71l: drop workbook skeletonPatrick Venture3-91/+0
Drop workbook skeleton as it's now obsolete. (From meta-quanta rev: 6b6f78519cff678e0135298e2fccd00193291e81) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ie1bd674ed2ec905b9d221447630091f3fc998a32 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-09meta-quanta: q71l: bugfix: drop removed pkg spictrlPatrick Venture1-1/+0
Drop the inclusion of a package that is no longer provided. (From meta-quanta rev: 3f1d96998c127c958c9f105adcf31072e451b134) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia64c547c1073541745a7fd2a336150e0e5e580b5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-09meta-quanta: gsj: set BBFILE_PATTERNPatrick Venture1-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: 029742e6738abb943ebe74681435df99f31f4e72) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia0c21a2353f7d8e60b5981691c18ededa43dc6e1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-09meta-quanta: layer.conf: set BBFILE_PATTERNPatrick Venture1-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 Removes warning: WARNING: No bb files matched BBFILE_PATTERN_quanta '' (From meta-quanta rev: 745d571bfb21a95152a1f5a112f837f4fa321680) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I3b0f8acdd06ac9842a20a77efc5655966078ce1c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-09quanta: update gsj machine configurationFranHsu3-0/+45
Commit GSJ project configurations. 1. Add configuration for u-boot-evn. 2. Update kernel configuration. 3. Add gsj suffix to some properties. Tested: Build Quanta GSJ image and load on the GSJ BMC module. Ensure that BMC boots to console successfully. (From meta-quanta rev: fc91a4374e2576e940f9c70f34cfe5af9d0aa727) Change-Id: I2de3b60db65f744bdc1a573efd063b999aa2536e Signed-off-by: Fran Hsu <Fran.Hsu@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-25meta-quanta: gsj: Update the gsj-ipmi-sensor-mapPKLee-Quanta1-17/+322
1) Locate LEDs of SSD can be controlled by using IPMI. Usage: Read the state of locate LED (e.g. the sensor number is 0x40): $ ipmitool -H <bmc_ip> -U root -P <password> -I lanplus raw 0x04 0x2D 0x40 Assert the specific locate LED (e.g. the sensor number is 0x40): $ ipmitool -H <bmc_ip> -U root -P <password> -I lanplus raw 0x04 0x30 0x40 0x00 0x00 0x02 Deassert the specific locate LED (e.g. the sensor number is 0x40): $ ipmitool -H <bmc_ip> -U root -P <password> -I lanplus raw 0x04 0x30 0x40 0x00 0x00 0x00 0x00 0x02 2) Add sensor information of ucd90160 in sensor map 3) Correct paths of nvme and BmcECC (From meta-quanta rev: ca52cc570fdfb9b7ca85159103393724cfcec3dd) Change-Id: I06d0ba957b4659da2eb59af04200b937ce89da79 Signed-off-by: P.K.Lee <p.k.lee@quantatw.com> Signed-off-by: Tony Lee <tony.lee@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-25meta-quanta: gsj: Modify action of LOCATE LED in led.yamltony lee1-8/+40
Modify action of group LOCATE LED: - Add fault LED when assert group LOCATE for LED group manager. - Change Period from 1000 to 250 (From meta-quanta rev: b167f05433580dba7a466fc6f1581bca0a939e79) Signed-off-by: tony lee <tony.lee@quantatw.com> Change-Id: I179b7f68fc50e79b1a39ff8a61c77ec54da86801 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-25meta-quanta: gsj: gsj-apps: Drop obmc-control-fanBrad Bishop1-3/+1
This application isn't used on gsj. Remove from the rootfs. (From meta-quanta rev: 73117dbc6ab80e6174f38b41919fb7297e37296a) Change-Id: Iccaed80d19b20dc0916d00282443f5b0b537f394 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-24meta-quanta: set compat for quanta layerPatrick Venture1-0/+1
Set the compatible layer for meta-quanta. (From meta-quanta rev: 6beb6d2b30c46c24d2d0e1f3d255b85adb797f77) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Idfad608e2cef6bdaae6bc0dc2b3c1bcd9cfa3d32 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-23meta-quanta: gsj: modify link local configurationHank Liou2-1/+2
This change disables ipv4 link local auto-configuration. (From meta-quanta rev: 0b6836f812f2ea864acc9ee9ede9e700ff504217) Signed-off-by: Hank Liou <Hank.Liou@quantatw.com> Change-Id: If2921b733f6fe314f35cf925d8a9f79a9480e11a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-23meta-quanta: gsj: add IPMI PWM sensorsBenjamin Fair1-1/+26
Add a sensor for each fan PWM channel to the IPMI sensor map. (From meta-quanta rev: 9daae7df1f77542bce03096cd523febe97555402) Change-Id: I1e142ad3a1596a378e749aa326e6082b4cb84c21 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-23meta-quanta: gsj: add PWM targets for fansBenjamin Fair1-7/+7
Add a PWM_TARGET variable for each fan that describes which PWM channel controls that fan. (From meta-quanta rev: 55f0bad12ec1a677e155db82e9f23678488a9aa0) Change-Id: Ib4c94ba599017b24b475fcd680e642ad47f36007 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16meta-quanta: gsj: Modify and correct the configurationtony lee1-11/+11
- Modify path of nvme to base 0 - Correct assert paths of BmcECC (From meta-quanta rev: d944c1a2c7ea86802171bae2f6312c910311a6e1) Signed-off-by: tony lee <tony.lee@quantatw.com> Change-Id: Ib701c577cf85ba22dc5eae9be313585771cd2f88 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16meta-quanta: gsj: rename sensor paths to match dtsBenjamin Fair7-6/+6
The names of the i2c bus nodes in the device tree changed from i2c-bus@xxxx to just i2c@xxx. Update the phosphor-hwmon sensor configuration paths to match. (From meta-quanta rev: 50c57e091989c4d3078147bfb42146ea22d273c5) Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: I8bded436fc9707c063d15794f182bb9024f98889 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16meta-quanta: gsj: add machine suffix to phosphor-ipmi-hostPatrick Venture1-3/+3
Add gsj machine suffix to phosphor-ipmi-host recipe append such that it won't impact non-gsj machines built in a mixed-machine environment. (From meta-quanta rev: 6cf4e7ea3a777256232f62212bce040c13423135) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I36c8e8753c4b5048870044d419f40af79718c0fe Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16meta-quanta: gsj: nvme-powerctrl: mutli-user targetPatrick Venture2-2/+2
Use the multi-user target instead of the openbmc-custom obmc-standby target for services. (From meta-quanta rev: c886d1d4b761ee20c7f54a201ce5f74e5537b5fb) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ie49f53850ed65bf4a71c959fe30bb1e36c41b725 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16meta-quanta: gsj: move non-phosphor recipes out of recipes-phosphorBenjamin Fair10-0/+0
The usb-network and quanta-nvme-powerctrl recipes aren't part of phosphor, so move them to the machine-spceific recipes-gsj folder instead. (From meta-quanta rev: a5787aa49f88aac01eed521e1b3e8f85b73f5c54) Change-Id: I22b68e1e83dbd0ee3f98288052ffb302b7ef1ff5 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16meta-quanta: gsj: move phosphor-ipmi-host under ipmiPatrick Venture2-0/+0
Move the phosphor-ipmi-host modifications under the ipmi folder to mirror the meta-phosphor layout. (From meta-quanta rev: f10e2e0bd89eb10638afd92bde04dc4fca216f9c) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I13826bdf82c0a05d8a6b22de098bc9dabf724bed Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-11meta-quanta: Modify action of LOCATE LED in led.yamltony lee1-8/+16
Modify action of LOCATE LED from 'On' to 'Blink' for LED group manager (From meta-quanta rev: db4d64ca8ce82e334b2dcfae871511de4ed1273d) Signed-off-by: tony lee <tony.lee@quantatw.com> Change-Id: I5a0fdacd608ad2d8f9bbbb7cb34ffd56257a67a2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-11meta-quanta: q71l: powerctrl: install scripts in binPatrick Venture1-4/+4
Install the power control shell scripts into bin instead of sbin. These control power for the host, not the BMC. (From meta-quanta rev: 77c5f7af4311516e393cda73db75c907acd1171d) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I5294196516d458d6bbf930a287e42ceea1bc88e2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-08meta-quanta: Add the led configuration for meta-gsjtony lee3-0/+91
Add the led configuration for meta-gsj - Enabled the LED group manager (From meta-quanta rev: 8fafb59db0a032b581c8465392577403717ac011) Change-Id: I027ee78275a3a274462918c7c630cd6a02ab25ee Signed-off-by: tony lee <tony.lee@quantatw.com> Signed-off-by: Tien-hung Huang <buddy.huang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-08meta-quanta: meta-gsj: Add quanta-nvme-powerctrl serviceSamuel Jiang6-0/+237
Add quanta-nvme-powerctrl which included three features: 1. When BMC bootup, initial nvme ssd powoer output. 2. monitor ssd present update ssd power output. 3. Add bucstl commands to set Present property to d-bus nvme manager and set fault led if needed. (From meta-quanta rev: abda561c2bc846d42808c4c752a42c936e871b2f) Change-Id: Ib52b7505e4c6292bb08e1e2ef43c6a9459ef46b5 Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: tony lee <tony.lee@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06update upstream subtreesBrad Bishop6-3/+550
A number of corequisites exist so squashing these all into one patch. meta-ingrasys - refresh master bc513127f4..67bcaf389f meta-hxt - refresh master 86a4df514f..8fe0d38bbb meta-phosphor - refresh master 06c09d7cce..df6ddae3d2 meta-quanta - refresh master 4f126361a1..53f3025271 Change-Id: I3daeef2a0467d8ea4f1fd1c617e526f8b11258af Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06meta-quanta: layer.conf: Add warrior compatibilityPatrick Venture3-3/+3
oe-core branched in preparation for the upcoming 2.7 Yocto release and as of 13e45ff requires core layer compatibility to "warrior" instead of "thud". We'll retain compatibility for both until we do our own branch or stop testing thud. (From meta-quanta rev: 4f126361a17e37cfc96d5f9ccd5e3b81fa8b5ae2) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I0a6cc767e787cef3d31d75b987b9369e44a7afc9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-03Quanta: phosphor hwmon sensorDuke Du8-0/+175
Define configuration files of sensors and fans for hwmon in project gsj and test pass. (From meta-quanta rev: b1247010c2e67d3050dc81cd46d3c2218fc1870d) Signed-off-by: Duke Du <Duke.Du@quantatw.com> Change-Id: I3db8d8d3b70cd949eb3f0a8774615f9fa8b59df0 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-31meta-quanta: gsj: add phosphor-ipmi-flash to imagePatrick Venture1-0/+1
(From meta-quanta rev: e9052dd85acd787fe13f8176f8d45b98d05d6d72) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I451d88113074bdd17b734e55d9f3cf3b8ca1d983 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-29meta-quanta: gsj: set machine suffix on linux-nuvotonPatrick Venture1-2/+2
Set the machine suffix "gsj" on the linux-nuvoton recipe such that it will only apply to this machine. (From meta-quanta rev: 84f2057e7e1067c3cc485d872f4581db0ffb1441) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I3d8631b25b4a542f529f7e55c28e90159dfcddb7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-28meta-quanta: add the whitelist of ipmi commands for meta-gsjPKLee-Quanta2-0/+54
The modified whitelist by the admin will replace the default whitelist. Tested: Build Quanta GSJ board image and load on the EVB. Ensure that BMC boots to console, and the whitelist is working. (From meta-quanta rev: bccdfbe91fb21e7c16c3204a88133f43f01a002c) Change-Id: I8a3713a30b982ed59b1d45c90123155288bc7994 Signed-off-by: PKLee-Quanta <p.k.lee@quantatw.com> Signed-off-by: Tien-hung Huang <buddy.huang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-28meta-quanta: gsj: drop obsolete channel configPatrick Venture2-21/+0
Drop the ipmi channel config. It is unused by phosphor-host-ipmid. Now, a platform can override phosphor-ipmi-config with a channel configuration file to enable this. (From meta-quanta rev: ea17a157dbf31a8869e3d406306888f1f09e9ec4) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I8036c1939dcf936b3a0ea5948830c4104ee04dd7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-27Quanta: configure fru parserDuke Du9-1/+158
Update fru information of project gsj and test on gsj board pass. (From meta-quanta rev: 4726abcab724b6e8a5abb5dca1603857a294ea97) Change-Id: I3efbc10722f956c7375e1513bb71a39186c12cdd Signed-off-by: Duke Du <Duke.Du@quantatw.com> Signed-off-by: FranHsu <Fran.Hsu@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-26meta-quanta: f0b: Update I2C hwmon paths for the 5.0 kernelPatrick Venture13-10/+10
In the 5.0 Linux kernel, an I2C device path segment changed: i2c@1e78a000 -> bus@1e78a000 (From meta-quanta rev: b57b3464ff116f009cc6771d7d2d87ae938bfa37) Tested: Verified paths visually, but not tested on hardware. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I9b2bf3480cc85d0cf9083c09ca8cd47b8d601f3e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>