summaryrefslogtreecommitdiff
path: root/meta-quanta
AgeCommit message (Collapse)AuthorFilesLines
2020-08-04meta-quanta: olympus-nuvoton: ipmi sensor: revise sensor valueStanley Chu1-24/+11
The type of sensor value has been changed to double. https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/11739 we should chnage the sensor value type from int64 to double and remove the scale parameter. (From meta-quanta rev: e7db32d0846987bb087d7e0597ec0f3c78d25cf6) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I10d11b376aedf18c881c14b4c9d205f2034f9682 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-04meta-quanta: gbs: add kernel config and driversGeorge Hung6-0/+1013
1. set kernel config for GBS machine 2. add AMD CPU temperature hwmon driver 3. add seven segment display drivers (From meta-quanta rev: d9f9d7eb3809821b07887c2adf4e45103582eefa) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If2f42e43e043ea277a455a208968927b7053d2c0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-04meta-quanta: gbs: fix sensor value type and hwmon patch issuesGeorge Hung3-67/+73
Since the sensor value type had been changed to double, we have to modify the sensor value type to double and remove the scale in sensor YAML config and also update the patch for hwmon fix for this changing Change sensor type to double: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/11739 hwmon fixes for the sensor type changing: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/34481 https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/34983 (From meta-quanta rev: a661c1683e19abf70429fd263dde8f63f1b188b0) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ifdfe45c1119e0cc5d0e0fb180a91aada87631405 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-31meta-quanta: gbs: add sel-loggerGeorge Hung1-0/+5
Add sel-logger for IPMI SEL log (From meta-quanta rev: 382efcfa85932abce877e6a7e268dac7f5362246) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Iadc7cd5edef57aa0875c146935ad85129525f668 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-30meta-quanta: olympus-nuvoton: iptable: save rules while bmc rebootingTim Lee2-0/+29
The iptable needs to be preserved in order keep the rules. Tested: Verified for Olympus platform (From meta-quanta rev: ae01a4669bc1653ed81998573f25b8dc62a4794b) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: Ic9b226f21a2526994bdf353701d0ca7b7d053d8a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-30meta-quanta: olympus-nuvoton: network: add mac-address packageTim Lee2-0/+15
1. Set eth1 mac address from bmc fru. 2. This package is using to replace first-boot-set-mac Tested: Verified for Olympus platform (From meta-quanta rev: bb7b7e368e39044dc09831c4da75fbcd320dd99f) Signed-off-by: kwliu <kwliu@nuvoton.com> Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I8a328d8cb365b5652cad10d4c6edbd10b287a603 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-29meta-quanta: olympus-nuvoton: power: update psu inventory over pmbusTim Lee3-0/+97
According to PMBUS spec, there is an Inventory Information we can update to PSU inventory. MFR_ID - Manufacturer MFR_MODEL - Model MFR_SERIAL - SerialNumber IC_DEVICE_ID - PartNumber redfish/v1/Chassis/chassis/Power "PowerSupplies": [{ "@odata.id": "/redfish/v1/Chassis/chassis/Power#/PowerSupplies/0", "Manufacturer": "FlexPower", "MemberId": "powersupply0", "Model": "MIS-S-1020", "Name": "powersupply0", "PartNumber": "FPS-213-D0000293-101", "PowerInputWatts": 104.0, "PowerOutputWatts": 61.5, "SerialNumber": "MISPS1839A0A0RW", "Status": { "Health": "OK", "State": "Enabled" }}], Tested: Verified for Olympus platform (From meta-quanta rev: cbb46b95df93a6102ebf18c0bf6105f8f6482451) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I2714293957919193b36effdaa2c07cb8e6eabda4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-28meta-quanta: gbs: add GBS IPMI configGeorge Hung3-0/+31
Set GBS IPMI configurations: 1. device id 2. entity-map (From meta-quanta rev: c2cff3602441072e98da8127edf55a6364001746) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Idf3062bd78844590ea5f5b9830887728086e2b36 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-24meta-quanta: gbs: install the essential packages to the imageGeorge Hung1-0/+23
Install the essential packages to the image for GBS machine (From meta-quanta rev: fc79982f61df69521191243df81340466f6c28fc) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I64fd08ecbf83fe8cacc3ae06e01642638ee8f2ac Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-23meta-quanta: gbs: expose more GPIO signals as IPMI SDRGeorge Hung18-102/+174
1. monitor more GPIO signals gpio_net_name / gpio_number: ['SATA0_PRSNT_N']=5 ['HSBP_CABLE_PRSNT_BUF_N']=57 ['FAN_BRD_CABLE_PRSNT_BUF']=58 ['HSBP_P12V_STBY_CABLE_PRSNT']=69 ['PE_SLOT0_PRSNT_N']=120 ['PE_SLOT1_PRSNT_N']=121 2. add these GPIO signals to the sensor YAML config (From meta-quanta rev: de864a90b91c72a9d31a36688d744a12926a57b3) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ie39512763757e222ca386349a4c45af135500d65 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-23meta-quanta: gbs: add GBS system initial scriptGeorge Hung4-0/+506
system initial script: 1. get MB/HSBP/Fan boards REV/SKU ID 2. read FRUs on PE slots 3. reset PHY 4. SATA power enable 5. check HSBP/Fan board cables present 5. verfiy BIOS image 6. Host power on 7. gpio persistence (From meta-quanta rev: 3a9aa27f5ba286922f4d93470f30ac66cd9ff2d6) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ib15171e1828b08b159ff835150ceb4a577fe1a01 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-22meta-quanta: gbs: add YAML paths/whitelist config/watchdog patchGeorge Hung3-0/+235
1. set gbs YAML config paths for sensors and FRUs 2. add gbs IPMI whitelist config 3. add pre-timeout interrupt patch for IPMI watchdog commands (From meta-quanta rev: fee51df037779d09b18d2ae0e7c864182d40c43c) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I06decf7f95ebd25153cefa7a12be45bbde63aee6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-22meta-quanta: gbs: add the option for setting locally administered bitGeorge Hung1-0/+1
Add USBLAA setting to make users decide if it needs to set locally administered bit to usb-network (From meta-quanta rev: efd879105a917315abc9ab26c7eff45b6f8ca66f) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I3a6afd88d053a26699a10d3afe841dc8aba70286 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-22meta-quanta: common: set locally administered bit to usb-networkGeorge Hung1-4/+32
We hope the MAC address of the usb-network is locally administered address, so it needs to set locally administered bit (0x02) to the first octet of the MAC address. (From meta-quanta rev: ebe01d25bbb5b139feb7c9b089f322e45a28a68e) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I9bd0702359479514b385daf447a9747fd270e351 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-07-18meta-quanta: olympus-nuvoton: add ipmi yaml configStanley Chu6-2/+1627
add configuration yaml files for fru and sensors (From meta-quanta rev: 8327e2c69649eb91175b5e12002e57662411730e) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Change-Id: I0571b349ad77df5d773f8547a0effabddd568dca Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-18meta-quanta: gbs: rename fan2/3/4 to fb_fan0/1/2George Hung6-31/+31
Change the sensor name of fans: fan2 -> fb_fan0 fan3 -> fb_fan1 fan4 -> fb_fan2 (From meta-quanta rev: 43bbb292c0d151841db415802849df965f6151ce) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If81cf92c50da512986344b31ba20d93af6dcf061 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-quanta: gbs: add detect fan fail serviceGeorge Hung3-0/+106
When detecting fan fail, set other fans full speed (From meta-quanta rev: fe75a9e492d94088d5d70b9cf5bce24e47898b2f) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I764c9d90f551475de773dfc563763112127bde73 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-quanta: gbs: add x86-power-control supportGeorge Hung1-0/+4
system power control change to use x86-power-control (From meta-quanta rev: ccd3f9d0a83d372df01076d53e5f7ba656d370bb) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I46acde7ef48394e742f371d09a28a16e1154c38a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-quanta: gbs: add pid controller with configGeorge Hung9-0/+696
1. add pid control with fan table config 2. add reboot control service to set fan duty to expected default value before pid control up 3. initial read-margin-temp with json file and the script waits related hwmon sensor could monitor (From meta-quanta rev: b67a01a728b268b9aa61ebde63354ad1a6f46bdd) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I5ae6f5d163dbaee8839bf5222bb650483531e68a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-quanta: gbs: add sensors and fru yaml configGeorge Hung4-0/+1562
Create configuration layer to store sensors and fru yaml (From meta-quanta rev: 79846fd70d9056dfb1582f6d571b72cca3cbbfab) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id0a2bd5931ee6761e59497be6ff7af62f42995f3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-quanta: gbs: add ipmi watchdogGeorge Hung6-0/+437
the upstream watchdog lose some command parameters and implementation we reference Intel-BMC repo[*1] apply patches for normal execute with x86-power-control [*1]: https://github.com/Intel-BMC/openbmc/tree/intel/meta-openbmc-mods/meta-common/recipes-phosphor/watchdog (From meta-quanta rev: 230aee7e93f0e4873dc1e76a929e794559155cb5) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ib4e94948210d6d2948ab5983c962220810db45e8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10meta-quanta: gbs: NVMe SSD power control for GBSGeorge Hung1-0/+19
add NVMe SSD power enable/disable DBus for sensors and allow host to set SSD power Note: Need to set gpio-line-names in kernel dts for SSD power enable/disable (From meta-quanta rev: 41dd1473c5fc9eef12366ad13c36461010860f5f) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Iab1fefc7c51176cf62b7d238e2de3837148eaebd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10meta-quanta: gbs: add GBS Entity Association MapGeorge Hung2-0/+45
Add entity association map for Google OEM IPMI command (get entity name) Tested: For example, get entity name, "fan0": ~# ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x06 0x1d 0x00 79 2b 00 06 05 2f 66 61 6e 30 (From meta-quanta rev: 52ce287bfcb8c7a4cdeb07fcd80903af5a0dd26b) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I173da270c29745518293133597a5a389d17bf1ce Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10meta-quanta: gbs: add hwmon sensorsGeorge Hung17-0/+1036
Define the configuration files of the related sensors and test pass 0001-lev-add-poweron-monitor-feature.patch In-Review: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/28181 0002-lev-add-sensors-slow-readings.patch In-Review: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/24337 (From meta-quanta rev: a66f2b941cede5fc15fe0d6d56ca2ac9352fdf77) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If7f767cbd952cde593e03d30c45572a21cc7c960 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-08meta-quanta: add Brandon Kim to MAINTAINERSBenjamin Fair1-0/+1
Brandon has done high quality reviews of many recent meta-quanta patches. (From meta-quanta rev: fc15e6cd74245f0af5e2ddc9d977a4cef78d21bf) Change-Id: I5db86aa1e87cf770a2a1556665b1b06afb79267d Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-30meta-quanta: gbs: initialize MAC address and enable USB NetworkGeorge Hung5-0/+39
MAC address: initialize MAC address for all network interfaces USB-Network: enable usb0 link-local address auto configuration (From meta-quanta rev: dd269ed023f6b29f7621aa5778808f7c477645f8) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I57d975276f41172668017f117ad48262a8edcf0c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: inventory: add assocationsStanley Chu2-0/+340
(From meta-quanta rev: 46261fab4220f20f98b9768b05395dd6f359c166) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I9deda8f050a0b6fb50ab39076aefc4d2a58d3a88 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: inventory: add inventory-cleanup yamlStanley Chu2-0/+33
create /system/chassis on startup (From meta-quanta rev: 70fb3172257a650ff33c1913cce2d4971a943b59) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I6ca5ca37da9db5400d9f4ce280cf6fed6e59481b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: add busybox settingJoseph Liu2-0/+11
1. Enable devmem and lsusb commands 2. Enable SMP feature (From meta-quanta rev: 0764bd036c4cd35b26176bac4739ddacfc78d66d) Change-Id: I3aefa05a9bc66ea9b1b619112a539ed87270dd19 Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: ipmb: modify slave-pathJoseph Liu1-1/+1
Use ipmb driver for ipmb interface. (From meta-quanta rev: a94f058fe04b700defe6b6ba6273c261bf99cb92) Change-Id: I76f9f41f975f2be47bb4b935a58d64a4b91814b0 Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Stanley Chu <yschu@nuvoton.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: phosphor-led-managerStanley Chu2-0/+38
add configuration yaml (From meta-quanta rev: e7914d758c68b5d2db1630b312b5c7aef799ba82) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: Ia229c5cef6b9da7d48d786446b2fab0594b19cbe Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: add Hotswap Power Cycle ServiceStanley Chu2-0/+35
Add a hotswap power cycle service for oem google sys command, "Delay hard reset". Tested by: Setting 5 secs delay for delay hard reset: ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x03 0x05 0x00 0x00 0x00 79 2b 00 03 (From meta-quanta rev: 5c41384c9da6dbaf8547f58084726960dfac92c7) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I1a9443d1e1adabcc308124aa2e613a37b86bd00c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: ipmi: add kcs devicekfting2-1/+10
1. Olympus host communicates with BMC by KCS1. Tested: Verified on the Olympus platform (From meta-quanta rev: bfb04c47fb8dd3c4e72407f049f7b7b074fd321f) Signed-off-by: kfting <kfting@nuvoton.com> Change-Id: Ic872945b3f244a5166494c599783044983f8d228 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: bblayers conf: add meta-google layerJoseph Liu1-0/+2
Introduce meta-google layer to support google ipmi oem command (From meta-quanta rev: e3e73d4a1248513858d630db649a49cee242070b) Change-Id: I39631f1dc75f686293e11c61c8566636424914d1 Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: gbs: check CPLD versionGeorge Hung3-0/+159
Read CPLD version by i2c bus and dump to file Tested: Check /run/cpld0.version file (From meta-quanta rev: 895ca7cf8514321c1000f914dd4fa96638d39904) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I371a70878f09a3d1ee5fed8a2926ed739ce30adf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: settings: enable sol by defaultkfting2-0/+13
Enable SOL by default on Olympus Tested: Verified on the Olympus platform (From meta-quanta rev: f8be3623e9c9e1b179fb7cc966b8e5cf7fda87d7) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: kfting <kfting@nuvoton.com> Change-Id: I72f3d2c56c92abbea7847218b08128ab2fd76e16 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-12meta-quanta: gbs: add ipmi fru eeprom configGeorge Hung4-0/+35
Add GBS related fru eeprom path and id (From meta-quanta rev: 904b35a20462dca720a48c225c5a193a3888e408) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I1e8b76d6c5f48b85ad0482857b083d8843c05e39 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-12meta-quanta: gbs: add kcs device and 7segGeorge Hung3-0/+12
1. The GBS's host communicates with BMC by KCS1 2. add 7seg for post code led (From meta-quanta rev: 5f7b8501379a73b230d7982a219b33669a32cdd2) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I0f619c914022d32348447c29132098a1b046247b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-12meta-quanta: olympus-nuvoton: console: add udev supportJoseph Liu3-8/+11
Listing tty mapped to UART2 Tested: Verified for Olympus platform with ttyS2 (From meta-quanta rev: 7ce165698a6b60452c4d6cf2ac3079fdd2eb290a) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Change-Id: I1c314f83e2abfc911d32e62cb081aff558ee734c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-12meta-quanta: gbs: boot status led actionGeorge Hung3-0/+73
The sys_boot_status LED would be set blinking until host post done. When host post done, the action of sys_boot_status would be set on Note: 1. LED action is set in led.yaml under "gbs-led-manager-config" directory 2. sys_boot_status LED gpio is set in kernel dts (From meta-quanta rev: 961e0f5890d3bc7b25491a024a694ea9ed01cb70) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ia2f5ff923b8dc6a7eda31d8d37e63a31d6d62028 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-12meta-quanta: gbs: detect SlimSAS cable presenceGeorge Hung9-0/+146
Add gpio configuration for SlimSAS cable0~3 and detect cables connected or not (From meta-quanta rev: 09b8cd98a953ef96fabd7bc1c8d090bd02c53d88) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ifee5ebf1a1055943ade8defce6be63b690bea8d2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-12meta-quanta: gbs: inband bmc/bios image updateGeorge Hung12-0/+286
gbs-bmc-update and gbs-bios-update packages do inband bmc/bios image update via Nuvoton PCI mailbox Tested: Set PCI mailbox memory space as writable ~# sudo setpci -d 1050:0750 04.B=02 bmc update: ~# sudo burn_my_bmc --command update --interface ipmipci --image image-bmc --sig image-bmc.sig --type image bios update: ~# sudo burn_my_bmc --command update --interface ipmipci --image image-bios --sig image-bios.sig --type bios (From meta-quanta rev: 85d9f2a992421ca981ac11c6227ceb3531a3bb1a) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I1a73f724c4cf16636c460d20c6efd409eac4e80f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-12meta-quanta: gbs: customize whitelist and time settingsGeorge Hung3-0/+15
1. set "RestrictionMode" to whitelist as default 2. modify time setting to make ipmi command "sel time set" can set host time (From meta-quanta rev: de8d8179ee2ecb7fed31c119b48cc9e40ef31710) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ifa75a283df79082870588c909ecb9693a367e4c8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-12meta-quanta: gbs: add busybox settingGeorge Hung2-0/+4
Add devmem and lsusb commands to busybox (From meta-quanta rev: ffc3435ebaee3efe1e5200f00ae3cca990070f7a) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I819790d7a8c82dd36c7fcbc585193e91c702e5ee Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-08meta-quanta: gbs: add LED configurationGeorge Hung2-0/+258
Set GBS related LED actions in yaml file 1. heartbeat 2. sys boot status (bios post done) 3. attention (identify) 4. bmc fault (kernel panic) 5. NVME SSD locate/fault (From meta-quanta rev: 745df9caeb360ce80c9edaf27dc5600b6646e31a) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I1c506687165b60ac29dd6ae7989ded3a5a20c9a7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-08meta-quanta: gbs: add binarystore config fileGeorge Hung2-0/+13
Set eeprom path and offset of the config file (From meta-quanta rev: d60e18101c6ddff8246a964e3cd560a7708f2bfa) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I7ae44086eba26ddd0fe7eca2b5f18cf78401c6f1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-08meta-quanta: gbs: add Hotswap Power Cycle ServiceGeorge Hung2-0/+35
Add a hotswap power cycle service for oem google sys command, "Delay hard reset". Tested: Setting 5 secs delay for delay hard reset: ~# ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x05 0x00 0x00 0x00 79 2b 00 03 (From meta-quanta rev: 4f20ff8ff1a9ea91f0e2a4f55ec7a2525bfc8a9a) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ib114ba2c47d652cb9c9999b45b503698e7fc5207 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-08meta-quanta: gbs: add configuration of obmc-consoleGeorge Hung3-0/+15
1. Host serial port 1 to BMC UART1 2. modify the udev rules for console config Tested: run obmc-console-client and then can redirect to host console (From meta-quanta rev: b64af2ce0a7d55ee8a765e44788d3c96fb9ba971) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I20a70ff7e3bed278642d7903f1154664f805c20c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-08meta-quanta: gbs: add package groupsGeorge Hung2-0/+36
1. add packagegroup setting(Fan, Chassis, Flash) for GBS 2. remove unused package obmc-ikvm 3. add phosphor-gpio-monitor (From meta-quanta rev: 72cdf91caaca91ebab24f30f37a1a8640fa7cb8e) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I814a6f15e88a8032b0592376aa8cb1316a36f24c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>