Commit Graph

95 Commits

Author SHA1 Message Date
Koen Kooi
2e8a4b71cf linux defconfig: tun/tap/bond/ppp and more networking options
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 20:35:35 +02:00
Koen Kooi
08143b5735 linux defconfig: more block options
RAID, LVM, DM, blk-mq and more

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 20:34:23 +02:00
Koen Kooi
25a65df5a3 linux defconfig: enable more assembler and NEON code and blocklevel
security

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 20:32:02 +02:00
Koen Kooi
7952eb7f17 linux defconfig: more led triggers and i2c led drivers
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 20:29:01 +02:00
Koen Kooi
9ae2eecab8 linux defconfig: enable more cpufreq governors, cpuidle and hibernation
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 20:27:20 +02:00
Koen Kooi
ef3a203e02 linux defconfig: v4l usb/spi/i2c/sdio driver support
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 20:26:09 +02:00
Koen Kooi
1ef92fd0d2 linux defconfig: 6lowpan protocol support
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 20:22:15 +02:00
Koen Kooi
f3d9254f7f linux defconfig: networking options
95% is {ip,nf,x,eb}tables support, the rest is things like fq_codel and
htb for better latency.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 20:20:23 +02:00
Koen Kooi
5a23591b24 linux defconfig: enable IO tracing
Among other things, this enables htop to show IO per process.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 20:14:31 +02:00
Koen Kooi
08dfe98af6 linux defconfig: add more kernel features:
* Fhandle: unbreak serial port console in systemd
* ikconfig: have /proc/config.gz available for reference

sysvipc, mqueues and bpf are useful for userspace that is more than just
busybox.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 10:43:15 +02:00
Koen Kooi
6fd8f0e07a linux defconfig: enable BT and BLE support and drivers
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 10:41:32 +02:00
Koen Kooi
12db242d7e linux defconfig: enable all SDIO/SPI/USB wifi drivers
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 10:40:22 +02:00
Koen Kooi
49ada71639 linux defconfig: turn on wireless networking
This is only the support for wireless in the networking stack, not the
actual drivers.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 10:36:48 +02:00
Koen Kooi
af112e2f1c linux defconfig: enable IPv6 as module
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 10:10:58 +02:00
Koen Kooi
dcb2166a1c linux defconfig: turn on autofs, fuse and fanotify
Systemd works a lot better with autofs, fuse and fanotify, so turn those
on.
Fuse and fanotify are also useful outside of systemd.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-07-30 10:05:56 +02:00
Jens Lucius
1092ae5117 kernel: add recipe for 4.1.2
Add new stable linux kernel 4.1.2

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-06-21 18:06:18 +02:00
Jens Lucius
8107abbdee kernel: fix missing device tree, switch to mainline
- Add back missing device tree definitions in machine files
- Switch to mainline kernel by default
- Add description to switch back to sunxi versions in README

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-06-16 16:33:57 +02:00
Nicolas Aguirre
4240612f21 Use SOC_FAMILY to avoid the long list of COMPATIBLE_MACHINE
It uses 3 different SOC_FAMILY sun4i,sun5i,sun7i this list come from here http://sunxi.org/Allwinner_SoC_Family
Adding a new machine should be now more easy, as we have now to only create a new machine.conf file, set the right SOC_FAMILY and include the right arch inclue.
2015-06-16 00:45:08 +02:00
Jens Lucius
b10c844cb2 kernel: move devicetree to machine files, include in sd-card
Move device tree configuration to machine files. Check for device tree
in sd card creation and include device tree file in first partition.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-06-10 22:01:24 +02:00
Jens Lucius
38edd14b04 Revert "kernel: use make defconfig for mainline"
This reverts commit 5c7ffb35f2.
2015-06-10 12:18:51 +02:00
Jens Lucius
5c7ffb35f2 kernel: use make defconfig for mainline
Always use the sunxi_defconfig supplied by the kernel.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-06-09 18:33:43 +02:00
Jens Lucius
82d0172433 kernel: use sunxi_defconfig for all boards
Do not use individual files for mainline kernel config but
sunxi_defconfig.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-06-09 15:55:36 +02:00
Jens Lucius
d271c8130a Add mainline linux
Add recipe and configuration files for mainline linux.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-06-08 13:56:40 +02:00
Jens Lucius
091001b76d lime2: remove double kernel config entry
An earlier patch introduced a double kernel config line. Remove it.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-04-02 14:27:42 +02:00
Jens Lucius
7b424b6ec9 lime2: fix gmac vs emac kernel issue
The Olimex lime2 has gigabit ethernet instead of fast ethernet of other
limes. So it uses the gmac driver instead of the emac driver in linux
kernel.
2015-03-09 12:42:58 +01:00
Jens Lucius
eeb41f14c8 Add more devices (LimeA10, Lime2, A13SOM, Forfun Q88DB)
Add Olimex Boards Olinuxino A10 Lime, A20 Lime2, A13SOM and Forfun
A13 Tablet. Sort all machine names in recipes alphabetically.
2015-03-03 18:09:46 +01:00
Jens Lucius
196f800f7d linux: add linux.inc again
Removing the linux.inc introduced an unnecessary dependency on meta-oe.
Add the latest linux.inc from meta-oe to the layer and change path.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-03-02 01:05:58 +01:00
Aguirre
732bb19214 Merge pull request #84 from KristofRobot/linux-remove
linux: replacing custom linux.inc by openembedded linux.inc reference (r...
2015-02-22 12:01:07 +01:00
Nicolas Aguirre
5727515f10 Add support for banapi machine
Conflicts:
	recipes-bsp/sunxi-board-fex/sunxi-board-fex.bb
	recipes-bsp/u-boot/u-boot_git.bb
	recipes-graphics/libgles/sunxi-mali_git.bb
	recipes-kernel/linux/linux_3.4.bb
2015-02-22 11:59:46 +01:00
Kristof Robot
e25b18fd0b linux: replacing custom linux.inc by openembedded linux.inc reference (resolves #79) 2015-02-02 20:16:53 +01:00
Christian Ege
d5461fdab9 This adds support to build for the Olimex A20-OLinuXino-LIME
- Added a "olinuxino-a20lime" machine configuration

Signed-off-by: Christian Ege <k4230r6@gmail.com>
2014-09-29 22:19:37 +02:00
Jens Lucius
c8782fa7fd Removed double KERNEL_IMAGETYPE
KERNEL_IMAGETYPE is defined in kernel (linux_3.4.bb) and machine
(conf/machine/include/sunxi.inc). This can lead to problems when
trying to change the image type. Removed from kernel.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2014-09-18 19:39:38 +02:00
dnmeid
d809a6ecdb olinuxino-a20som: include a20som 2014-09-08 12:16:10 +02:00
dnmeid
b81aa265ed olinuxino-a20som: add kernel configuration 2014-09-08 12:16:10 +02:00
Dan McGregor
dea1bac947 linux-3.4: add cgroup xattr patch
This should have been part of the previous commit.

Acquired from Arch Linux.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
2014-07-30 18:33:14 -06:00
Dan McGregor
e408b5024f linux-3.4: update to 3.4.90
This fixes an issue with systemd >= 213, where it can't mount a
filesystem in /sys/fs/cgroups/systemd because sysfs didn't support
xattr.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
2014-07-30 17:06:24 -06:00
Koen Kooi
070639d970 linux 3.4: update to latest git
Changes include, but are not limited to:

* 32bit hdmi audio support
* MMC support for sun41
* SPI fixes
* AXP thermal support

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-04-08 09:55:42 +02:00
Marco Franceschetti
9bf053c15a remove unnedded patches and confs 2014-03-23 10:18:57 +01:00
Aguirre
9f46a07305 linux: prepare defconfigs for axp20x thermal support 2014-03-21 07:53:02 +01:00
Aguirre
6e04e84948 Merge pull request #49 from peolsson/master
Added Olinuxino A10 LIME
2014-03-21 07:51:04 +01:00
Koen Kooi
b54a46166e linux: prepare defconfigs for axp20x thermal support
Drop CONFIG_HWMON=m and CONFIG_HWMON=n and use the default value. This
mirrors:

	5a467f646b

and prepares for:

	fcec507519

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-03-19 10:12:19 +01:00
Peter Olsson
7f1c185828 Added Olinuxino A10 LIME 2014-03-07 16:05:47 +01:00
Koen Kooi
5b29d5f75a linux: run all defconfigs through 'make savedefconfig'
This tidies the cubieboard and olinuxino defconfigs and converts the
cubie2, truck and mele defconfig to the savedefconfig format.

This has no functional changes, only cosmetic ones.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-23 08:44:58 +01:00
Koen Kooi
5fa994b656 linux: disable CONFIG_DEBUG_INFO
This options adds a ton of debug symbols leading to *very* large
binaries:

5.2M kernel-module-8188eu_3.4.79-r0.8_olinuxino_a20.ipk
4.9M kernel-module-8189es_3.4.79-r0.8_olinuxino_a20.ipk
3.6M kernel-module-8192cu_3.4.79-r0.8_olinuxino_a20.ipk

After this change:

244K kernel-module-8188eu_3.4.79-r0.12_olinuxino_a20.ipk
224K kernel-module-8189es_3.4.79-r0.12_olinuxino_a20.ipk
208K kernel-module-8192cu_3.4.79-r0.12_olinuxino_a20.ipk

End users don't need such detailed debug symbols.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-20 12:13:30 +01:00
Koen Kooi
1d69d49a69 linux: enable CONFIG_FHANDLE
Udev has race conditions without it enabled, see
https://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg16660.html
for more details.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-19 12:36:54 +01:00
Koen Kooi
4c40f31901 linux: import EHCI defconfig changes from upstream for olinuxino-a20
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-18 10:44:36 +01:00
Koen Kooi
a992bf3a06 linux: enable cpufreq for olinuxino-a13
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-18 10:43:05 +01:00
Koen Kooi
c8e0d44307 linux: disable TI and Whiteheat serial drivers
The firmware for these drivers breaks parallel make install with recent
versions of make:

| make[1]: *** No rule to make target
`/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/work/olinuxino_a20-angstrom-linux-gnueabi/linux/3.4.79-r0/image/lib/firmware/./',
needed by
`/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/work/olinuxino_a20-angstrom-linux-gnueabi/linux/3.4.79-r0/image/lib/firmware/ti_3410.fw'.
Stop.

Since both of them are rarely used and virtually never on ARM systems
just disable them.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-18 09:16:05 +01:00
Koen Kooi
59d8ed7275 linux: update to latest git/3.4.79
Also update defconfigs with upstream changes to enable CMA.

Runtime tested on Olinuxino-a13/Angstrom

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-17 10:12:18 +01:00
Koen Kooi
fb3d9ceeb0 linux: enable autofs and ipv6 for all boards
The olinuxino-a20 defconfig was used as template.

This is needed for proper systemd support

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-14 13:51:36 +01:00