summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
2024-04-26meta-phosphor: add nfs distro featureThang Q. Nguyen3-0/+12
Add include files for NFS distro features, which enables NFS kernel configuration and utility to mount NFS from BMC. Tested: 1. Check if CONFIG_NFS_* are enabled $ zcat /proc/config.gz | grep NFS 2. Mount remote NFS folder $ mount -t nfs 10.10.130.2:/tftpboot/ISO_file /tmp/mount_nfs Change-Id: I015f4f6ed9c5b60573340233aee1f781aa0c573a Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
2024-04-15treewide: linux: remove cfg files from SRC_URIPatrick Williams1-1/+0
When using a `feature.scc` file it is not necessary to also include the corresponding `feature.cfg` file in the `SRC_URI` field. Remove them to clean up. [1]: https://docs.yoctoproject.org/kernel-dev/advanced.html#recipe-space-metadata Tested: Built on Yosemite4 and observed MCTP configure options are still enabled. ``` root@yosemite4:~# zcat /proc/config.gz | grep MCTP CONFIG_MCTP=y CONFIG_MCTP_FLOWS=y # MCTP Device Drivers CONFIG_MCTP_SERIAL=y CONFIG_MCTP_TRANSPORT_I2C=y # end of MCTP Device Drivers ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I76656cf9fbbe5cd2ac44f90c46b391111ca72410
2023-10-11meta-phosphor: linux: simplify mctp config selectionPatrick Williams1-1/+4
Leverage the mctp DISTRO_FEATURE to simplify the selection of the mctp kernel config. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If01e472b9128d1e90fd29e1e31cef284057890fe
2023-06-14meta-ibm: p10bmc: add a MCTP DISTRO_FEATURES switchRashmica Gupta3-1/+10
The switch enables AF_MCTP and adds the `mctp` tool and `mctpd` so we can setup and manage an in-kernel MCTP network. Enable it for p10bmc and also add CONFIG_TUN so we can use a tun device to transport packets between the kernel and the astlpc interface implemented in libmctp. Change-Id: I21d0af9e751f91975c760b4b4708b3b401b95417 Signed-off-by: Rashmica Gupta <rashmica@linux.ibm.com>
2023-06-08meta-phosphor: linux: Enable CONFIG_SCHEDSTATS for systemd-bootchartAndrew Jeffery2-0/+3
systemd-bootchart requires CONFIG_SCHEDSTATS=y to operate. Enabling it adds 4344 bytes to the p10bmc zImage (used as a test platform in this instance), which is likely tolerable for a default configuration: ``` $ ls -l zImage.* -rw-r--r--. 1 andrew andrew 4179240 Jun 2 14:28 zImage.no-schedstats -rw-r--r--. 1 andrew andrew 4183584 Jun 2 14:19 zImage.schedstats ``` Change-Id: Ie86eaa60a414bb5d62f89584aa674c3b586e0516 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>