* [PATCH v2 01/10] conf/machine: add support for rk3399
2019-04-23 13:25 [meta-rockchip] [PATCH v2 00/10] add new SoCs supports Randy 'ayaka' Li
@ 2019-04-23 13:25 ` Randy 'ayaka' Li
2019-04-23 17:47 ` Trevor Woerner
2019-04-23 13:25 ` [PATCH v2 02/10] conf/machine: add support for rk3328 Randy 'ayaka' Li
` (8 subsequent siblings)
9 siblings, 1 reply; 13+ messages in thread
From: Randy 'ayaka' Li @ 2019-04-23 13:25 UTC (permalink / raw)
To: yocto; +Cc: Randy 'ayaka' Li, romain.perier
RK3399 is a new generation powerful SoC from Rockchip, which has
Dual Cortex-A72 + Quad Cortex-A53, 64-bit CPU.
Signed-off-by: Randy 'ayaka' Li <ayaka@soulik.info>
---
conf/machine/excavator-rk3399.conf | 12 ++++++++++++
conf/machine/firefly-rk3399.conf | 14 ++++++++++++++
conf/machine/include/rk3399.inc | 17 +++++++++++++++++
3 files changed, 43 insertions(+)
create mode 100644 conf/machine/excavator-rk3399.conf
create mode 100644 conf/machine/firefly-rk3399.conf
create mode 100644 conf/machine/include/rk3399.inc
diff --git a/conf/machine/excavator-rk3399.conf b/conf/machine/excavator-rk3399.conf
new file mode 100644
index 0000000..8506a50
--- /dev/null
+++ b/conf/machine/excavator-rk3399.conf
@@ -0,0 +1,12 @@
+# 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 = "rockchip/rk3399-sapphire-excavator.dtb"
+UBOOT_MACHINE = "evb-rk3399_defconfig"
+
+GPTIMG_APPEND = "console=ttyS2,1500000n8 rw root=PARTUUID=B921B045-1DF0 rootfstype=ext4 init=/sbin/init"
diff --git a/conf/machine/firefly-rk3399.conf b/conf/machine/firefly-rk3399.conf
new file mode 100644
index 0000000..4e35c3d
--- /dev/null
+++ b/conf/machine/firefly-rk3399.conf
@@ -0,0 +1,14 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: Firefly RK3399
+#@DESCRIPTION: Firefly-RK3399 is a Six-Core 64-bit High-Performance Platform.
+#http://www.t-firefly.com/en/
+
+include conf/machine/include/rk3399.inc
+
+KERNEL_DEVICETREE = "rockchip/rk3399-firefly.dtb"
+UBOOT_MACHINE = "evb-rk3399_defconfig"
+
+GPTIMG_APPEND = "console=ttyS2,1500000n8 rw root=PARTUUID=B921B045-1DF0 rootfstype=ext4 init=/sbin/init"
diff --git a/conf/machine/include/rk3399.inc b/conf/machine/include/rk3399.inc
new file mode 100644
index 0000000..9237616
--- /dev/null
+++ b/conf/machine/include/rk3399.inc
@@ -0,0 +1,17 @@
+# Copyright (C) 2019 SUMOMO Computer Association
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "rk3399"
+
+require conf/machine/include/tune-cortexa72.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "1500000;ttyS2"
+KERNEL_IMAGETYPE = "Image"
+KBUILD_DEFCONFIG = "defconfig"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH v2 01/10] conf/machine: add support for rk3399
2019-04-23 13:25 ` [PATCH v2 01/10] conf/machine: add support for rk3399 Randy 'ayaka' Li
@ 2019-04-23 17:47 ` Trevor Woerner
2019-04-24 15:01 ` ayaka
0 siblings, 1 reply; 13+ messages in thread
From: Trevor Woerner @ 2019-04-23 17:47 UTC (permalink / raw)
To: Randy 'ayaka' Li; +Cc: yocto
On Tue 2019-04-23 @ 09:25:05 PM, Randy 'ayaka' Li wrote:
> RK3399 is a new generation powerful SoC from Rockchip, which has
> Dual Cortex-A72 + Quad Cortex-A53, 64-bit CPU.
>
> Signed-off-by: Randy 'ayaka' Li <ayaka@soulik.info>
> ---
> conf/machine/excavator-rk3399.conf | 12 ++++++++++++
> conf/machine/firefly-rk3399.conf | 14 ++++++++++++++
> conf/machine/include/rk3399.inc | 17 +++++++++++++++++
> 3 files changed, 43 insertions(+)
> create mode 100644 conf/machine/excavator-rk3399.conf
> create mode 100644 conf/machine/firefly-rk3399.conf
> create mode 100644 conf/machine/include/rk3399.inc
>
> diff --git a/conf/machine/excavator-rk3399.conf b/conf/machine/excavator-rk3399.conf
> new file mode 100644
> index 0000000..8506a50
> --- /dev/null
> +++ b/conf/machine/excavator-rk3399.conf
> @@ -0,0 +1,12 @@
> +# 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 = "rockchip/rk3399-sapphire-excavator.dtb"
> +UBOOT_MACHINE = "evb-rk3399_defconfig"
> +
> +GPTIMG_APPEND = "console=ttyS2,1500000n8 rw root=PARTUUID=B921B045-1DF0 rootfstype=ext4 init=/sbin/init"
> diff --git a/conf/machine/firefly-rk3399.conf b/conf/machine/firefly-rk3399.conf
> new file mode 100644
> index 0000000..4e35c3d
> --- /dev/null
> +++ b/conf/machine/firefly-rk3399.conf
> @@ -0,0 +1,14 @@
> +# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
> +# Released under the MIT license (see COPYING.MIT for the terms)
> +
> +#@TYPE: Machine
> +#@NAME: Firefly RK3399
> +#@DESCRIPTION: Firefly-RK3399 is a Six-Core 64-bit High-Performance Platform.
> +#http://www.t-firefly.com/en/
> +
> +include conf/machine/include/rk3399.inc
> +
> +KERNEL_DEVICETREE = "rockchip/rk3399-firefly.dtb"
> +UBOOT_MACHINE = "evb-rk3399_defconfig"
> +
> +GPTIMG_APPEND = "console=ttyS2,1500000n8 rw root=PARTUUID=B921B045-1DF0 rootfstype=ext4 init=/sbin/init"
> diff --git a/conf/machine/include/rk3399.inc b/conf/machine/include/rk3399.inc
> new file mode 100644
> index 0000000..9237616
> --- /dev/null
> +++ b/conf/machine/include/rk3399.inc
> @@ -0,0 +1,17 @@
> +# Copyright (C) 2019 SUMOMO Computer Association
> +# Released under the MIT license (see COPYING.MIT for the terms)
> +
> +SOC_FAMILY = "rk3399"
> +
> +require conf/machine/include/tune-cortexa72.inc
> +require conf/machine/include/soc-family.inc
> +require conf/machine/include/rockchip-defaults.inc
> +
> +SERIAL_CONSOLES = "1500000;ttyS2"
> +KERNEL_IMAGETYPE = "Image"
> +KBUILD_DEFCONFIG = "defconfig"
> +
> +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
Using u-boot-rockchip causes build failures. In both cases (excavator-rk3399
and firefly-rk3399) I get:
| #
| # configuration written to .config
| #
| make[1]: Leaving directory '/z/build-master/meta-rockchip/build/tmp-glibc/work/firefly_rk3399-oe-linux/u-boot-rockchip/20171218-r0/build'
| make: Leaving directory '/z/build-master/meta-rockchip/build/tmp-glibc/work/firefly_rk3399-oe-linux/u-boot-rockchip/20171218-r0/git'
| /z/build-master/meta-rockchip/build/tmp-glibc/work/firefly_rk3399-oe-linux/u-boot-rockchip/20171218-r0/temp/run.do_configure.27647: line 113: merge_config.sh: command not found
| WARNING: /z/build-master/meta-rockchip/build/tmp-glibc/work/firefly_rk3399-oe-linux/u-boot-rockchip/20171218-r0/temp/run.do_configure.27647:1 exit 127 from 'merge_config.sh -m .config'
| ERROR: Function failed: do_configure (log file is located at /z/build-master/meta-rockchip/build/tmp-glibc/work/firefly_rk3399-oe-linux/u-boot-rockchip/20171218-r0/temp/log.do_configure.27647)
Do you have an updated recipe for u-boot-rockchip?
> +
> +IMAGE_FSTYPES = "rockchip-gpt-img"
> +IMAGE_CLASSES = "rockchip-gpt-img"
> --
> 2.20.1
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 01/10] conf/machine: add support for rk3399
2019-04-23 17:47 ` Trevor Woerner
@ 2019-04-24 15:01 ` ayaka
0 siblings, 0 replies; 13+ messages in thread
From: ayaka @ 2019-04-24 15:01 UTC (permalink / raw)
To: Trevor Woerner; +Cc: yocto, romain.perier
On 4/24/19 1:47 AM, Trevor Woerner wrote:
> On Tue 2019-04-23 @ 09:25:05 PM, Randy 'ayaka' Li wrote:
>> RK3399 is a new generation powerful SoC from Rockchip, which has
>> Dual Cortex-A72 + Quad Cortex-A53, 64-bit CPU.
>>
>> Signed-off-by: Randy 'ayaka' Li <ayaka@soulik.info>
>> ---
>> conf/machine/excavator-rk3399.conf | 12 ++++++++++++
>> conf/machine/firefly-rk3399.conf | 14 ++++++++++++++
>> conf/machine/include/rk3399.inc | 17 +++++++++++++++++
>> 3 files changed, 43 insertions(+)
>> create mode 100644 conf/machine/excavator-rk3399.conf
>> create mode 100644 conf/machine/firefly-rk3399.conf
>> create mode 100644 conf/machine/include/rk3399.inc
>>
>> diff --git a/conf/machine/excavator-rk3399.conf b/conf/machine/excavator-rk3399.conf
>> new file mode 100644
>> index 0000000..8506a50
>> --- /dev/null
>> +++ b/conf/machine/excavator-rk3399.conf
>> @@ -0,0 +1,12 @@
>> +# 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 = "rockchip/rk3399-sapphire-excavator.dtb"
>> +UBOOT_MACHINE = "evb-rk3399_defconfig"
>> +
>> +GPTIMG_APPEND = "console=ttyS2,1500000n8 rw root=PARTUUID=B921B045-1DF0 rootfstype=ext4 init=/sbin/init"
>> diff --git a/conf/machine/firefly-rk3399.conf b/conf/machine/firefly-rk3399.conf
>> new file mode 100644
>> index 0000000..4e35c3d
>> --- /dev/null
>> +++ b/conf/machine/firefly-rk3399.conf
>> @@ -0,0 +1,14 @@
>> +# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
>> +# Released under the MIT license (see COPYING.MIT for the terms)
>> +
>> +#@TYPE: Machine
>> +#@NAME: Firefly RK3399
>> +#@DESCRIPTION: Firefly-RK3399 is a Six-Core 64-bit High-Performance Platform.
>> +#http://www.t-firefly.com/en/
>> +
>> +include conf/machine/include/rk3399.inc
>> +
>> +KERNEL_DEVICETREE = "rockchip/rk3399-firefly.dtb"
>> +UBOOT_MACHINE = "evb-rk3399_defconfig"
>> +
>> +GPTIMG_APPEND = "console=ttyS2,1500000n8 rw root=PARTUUID=B921B045-1DF0 rootfstype=ext4 init=/sbin/init"
>> diff --git a/conf/machine/include/rk3399.inc b/conf/machine/include/rk3399.inc
>> new file mode 100644
>> index 0000000..9237616
>> --- /dev/null
>> +++ b/conf/machine/include/rk3399.inc
>> @@ -0,0 +1,17 @@
>> +# Copyright (C) 2019 SUMOMO Computer Association
>> +# Released under the MIT license (see COPYING.MIT for the terms)
>> +
>> +SOC_FAMILY = "rk3399"
>> +
>> +require conf/machine/include/tune-cortexa72.inc
>> +require conf/machine/include/soc-family.inc
>> +require conf/machine/include/rockchip-defaults.inc
>> +
>> +SERIAL_CONSOLES = "1500000;ttyS2"
>> +KERNEL_IMAGETYPE = "Image"
>> +KBUILD_DEFCONFIG = "defconfig"
>> +
>> +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
> Using u-boot-rockchip causes build failures. In both cases (excavator-rk3399
> and firefly-rk3399) I get:
>
> | #
> | # configuration written to .config
> | #
> | make[1]: Leaving directory '/z/build-master/meta-rockchip/build/tmp-glibc/work/firefly_rk3399-oe-linux/u-boot-rockchip/20171218-r0/build'
> | make: Leaving directory '/z/build-master/meta-rockchip/build/tmp-glibc/work/firefly_rk3399-oe-linux/u-boot-rockchip/20171218-r0/git'
> | /z/build-master/meta-rockchip/build/tmp-glibc/work/firefly_rk3399-oe-linux/u-boot-rockchip/20171218-r0/temp/run.do_configure.27647: line 113: merge_config.sh: command not found
> | WARNING: /z/build-master/meta-rockchip/build/tmp-glibc/work/firefly_rk3399-oe-linux/u-boot-rockchip/20171218-r0/temp/run.do_configure.27647:1 exit 127 from 'merge_config.sh -m .config'
> | ERROR: Function failed: do_configure (log file is located at /z/build-master/meta-rockchip/build/tmp-glibc/work/firefly_rk3399-oe-linux/u-boot-rockchip/20171218-r0/temp/log.do_configure.27647)
>
> Do you have an updated recipe for u-boot-rockchip?
Yes, it is a bug in the recent u-boot-rockchip recipes, I have just sent
out patches to fix them, you may have a check.
And about this serial of patches, I sent "conf: use rockchip kernel 4.4
for firefly release" by mistake, you may ignore this one.
>
>> +
>> +IMAGE_FSTYPES = "rockchip-gpt-img"
>> +IMAGE_CLASSES = "rockchip-gpt-img"
>> --
>> 2.20.1
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH v2 02/10] conf/machine: add support for rk3328
2019-04-23 13:25 [meta-rockchip] [PATCH v2 00/10] add new SoCs supports Randy 'ayaka' Li
2019-04-23 13:25 ` [PATCH v2 01/10] conf/machine: add support for rk3399 Randy 'ayaka' Li
@ 2019-04-23 13:25 ` Randy 'ayaka' Li
2019-04-23 13:25 ` [PATCH v2 03/10] conf/machine: add support for rv1108 Randy 'ayaka' Li
` (7 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: Randy 'ayaka' Li @ 2019-04-23 13:25 UTC (permalink / raw)
To: yocto; +Cc: Randy 'ayaka' Li, romain.perier
The RK3328 is a SoC with Quad-core Cortex-A53 for Smart OTT/IPTV.
Signed-off-by: Randy 'ayaka' Li <ayaka@soulik.info>
---
conf/machine/evb-rk3328.conf | 11 +++++++++++
conf/machine/include/rk3328.inc | 18 ++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 100644 conf/machine/evb-rk3328.conf
create mode 100644 conf/machine/include/rk3328.inc
diff --git a/conf/machine/evb-rk3328.conf b/conf/machine/evb-rk3328.conf
new file mode 100644
index 0000000..ae2c0f8
--- /dev/null
+++ b/conf/machine/evb-rk3328.conf
@@ -0,0 +1,11 @@
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: EVB 3388
+
+include conf/machine/include/rk3328.inc
+
+KERNEL_DEVICETREE = "rockchip/rk3328-evb.dtb"
+UBOOT_MACHINE = "evb-rk3328_defconfig"
+
+GPTIMG_APPEND = "console=ttyS2,1500000n8 rw root=PARTUUID=B921B045-1DF0 rootfstype=ext4 init=/sbin/init"
diff --git a/conf/machine/include/rk3328.inc b/conf/machine/include/rk3328.inc
new file mode 100644
index 0000000..de5c9f4
--- /dev/null
+++ b/conf/machine/include/rk3328.inc
@@ -0,0 +1,18 @@
+# Copyright (C) 2017 Randy Li <ayaka@soulik.info>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+# RK3228H is the same SoC as rk3328.
+SOC_FAMILY = "rk3328"
+
+require conf/machine/include/tune-cortexa53.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "1500000;ttyS2"
+KERNEL_IMAGETYPE = "Image"
+KBUILD_DEFCONFIG = "defconfig"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH v2 03/10] conf/machine: add support for rv1108
2019-04-23 13:25 [meta-rockchip] [PATCH v2 00/10] add new SoCs supports Randy 'ayaka' Li
2019-04-23 13:25 ` [PATCH v2 01/10] conf/machine: add support for rk3399 Randy 'ayaka' Li
2019-04-23 13:25 ` [PATCH v2 02/10] conf/machine: add support for rk3328 Randy 'ayaka' Li
@ 2019-04-23 13:25 ` Randy 'ayaka' Li
2019-04-23 13:25 ` [PATCH v2 04/10] conf/machine: add support for rk3036 Randy 'ayaka' Li
` (6 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: Randy 'ayaka' Li @ 2019-04-23 13:25 UTC (permalink / raw)
To: yocto; +Cc: Randy 'ayaka' Li, romain.perier
RV1108 is a SoC specific for video enhanced and
recording. It is embedded with a DSP for digital
process and an ARM Cortex-A7 single core processor
for system and application.
Signed-off-by: Randy 'ayaka' Li <ayaka@soulik.info>
---
conf/machine/evb-rv1108.conf | 10 ++++++++++
conf/machine/include/rv1108.inc | 16 ++++++++++++++++
2 files changed, 26 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..c1bb584
--- /dev/null
+++ b/conf/machine/include/rv1108.inc
@@ -0,0 +1,16 @@
+# Copyright (C) 2019 Randy 'ayaka' Li <ayaka@soulik.info>
+# 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
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "1500000;ttyS2"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+SPL_BINARY ?= "u-boot-spl-nodtb.bin"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH v2 04/10] conf/machine: add support for rk3036
2019-04-23 13:25 [meta-rockchip] [PATCH v2 00/10] add new SoCs supports Randy 'ayaka' Li
` (2 preceding siblings ...)
2019-04-23 13:25 ` [PATCH v2 03/10] conf/machine: add support for rv1108 Randy 'ayaka' Li
@ 2019-04-23 13:25 ` Randy 'ayaka' Li
2019-04-23 13:25 ` [PATCH v2 05/10] conf/machine: add support for rk312x Randy 'ayaka' Li
` (5 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: Randy 'ayaka' Li @ 2019-04-23 13:25 UTC (permalink / raw)
To: yocto; +Cc: Randy Li, Randy 'ayaka' Li, romain.perier
RK3036 is a SoC from Rockchip which has Dual-Core
ARM Cortex-A7 CPU, for low-end OTT TV Box.
Supporting video acceleration for the HEVC and AVC
up to 1080P video. With a HDMI sink.
Signed-off-by: Randy 'ayaka' Li <ayaka@soulik.info>
Signed-off-by: Randy Li <randy.li@rock-chips.com>
---
conf/machine/include/rk3036.inc | 16 ++++++++++++++++
conf/machine/kylin-rk3036.conf | 12 ++++++++++++
2 files changed, 28 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..196f5a3
--- /dev/null
+++ b/conf/machine/include/rk3036.inc
@@ -0,0 +1,16 @@
+# Copyright (C) 2018 Randy 'ayaka' Li <ayaka@soulik.info>
+# 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
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "115200;ttyS2"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+SPL_BINARY ?= "u-boot-spl-nodtb.bin"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
diff --git a/conf/machine/kylin-rk3036.conf b/conf/machine/kylin-rk3036.conf
new file mode 100644
index 0000000..e47a3be
--- /dev/null
+++ b/conf/machine/kylin-rk3036.conf
@@ -0,0 +1,12 @@
+# 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"
+
+GPTIMG_APPEND = "console=ttyS2,115200n8 rw root=PARTUUID=69DAD710-2CE4 rootfstype=ext4 init=/sbin/init"
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH v2 05/10] conf/machine: add support for rk312x
2019-04-23 13:25 [meta-rockchip] [PATCH v2 00/10] add new SoCs supports Randy 'ayaka' Li
` (3 preceding siblings ...)
2019-04-23 13:25 ` [PATCH v2 04/10] conf/machine: add support for rk3036 Randy 'ayaka' Li
@ 2019-04-23 13:25 ` Randy 'ayaka' Li
2019-04-23 13:25 ` [PATCH v2 06/10] conf/machine: add support for rk3326 Randy 'ayaka' Li
` (4 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: Randy 'ayaka' Li @ 2019-04-23 13:25 UTC (permalink / raw)
To: yocto; +Cc: Randy 'ayaka' Li, romain.perier
RK312X are a serial called RK audio. All of them sharing
the simliar hardware configure. A quad-core ARM Cortex-A7
processor with separately Neon and FPU coprocessor, they
also share a 256KB L2 Cache.
All chips in this serial have a Mali 400 MP2 GPU.
Signed-off-by: Randy 'ayaka' Li <ayaka@soulik.info>
---
conf/machine/include/rk312x.inc | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 conf/machine/include/rk312x.inc
diff --git a/conf/machine/include/rk312x.inc b/conf/machine/include/rk312x.inc
new file mode 100644
index 0000000..675c699
--- /dev/null
+++ b/conf/machine/include/rk312x.inc
@@ -0,0 +1,17 @@
+# Copyright (C) 2019 SUMOMO Computer Assocation
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+# a serial of chips
+SOC_FAMILY = "rk312x"
+
+require conf/machine/include/tune-cortexa7.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "115200;ttyS2"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+SPL_BINARY ?= "u-boot-spl-nodtb.bin"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH v2 06/10] conf/machine: add support for rk3326
2019-04-23 13:25 [meta-rockchip] [PATCH v2 00/10] add new SoCs supports Randy 'ayaka' Li
` (4 preceding siblings ...)
2019-04-23 13:25 ` [PATCH v2 05/10] conf/machine: add support for rk312x Randy 'ayaka' Li
@ 2019-04-23 13:25 ` Randy 'ayaka' Li
2019-04-23 13:25 ` [PATCH v2 07/10] conf/machine: add support for rk3368 Randy 'ayaka' Li
` (3 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: Randy 'ayaka' Li @ 2019-04-23 13:25 UTC (permalink / raw)
To: yocto; +Cc: Randy 'ayaka' Li, romain.perier
RK3326 is a high-performance quad-core application processor,
it supports both H.264 and H.265 decoding up to 1920x1080@30fps.
Signed-off-by: Randy 'ayaka' Li <ayaka@soulik.info>
---
conf/machine/include/rk3326.inc | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 conf/machine/include/rk3326.inc
diff --git a/conf/machine/include/rk3326.inc b/conf/machine/include/rk3326.inc
new file mode 100644
index 0000000..1208b65
--- /dev/null
+++ b/conf/machine/include/rk3326.inc
@@ -0,0 +1,18 @@
+# Copyright (C) 2019 SUMOMO Computer Association
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+# PX30 is the same SoC as rk3326.
+SOC_FAMILY = "rk3326"
+
+require conf/machine/include/tune-cortexa35.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "1500000;ttyS2"
+KERNEL_IMAGETYPE = "Image"
+KBUILD_DEFCONFIG = "defconfig"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH v2 07/10] conf/machine: add support for rk3368
2019-04-23 13:25 [meta-rockchip] [PATCH v2 00/10] add new SoCs supports Randy 'ayaka' Li
` (5 preceding siblings ...)
2019-04-23 13:25 ` [PATCH v2 06/10] conf/machine: add support for rk3326 Randy 'ayaka' Li
@ 2019-04-23 13:25 ` Randy 'ayaka' Li
2019-04-23 13:25 ` [PATCH v2 08/10] conf/machine: add support for rk3308 Randy 'ayaka' Li
` (2 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: Randy 'ayaka' Li @ 2019-04-23 13:25 UTC (permalink / raw)
To: yocto; +Cc: Randy 'ayaka' Li, romain.perier
RK3368 is integrated with a qual-core Cortex-A53 processor
and separately NEON coprocessor.
RK3368 supports H.264 decoder up to 4Kx2K@30fps, H.265
decoder by 4Kx2K@60fps.
Signed-off-by: Randy 'ayaka' Li <ayaka@soulik.info>
---
conf/machine/include/rk3368.inc | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 conf/machine/include/rk3368.inc
diff --git a/conf/machine/include/rk3368.inc b/conf/machine/include/rk3368.inc
new file mode 100644
index 0000000..1738f74
--- /dev/null
+++ b/conf/machine/include/rk3368.inc
@@ -0,0 +1,17 @@
+# Copyright (C) 2019 SUMOMO Computer Assocation
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "rk3368"
+
+require conf/machine/include/tune-cortexa53.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "1500000;ttyS2"
+KERNEL_IMAGETYPE = "Image"
+KBUILD_DEFCONFIG = "defconfig"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH v2 08/10] conf/machine: add support for rk3308
2019-04-23 13:25 [meta-rockchip] [PATCH v2 00/10] add new SoCs supports Randy 'ayaka' Li
` (6 preceding siblings ...)
2019-04-23 13:25 ` [PATCH v2 07/10] conf/machine: add support for rk3368 Randy 'ayaka' Li
@ 2019-04-23 13:25 ` Randy 'ayaka' Li
2019-04-23 13:25 ` [PATCH v2 09/10] conf/machine: rk3288: adding some machine files Randy 'ayaka' Li
2019-04-23 13:25 ` [PATCH v2 10/10] conf: use rockchip kernel 4.4 for firefly release Randy 'ayaka' Li
9 siblings, 0 replies; 13+ messages in thread
From: Randy 'ayaka' Li @ 2019-04-23 13:25 UTC (permalink / raw)
To: yocto; +Cc: Randy 'ayaka' Li, romain.perier
RK3308 is a high-performance quad-core application processor
designed for intelligent voice interaction.
Signed-off-by: Randy 'ayaka' Li <ayaka@soulik.info>
---
conf/machine/include/rk3308.inc | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 conf/machine/include/rk3308.inc
diff --git a/conf/machine/include/rk3308.inc b/conf/machine/include/rk3308.inc
new file mode 100644
index 0000000..81e4def
--- /dev/null
+++ b/conf/machine/include/rk3308.inc
@@ -0,0 +1,17 @@
+# Copyright (C) SUMOMO Computer Assocation
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "rk3308"
+
+require conf/machine/include/tune-cortexa35.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "1500000;ttyS2"
+KERNEL_IMAGETYPE = "Image"
+KBUILD_DEFCONFIG = "defconfig"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH v2 09/10] conf/machine: rk3288: adding some machine files
2019-04-23 13:25 [meta-rockchip] [PATCH v2 00/10] add new SoCs supports Randy 'ayaka' Li
` (7 preceding siblings ...)
2019-04-23 13:25 ` [PATCH v2 08/10] conf/machine: add support for rk3308 Randy 'ayaka' Li
@ 2019-04-23 13:25 ` Randy 'ayaka' Li
2019-04-23 13:25 ` [PATCH v2 10/10] conf: use rockchip kernel 4.4 for firefly release Randy 'ayaka' Li
9 siblings, 0 replies; 13+ messages in thread
From: Randy 'ayaka' Li @ 2019-04-23 13:25 UTC (permalink / raw)
To: yocto; +Cc: Randy 'ayaka' Li, romain.perier
Evb-rk3288 is the offical evaluate board.
Fennec-rk3288 is a rk3288 based SBCs.
Signed-off-by: Randy 'ayaka' Li <ayaka@soulik.info>
---
conf/machine/evb-rk3288.conf | 10 ++++++++++
conf/machine/fennec-rk3288.conf | 10 ++++++++++
2 files changed, 20 insertions(+)
create mode 100644 conf/machine/evb-rk3288.conf
create mode 100644 conf/machine/fennec-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"
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH v2 10/10] conf: use rockchip kernel 4.4 for firefly release
2019-04-23 13:25 [meta-rockchip] [PATCH v2 00/10] add new SoCs supports Randy 'ayaka' Li
` (8 preceding siblings ...)
2019-04-23 13:25 ` [PATCH v2 09/10] conf/machine: rk3288: adding some machine files Randy 'ayaka' Li
@ 2019-04-23 13:25 ` Randy 'ayaka' Li
9 siblings, 0 replies; 13+ messages in thread
From: Randy 'ayaka' Li @ 2019-04-23 13:25 UTC (permalink / raw)
To: yocto; +Cc: ayaka, romain.perier
From: ayaka <ayaka@soulik.info>
Signed-off-by: ayaka <ayaka@soulik.info>
---
conf/machine/firefly-rk3288.conf | 2 ++
1 file changed, 2 insertions(+)
diff --git a/conf/machine/firefly-rk3288.conf b/conf/machine/firefly-rk3288.conf
index 0fbac06..46a596b 100644
--- a/conf/machine/firefly-rk3288.conf
+++ b/conf/machine/firefly-rk3288.conf
@@ -8,5 +8,7 @@
require conf/machine/include/rk3288.inc
+PREFERRED_PROVIDER_virtual/kernel = "linux-rockchip"
+
KERNEL_DEVICETREE = "rk3288-firefly.dtb"
UBOOT_MACHINE = "firefly-rk3288_defconfig"
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread