Commit Graph

135 Commits

Author SHA1 Message Date
Sergey Matyukevich
72c0f7aa6e orange-pi-zero-plus2: add new board
Orange Pi Zero Plus2 board is based on AllWinner H5 SoC.
For more details on its hardware see linux-sunxi wiki:
http://linux-sunxi.org/Xunlong_Orange_Pi_Zero_Plus_2

This patch enables basic support for orange-pi-zero-plus2 board:
- mainline kernel 4.14.2
- mainline u-boot 2017.11
- dts kernel patch that fixes boot from SD card
- dts kernel patch enabling AP6212 WiFi/BT chip

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-12-03 22:41:36 +03:00
Sergey Matyukevich
e85a48c611 linux: enable sun50i support
There is no common kernel defconfig for both arm and aarch64.
Create separate kernel defconfigs in arm and aarch64 subdirectories.
Proper defconfig will be selected in build time
according to target architecture.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-12-03 22:28:10 +03:00
Sergey Matyukevich
4d9466c131 linux: update kernel recipes
- remove older stable release recipes
- bump stable linux recipe to 4.14.2
- bump git linux recipe to 4.15-rc1
- rename linux to linux-mainline

Renaming kernel recipe from 'linux' to 'linux-mainline' is needed to
get ready for adding aarch64 support. The reason is in the value of
OVERRIDES environment variable. BitBake uses OVERRIDES to control what
variables are overridden after BitBake parses recipes and configuration
files. So packages names are not allowed to take values listed in
OVERRIDES. One of the OVERRIDES values is TARGET_OS:
  TARGET_OS = linux${LIBCEXTENSION}${ABIEXTENSION}
For arm architecture TARGET_OS = "linux-gnueabi". However for aarch64
architecture TARGET_OS = "linux". As a result, in the case of aarch64
kernel package can not be named 'linux'. This patch renames kernel
package name to 'linux-mainline' in order to be able to maintain the
same kernel recipes for both arm and aarch64 boards.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-12-03 21:57:31 +03:00
Diego Rondini
7a5d385087 linux: update 4.4 to 4.4.89
Update 4.4 series from 4.4.40 to 4.4.89.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2017-10-02 11:27:38 +00:00
Diego Rondini
4b43209a92 linux: update to 4.13.4
Update stable to 4.13.4 version thus removing backported patch and requirement
of git version for several boards (current stable 4.13 is newer than previous
git 4.11).
Additionally update git version to 4.14-rc3.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2017-10-02 11:23:06 +00:00
Diego Rondini
0c69f0fb5b linux: remove linux-dtb.inc
Adapt to upstream change in oe-core commit 03a00be: now Device Tree support is
automatically enabled when KERNEL_DEVICETREE is set.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2017-09-29 10:06:44 +00:00
Diego Rondini
32aad38a16 linux: backport patch for Lime2 eMMC support
Backport patch from v4.10 to fix eMMC support on OLinuXino Lime2.
2017-04-26 08:46:45 +00:00
Koen Kooi
229b714fdf linux: enable filesystems as modules
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2017-04-25 07:51:35 +02:00
Koen Kooi
df1d78041d linux: enable popular USB serial drivers
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2017-04-25 07:51:35 +02:00
Koen Kooi
912fe78aa3 linux: enable support for USB storage
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2017-04-25 07:51:35 +02:00
Sergey Matyukevich
a6d2bb6b9e Bump versions of kernel and u-boot
Bump preferred u-boot release version and kernel git version:
- kernel 4.11.0-rc5
- u-boot 2017.03

Update preferred versions of u-boot and kernel for all the
boards that are using them: nanopi-neo, orange-pi-one, pcduino.

The purpose of this update is to get the latest features for
sun8i cores including SPI support and orange-pi-zero support

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-04-09 19:13:12 +03:00
Sergey Matyukevich
8eb8602a76 update kernel defconfig: add CONFIG_THERMAL_OF
This enables CONFIG_THERMAL_OF by default for kernel config. It is
required to get Allwinner SoCs' temperature from the GPADC driver.

For detailed description see mainline kernel commit:
11937f69b65b08d3184b1ebc864668be4b6c5427

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-04-09 19:13:09 +03:00
Enrico Butera
d47fa32013 linux: update to 4.9.20
Signed-off-by: Enrico Butera <ebutera@users.sourceforge.net>
2017-04-02 23:23:07 +02:00
Diogo Piçarra
6c696b22d3 Adds the lastest longterm kernel version 2017-02-21 16:26:09 +00:00
Enrico Butera
e372befda7 Bump Linux kernel version to 4.4.40
Signed-off-by: Enrico Butera <ebutera@users.sourceforge.net>
2017-01-08 20:59:29 +01:00
Sergey Matyukevich
3ef9217ad7 Change PV for kernel git version
Bump kernel git version to enable support for sun8i boards.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2016-12-14 22:52:24 +03:00
Sergey Matyukevich
0dcdc4edf9 sun8i: add new SoC family
Add config for sun8i SoC family and specify preferred BSP components.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2016-12-14 22:49:57 +03:00
Jonathan Liu
0c6af07690 linux-sunxi: fix compiling with GCC 6
Fixes the following compile error with GCC 6:
[...]/kernel-source/include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc6.h: No such file or directory

Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-09-25 21:53:32 +10:00
jlucius
11dee5bc94 Change PV for kernel git version
Signed-off-by: Jens Lucius <info@jenslucius.com>
2016-06-25 14:02:53 +02:00
Jens Lucius
f74be86e4a Update Mainline, Git Kernel
Update Mainline kernel from 4.4.6 to 4.4.13
Update Git kernel from 4.5.0 to 4.7 rc4

Signed-off-by: Jens Lucius <info@jenslucius.com>
2016-06-21 13:25:53 +02:00
Sergey Matyukevich
941e978370 Add support for pcduino devices
Add support for LinkSprite pcDuino1 device and its flavors
including pcduino-lite and pcduino-lite-wifi:

- add pcduino machine description
- enable CONFIG_SPI_SPIDEV in upstream kernel defconfig to provide simple userspace access
  to SPI devices on Arduino shields

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2016-05-18 22:17:42 +03:00
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