summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-quanta
AgeCommit message (Collapse)AuthorFilesLines
2021-08-11meta-quanta: meta-gbs: Cleanup for Yocto override syntax changeBrandon Kim1-6/+6
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-01meta-quanta: gbs: remove gbs-nvme-pwr-ctrl/mac-address packagesGeorge Hung2-18/+0
remove packages and recipe files: - mac-address - gbs-nvme-pwr-ctrl Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ic9d6a48d16ec058d1f444badc2f3e69628f77859
2021-06-18meta-quanta: gbs: Modified pid sensor type from margin to tempGeorge Hung3-495/+0
- Remove read-margin-temp files and codes - Modified sensor type in pid json to temp setpoint set to target temp Kp set to Kp * scalar Ki set to Ki * scalar - Pre-detect nvme present status in fan-table-init.sh, and delete settings if nvme present is false. Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Iba4ac164a7a39ca1be109301402911d432294997
2021-04-21meta-quanta: gbs: Fix WCTemp in read-margin-temp-wait.shBrandon Kim1-4/+4
The backup WCTemp was being set to 72000 * 1000, clean up the logic. Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ic752b188cb06f9755fcfa6f21f530dcb979ac813
2021-04-20meta-quanta: gbs: Add retry to read-margin-temp-wait.shBrandon Kim1-7/+22
Add 3 x 1 second retries for WCTemp and default to a sane WCTemp if 0 is read. Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ia87e704d2e5e0990a0727cd37290084f8eda2df6
2021-04-08meta-quanta: gbs: populated the JSON according to the installed drivesGeorge Hung2-23/+16
Add the @nvmeList@ template and dynamically detect for which drives we should have and populated the JSON accordingly Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id0f6cefe80ae72dc8d3601d0a03dd1039341175c
2021-03-25meta-quanta: gbs: the unit change to degree from millidegreeGeorge Hung1-24/+24
The D-bus type for the sensor value change to use double and the read-margin-temp already update for that, so replace millidegree by degree for the unit Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ib2725e7834ea2bd0021807ee5395f45c07b08c49
2021-03-25meta-quanta: gbs: overwrite the WCTEMP reading to json configGeorge Hung3-35/+32
Read WCTEMP reading and overwrite to config-margin.json and update the WCTEMP variables to be wrapped in @@ to avoid any mis-replacement Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I2f6eae64acc1db089c1a3ca48288ae360d555dac
2021-03-09meta-quanta: gbs: update NVMe SSD and CPU margin temperatures configGeorge Hung2-49/+74
1. Change CPU margin from 13C to 15C 2. NVMe SSD margin = WCTemp - 7 (WCTemp = Warning Composite Temperature Threshold) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id9af01305764132fa537afada073826f3d37125e
2020-12-10meta-quanta: gbs: update thermal config to R03George Hung1-4/+32
1. Fan LCT = 3330 RPM 2. Minimum fan duty = 15% 3. NVMe Kp=1250,Ki=12 (From meta-quanta rev: b6ba0ea2d0007b1db640ea9d15d171ab7d79938e) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I541dce79aab0b6dc48964cfb0657c19f13f9520f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-16meta-quanta: gbs: update thermal config to R02George Hung1-1/+1
1. update the Ki for cputemp 2. update the target temp offset for cputemp (From meta-quanta rev: cd759de50c46b900255d5da4a5b4d03d322e8458) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I5f6ae87d50dd8883564c2a9084833983ea94aa66 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-07meta-quanta: gbs: update thermal config to R01George Hung1-48/+135
1. update fine tuned PID parameters 2. update sensors threshold (From meta-quanta rev: 52b5953cf0c8c16d34bb8fa7b676316335dbf06e) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Icf6f74543552cf511d64fb6bb35bec279f7d0846 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-06meta-quanta: gbs: add GBS read-margin-temp configGeorge Hung3-0/+350
Since read-margin-temp_git.bb will move to meta-quanta/meta-common, add read-margin-temp bbappend file and move read-margin-temp folder from meta-gbs/recipes-phosphor/fans to meta-gbs/recipes-quanta/fans read-margin-temp_git.bb move to meta-quanta/meta-common: https://gerrit.openbmc-project.xyz/c/openbmc/meta-quanta/+/35277 (From meta-quanta rev: 410c3e900f09aa1f2fee6b155d9987b5510859c6) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I79ff42570dc9422e3c2e90dd95c5d29b01ec1133 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-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>