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>
- 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>
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>
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>
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>
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>
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>
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>
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>
- 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>
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>
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>
- 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>
* 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>
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>
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>
- 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>
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>
Also update defconfigs with upstream changes to enable CMA.
Runtime tested on Olinuxino-a13/Angstrom
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>