summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* kernel: drop 6.4 .inc fileBruce Ashfield2023-11-061-4/+0
| | | | | | | 6.4 is no longer in OEcore, so we drop our associated kernel .inc file. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: add 6.5 supportBruce Ashfield2023-10-011-0/+4
| | | | | | | The 6.5 kernel has now been tested against core and meta-virtualization so we add the .inc file to show that status. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* recipes/classes/scripts: Drop SRCPV usageBruce Ashfield2023-08-241-1/+1
| | | | | | | | | bitbake has been enhanced such that SRCPV is no longer needed in PV to handle updating git hashes and task signatures. We can simplify our PV by dropping SRCPV Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: drop 5.15 inc fileBruce Ashfield2023-08-151-4/+0
| | | | | | | | | 5.15 hasn't been in master for quite some time, so we drop our version matching .inc Support for 5.15 can be found on release branches. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-dtc: drop recipeBruce Ashfield2023-08-012-158/+0
| | | | | | | | oe-core commit 123077ecd9f3c1839d [python3-dtc: add from meta-virtualization] brings this recipe into core, so we drop our version. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: the dev kernel is moving to 6.4, so we update our bbappendBruce Ashfield2023-06-071-0/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: add 6.2 kernel configuration includeBruce Ashfield2023-03-081-0/+4
| | | | | | The -dev kernel is on 6.2, so we create a .inc file to match. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* treewide: bulk update patches with status fieldBruce Ashfield2023-01-271-0/+3
| | | | | | | | | | | | | | | While the insane.bbclass upstream-status check hasn't been made default, users of meta-virtualization may have it enabled in their distros .. so the effect is the same. We must have this tracking tag in out patches. This is a bulk update to add the tag and silence the QA message. As packages get updated, the normal/routine process of checking the patches will continue, and the status fields may (or may not) get more useful. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: drop linux-yocto-dev.bbappendBruce Ashfield2023-01-271-1/+0
| | | | | | | | | | The more generic linux-%.bbappend will match on linux-yocto-dev. If we have the version specific .inc files in the layer, then we will have support for linux-yocto-dev. Since we already track the linux-yocto-tested versions, it isn't hard to track the -dev kernel version. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: add 6.1 kernel configurationBruce Ashfield2023-01-261-0/+0
| | | | | | | Removing 5.19 and adding 6.1 kernel configuration triggers, now that OE core will drop 5.19. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel/cfg: add CONFIG_NETFILTER_XT_MATCH_IPVS to docker configBruce Ashfield2022-08-251-0/+1
| | | | | | | This is an optional feature (but still commonly used), so we add it to our default fragment. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: add 5.19 inc fileBruce Ashfield2022-08-091-0/+4
| | | | | | | The major stacks have been tested against 5.19, so we add the tracking .inc to indicate support. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: drop 5.10 .incBruce Ashfield2022-08-091-4/+0
| | | | | | oe-core has removed 5.10 from master, so we drop our tracking .inc Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lopper: update to -latestBruce Ashfield2022-07-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping lopper to latest, which comprises the following commits: 9159040 lopper: assists: baremetallinker_xlnx: Fix race condition in memory domain handling 38d18ca lopper/fdt: add /memreserve/ to preprocessing routines 33ee8e6 sanity: add /memreserve/ test c6431bf fdt: fix dtb handling of common prefix nodes 211c902 lopper: add support for /memreserve/ 4545eed base: add powerdomains to default phandle meta data bc95bc2 tree: handle variable sized phandle properties 69d8849 openamp: Update YAML handling to match spec 578de1d lopper: assists: bmcmake_metadata_xlnx: Fix race condition in the assist file 14d2aa3 tree: ensure that phandle is initialized before export a6b38e8 tree: make label generation more robust 9faf923 extract-xen: add [extract-xen] prefix, and write xen,passthrough 00c14d5 assists: add imagebuilder wrapper assist d879eaf extract: use lopper.write for export of trees ca80fbb extract: improve xen passthrough configuration 791f0f5 lopper.py: allow execution from any directory 0c62984 lops: fix comment style 3598d54 lopper/tree: handle invalid last phandle 697aa62 assists: create generic tree extraction and xen-processing assists 5ae6650 lopper/tree: improve phandle and node operations 5a230a5 lopper/assists: allow chained command line assists bbb92ee lopper/tree: make import/export more robust b8aeb54 lopper/tree: improve node iteration and resolution 692cbc9 lopper: lops: lop-domain-linux-a53-prune: Remove unneeded nodes for Linux boot cd25873 lopper: assists: baremetalconfig_xlnx: Fix KeyError exception 58dd00c lopper: assists: baremetal_xparameters_xlnx: Fix KeyError exception 01ae242 openamp: xlnx: Update RPMsg-kernel mailbox information fbc4329 lopper: assists: petalinuxconfig_xlnx: Fix indentation and width params 5c3074b lopper: assists: petalinuxconfig_xlnx: Add support for additional meta-data cc3de25 lopper: assists: breametallinker: fix race condition in memory node handling 7723fed lopper: lops: a72 linux: remove axi intc node 743432e openamp: xlnx: remove TCM compat strings 53746be lopper: lops: lop-domain-linux-a53-prune: remove amba_pl pruning 0d56f35 lopper: lops: lop-domain-linux-a72: move prune operations to separate lop fdbbe7b openamp: xlnx: add support for Versal platform 1839bdb openamp: xlnx: add 'power-domain' prop for Xilinx R5 remoteproc driver SRAMs 14d1caf lopper: lops: lop-domain-linux-a53: move prune operations to separate lop 7169df0 openamp: xlnx: remove dead code ec9fdce openamp: xlnx: remove definitions node 07f48d0 openamp: xlnx: Add text file for OpenAMP Channel information 637863f openamp: xlnx: update IPI for mappings for ZU+ platform 1b41e52 openamp: xlnx: rpmsg: generate rpmsg device tree nodes a643273 openamp: xlnx: remoteproc: generate remoteproc device tree nodes a833729 openamp: fix bug for domain-to-domain subnodes for openamp relations. ea6d8e1 lops: openamp: describe OpenAMP relation properties as phandles 40c2070 openamp: translate YAML Remoteproc carveouts to DTS fda40d8 openamp: translate YAML RPMsg carveouts to DTS 9d938f7 openamp: xlnx: parse pre-existing nodes in YAML eafb17a lopper: process .dtsi input files the same as .dts ce4638a lopper: assists: petalinuxconfig_xlnx: Add assist file for generating petalinux tool required configuration cfa0593 fdt: make node prefix lookups more robust 2f3f2d2 lopper/format: allow tabs to be used when writing dts c7b22ce lopper/subsystem: update access to latest specification Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: Add missing IP Virtual Server (ip_vs) feature to the kernel configRichard Neill2022-04-201-0/+1
| | | | | | | | | | | | | | | | | K3s (and Kubernetes) supports load balancing via IPVS, and by default reports errors when IPVS kernel modules cannot be loaded. This patch adds the missing reported kernel modules to the k3s recipe: * ip-vs * ip-vs-rr * ip-vs-wrr * ip-vs-sh The modules are configured by including the ip_vs kernel feature. Signed-off-by: Richard Neill <richard.neill@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lopper: update to 1.0.2Bruce Ashfield2022-03-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping lopper to latest, which comprises the following commits: c7b22ce lopper/subsystem: update access to latest specification 716fe89 lopper/init: pass permissive to dt_compile if specified on the command line 2575d66 dt_compile: allow duplicate label errors to be skipped with --permissive 22b2515 lopper: drop duplicate labels due to node merging f70eb86 lopper: bump version to 1.0.2 9b72de5 lopper: only execute main() when __main__ is called directly b0b19a1 lopper: improve label round trip handling d4b7706 docs: clarify lop versioning an compatible strings e44204b README: add phandle-desc-v1 description 17350a7 version: bump to 1.0.1 0a4fcac tree: fix tree export and reload 520dea8 lopper/base: add secure-address-map description 6e660c5 lopper/lops: resolve tree when copying 8d46634 lopper: allow select to match labels 7aac1e3 openamp: add stub for OpenAMP Domain processing landing function 82986bb lopper: add the ability to extend phandle meta-data table 914c7e2 yaml: add alias/anchor based node naming d9f1abb spec: update remoteproc example per latest spec 40cc05d lop-load: add back CDO d5d23ab xlnx: subsystem: rename lopper_tree to lopper.tree in imports 7d23ba6 lop-load: update for latest master 4caa022 openamp: add stubs for picking up domain to domain YAML property d8dae9d openamp_xlnx: rename fily openamp_xlnx.py to allow includes from this file 0358879 yaml-xlate: add stub for domain-to-domain property 903b16a spec: remove resource-groups 1dd1e67 README: update to add mailing list information 5da82a1 lopper/yaml: add lopper processing for "<<+" extension marker 3d05302 assists: domain_access: Fix update_mem_node handling for higher address 3c81fcc fdt: handle large integers Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-dtc: fix missing files in sysrootRoss Burton2022-03-021-1/+1
| | | | | | | | | | | There is a bug in SWIG/setuptools where 'pip install' doesn't build libfdt.py unless the build tree is already dirty, which makes using the library impossible. Bump the SRCREV to incorporate the upstream workaround for this issue. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lopper: fix wheel buildTim Orling2022-03-021-1/+4
| | | | | | | | | | | The wheel that is built is: lopper-1.0-py3-none-any.whl Set BASEVERSION to 1.0 and use this to set PV and the value for PYPA_WHEEL (the path to the wheel filename). Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-dtc: fix wheel buildTim Orling2022-03-021-0/+2
| | | | | | | | The wheel that is built is ${S}/dist/libfdt-1.6.2.dev39+g4048aed.d20220103-cp310-cp310-linux_x86_64.whl Set PYPA_WHEEL to match this. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: update licence values to SPDX valuesBruce Ashfield2022-02-181-1/+1
| | | | | | | | | | These changes are the result of running the convert-spdx-licenses.py oe-core script. There's no impact to the build, but we will avoid issues when interacting with core QA by the alignment. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-dtc: add SRCPV and fix missing symbolBruce Ashfield2022-01-192-0/+131
| | | | | | | | | | | | | | | | | We need some of the latest dtc functionality for lopper, but that puts us out of sync with the main dtc recipe in oe-core master. To show that we are running ahead, bumping the PV to include SRCPV. To fix the following missing symbol: | ImportError: qemuarm64-poky-linux/xen-image-minimal/1.0-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/_libfdt.cpython-310-x86_64-linux-gnu.so: undefined symbol: fdt_overlay_target_offset We revert the commit that introduces it (since we don't need that functionality), and will drop our revert when oe-core updates to a similar version. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-dtc: update to version v1.6.1-39-g4048aedBruce Ashfield2022-01-183-80/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of this update: - we drop our backported patches - simplify the recipe to use setuptools-scm - remove the need to generate version_gen.h - adapt to setup.py at ${S} - and include following commits: 4048aed setup.py: fix out of tree build ff5afb9 Handle integer overflow in check_property_phandle_args() ca72944 README: Explain how to add a new API function c0c2e11 Fix a UB when fdt_get_string return null cd5f69c tests: setprop_inplace: use xstrdup instead of unchecked strdup a04f690 pylibfdt: add Property.as_*int*_array() 8310271 pylibfdt: add Property.as_stringlist() d152126 Fix Python crash on getprop deallocation 17739b7 Support 'r' format for printing raw bytes with fdtget 45f3d1a libfdt: overlay: make overlay_get_target() public c19a4ba libfdt: fix an incorrect integer promotion 1cc41b1 pylibfdt: Add packaging metadata db72398 README: Update pylibfdt install instructions 383e148 pylibfdt: fix with Python 3.10 23b56cb pylibfdt: Move setup.py to the top level 69a7607 pylibfdt: Split setup.py author name and email 0b106a7 pylibfdt: Use setuptools_scm for the version c691776 pylibfdt: Use setuptools instead of distutils 5216f3f libfdt: Add static lib to meson build 4eda259 CI: Cirrus: bump used FreeBSD from 12.1 to 13.0 0a3a9d3 checks: Add an interrupt-map check 8fd2474 checks: Ensure '#interrupt-cells' only exists in interrupt providers d8d1a9a checks: Drop interrupt provider '#address-cells' check 52a16fd checks: Make interrupt_provider check dependent on interrupts_extended_is_cell 37fd700 treesource: Maintain phandle label/path on output e33ce1d flattree: Use '\n', not ';' to separate asm pseudo-ops d24cc18 asm: Use assembler macros instead of cpp macros ff3a30c asm: Use .asciz and .ascii instead of .string 5eb5927 fdtdump: fix -Werror=int-to-pointer-cast 0869f82 libfdt: Add ALIGNMENT error string 69595a1 checks: Fix bus-range check 72d09e2 Makefile: add -Wsign-compare to warning options b587787 checks: Fix signedness comparisons warnings 69bed6c dtc: Wrap phandle validity check 9102211 fdtget: Fix signedness comparisons warnings d966f08 tests: Fix signedness comparisons warnings ecfb438 dtc: Fix signedness comparisons warnings: pointer diff 5bec74a dtc: Fix signedness comparisons warnings: reservednum 24e7f51 fdtdump: Fix signedness comparisons warnings b6910be Bump version to v1.6.1 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-dtc: fix packaging by using setuptoolsRoss Burton2022-01-172-3/+38
| | | | | | | | | | Inheriting setuptools3-base doesn't actually define any tasks, so commit 1ef6050 to drop distutils3 had the side-effect of not building any code. Backport a commit from upstream to switch to setuptools, inherit setuptool3, and change DISTUTILS_SETUP_PATH to SETUPTOOLS_SETUP_PATH. Signed-off-by: Ross Burton <ross.burton@arm.com>
* python3-dtc: drop distutils3 usageBruce Ashfield2022-01-131-1/+1
| | | | | | | distutils is depreciated, so we switch to setuptools3-base to avoid the OE core warning. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* Revert "Revert "kernel: drop 5.14 .inc""Bruce Ashfield2022-01-131-4/+0
| | | | | | | 5.14 has been removed from core, we can now go ahead with this removal. This reverts commit 22628b76c991f2de8c66dacee4c8c3f00a5a9a14.
* Revert "kernel: drop 5.14 .inc"Bruce Ashfield2022-01-121-0/+4
| | | | | | | The removal of the .inc was pushed prematurely. We'll remove it again, once 5.14 is removed from core and 5.15 is the default. This reverts commit 79e0e4598cbf83ffaf4e8d897353c233d9ec7e1b.
* kernel: drop 5.14 .incBruce Ashfield2022-01-101-4/+0
| | | | | | | 5.14 has been removed from core, and is EOL upstream. We drop our 5.15 .inc file to match that status. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-dtc: port to Python 3.10Ross Burton2021-11-112-1/+37
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: add 5.15 fragment enablementBruce Ashfield2021-11-091-0/+4
| | | | | | | 5.15 is tested as a kernel now, so we add the .inc to enable fragments. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lopper: update to v1.0 and setuptools based projectBruce Ashfield2021-11-082-45/+31
| | | | | | | | | | | | | | Switching to lopper 1.0 brings us a more standard setuptools based project for install and packaging. This update also fixes the experimental update to master-next, which was incomplete and broken. The only signficant user visible change with this update is that lopper.py is now 'lopper' and any calling recipes need to be updated accordingly. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: Add additional required kernel modulesRichard Neill2021-11-081-2/+6
| | | | | | | | | | | | | | | Adds the following kernel modules for k3s: * xt-physdev * xt-nflog * xt-limit * nfnetlink-log Without them, the k3s network-policy-controller reports failures in the log related to iptables-restore. Signed-off-by: Richard Neill <richard.neill@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* linux-yocto_virtualization.inc: remove :append and += combinationMartin Jansa2021-11-061-1/+1
| | | | | | | | * fixes: KERNEL_FEATURES:append += is not a recommended operator combination, please replace it. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lopper: update to master-nextBruce Ashfield2021-11-031-8/+8
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: convert github SRC_URIs to use https protocolBruce Ashfield2021-11-021-1/+1
| | | | | | | | | | | github is removing git:// access, and fetches will start experiencing interruptions in service, and eventually will fail completely. bitbake will also begin to warn on github src_uri's that don't use https. So we convert the meta-virt instances to use protocol=https (done using the oe-core contrib conversion script) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: add explicit branch to all SRC_URIsBruce Ashfield2021-11-022-2/+2
| | | | | | | | | | | | | | As introduced in the oe-core post: https://lists.openembedded.org/g/openembedded-core/message/157623 SRC_URIs without an explicit branch will generate warnings, and eventually be an error. We run the provided conversion script to make sure that meta-virt is ready for the change. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* virtualization/config: allow conditional use of yocto-cfg-fragmentsBruce Ashfield2021-10-141-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | To help enforce/guide consistent configuration and to avoid duplicating configuration fragments into the meta-virt layer, we leverage a native provider of the yocto-kernel-cache fragment repository. To allow support for kernels that support fragments, but don't have the yocto-kernel-cache in the kernel's SRC_URI, we create two conditional parts of the virtualization configuration. If virtualization is enabled in the distro features, the kernel version matches one of our supported ones, and the kernel inherits kernel-yocto, we add a depedency on the yocto-cfg-fragments-native recipe. That recipe will install the fragment collection to the kernel recipe's native sysroot. We can then check for the kernel-cache on the SRC_URI. If it is present, we use the feature at the standard location. If it is not present, we add the fragment from the native sysroot. While we could always use the native sysroot variant, we want to allow a kernel with a kernel-cache to be the first choice, and provide their own fragments. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* yocto-cfg-fragments: introduce native provider of configuration fragmentsBruce Ashfield2021-10-131-0/+37
| | | | | | | | | | | | | | | | | | | | To allow the use of the yocto configuration fragments in scenarios where a kernel inherits kernel-yocto or has a custom fragment implementation, but doesn't directly include the yocto-kernel-cache in the kernel SRC_URI, we introduce a native provider of the fragments. This fragment provider is independent of a kernel tree and when added as a dependency to a recipe, the fragments will be placed in: recipe-sysroot-native/kcfg/ These can then be referenced on the SRC_URI or in KERNEL_FEEATURES by using '../recipe-sysroot-native/kcfg' as the relative path to the .scc or .cfg file. In the future, this won't be required as kernel-yocto will always check the native sysroot for fragments, and fragments will always be referenced by relative path from the base of the kernel-cache. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: drop 5.13 configuration includeBruce Ashfield2021-09-241-4/+0
| | | | | | | 5.13 hs been removed from core, so we drop our associated configuration include. 5.14 is now the default. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: add 5.14 patternBruce Ashfield2021-09-221-0/+4
| | | | | | | oe-core is moving to a 5.10/5.14 reference, so we adjust our matching versions. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-dtc: update BSD License to more specific BSD-2-ClauseBruce Ashfield2021-09-161-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: add 5.13 pattern, remove 5.4Bruce Ashfield2021-08-191-0/+0
| | | | | | | oe-core is moving to a 5.10/5.13 reference, so we adjust our matching versions. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: overrides conversion pass 2Bruce Ashfield2021-08-022-2/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: overrides syntax conversionBruce Ashfield2021-08-021-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OEcore/bitbake are moving to use the clearer ":" as an overrides separator. This is pass one of updating the meta-virt recipes to use that syntax. This has only been minimally build/runtime tested, more changes will be required for missed overrides, or incorrect conversions Note: A recent bitbake is required: commit 75fad23fc06c008a03414a1fc288a8614c6af9ca Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Sun Jul 18 12:59:15 2021 +0100 bitbake: data_smart/parse: Allow ':' characters in variable/function names It is becomming increasingly clear we need to find a way to show what is/is not an override in our syntax. We need to do this in a way which is clear to users, readable and in a way we can transition to. The most effective way I've found to this is to use the ":" charater to directly replace "_" where an override is being specified. This includes "append", "prepend" and "remove" which are effectively special override directives. This patch simply adds the character to the parser so bitbake accepts the value but maps it back to "_" internally so there is no behaviour change. This change is simple enough it could potentially be backported to older version of bitbake meaning layers using the new syntax/markup could work with older releases. Even if other no other changes are accepted at this time and we don't backport, it does set us on a path where at some point in future we could require a more explict syntax. I've tested this patch by converting oe-core/meta-yocto to the new syntax for overrides (9000+ changes) and then seeing that builds continue to work with this patch. (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: update kernel configuration featuresZqiang2021-07-291-1/+17
| | | | | | | | Add kernel config fragment according to the requirement from the file types_unix.go in source codes of kubernetes. Signed-off-by: Zqiang <qiang.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lopper, python-dtc: add new recipes for device tree toolsChristopher Clark2021-07-292-0/+73
| | | | | | | | | | | | | | | This device tree tooling is being added as a prequisite for enabling qemuboot with the Arm 64-bit version of the Xen hypervisor. lopper: a tool for performing operations on device tree files. A new recipe inspired by the original from meta-xilinx-bsp. python-dtc: a python library for the Device Tree compiler. This is a prerequisite for lopper. Updated import of recipe from meta-xilinx-bsp for the latest release, version 1.6.1. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s/k3s: add kernel configuration featuresBruce Ashfield2021-03-153-0/+25
| | | | | | | | | | | | | We already have docker and some other fragments that are relevant to k3s/k8s, but the addition of ipset as a depends for k3s highlights that we should have a reference configuration that sets all the options for proper opration and runtime dependencies. When k8s or k3s are distro features, we'll apply the new fragment to any kernel that supports fragments (and matches the supported versions). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: drop 5.8 configsBruce Ashfield2021-01-151-4/+0
| | | | | | | | The 5.8 kernel is being dropped in oe-core, which means we don't test the 5.8 integration any more .. so we drop the .inc for the configs. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: add 5.10 include fileBruce Ashfield2021-01-051-0/+4
| | | | | | | oe-core now has a 5.10 reference kernel, so we need a 5.10 include file to pick up our configurations. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* linux-yocto: add cgroup-hugetlb configTim Orling2020-11-193-0/+11
| | | | | | | | | | Add kernel config fragment for CONFIG_CGROUP_HUGETLB This is a recommended config for Kubernetes and k8s will throw a warning if it is not present. Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: fix conditional application of fragmentsBruce Ashfield2020-10-081-4/+2
| | | | | | | | | | | using bb.utils.contains wasn't able to match on the substring "type=kmeta" to enable the conditional inclusion of fragments and KERNEL_FEATURES. We switch to a python string only method so we can fix the fragment application Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>