Commit Graph

164 Commits

Author SHA1 Message Date
Jens Lucius
8c13f0de1b Bump Kernel versions
Stable kernel to 4.4.6
Git kernel to 4.5

Signed-off-by: Jens Lucius <info@jenslucius.com>
2016-03-20 19:17:19 +01:00
Jens Lucius
eb616d74b2 Add CONFIG_INPUT_EVDEV to kernel config
Signed-off-by: Jens Lucius info@jenslucius.com
2016-03-01 15:02:22 +01:00
Jens Lucius
a5a6479522 set default preference to mainline kernel
Signed-off-by: Jens Lucius info@jenslucius.com
2016-03-01 14:42:19 +01:00
Jens Lucius
50aaadc70d Bump kernel and U-Boot
Bump mainline kernel to 4.4.3 (from 4.1.15)
Bump git kernel to 4.5 rc6 (from 4.4 rc5)
Bump U-Boot to 2016.01 (from 2015.10)

Signed-off-by: Jens Lucius info@jenslucius.com
2016-02-29 21:15:28 +01:00
Jens Lucius
d2ccb1d993 Bump kernel versions
Bump stable kernel to 4.1.15
Bump git kernel to 4.4rc5

Signed-off-by: Jens Lucius info@jenslucius.com
2015-12-16 06:23:35 +01:00
Jens Lucius
07c07fcd78 use RDEPENDS instead of DEPENDS for sunxi-kernel
Signed-off-by: Jens Lucius info@jenslucius.com
2015-11-21 18:11:46 +01:00
Jens Lucius
b05f2dbb8b Remove image dependency on fex for mainline
Remove image dependency on building fex files which are not needed
any more for mainline kernel (replaced by devicetree).
Add dependency for fex to linux-sunxi kernel.
Also update to latest sunxi-linux revision.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-11-19 16:58:24 +01:00
Jens Lucius
b5e93023fb update u-boot, kernel
- Update U-Boot from 2015.07 to 2015.10
- Update mainline kernel from 4.1.7 to 4.1.10
- Update git kernel from 4.3rc2 to 4.3rc6

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-10-23 09:48:58 +02:00
Trevor Woerner
888ddfd531 more gcc5 fixes
gcc5 is pickier about inline code in header files.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-25 22:46:33 -04:00
Trevor Woerner
72ea1fe7df linux-sunxi_3.4: bump kernel version
Update to the latest linux-sunxi kernel on the sunxi-3.4 branch.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-25 22:46:33 -04:00
Trevor Woerner
43a6a5ecc8 linux-sunxi_3.4.bb: allow rm to fail
When building a second time, allow the 'rm' command to fail silently since
these files may have been removed from a failed previous build.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-23 14:15:48 -04:00
Trevor Woerner
08c5a4bfb8 linux-sunxi_3.4.bb: add line continuation
ERROR: ParseError at meta-sunxi/recipes-kernel/linux/linux-sunxi_3.4.bb:17:
       unparsed line: SRC_URI

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-23 11:24:05 -04:00
Jens Lucius
062c1477cf linux-sunxi: add patches for gcc5
The linux-sunxi 3.4 kernel could not be compiled with gcc5 (which
is standard in master now). Add two patches to make it compile again.

- Add missing compiler-gcc5.h
- Fix "multiple definition of `return_address'" errors

Open issue: All realtek wifi drivers fail to compile. Because of this
keep info to switch back to gcc4 in readme.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-09-23 12:06:26 +02:00
Jens Lucius
82672a440b adjust git kernel version 2015-09-21 16:59:07 +02:00
Jens Lucius
4e261ffb96 update kernel versions
- Update kernel from 4.1.3 to 4.1.7
- Update git kernel from 4.2rc4 to 4.3rc2
- Sync defconfig with latest version

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-09-21 15:51:59 +02:00
Enrico Butera
8a9c1d688c linux: set "S" variable
Signed-off-by: Enrico Butera <ebutera@users.sourceforge.net>
2015-08-22 15:25:08 +02:00
Aguirre
012655af8d Merge pull request #102 from Noxenious/master
kernel: use tar.xz, git optional
2015-08-10 14:58:36 +02:00
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
Jens Lucius
bd263f945d kernel: set correct PV for git version 2015-07-30 14:45:32 +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
31be4cf6ee kernel: use tar.xz, git optional
Per default use stable kernel by downloading tar.xz (fast download).
Optional use latest mainline kernel by git fetch. Must be enabled
in linux_git.bb by setting DEFAULT_PREFERENCE to "1".

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-07-29 14:15:22 +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
Nicolas Aguirre
1ece45aa7e olinuxino a13 doesn't have an ethernet controller, so build all known usb ethernet drivers
Also added spidev and all modules needed to get lcd screen working.
2014-02-11 19:37:28 +01:00
Aguirre
f8bef0bc77 Merge pull request #30 from net147/sunxi-emac-compiled-in
Compile sunxi-emac into kernel for booting from network over NFS
2014-02-05 17:06:27 +01:00
Jonathan Liu
1b9656c39d linux: compile sunxi-emac into kernel for cubietruck
The network driver needs to be compiled into the kernel for booting from
network over NFS.
2014-02-05 09:10:48 +11:00
Jonathan Liu
e7d8f0c856 linux: compile sunxi-emac into kernel for cubieboard2
The network driver needs to be compiled into the kernel for booting from
network over NFS.
2014-02-05 09:10:33 +11:00
Jonathan Liu
e6cd6c0ff6 linux: compile sunxi-emac into kernel for cubieboard
The network driver needs to be compiled into the kernel for booting from
network over NFS.
2014-02-05 09:09:26 +11:00
Jonathan Liu
99f8bdf099 linux: enable CONFIG_SUNXI_EMAC for olinuxino-a20 NIC 2014-01-31 17:01:44 +11:00
Aguirre
1101a2da80 Merge pull request #20 from KristofRobot/issue14
linux_3.4.bb: fix QA warnings/errors (resolves #14)
2014-01-01 10:44:12 -08:00
Kristof Robot
25c8f6f528 linux_3.4.bb: fix QA warnings/errors (resolves #14) 2014-01-01 10:44:10 +01:00
Baodong Chen
db3d191f28 Add support for cubietruck 2013-12-31 10:52:13 +08:00
Marco Franceschetti
c80c4d24b9 Add support for the olinuxino-A20 board 2013-12-11 18:54:31 +01:00
Aguirre
ea2055061f Merge pull request #11 from raoulh/master
sunxi layer fixes and updates
2013-12-11 01:31:10 -08:00
Enrico Butera
3bfe889a0b Merge pull request #9 from KristofRobot/clean_kernel
linux_3.4: removed all kernel module references (resolves #8)
2013-12-10 11:33:15 -08:00
Raoul Hecky
f2bc290430 remove modules that cause a build failure 2013-12-10 15:36:18 +01:00
Kristof Robot
b8d303b000 recipes-kernel/linux/linux_3.4.bb: removed all kernel module references (resolves #8)
Kernel module references should be put in machine.conf instead
2013-12-09 18:34:55 +01:00
Raoul Hecky
ba9330350f Update linux-sunxi kernel to the latest revision v3.4.67 2013-12-03 18:58:22 +01:00
Nicolas Aguirre
3a8616d932 new machine meleg : Add support for mele a1000g and a2000g 2013-12-02 15:19:18 +01:00
Sergey Lapin
a3d83e799d cubieboard: updated defconfig 2013-11-06 09:12:00 +04:00
Kristof Robot
6f0fb62383 Updated based on latest sun7i-defconfig from jwrdegoede
URL:https://github.com/jwrdegoede/linux-sunxi/blob/sunxi-3.4/arch/arm/configs/sun7i_defconfig

Also enabled CONFIG_VFPv3
2013-10-31 13:30:44 +01:00
Kristof Robot
25621a78d3 linux_3.4: added cubieboard2 support 2013-10-31 13:28:34 +01:00
Raoul Hecky
2352ee9620 add kernel module for usb to serial devices 2013-10-29 22:37:52 +01:00
Tomas Novotny
7d7ff35204 Add support for A10S-OLinuXino-MICRO board 2013-10-23 15:28:55 +02:00
Nicolas Aguirre
a4f0732c12 Fix kernel version number and cleanup package 2013-10-19 08:30:57 +02:00
Nicolas Aguirre
1a7f72a8e6 Add cubieboard2 support, first work 2013-10-16 22:12:12 +02:00
Nicolas Aguirre
ddc46e4b9c Update defconfig for mele 2013-09-12 08:21:37 +02:00
Nicolas Aguirre
8840d1a82a Change linux to use 3.4 branch 2013-09-12 08:20:59 +02:00
Marco Franceschetti
812baa7788 update olinuxino defconfig (a13-defconfig) 2013-07-10 15:22:27 +02:00
Marco Franceschetti
f0e0de4099 update defconfig and kernel recipe 2013-07-09 23:30:47 +02:00
Marco Franceschetti
2f4ba4cd79 update kernel rev 2013-07-09 23:12:55 +02:00
Nicolas Aguirre
7d1ef3907e Use dylan linux.inc file 2013-05-18 21:10:55 +02:00
Nicolas Aguirre
ba10495e94 update linux to the latest working version on 3.0 branch 2013-05-18 21:10:25 +02:00
Nicolas Aguirre
329ce1008d Load these modules at startup 2013-03-14 23:06:52 +01:00