Commit Graph

165 Commits

Author SHA1 Message Date
Andrey Lebedev
802857ee59
linux-sunxi: fix compilation issue on gcc-9
Error comes in form of

/tmp/ccCGMQmS.s:648: Error: .err encountered

Tested on zeus branch of linux-sunxi.
2020-01-26 10:57:58 +02:00
Petr Buchta
c9527c099d fixing missing 'compatible' property in reg_vcc_wifi node 2020-01-11 22:59:27 +01:00
Diego Rondini
9fef250ca8 linux-mainline: update rc to 5.4-rc6
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2019-11-06 11:19:00 +00:00
Diego Rondini
0419afad79 linux-mainline: update stable to 5.3.8
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2019-11-06 11:19:00 +00:00
Diego Rondini
444672b854 linux-mainline: update longterm to 4.19.81
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2019-11-06 11:19:00 +00:00
Marek Belisko
1f46cadd4c linux: refresh orange-pi-zero wifi patch
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2019-08-07 08:16:15 +02:00
Marek Belisko
a5cecabb42
Merge pull request #265 from nandra/mbe-update-kernels
Update mainline kernels
2019-08-07 08:14:03 +02:00
Marek Belisko
d034a64bc4 linux-mainline: Added bleeding edge kernel 5.3-rc2
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2019-08-07 08:13:19 +02:00
Marek Belisko
6bfa745149 linux-mainline: Drop 5.0 and use 5.2 as latest release
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2019-08-07 08:13:19 +02:00
Marek Belisko
70d37fa203 linux-mainline: Bump 4.19 to latest stable
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2019-08-07 08:13:19 +02:00
Marcel de Vries
5e1a2937bd Add wifi support for olinuxino-a64 2019-06-25 23:50:52 +02:00
Marek Belisko
2e5db363c2 linux-mainline: Added latest stable version
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2019-05-30 15:57:09 +02:00
Marek Belisko
7983549705 linux-mainline: Add bleeding edge kernel version
Useful for testing new stuff.
There is one patch which was necessary see:

http://lists.openembedded.org/pipermail/openembedded-core/2019-May/283034.html

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2019-05-30 15:20:44 +02:00
Marek Belisko
3bb0abd730 linux-mainline: Bump to latest LTS kernel
In sync with warrior branch

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2019-05-30 15:19:11 +02:00
Enrico Butera
d57301be50
Merge pull request #234 from geomatsi/fix-bison-native-dep
linux: specify explicit dependencies to configme task
2018-11-21 18:17:19 +01:00
Sergey Matyukevich
df2236f3f7 linux: specify explicit dependencies to configme task
This change is an adaptation of commit 81e8a52e8e40e47 from poky/master.

Linux kernel build dependencies include bison since v4.16.
There were two different commits in poky adding those dependencies:
- poky/master: 81e8a52e8e40e47
- poky/sumo:   20e4d309e12bf10

However just adding bison-native to DEPENDS in linux or linux-yocto
class (as in poky/sumo) appears to be insufficient. The reason has
been clarified in 81e8a52e8e40e47 commit message:

"For linux-yocto, we also need to specify the compiler/tools dependencies
for the configme task since it executes before configure and hence the
main kernel build DEPENDS will not always be in the sysroot before it
executes. Without those dependencies the kernel will be incorrectly
configured (i.e. bison is missing) or the configuration will fail
the mitigation tests."

Layer meta-sunxi is compatible with multiple Yocto releases. Some of
those releases have been developed and tested with earlier kernels.
So they may not include new bison kernel build dependencies. That
is why it  makes sense to specify new kernel build dependencies
explicitely in meta-sunxi kernel recipes rather than rely upon
upper layers.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2018-10-31 09:08:32 +03:00
Marek Belisko
0bc0be4186 linux-mainline: Added wifi dts changes for orange-pi-zero wifi
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2018-10-30 20:43:28 +01:00
Florin Sarbu
a1297419fe linux-mainline: Add back eMMC support for Nanopi Neo Air
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-09-25 20:27:11 +02:00
Enrico Butera
df468d72d7
Merge pull request #215 from XevoInc/nanopi-neo-plus2
Add the nanopi neo 2 and plus2
2018-06-10 23:40:08 +02:00
Enrico Butera
fef6da2d86
Merge pull request #220 from Kynetics/master
Update kernel to latest versions
2018-06-10 23:38:58 +02:00
Koen Kooi
9bd942ab3b linux.inc: base_conditional -> oe.utils.conditional
Fixes parsing with e.g. 'sumo' and 'master' branch of OE-core

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2018-06-10 08:55:39 +02:00
Diego Rondini
6759ac4ce6 linux-mainline: update stable to 4.16.13
Update stable kernel to 4.16.13 and git kernel to 4.17-rc7.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2018-06-01 11:59:44 +00:00
Martin Kelly
d419cfe0a1 nanopi-neo-plus2: enable the second USB port
Currently, only one of the exposed USB ports works because we haven't
loaded the sunxi musb driver, which enables the OTG port to act in host
mode.

After enabling this driver in the config, both ports work correctly.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-04-30 16:54:47 -07:00
Sergey Matyukevich
7bbd1ea6fa linux: bump kernel version to 4.15
Bump Linux kernel version to 4.15.

Notes:
- orange-pi-zero-plus2: drop patch fixing sdcard detect
  -- this fix is already in 4.15
- H2+/H3 SoCs: in 4.15 ethernet works right out of the box

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2018-02-03 21:11:09 +03:00
Martin Kelly
beee11ba81 nanopi-neo-air: add wifi DT patch
Backport a devicetree patch to enable wifi on the nanopi neo air.

The patch comes from here:

https://www.spinics.net/lists/arm-kernel/msg630904.html

Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-01-25 11:43:06 -08:00
Enrico Butera
29eb4d3de7 Merge branch 'update-kernel' of https://github.com/XevoInc/meta-sunxi into XevoInc-update-kernel 2018-01-23 23:28:34 +01:00
Enrico Butera
c83ad689e3
Merge pull request #201 from Kynetics/master
linux-mainline: update RDEPENDS to match kernel naming
2018-01-23 23:23:56 +01:00
Martin Kelly
b5e1851242 linux-mainline: update to 4.14.15
This fixes an important brcmfmac use-after-free error:
brcmfmac: change driver unbind order of the sdio function devices
commit 5c3de777bdaf48bd0cfb43097c0d0fb85056cab7 upstream.
commit 01b43f2e3cad60c626daa9b174667a202cee6987 in linux-4.14.y

Without this change, I notice this error regularly when loading the wifi
firmware on the nanopi neo air.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-01-23 13:13:05 -08:00
Diego Rondini
874c9ff224 linux-mainline: update RDEPENDS to match kernel naming
The kernel-devicetree class now sets RDEPENDS_${KERNEL_PACKAGE_NAME}-base so we
needs to do the same, otherwise bitbake emits a warning. Reference change is
6c8c899 commit in oe-core.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2018-01-16 09:25:12 +00:00
Martin Kelly
1495b5e567 linux: fix kernel config fragment support
Currently, using kernel config fragments is not working. If you try
adding one as documented in the Yocto Mega Manual [1], it will be
ignored.

There are two reasons for this:
- The config fragment logic is in kernel-yocto.bbclass, so we need to inherit
  that (this is similar to what linux-raspberrypi does in meta-raspberrypi).
- We remove ${B}/.config, which undoes any config created by
  kernel-yocto.

Fix this by inheriting kernel-yocto and not removing ${B}/.config. With
this patch, fragments are working. Note that we also need to add a few
variables (like KERNEL_KBUILD) to make kernel-yocto happy.

[1]
http://www.yoctoproject.org/docs/2.5/mega-manual/mega-manual.html#creating-the-append-file

Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-01-12 13:07:17 -08:00
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