[5/5] conf/machine: add support for rv1108

Submitted by ayaka on April 21, 2019, 3:53 p.m. | Patch ID: 160564

Details

Message ID 20190421155339.6332-6-ayaka@soulik.info
State New
Headers show

Commit Message

ayaka April 21, 2019, 3:53 p.m.
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 | 12 ++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 conf/machine/evb-rv1108.conf
 create mode 100644 conf/machine/include/rv1108.inc

Patch hide | download patch | download mbox

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"

Comments

Trevor Woerner April 23, 2019, 8:11 a.m.
On Sun 2019-04-21 @ 11:53:39 PM, Randy 'ayaka' Li wrote:
> 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 | 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"

There is no "linux", maybe you meant "linux-stable"?

> +SERIAL_CONSOLES = "1500000;ttyS2"
> +KERNEL_IMAGETYPE = "zImage"
> +KBUILD_DEFCONFIG = "multi_v7_defconfig"
> -- 
> 2.20.1
>