Re: [yocto] [PATCH 2/5] conf/machine: add rk3399 support
This seems more a bsp layer thing may be meta-rockchip is better for this or meta-firefly On Sun, Apr 21, 2019 at 10:06 AM 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 > --- > conf/machine/excavator-rk3399.conf | 10 ++ > conf/machine/firefly-rk3399.conf | 15 +++ > conf/machine/include/rk3399.inc| 17 + > 3 files changed, 42 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 000..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/firefly-rk3399.conf > b/conf/machine/firefly-rk3399.conf > new file mode 100644 > index 000..fefafed > --- /dev/null > +++ b/conf/machine/firefly-rk3399.conf > @@ -0,0 +1,15 @@ > +# 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 > + > +PREFERRED_PROVIDER_virtual/kernel = "linux-rockchip" > +KERNEL_DEVICETREE = "rockchip/rk3399-firefly-linux.dtb" > +UBOOT_MACHINE = "evb-rk3399_defconfig" > + > +GPTIMG_APPEND = "console=ttyS2,150n8 rw root=PARTUUID=614e- > rootfstype=ext4 init=/sbin/init" > diff --git a/conf/machine/include/rk3399.inc > b/conf/machine/include/rk3399.inc > new file mode 100644 > index 000..6e2af57 > --- /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 > + > +PREFERRED_PROVIDER_virtual/kernel = "linux" > +SERIAL_CONSOLES = "150;ttyS2" > +KERNEL_IMAGETYPE = "Image" > +#KBUILD_DEFCONFIG = "multi_v8_defconfig" > + > +PREFERRED_PROVIDER_virtual/bootloader ?= "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 > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 2/5] conf/machine: add rk3399 support
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 --- conf/machine/excavator-rk3399.conf | 10 ++ conf/machine/firefly-rk3399.conf | 15 +++ conf/machine/include/rk3399.inc| 17 + 3 files changed, 42 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 000..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/firefly-rk3399.conf b/conf/machine/firefly-rk3399.conf new file mode 100644 index 000..fefafed --- /dev/null +++ b/conf/machine/firefly-rk3399.conf @@ -0,0 +1,15 @@ +# 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 + +PREFERRED_PROVIDER_virtual/kernel = "linux-rockchip" +KERNEL_DEVICETREE = "rockchip/rk3399-firefly-linux.dtb" +UBOOT_MACHINE = "evb-rk3399_defconfig" + +GPTIMG_APPEND = "console=ttyS2,150n8 rw root=PARTUUID=614e- rootfstype=ext4 init=/sbin/init" diff --git a/conf/machine/include/rk3399.inc b/conf/machine/include/rk3399.inc new file mode 100644 index 000..6e2af57 --- /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 + +PREFERRED_PROVIDER_virtual/kernel = "linux" +SERIAL_CONSOLES = "150;ttyS2" +KERNEL_IMAGETYPE = "Image" +#KBUILD_DEFCONFIG = "multi_v8_defconfig" + +PREFERRED_PROVIDER_virtual/bootloader ?= "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
[yocto] [PATCH 1/5] conf/machine: rk3288: Add some machine files
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. Signed-off-by: Jacob Chen Signed-off-by: Randy 'ayaka' Li --- conf/machine/evb-rk3288.conf| 10 ++ conf/machine/fennec-rk3288.conf | 10 ++ conf/machine/include/rk3288.inc | 5 + conf/machine/tinker-rk3288.conf | 2 ++ 4 files changed, 27 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 000..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 000..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/include/rk3288.inc b/conf/machine/include/rk3288.inc index 0528e8a..73b39fb 100644 --- a/conf/machine/include/rk3288.inc +++ b/conf/machine/include/rk3288.inc @@ -8,9 +8,14 @@ require conf/machine/include/soc-family.inc require conf/machine/include/rockchip-defaults.inc SERIAL_CONSOLES = "115200;ttyS2" +SPL_BINARY = "u-boot-spl-dtb.bin" +KERNEL_IMAGETYPE = "zImage" +KBUILD_DEFCONFIG = "multi_v7_defconfig" PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot" SPL_BINARY ?= "u-boot-spl-dtb.bin" IMAGE_FSTYPES = "rockchip-gpt-img" IMAGE_CLASSES += "rockchip-gpt-img" + +APPEND = "console=ttyS2,115200n8 rw root=/dev/mmcblk2p7 rootfstype=ext4 init=/sbin/init" diff --git a/conf/machine/tinker-rk3288.conf b/conf/machine/tinker-rk3288.conf index 294bdc7..cf793cd 100644 --- a/conf/machine/tinker-rk3288.conf +++ b/conf/machine/tinker-rk3288.conf @@ -9,3 +9,5 @@ require conf/machine/include/rk3288.inc KERNEL_DEVICETREE = "rk3288-tinker.dtb" UBOOT_MACHINE = "tinker-rk3288_defconfig" + +GPTIMG_APPEND = "console=tty1 console=ttyS2,115200n8 rw root=/dev/mmcblk0p7 rootfstype=ext4 init=/sbin/init" -- 2.20.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-rockchip] [PATCH 0/5] add new SoCs support
After the FOSDEM, my patches for ARMv8 cortex tuning are finally merged. So I think it is complete the lose piece at meta-rockchip. Since the big-litte is not supported by OE now, I make all the chips' configure to use the big core tuning. Randy 'ayaka' Li (5): conf/machine: rk3288: Add some machine files conf/machine: add rk3399 support conf/machine: add support for rk3328 conf/machine: add support for rk3036 conf/machine: add support for rv1108 conf/machine/evb-rk3288.conf | 10 ++ conf/machine/evb-rk3328.conf | 12 conf/machine/evb-rv1108.conf | 10 ++ conf/machine/excavator-rk3399.conf | 10 ++ conf/machine/fennec-rk3288.conf| 10 ++ conf/machine/firefly-rk3399.conf | 15 +++ conf/machine/include/rk3036.inc| 19 +++ conf/machine/include/rk3288.inc| 5 + conf/machine/include/rk3328.inc| 18 ++ conf/machine/include/rk3399.inc| 17 + conf/machine/include/rv1108.inc| 12 conf/machine/kylin-rk3036.conf | 12 conf/machine/tinker-rk3288.conf| 2 ++ 13 files changed, 152 insertions(+) create mode 100644 conf/machine/evb-rk3288.conf create mode 100644 conf/machine/evb-rk3328.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/firefly-rk3399.conf create mode 100644 conf/machine/include/rk3036.inc create mode 100644 conf/machine/include/rk3328.inc create mode 100644 conf/machine/include/rk3399.inc create mode 100644 conf/machine/include/rv1108.inc create mode 100644 conf/machine/kylin-rk3036.conf -- 2.20.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 3/5] conf/machine: add support for rk3328
The RK3328 is a SoC with Quad-core Cortex-A53 for Smart OTT/IPTV. Signed-off-by: Randy 'ayaka' Li --- conf/machine/evb-rk3328.conf| 12 conf/machine/include/rk3328.inc | 18 ++ 2 files changed, 30 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 000..67d2083 --- /dev/null +++ b/conf/machine/evb-rk3328.conf @@ -0,0 +1,12 @@ +# 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" + +PREFERRED_PROVIDER_virtual/kernel = "linux-rockchip" +GPTIMG_APPEND = "console=ttyS20,150n8 rw root=/dev/mmcblk2p5 rootfstype=ext4 init=/sbin/init" diff --git a/conf/machine/include/rk3328.inc b/conf/machine/include/rk3328.inc new file mode 100644 index 000..8dc018e --- /dev/null +++ b/conf/machine/include/rk3328.inc @@ -0,0 +1,18 @@ +# Copyright (C) 2017 Randy Li +# 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 + +PREFERRED_PROVIDER_virtual/kernel = "linux" +SERIAL_CONSOLES = "150;ttyS2" +KERNEL_IMAGETYPE = "Image" +KBUILD_DEFCONFIG = "multi_v8_defconfig" + +PREFERRED_PROVIDER_virtual/bootloader ?= "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
[yocto] [PATCH 5/5] conf/machine: add support for rv1108
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 --- 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 000..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 000..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 = "150;ttyS2" +KERNEL_IMAGETYPE = "zImage" +KBUILD_DEFCONFIG = "multi_v7_defconfig" -- 2.20.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 4/5] conf/machine: add support for rk3036
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 Signed-off-by: Randy Li --- conf/machine/include/rk3036.inc | 19 +++ conf/machine/kylin-rk3036.conf | 12 2 files changed, 31 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 000..5a9c55e --- /dev/null +++ b/conf/machine/include/rk3036.inc @@ -0,0 +1,19 @@ +# 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 = "rockchip-gpt-img" +IMAGE_CLASSES = "rockchip-gpt-img" + +GPTIMG_APPEND = "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 000..9e42e87 --- /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 + +PREFERRED_PROVIDER_virtual/kernel = "linux-rockchip" + +KERNEL_DEVICETREE = "rk3036-kylin.dtb" +UBOOT_MACHINE = "kylin-rk3036_defconfig" -- 2.20.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto