| Age | Commit message (Collapse) | Author | Files | Lines |
|
Initial commit for darwin.
Change-Id: I65ff2a4fc671b63bdbd982b950c29896ef696d44
Signed-off-by: Robert Ercean Dima <robert3@meta.com>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Meta doesn't use these protocols on our systems, so disable
them.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I30b6723b061beabb7d8b6dc6a6cf024e6ce5bc77
|
|
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
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I80149293de370f5f979d657ba43efa4b7d556190
|
|
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
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I20bf3e8a7dc9bb18447e5d9c991157b6ad65282f
|
|
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
|
|
* 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
|
|
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
|
|
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
|
|
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
|
|
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>
|
|
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
|
|
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
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I478258cbf55a66b5c93eca7a09b264e3a2325ca2
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I21120d6215c25be49afd60d6e807b68f2798423a
|
|
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
|
|
Create config files that split "nohost" and "withost" variants
of facebook machines.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I23460d8da076d02ebb6e5105b80244ca8a5681a4
|
|
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>
|
|
(From meta-facebook rev: 355b76e8abbb4566f0c8d201358b0e794c80f29f)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3718d245fc570c151f3df8602a55e862e98e018e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
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>
|