Commit Graph

18 Commits

Author SHA1 Message Date
Anton Kikin
a7a55e7cc4 kernel: Fix kernel 4.19 build dependencies
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-06-18 06:09:35 +03:00
Anton Kikin
5a09f6ce8c kernel: Update kernel cache revision for Yocto 4.19 kernels
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-06-18 06:09:35 +03:00
Anton Kikin
6f9f505cb9 kernel: Update kernel cache revision for Yocto 4.12 kernels
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-06-18 06:09:35 +03:00
Anton Kikin
f23ead3ffc kernel: Add missed cfg/paravirt_kvm.scc for qemux86-64 kernel
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-06-18 02:23:07 +03:00
Anton Kikin
4f463fa9f3 kernel: Add recipe for Yocto Linux Kernel 4.19
Also added linux-libc-header for 4.19 kernel.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-02-27 16:02:40 +03:00
Anton Kikin
f0a15a5454 kernel: Rework recipe for Yocto Linux Kernel 4.12
Use for kernel configuration meta kernel cache from repository
https://github.com/tano-systems/tano-kernel-cache.git.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-02-27 16:02:40 +03:00
Anton Kikin
93a9213d12 layer: Rename 'cgroups' DISTRO_FEATURES to 'cgroup'
Support for cgroup will be installed into image if 'cgroup' present in
COMBINED_FEATURES list.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-02-07 21:06:37 +03:00
Anton Kikin
9ea022cb2d kernel: Add wifi support depending on the 'wifi' COMBINED_FEATURES
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-02-07 15:38:17 +03:00
Anton Kikin
a9f853b870 kernel: Enable control group support
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-12-21 14:59:48 +03:00
Anton Kikin
1d164153d1 kernel: Build CONFIG_IFB as module
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-10-26 00:31:36 +03:00
Anton Kikin
559d3fccc8 kmod: Add kmod-* recipes for kernel modules
kmod-* recipes is a wrappers for kernel modules with kernel
configuration checks.

In addition, these recipes allows to customize the autoloading of the
kernel modules in case of that they builded as modules.

kmod-* recipes consists of the following directives:

    KERNEL_CONFIG_DEPENDS += "{\
        option              = CONFIG_OPTION_NAME, \
        required            = y|m, \
        m_rdepends          = kernel-module-mod1, \
        m_rdepends          = kernel-module-mod2, \
        m_autoload          = mod1, \
        m_autoload          = mod2 mod2_param=value, \
        m_autoload_early    = false, \
        m_autoload_priority = 30, \
        m_autoload_script   = modules \
    }"

Each directive refers to a single kernel configiration option, which
is specified in the `option` parameter.

Parameter `required` determines the possible values of the kernel
configuration option, separated by `|` symbol:
  * `y` — builtin;
  * `m` — module;
  * `n` — not set;
  * any other specific value.

All other parameters are optional and applied only if kernel configuration
option has been set to `m`.

Runtime dependencies (`RDEPENDS` variable) may be specified in `m_rdepends`
parameter. Parameter `m_rdepends` can be specified several times (one record
for each dependency).

Module name with module parameters for automatic loading must be specified
in the parameter `m_autoload`. Parameter `m_autoload` can also be specified
several times.

By default, a modprobe file is created in the `/etc/modules.d` folder with
the contents consisting of lines from `m_autoload` parameters.
If `m_autoload_early` set to `true` (default value is `false`) then modprobe
file is symlinked to `/etc/modules-boot.d` folder.

Parameter `m_autoload_script` sets the name for the modprobe file in the
`/etc/modules.d` or/and `/etc/modules-boot.d` folders.

If the parameter `m_autoload_priority` value is set, then the modprobe file
name will be preceded by a priority value using the format `%02d-name`.
The priority value must be between 0 and 99.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-10-20 20:24:29 +03:00
Anton Kikin
b00bddc6fb bootchart2: Add recipe for bootchart2 0.14.8
Added bootchart2 recipe with ugly patches for OpenWrt overlay
filesystem support (see 0001-Add-overlayfs-support.patch).

Also fixed linux kernel configuration for bootchart2.
The documentation for the bootchart2 says that the CONFIG_TASKSTATS
should be enabled for better performance and more detailed data.
However, as practice showed, with this option bootchart2 does not work
at all with our kernels.

This bootchart2 recipe originally taken from meta-webos layer
(http://github.com/webosose/meta-webosose). Therefore this
commit hides the bootchart2 recipe in openembedded-core layer.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-09-29 04:43:00 +03:00
Anton Kikin
488ad43209 linux-yocto: Autoload floppy and parport_pc modules for qemux86 and qemux86-64 machines
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-07-01 04:27:39 +03:00
Anton Kikin
80fc97afad layer: Fix PR and PR_append values in recipes
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-06-30 16:58:58 +03:00
Anton Kikin
0226fea43a layer: Dynamic layers
Place the recipes that appends other layers, which are not a direct
dependency for this layer, to the dynamic-layers folder.

Contents of the dynamic-layers folder activates only when the corresponding
layers are present.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-06-30 16:41:22 +03:00
Anton Kikin
1c13974d52 kernel: Add kernel configuration options for correct operation of the firewall3
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-06-04 20:14:53 +03:00
Anton Kikin
86359a3387 kernel: Add recipes for qemuarm linux kernels
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-05-31 18:57:06 +03:00
Anton Kikin
4f8ddedf71 Added original sources from https://github.com/kraj/meta-openwrt
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-05-30 04:30:01 +03:00