summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-phosphor/ipmi
AgeCommit message (Collapse)AuthorFilesLines
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-2/+2
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-17meta-quanta: Fix incorrect change in Yocto syntax updateDavid Wang1-2/+2
'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 Wang1-2/+2
- 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: meta-gbs: Cleanup for Yocto override syntax changeBrandon Kim6-19/+19
Cleanup with ``` convert-overrides.py meta-quanta/meta-gbs git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-gbs git grep -l _gbs -- meta-quanta/meta-gbs \ | xargs sed -i 's/_gbs/:gbs/' ``` After cleanup ``` $ git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-gbs/ | grep '.bb' meta-quanta/meta-gbs/recipes-bsp/images/npcm7xx-igps-native_%.bbappend:addtask do_gbs_prepare_xmls after do_patch before do_install meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/gbs-sysinit.bb:do_install () { meta-quanta/meta-gbs/recipes-google/acpi-power-state/acpi-power-state-daemon_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/interfaces/bmcweb_%.bbappend:do_install:append:gbs(){ meta-quanta/meta-gbs/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-blobs-binarystore_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/leds/phosphor-led-manager_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-nvme_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-quanta/network/usb-network.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-x86/chassis/x86-power-control_%.bbappend:do_install:append:gbs() { ``` Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: If640ddd3c6f6084bb0a1d82e2d18fa2640d9d83e
2021-07-07Revert "meta-quanta: gbs: Use gBMC KCS daemon"William A. Kennington III1-0/+1
This reverts commit 3f2570e74ef929c7449911df18c1a8b9a59f02f1. Change-Id: Ie9ccec722df88d857bcdc3b2661adb55490fc13a Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-01meta-quanta: gbs: remove patches for phosphor-ipmi-hostGeorge Hung5-571/+1
remove patches: - Update IPMI Chassis Control command transition requests - Add Chassis State Transition interface - Update Host State Transition function - Fix issues and support signed sensor values Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I8f9f7d576ef7f7672bedf803ee73f331f96768ff
2021-06-17meta-quanta: gbs: replace nvmem sysfs path by eepromGeorge Hung1-1/+1
Since the nvmem sysfs path would use nvme config id in kernel 5.10, replace nvmem sysfs path by eeprom to compatible with all kernel version Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I861f9bf8e26bf5b96e0727d4dfb3e2a7e4032116
2021-05-14meta-quanta: gbs: move to nuvoton-p2a-mbox PACKAGECONFIGBenjamin Fair1-1/+1
Use the PACKAGECONFIG option instead of setting the configure argument directly. Change-Id: I514138c63d58af1a0d83815241410a679a859d73 Signed-off-by: Benjamin Fair <benjaminfair@google.com>
2021-04-29meta-quanta: gbs: remove u-boot-fw-utils/clear-once packagesGeorge Hung1-0/+2
remove u-boot-fw-utils/clear-once packages since we don't use u-boot environment Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ideb8ece3529bd8fea658f9c160551950773d6d13
2021-04-29meta-quanta: gbs: update chassis control and support signed sensorGeorge Hung6-138/+569
- Update IPMI Chassis Control command transition requests: https://gerrit.openbmc-project.xyz/29051 - Add Chassis State Transition interface https://gerrit.openbmc-project.xyz/29050 - Update Host State Transition function https://gerrit.openbmc-project.xyz/29049 - Fix issues and support signed sensor values https://gerrit.openbmc-project.xyz/26754 Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ice305cb9a9e390099a828e872af451e832d59749
2021-04-28meta-quanta: gbs: change back to upstream and enable IPMI SELGeorge Hung1-7/+2
- change back to OpenBMC upstream for phosphor-host-ipmid and phosphor-sel-logger - add inventory sensors YAML for IPMI SEL - enable SEL_LOGGER_SEND_TO_LOGGING_SERVICE and SEL_LOGGER_MONITOR_THRESHOLD_ALARM_EVENTS for IPMI SEL Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I16c58444986aec6c927e175a2c69f9cca92a7bcb
2021-03-25meta-quanta: gbs: Use gBMC KCS daemonBrandon Kim2-10/+0
Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: If3358964f776d0f9ae55f4eee5ea05d6d95b050a
2020-10-16meta-quanta: gbs: rename 99-ipmi-kcs.rules.rulesBrandon Kim2-2/+2
Take out the extra ".rules" suffix. (From meta-quanta rev: 4ff780bc39096dfc144a3910aa82bef8ebd29104) Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Iffb1794af30f8d8844e328d9a398db054f6c017e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-03meta-quanta: gbs: fix BMC can't record gpio present SEL logsGeorge Hung1-1/+1
It needs to set the correct sensor type in sensor DBus path and then records the gpio present SEL logs successfully cable sensors -> set sensor type 'cable' Non-cable sensors -> set sensor type 'entity presence' (From meta-quanta rev: c144969b7fc813610fa55a24629ead297ff24cfe) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I454d87439141b1b55d995a3276384429ad10d9a9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-20meta-quanta: gbs: phosphor-ipmi-host srcrev bump 675d587...1670af5George Hung1-1/+1
This includes the commits from openbmc/phosphor-ipmi-host, add new sensor types for IPMI SEL log William A. Kennington III (1): ipmi_fru_info_area: Fix Model Number name jayaprakash Mutyala (1): transporthandler: Fix for invalid VLAN id Johnathan Mantey (1): Modify Get Lan Configuration IP Address Source to use correct DBus DHCPEnabled type SpencerKu (1): Add Sensor Types into Config Samuel Jiang (1): sensor type: add watchdog sensor type (From meta-quanta rev: 27e1d94b3769bd16017324e047b02a542d2ee58f) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id04dd26b7105f5f0c901df94939ef4a93deb98d3 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-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-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 Hung2-0/+10
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: gbs: inband bmc/bios image updateGeorge Hung1-0/+5
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-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>