| Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I1d53510329749ff122c8a65157a72c8ff88bd306
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Initial commit for darwin.
Change-Id: I65ff2a4fc671b63bdbd982b950c29896ef696d44
Signed-off-by: Robert Ercean Dima <robert3@meta.com>
|
|
- Added udev rules to map FB NIC UARTs for obmc-console.
- Added obmc-console configuration for FB NIC card.
- Verified that the rules do not interfere with other NICs.
Change-Id: Ib35900dc8f4625d05a49f8897e49cd80b4a5ca30
Signed-off-by: Zane Li <zane.li.wiwynn@gmail.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
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I6291eeaf0ca7d4bd674bf0717f1234bfd757f6fe
|
|
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>
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8f74fcbb7bf66bb24fde1571ef09fac1095c7e59
|
|
Meta doesn't use these protocols on our systems, so disable
them.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I30b6723b061beabb7d8b6dc6a6cf024e6ce5bc77
|
|
Description:
Add yosemite4n layer under yosemite4.
Add common configurations for yosemite4 and yosemite4n.
Add json file set uboot baudrate to 57600.
Tested:
Build Success.
Change-Id: I7ff2ffa3e008be9d2f132ac6c3f058fa7b33f329
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Signed-off-by: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
|
|
The console variable is, by default, based on a number of variables
such as OBMC_HOST_INSTANCES. These variables need to be in the vardeps
so that the console variable is updated when these variables change.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I6f60f0a4e82c41dddea1408ac8d490ebef826c52
|
|
We not longer plan to support the SSH console ports for obmc-console on
our servers and want to use OpenSSH. A lot of the obmc-console bbappend
can therefore be simplified (and we don't even need a distinction
between multi-host and single-host).
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I86269eb1fcb45a8e43271204bd303e50a8dcbaf1
|
|
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: I28ee50fa55ae47dd7fd8c99f8f6db8f5f6dfa53d
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I85272779478b66452acd11be93f5fea99e4c3a34
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I797e6fe38e5db3ae25ab47f94a5cd0549f027c6d
|
|
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
|
|
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
|
|
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
|
|
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
|
|
* Deprecate N-1 release (hardknott).
* Enable N+1 release (kirkstone).
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
|
|
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
|
|
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current
and the upcoming. Remove 'gatesgarth' is it is now 2 releases back.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
|
|
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
|
|
Latest upstream yocto has moved on to the 3.3 hardknott release
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
|
|
The next release of Yocto is soon and most of the upstream
layers have switched support strings for it. Support layer
compat for gatesgarth (current) and dunsfell (previous).
(From meta-facebook rev: 056ec6f35e906dbc6eb2493bd8e26cb28d74d0ba)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I101c12f361c042cc2eb6d0d7373295e62dac028a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
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>
|
|
(From meta-facebook rev: e072a27c813016cf0a0961f299320a2207910700)
Change-Id: I4b94045ff897cf97d434623a5a81f683fb3548a1
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-facebook rev: e7ca2cd4edb25b44205da051630ab28f36f1e0a2)
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I643b04c0ec805d0155f62fc6e136de40248f018f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
oe-core branched in preparation for the upcoming Yocto release.
We'll retain compatibility for warrior until we do our own branch
or stop testing warrior.
(From meta-facebook rev: fbbba83da1e5f2c2750fd5893aefc7a8439c72aa)
Change-Id: Ia459c224e0130aec85f27a5d8ff04bdae99a01e2
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
These trivial updates are intended to cure the
following Bitbake warnings:
WARNING: Layer tiogapass-layer should set
LAYERSERIES_COMPAT_tiogapass-layer in its
conf/layer.conf file to list the core layer names
it is compatible with.
WARNING: No bb files matched
BBFILE_PATTERN_tiogapass-layer ''
Compatibility was previously not specified. Also,
the BBFILE_PATTERN did not point to the layer
directory.
A warning will still be generated regarding no BB
files at the Facebook layer because there aren't
any present at this time. However, this patch
makes it look in the correct place when there are
BB files present.
(From meta-facebook rev: c0d6c3eeaa6bc45815d86aee5d0721461442a418)
Signed-off-by: Wilfred Smith [Facebook] <wilfredsmith@fb.com>
Change-Id: I6eee6568b8ab00963d6eac72f9cd48ae716af26e
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
oe-core branched in preparation for the upcoming 2.7 Yocto release and
as of 13e45ff requires core layer compatibility to "warrior" instead of
"thud". We'll retain compatibility for both until we do our own branch
or stop testing thud.
(From meta-facebook rev: ecbe3814cf69ecf51052ac9f0129306f9fd2dd78)
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Icd1ed7dd25f959f888f1125ad47bdbb2b16c02e1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
set layer compatability to thud
(From meta-facebook rev: f3275f5f3161f23fe2610417265d12577e69540a)
Change-Id: I6ab2683f7c2996ad31a6c8e0579428fdb5b892e7
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Initial introduction of Facebook TiogaPass family equipped
with Aspeed 2500 BMC SoC.
Tested: Build Facebook TiogaPass board and load on the
target hardware. Ensure that BMC boots to console.
(From meta-facebook rev: 92e80d2b576a8c57ae073a0284652d8ea39602e8)
Change-Id: Iefaf535e382b1e4fcfc212b5d29cd7166c90998e
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|