summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2018-06-20 14:03:51 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-07-04 09:59:27 +0000
commitd870883e7b29d212dc3e2a0e6158d837d4356c6a (patch)
tree3e7a538f6a8aa13a7ad9e6b1c0374ff4a7208d55
parentf8829aaefc1c7ddf8766c9a10ac7bb0c074a08df (diff)
Set CAN modules
Add the C_CAN and the C_CAN_PLATFORM modules to be built as a kernel modules, those modules supports the Bosch D_CAN and C_CAN peripheral IPs Change-Id: If5657ba12bb5fc5c2ad1e06554a89255fddd4745 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
-rw-r--r--meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg
index 5966198d7..2070177be 100644
--- a/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg
+++ b/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg
@@ -11,6 +11,8 @@ CONFIG_CAN_GW=m
#
# CAN Device Drivers
#
+CONFIG_CAN_C_CAN=m
+CONFIG_CAN_C_CAN_PLATFORM=m
CONFIG_CAN_VCAN=m
CONFIG_CAN_SLCAN=m
CONFIG_CAN_DEV=m
#dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# Baylibre's AGL blsched layer

This README file contains information on the contents of the
meta-blsched layer.

Please see the corresponding sections below for details.

### Dependencies
-------------------------

The linux kernel must have the following config options enabled:
CONFIG_CONNECTOR
CONFIG_PROC_EVENTS
CONFIG_SCHED_DEBUG

### Patches
-----------

Please submit any patches against the meta-blsched layer to the
the maintainers:

* Michael Turquette <mturquette@baylibre.com>
* Frode Isaksen <fisaksen@baylibre.com>
* Jerome Brunet <jbrunet@baylibre.com>

## I. Description and provided packages:

The layer provides blsched utility. This package is a utility to improve scheduling efficiency on big.LITTLE architecture.

+ Provided packages :
	- blsched : see https://github.com/BayLibre/bLsched/blob/master/README.md
	- blsched-daemon : systemd service tailored for r8a7795 and r8a7796 SoCs

## II. Adding the meta-blsched layer to your AGL build

1. Download meta-agl-extra at `$AGL_TOP`
2. Add `blsched` to the feature of your AGL build<br>
```shell
source meta-agl/scripts/aglsetup.sh -m $MACHINE -b <your-other-features> blsched
```

With this `meta-blsched` will be added to your `conf/bblayers.conf`. `blsched` and `blsched-daemon` will be appended to your image.