summaryrefslogtreecommitdiff
path: root/meta-facebook/conf/machine/include
AgeCommit message (Collapse)AuthorFilesLines
2025-07-23meta-facebook: darwin: add machinerobert-ercean1-0/+6
Initial commit for darwin. Change-Id: I65ff2a4fc671b63bdbd982b950c29896ef696d44 Signed-off-by: Robert Ercean Dima <robert3@meta.com>
2025-06-05meta-facebook: add liquid-cooled machine featurePatrick Williams1-0/+2
Automatically enable features such as leak-detection based on the liquid-cooled machine feature. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I034694dfa2f624f7f13f2101582860052bee35fe
2025-05-15slp: remove from default imagesAndrew Geissler1-1/+0
slpd-lite[1] is a home grown application within OpenBMC that does not appear to get much use. There are other more full function options like Avahi or LLDP now. The slpd-lite daemon provides an unauthenticated network interface which was the result of a fairly severe PSIRT last year[2]. Given the above, this application should not be included by default when building OpenBMC. Tested: - Confirmed slpd application and service no longer in a Romulus image [1]: https://github.com/openbmc/slpd-lite [2]: https://github.com/openbmc/slpd-lite/security/advisories/GHSA-wmgv-jffg-v3xr Change-Id: Ifd67651cb00a411bf12f0330c4b4fab626953361 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2025-05-02meta-facebook: Enable cgroup support for all meta BMCsJames Athappilly1-0/+1
Tested: Built a few of these and saw that the kernel configurations for cgroups were as we wanted Change-Id: Iccaa81bf6071c3184d69543c84e10d8d38722d72 Signed-off-by: James Athappilly <jamesatha@gmail.com>
2025-04-09meta-facebook: Introduce reconfig-interface-duid-ll service supportPotin Lai2-0/+6
Introduce the reconfig-interface-duid-ll service for platforms that use configuration files generated by phosphor-networkd. This service helps adding the DUID-LL (DHCP Unique Identifier – Link Layer) setting to the generated network interface configuration files, ensuring proper DHCP configuration for network identification. Tested on bletchley: ``` root@bmc:~# networkctl status eth0 * 2: eth0 Link File: /usr/lib/systemd/network/99-default.link Network File: /etc/systemd/network/00-bmc-eth0.network State: routable (configured) Online state: online Type: ether Path: platform-1e670000.ethernet Driver: ftgmac100 Hardware Address: c0:18:50:f1:d7:96 MTU: 1500 (min: 68, max: 1500) QDisc: pfifo_fast IPv6 Address Generation Mode: eui64 Number of Queues (Tx/Rx): 1/1 Auto negotiation: yes Speed: 1Gbps Duplex: full Port: mii Address: 10.10.14.25 (DHCPv4 via 10.10.10.106) 2018:5::aeba 2019:7::c218:50ff:fef1:d796 fe80::c218:50ff:fef1:d796 Gateway: 10.10.10.204 fe80::a00:27ff:fee1:5408 DNS: 8.8.8.8 168.95.1.1 Search Domains: dhcpserver.bu9bmc.local mmb.ipv6.com Activation Policy: up Required For Online: yes DHCPv4 Client ID: c0:18:50:f1:d7:96 DHCPv6 Client IAID: 0x0 DHCPv6 Client DUID: DUID-LL:0001c01850f1d796 ``` Change-Id: I4276708dec4e53e354fc8a92cbf5fc9d7a92a61c Signed-off-by: Potin Lai <potin.lai@quantatw.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2025-04-08meta-phosphor: add distro feature production-level tweakscchoux1-0/+1
There are some settings that are desired to be set for production-level systems, but may be less desired in development. Such as settings that turn hard-errors into soft-errors. Add a distro feature to allow these settings to be enabled. Add as a production-level tweak, a config for the kernel default setting of `hung_task_panic`. This prevents unnecessary panics due to a busy system, usually due to poor driver implementations. Enable the production-level tweaks on meta-facebook. Tested: ``` root@yosemite4:~# cat /proc/sys/kernel/hung_task_panic 0 ``` Change-Id: I0542547c77ddacae44d98e9ab6edc3743ff0016c Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2024-08-19meta-facebook: explicitly disable avahi, ldap, slpPatrick Williams1-0/+5
Meta doesn't use these protocols on our systems, so disable them. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I30b6723b061beabb7d8b6dc6a6cf024e6ce5bc77
2024-01-18meta-facebook: fix ipv6-ll addressPotin Lai1-0/+2
The correct MAC address of NCSI managerd ethernet interface is obtained during NCSI config process. It will need run extra workaround to regenerated IPv6-LL address based on new MAC address from NCSI. Add service for checking the MAC address is correctly get from NIC card via NCSI, then regenerate the IPv6-LL address. Tested on Harma: ``` root@harma:~# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 10:70:FD:E4:3F:63 inet addr:10.10.12.110 Bcast:10.10.255.255 Mask:255.255.0.0 inet6 addr: fe80::1270:fdff:fee4:3f63/64 Scope:Link inet6 addr: 2018:5::e52e/128 Scope:Global inet6 addr: 2019:7::1270:fdff:fee4:3f63/64 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:97642 errors:0 dropped:539 overruns:0 frame:0 TX packets:1625 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:15804387 (15.0 MiB) TX bytes:140035 (136.7 KiB) Interrupt:42 root@harma:~# systemctl status network-wait-ipv6-ll@eth0.service * network-wait-ipv6-ll@eth0.service - Wait IPv6 link-local initialization Loaded: loaded (/usr/lib/systemd/system/network-wait-ipv6-ll@.service; static) Active: active (exited) since Tue 2024-01-09 03:33:43 PST; 38s ago Process: 271 ExecStart=/usr/libexec/check-ipv6-ll eth0 (code=exited, status=0/SUCCESS) Main PID: 271 (code=exited, status=0/SUCCESS) CPU: 148ms Jan 09 03:33:41 harma systemd[1]: Starting Wait IPv6 link-local initialization... Jan 09 03:33:41 harma check-ipv6-ll[271]: non-global mac address, start fix eth0 ipv6-ll Jan 09 03:33:43 harma check-ipv6-ll[271]: eth0 mac: 10:70:fd:e4:3f:63 Jan 09 03:33:43 harma check-ipv6-ll[271]: expected ipv6-ll: fe80::1270:fdff:fee4:3f63 Jan 09 03:33:43 harma systemd[1]: Finished Wait IPv6 link-local initialization. ``` Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: Id3c40beda9f290d36565f0e8e146be772c9a9983
2023-10-11meta-facebook: opt out of webuiPatrick Williams1-0/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I80149293de370f5f979d657ba43efa4b7d556190
2023-08-18meta-facebook: remove IPMI hw from multihost systemsPatrick Williams2-4/+4
All meta-facebook systems use ipmb to interact with the OCP debug card. The multi-host machines also use ipmb to talk with the BIC, but the 'ipmi-ipmb' package is not considered an 'ipmi-hw' package (because it is often installed as an addition). The single host machine(s) use 'ipmi-kcs'. Rearrange the inc file specifications so that the multi-host systems do not get the 'ipmi-kcs' package. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I756984d32d424dd0b08a44b434318ccee6672889
2023-03-11meta-facebook: enable com.meta dbus interfacesPatrick Williams1-0/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20bf3e8a7dc9bb18447e5d9c991157b6ad65282f
2022-11-01meta-facebook: greatlakes: initial phopsphor-state-manager supportKarthikeyan Pasupathi1-1/+0
Added machine layer support for greatlakes to support control the BMC, Chassis, and Host. It supports requests to power on and off the system by the user. Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com> Change-Id: Ie62cc289783d47d8b50cd0c555157749f160c253
2022-10-06meta-facebook: add secondary-emmc featurePotin Lai1-0/+2
* Define a MACHINE_FEATURE that enables a secondary eMMC device. * Add kernel and base-files support for mounting the eMMC device using btrfs. * Enable machine feature for Bletchley. Signed-off-by: Potin Lai <potin.lai@quantatw.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I3fde3b285720c137c4e5bbbad233e4ef40b84d54
2021-12-30meta-facebook: enable allow-root-loginPatrick Williams1-0/+1
root is only added to a number of required groups if either `debug-tweaks` or `allow-root-login` is on (see phosphor-rootfs-postcommands.bbclass). For internal builds we turn off `debug-tweaks`, so add `allow-root-login` to our IMAGE_FEATURES since we need it on everywhere. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic65dce4fd5374a6a9c8389c67693b980a2b5509c
2021-11-10meta-facebook: simplify SERIAL_CONSOLESPatrick Williams1-0/+2
The majority of our hardware uses ttyS4 and 57600. Rather than have each machine specify this, put it into a generic "facebook" override as the default for all our machines. Assuming OVERRIDES is set correctly, machines can still make specific overrides as alternatives. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id8b704163dc57d94e27481dba7aef1bdf66aeee5
2021-11-10meta-facebook: revamp OVERRIDESPatrick Williams6-10/+12
Ensure OVERRIDES are specific, MACHINE or DISTRO, rather than extending the primary OVERRIDES variable. Fix the order so that the variables are ordered from least-specific to most-specific since bitbake applies overrides in increasing order. This makes it so that 'fb-withhost' is applied before 'fb-compute-multihost' is applied before 'yosemitev2'. Thus, if a recipe has a specialization for 'yosemitev2' it is used rather than the weaker specialization for 'fb-withhost'. Tested by checking the OVERRIDES and MACHINEOVERRIDES for Bletchley, Tiogapass, and Yosemitev2 to verify they look correct. ``` MACHINEOVERRIDES="armv7a:aspeed:aspeed-g6:fb-nohost:bletchley" MACHINEOVERRIDES="armv6:aspeed:aspeed-g5:fb-withhost:fb-compute:fb-compute-singlehost:tiogapass" MACHINEOVERRIDES="armv6:aspeed:aspeed-g5:fb-withhost:fb-compute:fb-compute-multihost:yosemitev2" ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id5fa38de29c748e4ceafd5ef5c831b4f6434ea01
2021-11-04Partially revert "treewide: remove obmc-system-mgmt feature"Patrick Williams1-0/+1
The obmc-system-mgmt feature is currently used in the image to trigger inclusion of a virtual-provider which provides a number of packages many systems need. Partially revert the removal of this feature so that the outcome is: 1. The empty obmc-phosphor-sysd package is still removed. 2. By default the 'obmc-system-mgmt' feature is included, unless specifically exempted. 3. All EVB platforms remove the 'obmc-system-mgmt' feature since they have no system they are managing. This partially reverts commit 060ad3ff7fcc30aff78a9e504efee9d8fa0d4526. Tested: * Built `bletchley` and confirmed `packagegroup-fb-apps-system` and `entity-manager` are present. ``` entity-manager armv7ahf-vfpv4d16 0.1+git0+6bf41588ab-r0 packagegroup-fb-apps-system all 1.0-r1 ``` * Built `witherspoon` and confirmed `packagegroup-op-apps-system` and `pdbg` are present. ``` packagegroup-op-apps-system noarch 1.0 pdbg arm1176jzs 3.3 ``` * Ran `bitbake -p` on `evb-ast2600` to confirm the undefined `virtual-obmc-system-mgmt` is not being included in the image. Change-Id: I8b7804d5101cc84a2c57473b3f85672bf7767c67 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-10-26treewide: remove obmc-system-mgmt featurePatrick Williams1-1/+0
Every machine layer treats 'system-management' as either part of a package-group or removes the feature. The sample implementation in meta-phosphor is a do-nothing shell script (and up until recently was a Python script). There appears to be no useful purpose to this feature as a stand-alone concept, so remove it. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20ca1fa8ff3cb01cac2d07d4ded84e0769e4514b
2021-10-26treewide: clean up use of OBMC_MACHINE_FEATURESPatrick Williams2-2/+2
Modify the machine meta-layer configs to remove the use of the OBMC_MACHINE_FEATURES indirection and favor the Yocto MACHINE_FEATURES variable instead. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ifafb79e4e4c010e9476b9547cd4982f5b645060e
2021-08-25meta-bletchley: enable tpm2-toolsPatrick Williams1-0/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I478258cbf55a66b5c93eca7a09b264e3a2325ca2
2021-08-11meta-facebook: more prep for new override syntaxPatrick Williams2-6/+6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I21120d6215c25be49afd60d6e807b68f2798423a
2021-08-07meta-facebook: prep for new override syntaxPatrick Williams2-7/+7
Ran `scripts/contrib/convert-overrides.py` from upstream Yocto and fixed up a few by hand that were missed. Tested: Built bletchley and tiogapass. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0489ba007132901697e4ef1a29b03a3591b3ee3b
2021-06-04meta-facebook: prep for host-less machinesPatrick Williams4-8/+19
Create config files that split "nohost" and "withost" variants of facebook machines. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I23460d8da076d02ebb6e5105b80244ca8a5681a4
2020-11-03meta-facebook: remove ikvmVijay Khemka1-0/+2
Facebook platforms doesn't use obmc-ikvm currently so removing it. (From meta-facebook rev: 2b532a586562096d77c0546154807bc9bb7d1747) Change-Id: I0c672baaa5988598f37846d14658e3ec12cd7235 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-06meta-facebook: add machine-compute include filesPatrick Williams3-0/+9
(From meta-facebook rev: 355b76e8abbb4566f0c8d201358b0e794c80f29f) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I3718d245fc570c151f3df8602a55e862e98e018e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-06meta-facebook: restructure phosphor default-virtualsPatrick Williams1-0/+22
Due to our structure and missing RPROVIDES we were picking up old python-based implementations of some daemons. Restructure our conf and package group files to look more like meta-intel, and point to the proper implementations of services. (From meta-facebook rev: fbe12f7a42a592be01e2ced7215705ad5261e529) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0995a3d80604f71900222983574f3b29d418fe1b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>