summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-common
AgeCommit message (Collapse)AuthorFilesLines
2022-01-25treewide: fix up github SRC_URIsPatrick Williams2-2/+2
Per [1], Yocto is going to start requiring both branch names and `protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to automatically fix our URIs. 1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
2021-08-11meta-quanta: meta-common: Cleanup for Yocto override syntax changeWilly Tu4-14/+14
Cleanup with ``` convert-overrides.py meta-quanta/meta-common ``` After Cleanup ``` $ git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-common/ meta-quanta/meta-common/recipes-phosphor/health/phosphor-health-monitor_%.bbappend:do_install:append() { meta-quanta/meta-common/recipes-quanta/network/usb-network/usb-network.sh: dev_mac="$(set_local_administered_bit $dev_mac_path)" meta-quanta/meta-common/recipes-quanta/network/usb-network/usb-network.sh: host_mac="$(set_local_administered_bit $host_mac_path)" meta-quanta/meta-common/recipes-quanta/network/usb-network/usb-network.sh: echo $dev_mac > $dev_mac_path meta-quanta/meta-common/recipes-quanta/network/usb-network/usb-network.sh: echo $host_mac > $host_mac_path meta-quanta/meta-common/recipes-quanta/network/usb-network/usb-network.sh: cat $dev_mac_path > functions/ecm.usb0/dev_addr # write device mac address meta-quanta/meta-common/recipes-quanta/network/usb-network/usb-network.sh: cat $host_mac_path > functions/ecm.usb0/host_addr # write usb mac address ``` Change-Id: I21ac9c73fbfeb0972f910e30404c704d72095efd Signed-off-by: Willy Tu <wltu@google.com>
2021-07-02meta-quanta: common: fix "ignored null byte in input" warningGeorge Hung1-1/+1
get rid of "ignored null byte in input" warning for the usb-network.sh Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I2a18f568b362601fa1c41ec39a8c1cecf09f8862
2021-05-20meta-quanta: common: add bmc_health_configBruceleequantatw2-0/+24
This config will not set threshold and to avoid critical/warning message shows on journalctl. Signed-off-by: Bruceleequantatw <Bruce_Lee@quantatw.com> Change-Id: Ic6ba793ce7ed16e16a79c5b79f748f78b35ce0cd
2021-03-30meta-quanta: common: read-margin-temp srcrev bump 898f158b56..cadbe4801dHarvey Wu1-1/+1
Josh Lehan (2): Update README Modified return value from min to NaN when NVMe present is false Signed-off-by: Harvey Wu <Harvey.Wu@quantatw.com> Change-Id: Iecb067d10507c0a60ad585b47ee5d0184705325d
2021-03-24meta-quanta: common: read-margin-temp srcrev bump ca2dc1bf7f..898f158b56George Hung1-1/+1
Josh Lehan (2): Massively refactored to fix bugs and use double Add single point of failure mode and error detect quadpixels (1): Reuse DBus connections and reduce redundant DBus messages Harvey Wu (8): use struct to save zones objects comment some print log in util.cpp comment some print log in dbus.hpp fix function input parameter fit the coding standard Add option and function according issue #11 Add "debug", "ignore" option Add NVMe Present Option Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I8cfa8d127c4ff2f9d8ba02bea73bcca6d2c62f9e
2021-01-08Revert "meta-quanta: meta-common: enable TLS with static CA and specific user"Alan Kuo5-91/+0
This reverts commit a310726a27974a471386d4e5f6d4b79f3bc6906e. Reason for revert: - Remove Feature: 1. The feature that only enable mTLS authentication will be moved to bmcweb, which can be controlled by the meson options of bmcweb 2. phosphor-monitor-hostname will move into bmcweb - The remaining features are moved to meta-google 1. default-users 2. default-ca (From meta-quanta rev: 535e6926336f229686e71f7617bd4e0ac28b61dc) Signed-off-by: Alan Kuo <Alan_Kuo@quantatw.com> Change-Id: I5213668928db866b54206732cab8747510e63607 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-03meta-quanta: meta-common: enable TLS with static CA and specific userAlanKuo5-0/+91
Add Security Feature: 1. default-users: Add static User "Megapede" 2. enable-tls: Enable TLS authentication with static CA 3. phosphor-monitor-hostname: Generate a self-signed certificate once the hostname is assigned Note: 1. CA PATH: meta-quanta\meta-common\recipes-phosphor\certificate\phosphor-certificate-manager\certs\authority All CAs under the folder will be encapsulated into the firmware image (From meta-quanta rev: a310726a27974a471386d4e5f6d4b79f3bc6906e) Signed-off-by: AlanKuo <Alan_Kuo@quantatw.com> Change-Id: If033222b72c59a86c1f818a3350d6eb55bba10b5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-03read-margin-temp: remove unnecessary -native dependencyPatrick Williams1-1/+0
sdbusplus-native should no longer be used as a dependency. In cases where the `sdbus++` processing tools are needed, `${PYTHON_PN}-sdbus++-native` can be added as a dependency, but this repository is not one of those cases. (From meta-quanta rev: 76ebf4149ea84981135b3e3bf19acf14155335e7) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5b08a0d8910f47d0a591dac9d5a8bdabb87d9bb6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-06meta-quanta: common: add "read-margin-temp" serviceGeorge Hung1-0/+26
Add "read-margin-temp" service to meta-quanta/meta-common This daemon will read the temperatures of various sensors and calculate the worst thermal margin (From meta-quanta rev: a8f1a52fbaf2075f54e4cc8e2b3619172148e54f) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I79623132d6dbf84ef1646e61a5c2374db132ea48 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-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-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>