From 0dcdc4edf9662ad3cdd89931a455070eb8531314 Mon Sep 17 00:00:00 2001 From: Sergey Matyukevich Date: Wed, 14 Dec 2016 22:49:57 +0300 Subject: [PATCH] sun8i: add new SoC family Add config for sun8i SoC family and specify preferred BSP components. Signed-off-by: Sergey Matyukevich --- conf/machine/include/sun8i.inc | 5 +++++ recipes-bsp/u-boot/u-boot_2016.11.bb | 3 ++- recipes-graphics/libgles/sunxi-mali_git.bb | 2 +- recipes-kernel/linux/linux_git.bb | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 conf/machine/include/sun8i.inc diff --git a/conf/machine/include/sun8i.inc b/conf/machine/include/sun8i.inc new file mode 100644 index 0000000..a048a1a --- /dev/null +++ b/conf/machine/include/sun8i.inc @@ -0,0 +1,5 @@ +require conf/machine/include/sunxi.inc +require conf/machine/include/sunxi-mali.inc +require conf/machine/include/tune-cortexa7.inc + +SOC_FAMILY = "sun8i" diff --git a/recipes-bsp/u-boot/u-boot_2016.11.bb b/recipes-bsp/u-boot/u-boot_2016.11.bb index 8ca3165..a8c6888 100644 --- a/recipes-bsp/u-boot/u-boot_2016.11.bb +++ b/recipes-bsp/u-boot/u-boot_2016.11.bb @@ -19,11 +19,12 @@ file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ file://Licenses/x11.txt;md5=b46f176c847b8742db02126fb8af92e2 \ " -COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)" +COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i|sun8i)" DEFAULT_PREFERENCE_sun4i="1" DEFAULT_PREFERENCE_sun5i="1" DEFAULT_PREFERENCE_sun7i="1" +DEFAULT_PREFERENCE_sun8i="1" SRC_URI = "git://git.denx.de/u-boot.git;branch=master \ file://boot.cmd" diff --git a/recipes-graphics/libgles/sunxi-mali_git.bb b/recipes-graphics/libgles/sunxi-mali_git.bb index 193c968..9b84c20 100644 --- a/recipes-graphics/libgles/sunxi-mali_git.bb +++ b/recipes-graphics/libgles/sunxi-mali_git.bb @@ -3,7 +3,7 @@ DESCRIPTION = "libGLES for the A10/A13 Allwinner processor with Mali 400 (X11)" LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://README;md5=1b81a178e80ee888ee4571772699ab2c" -COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)" +COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i|sun8i)" # These libraries shouldn't get installed in world builds unless something # explicitly depends upon them. diff --git a/recipes-kernel/linux/linux_git.bb b/recipes-kernel/linux/linux_git.bb index 58c3acc..8127cdf 100644 --- a/recipes-kernel/linux/linux_git.bb +++ b/recipes-kernel/linux/linux_git.bb @@ -2,7 +2,7 @@ SECTION = "kernel" DESCRIPTION = "Mainline Linux kernel" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" -COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)" +COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i|sun8i)" inherit kernel