All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-rockchip] [PATCH 0/7] Update kernel recipes and machine configure
@ 2017-03-19 17:48 ayaka
  2017-03-19 17:48 ` [PATCH 1/7] README: correct the FPU information for RK3288 ayaka
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ayaka @ 2017-03-19 17:48 UTC (permalink / raw)
  To: yocto; +Cc: ayaka

Those patches came from Rockchip, Jacob developed them.
But he forget to clear up it. I just make them into order.

ayaka (7):
  README: correct the FPU information for RK3288
  recipes-kernel: linux-rockchip: introduce rockchip 3.10 kernel
  recipes-kernel: linux-rockchip: Add new recipe for 4.4
  conf/machine: rk3288: Add some machine files
  conf/machine: add rk3399 support
  conf/machine: add support for rk3036
  conf/machine: add support for rv1108

 README                                             |  2 +-
 conf/machine/evb-rk3288.conf                       | 10 ++++
 conf/machine/evb-rv1108.conf                       | 10 ++++
 conf/machine/excavator-rk3399.conf                 | 10 ++++
 conf/machine/fennec-rk3288.conf                    | 10 ++++
 conf/machine/firefly-rk3288.conf                   |  1 +
 conf/machine/include/rk3036.inc                    | 20 ++++++++
 conf/machine/include/rk3288.inc                    |  4 ++
 conf/machine/include/rk3399.inc                    | 18 +++++++
 conf/machine/include/rv1108.inc                    | 12 +++++
 conf/machine/include/tune-cortexa53.inc            | 57 ++++++++++++++++++++++
 conf/machine/kylin-rk3036.conf                     | 10 ++++
 conf/machine/tinker-rk3288.conf                    | 13 +++++
 .../0001-fix-yocto-build-error.patch               | 35 +++++++++++++
 recipes-kernel/linux/linux-rockchip_3.10.bb        | 20 ++++++++
 recipes-kernel/linux/linux-rockchip_4.4.bb         | 20 ++++++++
 16 files changed, 251 insertions(+), 1 deletion(-)
 create mode 100644 conf/machine/evb-rk3288.conf
 create mode 100644 conf/machine/evb-rv1108.conf
 create mode 100644 conf/machine/excavator-rk3399.conf
 create mode 100644 conf/machine/fennec-rk3288.conf
 create mode 100644 conf/machine/include/rk3036.inc
 create mode 100644 conf/machine/include/rk3399.inc
 create mode 100644 conf/machine/include/rv1108.inc
 create mode 100644 conf/machine/include/tune-cortexa53.inc
 create mode 100644 conf/machine/kylin-rk3036.conf
 create mode 100644 conf/machine/tinker-rk3288.conf
 create mode 100644 recipes-kernel/linux/linux-rockchip/0001-fix-yocto-build-error.patch
 create mode 100644 recipes-kernel/linux/linux-rockchip_3.10.bb
 create mode 100644 recipes-kernel/linux/linux-rockchip_4.4.bb

-- 
2.7.4



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/7] README: correct the FPU information for RK3288
  2017-03-19 17:48 [meta-rockchip] [PATCH 0/7] Update kernel recipes and machine configure ayaka
@ 2017-03-19 17:48 ` ayaka
  2017-03-19 17:48 ` [PATCH 2/7] recipes-kernel: linux-rockchip: introduce rockchip 3.10 kernel ayaka
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ayaka @ 2017-03-19 17:48 UTC (permalink / raw)
  To: yocto; +Cc: ayaka

The RK3288 only supports VFPv3 from the datasheet.

Signed-off-by: ayaka <ayaka@soulik.info>
---
 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README b/README
index 5d19202..f9f705c 100644
--- a/README
+++ b/README
@@ -136,6 +136,6 @@ has these same goals, or you can add settings in your configuration files
 (e.g. local.conf) as follows:
 
 	for rk3288:
-		DEFAULTTUNE = "cortexa17hf-neon-vfpv4"
+		DEFAULTTUNE = "cortexa17hf-neon"
 	for rk3066:
 		DEFAULTTUNE = "cortexa9-neon"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/7] recipes-kernel: linux-rockchip: introduce rockchip 3.10 kernel
  2017-03-19 17:48 [meta-rockchip] [PATCH 0/7] Update kernel recipes and machine configure ayaka
  2017-03-19 17:48 ` [PATCH 1/7] README: correct the FPU information for RK3288 ayaka
@ 2017-03-19 17:48 ` ayaka
  2017-03-19 17:48 ` [PATCH 3/7] recipes-kernel: linux-rockchip: Add new recipe for 4.4 ayaka
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ayaka @ 2017-03-19 17:48 UTC (permalink / raw)
  To: yocto; +Cc: Jacob Chen, ayaka

rockchip 3.10 kernel is kernel that support most of 32bit Soc.

Change-Id: Ib7ae55c7853d24315c6cc1081a600130c26dfa1c
Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: ayaka <ayaka@soulik.info>
---
 .../0001-fix-yocto-build-error.patch               | 35 ++++++++++++++++++++++
 recipes-kernel/linux/linux-rockchip_3.10.bb        | 20 +++++++++++++
 2 files changed, 55 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-rockchip/0001-fix-yocto-build-error.patch
 create mode 100644 recipes-kernel/linux/linux-rockchip_3.10.bb

diff --git a/recipes-kernel/linux/linux-rockchip/0001-fix-yocto-build-error.patch b/recipes-kernel/linux/linux-rockchip/0001-fix-yocto-build-error.patch
new file mode 100644
index 0000000..6591ff1
--- /dev/null
+++ b/recipes-kernel/linux/linux-rockchip/0001-fix-yocto-build-error.patch
@@ -0,0 +1,35 @@
+From c2410e3cd13b69054d7436c5fbb1a6044b853444 Mon Sep 17 00:00:00 2001
+From: Jacob Chen <jacob-chen@iotwrt.com>
+Date: Thu, 2 Mar 2017 16:24:35 +0800
+Subject: [PATCH] fix yocto build error
+
+Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
+---
+ drivers/net/wireless/Makefile                        | 2 +-
+ drivers/net/wireless/rockchip_wlan/wifi_sys/Makefile | 1 +
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+ create mode 100644 drivers/net/wireless/rockchip_wlan/wifi_sys/Makefile
+
+diff --git a/drivers/net/wireless/Makefile b/drivers/net/wireless/Makefile
+index 7171523..c2cc474 100644
+--- a/drivers/net/wireless/Makefile
++++ b/drivers/net/wireless/Makefile
+@@ -1,7 +1,7 @@
+ #
+ # Makefile for the Linux Wireless network device drivers.
+ #
+-obj-y += rockchip_wlan/wifi_sys/rkwifi_sys_iface.o
++obj-y += rockchip_wlan/wifi_sys/
+ obj-$(CONFIG_RTL8192CU)        += rockchip_wlan/rtl8192cu/
+ obj-$(CONFIG_RTL8192DU)        += rockchip_wlan/rtl8192du/
+ obj-$(CONFIG_RTL8188EU)	       += rockchip_wlan/rtl8188eu/
+diff --git a/drivers/net/wireless/rockchip_wlan/wifi_sys/Makefile b/drivers/net/wireless/rockchip_wlan/wifi_sys/Makefile
+new file mode 100644
+index 0000000..148c8bc
+--- /dev/null
++++ b/drivers/net/wireless/rockchip_wlan/wifi_sys/Makefile
+@@ -0,0 +1 @@
++obj-y := rkwifi_sys_iface.o
+-- 
+2.7.4
+
diff --git a/recipes-kernel/linux/linux-rockchip_3.10.bb b/recipes-kernel/linux/linux-rockchip_3.10.bb
new file mode 100644
index 0000000..ff81eba
--- /dev/null
+++ b/recipes-kernel/linux/linux-rockchip_3.10.bb
@@ -0,0 +1,20 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+require recipes-kernel/linux/linux-yocto.inc
+
+SRC_URI = "git://github.com/rockchip-linux/kernel.git;branch=release-3.10 \
+	file://0001-fix-yocto-build-error.patch \
+"
+
+SRCREV = "${AUTOREV}"
+LINUX_VERSION = "3.10.104"
+# Override local version in order to use the one generated by linux build system
+# And not "yocto-standard"
+LINUX_VERSION_EXTENSION = ""
+PR = "r1"
+PV = "${LINUX_VERSION}"
+
+# Include only supported boards for now
+COMPATIBLE_MACHINE = "(rv1108)"
+deltask kernel_configme
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/7] recipes-kernel: linux-rockchip: Add new recipe for 4.4
  2017-03-19 17:48 [meta-rockchip] [PATCH 0/7] Update kernel recipes and machine configure ayaka
  2017-03-19 17:48 ` [PATCH 1/7] README: correct the FPU information for RK3288 ayaka
  2017-03-19 17:48 ` [PATCH 2/7] recipes-kernel: linux-rockchip: introduce rockchip 3.10 kernel ayaka
@ 2017-03-19 17:48 ` ayaka
  2017-03-19 17:48 ` [PATCH 4/7] conf/machine: rk3288: Add some machine files ayaka
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ayaka @ 2017-03-19 17:48 UTC (permalink / raw)
  To: yocto; +Cc: Jacob Chen, ayaka

Rockchip 4.4 kernel is currently the latest kernel from
the rockchip offical.
It supports all rockchip 64-bit chips and few 32-bit chips.

Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: ayaka <ayaka@soulik.info>
---
 recipes-kernel/linux/linux-rockchip_4.4.bb | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-rockchip_4.4.bb

diff --git a/recipes-kernel/linux/linux-rockchip_4.4.bb b/recipes-kernel/linux/linux-rockchip_4.4.bb
new file mode 100644
index 0000000..18bbc7a
--- /dev/null
+++ b/recipes-kernel/linux/linux-rockchip_4.4.bb
@@ -0,0 +1,20 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+require recipes-kernel/linux/linux-yocto.inc
+
+SRC_URI = "git://github.com/rockchip-linux/kernel.git;branch=release-4.4;"
+
+SRCREV = "${AUTOREV}"
+LINUX_VERSION = "4.4.52"
+# Override local version in order to use the one generated by linux build system
+# And not "yocto-standard"
+LINUX_VERSION_EXTENSION = ""
+PR = "r1"
+PV = "${LINUX_VERSION}"
+
+# Include only supported boards for now
+COMPATIBLE_MACHINE = "(rk3036|rk3288|rk3399)"
+deltask kernel_configme
+
+KBUILD_DEFCONFIG = "rockchip_linux_defconfig"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 4/7] conf/machine: rk3288: Add some machine files
  2017-03-19 17:48 [meta-rockchip] [PATCH 0/7] Update kernel recipes and machine configure ayaka
                   ` (2 preceding siblings ...)
  2017-03-19 17:48 ` [PATCH 3/7] recipes-kernel: linux-rockchip: Add new recipe for 4.4 ayaka
@ 2017-03-19 17:48 ` ayaka
  2017-03-19 17:48 ` [PATCH 5/7] conf/machine: add rk3399 support ayaka
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ayaka @ 2017-03-19 17:48 UTC (permalink / raw)
  To: yocto; +Cc: ayaka, Jacob Chen

Evb-rk3288 is the offical evaluate board.
Fennec-rk3288 and Tinker-rk3288 is rk3288 based SBCs.
Tinker Boards is a RPi compatible board made by ASUS.

Update the kernel for Firefly Release to kernel 4.4.

Signed-off-by: Jacob Chen <jacob-chen@rock-chips.com>
Signed-off-by: ayaka <ayaka@soulik.info>
---
 conf/machine/evb-rk3288.conf     | 10 ++++++++++
 conf/machine/fennec-rk3288.conf  | 10 ++++++++++
 conf/machine/firefly-rk3288.conf |  1 +
 conf/machine/include/rk3288.inc  |  4 ++++
 conf/machine/tinker-rk3288.conf  | 13 +++++++++++++
 5 files changed, 38 insertions(+)
 create mode 100644 conf/machine/evb-rk3288.conf
 create mode 100644 conf/machine/fennec-rk3288.conf
 create mode 100644 conf/machine/tinker-rk3288.conf

diff --git a/conf/machine/evb-rk3288.conf b/conf/machine/evb-rk3288.conf
new file mode 100644
index 0000000..e6c1f1e
--- /dev/null
+++ b/conf/machine/evb-rk3288.conf
@@ -0,0 +1,10 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: EVB 3288
+
+include conf/machine/include/rk3288.inc
+
+KERNEL_DEVICETREE = "rk3288-evb-act8846.dtb"
+UBOOT_MACHINE = "evb-rk3288_defconfig"
diff --git a/conf/machine/fennec-rk3288.conf b/conf/machine/fennec-rk3288.conf
new file mode 100644
index 0000000..23e3ee7
--- /dev/null
+++ b/conf/machine/fennec-rk3288.conf
@@ -0,0 +1,10 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: FENNEC RK3288
+
+include conf/machine/include/rk3288.inc
+
+KERNEL_DEVICETREE = "rk3288-fennec.dtb"
+UBOOT_MACHINE = "fennec-rk3288_defconfig"
diff --git a/conf/machine/firefly-rk3288.conf b/conf/machine/firefly-rk3288.conf
index 58d752b..d6e95ce 100644
--- a/conf/machine/firefly-rk3288.conf
+++ b/conf/machine/firefly-rk3288.conf
@@ -7,5 +7,6 @@
 #http://www.t-firefly.com/en/
 
 include conf/machine/include/rk3288.inc
+
 KERNEL_DEVICETREE = "rk3288-firefly.dtb"
 UBOOT_MACHINE = "firefly-rk3288_defconfig"
diff --git a/conf/machine/include/rk3288.inc b/conf/machine/include/rk3288.inc
index 964d8b0..8d8a3a3 100644
--- a/conf/machine/include/rk3288.inc
+++ b/conf/machine/include/rk3288.inc
@@ -8,6 +8,7 @@ require conf/machine/include/soc-family.inc
 
 PREFERRED_PROVIDER_virtual/kernel = "linux"
 SERIAL_CONSOLES = "115200;ttyS2"
+SPL_BINARY = "u-boot-spl-dtb.bin"
 KERNEL_IMAGETYPE = "zImage"
 KBUILD_DEFCONFIG = "multi_v7_defconfig"
 
@@ -16,3 +17,6 @@ SPL_BINARY ?= "u-boot-spl-dtb.bin"
 
 IMAGE_FSTYPES = "ext4 rockchip-gpt-img"
 IMAGE_CLASSES += "rockchip-gpt-img"
+
+APPEND = "console=tty1 console=ttyS2,115200n8 rw root=/dev/mmcblk2p7 rootfstype=ext4 init=/sbin/init"
+PREFERRED_VERSION_mali-userspace = "t76x"
diff --git a/conf/machine/tinker-rk3288.conf b/conf/machine/tinker-rk3288.conf
new file mode 100644
index 0000000..932c9ab
--- /dev/null
+++ b/conf/machine/tinker-rk3288.conf
@@ -0,0 +1,13 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: Tinker RK3288
+#@DESCRIPTION: ASUS Tinker Board is a Raspberry Pi 3 Alternative based on Rockchip RK3288 Processor.
+
+include conf/machine/include/rk3288.inc
+
+KERNEL_DEVICETREE = "rk3288-miniarm.dtb"
+UBOOT_MACHINE = "tinker-rk3288_defconfig"
+
+GPTIMG_APPEND = "console=tty1 console=ttyS2,115200n8 rw root=/dev/mmcblk0p7 rootfstype=ext4 init=/sbin/init"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 5/7] conf/machine: add rk3399 support
  2017-03-19 17:48 [meta-rockchip] [PATCH 0/7] Update kernel recipes and machine configure ayaka
                   ` (3 preceding siblings ...)
  2017-03-19 17:48 ` [PATCH 4/7] conf/machine: rk3288: Add some machine files ayaka
@ 2017-03-19 17:48 ` ayaka
  2017-03-19 17:48 ` [PATCH 6/7] conf/machine: add support for rk3036 ayaka
  2017-03-19 17:48 ` [PATCH 7/7] conf/machine: add support for rv1108 ayaka
  6 siblings, 0 replies; 8+ messages in thread
From: ayaka @ 2017-03-19 17:48 UTC (permalink / raw)
  To: yocto; +Cc: Jacob Chen, ayaka

RK3399 is a new generation powerful SoC from Rockchip, which has
Dual Cortex-A72 + Quad Cortex-A53, 64-bit CPU.

Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: ayaka <ayaka@soulik.info>
---
 conf/machine/excavator-rk3399.conf      | 10 ++++++
 conf/machine/include/rk3399.inc         | 18 +++++++++++
 conf/machine/include/tune-cortexa53.inc | 57 +++++++++++++++++++++++++++++++++
 3 files changed, 85 insertions(+)
 create mode 100644 conf/machine/excavator-rk3399.conf
 create mode 100644 conf/machine/include/rk3399.inc
 create mode 100644 conf/machine/include/tune-cortexa53.inc

diff --git a/conf/machine/excavator-rk3399.conf b/conf/machine/excavator-rk3399.conf
new file mode 100644
index 0000000..c7134d2
--- /dev/null
+++ b/conf/machine/excavator-rk3399.conf
@@ -0,0 +1,10 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: EXCAVATOR 3399
+
+include conf/machine/include/rk3399.inc
+
+KERNEL_DEVICETREE = "rk3399-sapphire-excavator-linux.dtb"
+UBOOT_MACHINE = "evb-rk3399_defconfig"
diff --git a/conf/machine/include/rk3399.inc b/conf/machine/include/rk3399.inc
new file mode 100644
index 0000000..29cdfc4
--- /dev/null
+++ b/conf/machine/include/rk3399.inc
@@ -0,0 +1,18 @@
+# Copyright (C) 2017 Jacob Chen
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "rk3399"
+
+require conf/machine/include/tune-cortexa53.inc
+require conf/machine/include/soc-family.inc
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+SERIAL_CONSOLES = "1500000;ttyS2"
+KERNEL_IMAGETYPE = "Image"
+KBUILD_DEFCONFIG = "multi_v8_defconfig"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+SPL_BINARY ?= "u-boot-spl-nodtb.bin"
+
+IMAGE_FSTYPES = "ext4 rockchip-gpt-img"
+IMAGE_CLASSES += "rockchip-gpt-img"
diff --git a/conf/machine/include/tune-cortexa53.inc b/conf/machine/include/tune-cortexa53.inc
new file mode 100644
index 0000000..8b8d943
--- /dev/null
+++ b/conf/machine/include/tune-cortexa53.inc
@@ -0,0 +1,57 @@
+DEFAULTTUNE ?= "cortexa53-32"
+
+require conf/machine/include/arm/arch-armv8.inc
+
+TUNEVALID[cortexa53] = "Enable Cortex-A53 specific processor optimizations"
+TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa53', ' -mcpu=cortex-a53 ', '',d)}"
+
+TUNEVALID[armv8] = "Enable instructions for ARMv8"
+TUNECONFLICTS[armv8] = "armv4 armv5 armv6 armv7 armv7a armv7ve"
+
+TUNE_CCARGS .= \
+"-mtune=cortex-a57.cortex-a53"
+
+TUNE_CCARGS_MFPU .= \
+"${@' crypto-neon-fp-armv8' if bb.utils.contains('TUNE_FEATURES', [ 'armv8', 'neon', 'cryptov8' ], True, False, d) else \
+' neon-fp-armv8' if bb.utils.contains('TUNE_FEATURES', [ 'armv8', 'neon' ], True, False, d) else \
+bb.utils.contains('TUNE_FEATURES', [ 'armv8' ], ' fp-armv8', '', d)}"
+
+MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8', 'armv8:', '' ,d)}"
+
+AVAILTUNES += "armv8"
+TUNE_FEATURES_tune-armv8 = "armv8"
+PACKAGE_EXTRA_ARCHS_tune-armv8 = "armv8"
+
+AVAILTUNES += "armv8-neon"
+TUNE_FEATURES_tune-armv8-neon = "${TUNE_FEATURES_tune-armv8} neon"
+PACKAGE_EXTRA_ARCHS_tune-armv8-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv8} armv8-neon"
+
+AVAILTUNES += "armv8hf"
+TUNE_FEATURES_tune-armv8hf = "${TUNE_FEATURES_tune-armv8} callconvention-hard"
+PACKAGE_EXTRA_ARCHS_tune-armv8hf = "armv8hf"
+
+AVAILTUNES += "armv8hf-neon"
+TUNE_FEATURES_tune-armv8hf-neon = "${TUNE_FEATURES_tune-armv8hf} neon"
+PACKAGE_EXTRA_ARCHS_tune-armv8hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv8hf} armv8hf-neon"
+
+# Extra tune selections
+AVAILTUNES += "cortexa53-32"
+ARMPKGARCH_tune-cortexa53-32 ?= "cortexa53"
+TUNE_FEATURES_tune-cortexa53-32 = "${TUNE_FEATURES_tune-armv8-neon} cortexa53"
+BASE_LIB_tune-cortexa53-32 = "lib"
+TUNE_PKGARCH_tune-cortexa53-32 = "cortexa53-32"
+PACKAGE_EXTRA_ARCHS_tune-cortexa53-32 = "${PACKAGE_EXTRA_ARCHS_tune-armv8-neon} cortexa53-32 cortexa53-neon-fp-armv8"
+
+AVAILTUNES += "cortexa53hf-32"
+ARMPKGARCH_tune-cortexa53hf-32 ?= "cortexa53"
+TUNE_FEATURES_tune-cortexa53hf-32 = "${TUNE_FEATURES_tune-armv8hf-neon} cortexa53"
+BASE_LIB_tune-cortexa53hf-32 = "lib"
+TUNE_PKGARCH_tune-cortexa53hf-32 = "cortexa53hf-32"
+PACKAGE_EXTRA_ARCHS_tune-cortexa53hf-32 = "${PACKAGE_EXTRA_ARCHS_tune-armv8hf-neon} cortexa53hf-32 cortexa53hf-neon-fp-armv8"
+
+AVAILTUNES += "cortexa53-64"
+ARMPKGARCH_tune-cortexa53-64 ?= "cortexa53"
+TUNE_FEATURES_tune-cortexa53-64 = "${TUNE_FEATURES_tune-aarch64} cortexa53"
+BASE_LIB_tune-cortexa53-64 = "lib64"
+TUNE_PKGARCH_tune-cortexa53-64 = "cortexa53-64"
+PACKAGE_EXTRA_ARCHS_tune-cortexa53-64 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64} cortexa53-64"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 6/7] conf/machine: add support for rk3036
  2017-03-19 17:48 [meta-rockchip] [PATCH 0/7] Update kernel recipes and machine configure ayaka
                   ` (4 preceding siblings ...)
  2017-03-19 17:48 ` [PATCH 5/7] conf/machine: add rk3399 support ayaka
@ 2017-03-19 17:48 ` ayaka
  2017-03-19 17:48 ` [PATCH 7/7] conf/machine: add support for rv1108 ayaka
  6 siblings, 0 replies; 8+ messages in thread
From: ayaka @ 2017-03-19 17:48 UTC (permalink / raw)
  To: yocto; +Cc: Jacob Chen, ayaka

RK3036 is a SoC from Rockchip which has Dual-Core
ARM Cortex-A7 CPU.

Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: ayaka <ayaka@soulik.info>
---
 conf/machine/include/rk3036.inc | 20 ++++++++++++++++++++
 conf/machine/kylin-rk3036.conf  | 10 ++++++++++
 2 files changed, 30 insertions(+)
 create mode 100644 conf/machine/include/rk3036.inc
 create mode 100644 conf/machine/kylin-rk3036.conf

diff --git a/conf/machine/include/rk3036.inc b/conf/machine/include/rk3036.inc
new file mode 100644
index 0000000..8cb8639
--- /dev/null
+++ b/conf/machine/include/rk3036.inc
@@ -0,0 +1,20 @@
+# Copyright (C) 2017 Jacob Chen
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "rk3036"
+
+require conf/machine/include/tune-cortexa7.inc
+require conf/machine/include/soc-family.inc
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+SERIAL_CONSOLES = "115200;ttyS2"
+KERNEL_IMAGETYPE = "zImage"
+KBUILD_DEFCONFIG = "multi_v7_defconfig"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+SPL_BINARY ?= "u-boot-spl-nodtb.bin"
+
+IMAGE_FSTYPES = "ext4 rockchip-gpt-img"
+IMAGE_CLASSES += "rockchip-gpt-img"
+
+GPTIMG_APPEND = "console=tty1 console=ttyS2,115200n8 rw root=/dev/mmcblk1p7 rootfstype=ext4 init=/sbin/init rootwait"
diff --git a/conf/machine/kylin-rk3036.conf b/conf/machine/kylin-rk3036.conf
new file mode 100644
index 0000000..100c62d
--- /dev/null
+++ b/conf/machine/kylin-rk3036.conf
@@ -0,0 +1,10 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: Kylin rk3036
+
+include conf/machine/include/rk3036.inc
+
+KERNEL_DEVICETREE = "rk3036-kylin.dtb"
+UBOOT_MACHINE = "kylin-rk3036_defconfig"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 7/7] conf/machine: add support for rv1108
  2017-03-19 17:48 [meta-rockchip] [PATCH 0/7] Update kernel recipes and machine configure ayaka
                   ` (5 preceding siblings ...)
  2017-03-19 17:48 ` [PATCH 6/7] conf/machine: add support for rk3036 ayaka
@ 2017-03-19 17:48 ` ayaka
  6 siblings, 0 replies; 8+ messages in thread
From: ayaka @ 2017-03-19 17:48 UTC (permalink / raw)
  To: yocto; +Cc: Jacob Chen, ayaka

RV1108 is a SoC from Rockchip for the video recording
solutions.

Change-Id: I3e11ef2eababb4fc3cea497d7a8e00d9b0072a32
Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: ayaka <ayaka@soulik.info>
---
 conf/machine/evb-rv1108.conf    | 10 ++++++++++
 conf/machine/include/rv1108.inc | 12 ++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 conf/machine/evb-rv1108.conf
 create mode 100644 conf/machine/include/rv1108.inc

diff --git a/conf/machine/evb-rv1108.conf b/conf/machine/evb-rv1108.conf
new file mode 100644
index 0000000..3e85d80
--- /dev/null
+++ b/conf/machine/evb-rv1108.conf
@@ -0,0 +1,10 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: EVB rv1108
+
+include conf/machine/include/rv1108.inc
+
+KERNEL_DEVICETREE = "rv1108-evb.dtb"
+UBOOT_MACHINE = "evb-rk3288_defconfig"
diff --git a/conf/machine/include/rv1108.inc b/conf/machine/include/rv1108.inc
new file mode 100644
index 0000000..1c70ef7
--- /dev/null
+++ b/conf/machine/include/rv1108.inc
@@ -0,0 +1,12 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "rv1108"
+
+require conf/machine/include/tune-cortexa7.inc
+require conf/machine/include/soc-family.inc
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+SERIAL_CONSOLES = "1500000;ttyS2"
+KERNEL_IMAGETYPE = "zImage"
+KBUILD_DEFCONFIG = "multi_v7_defconfig"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-03-19 17:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-19 17:48 [meta-rockchip] [PATCH 0/7] Update kernel recipes and machine configure ayaka
2017-03-19 17:48 ` [PATCH 1/7] README: correct the FPU information for RK3288 ayaka
2017-03-19 17:48 ` [PATCH 2/7] recipes-kernel: linux-rockchip: introduce rockchip 3.10 kernel ayaka
2017-03-19 17:48 ` [PATCH 3/7] recipes-kernel: linux-rockchip: Add new recipe for 4.4 ayaka
2017-03-19 17:48 ` [PATCH 4/7] conf/machine: rk3288: Add some machine files ayaka
2017-03-19 17:48 ` [PATCH 5/7] conf/machine: add rk3399 support ayaka
2017-03-19 17:48 ` [PATCH 6/7] conf/machine: add support for rk3036 ayaka
2017-03-19 17:48 ` [PATCH 7/7] conf/machine: add support for rv1108 ayaka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.