All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Perier <romain.perier@gmail.com>
To: Jacob Chen <jacob-chen@iotwrt.com>
Cc: yocto@yoctoproject.org, Jacob Chen <jacob-chen@rock-chips.com>,
	eddie.cai@rock-chips.com
Subject: Re: [meta-rockchip][PATCH 2/7] machine: Add machine file for the rk3288 linux Boards
Date: Fri, 27 Jan 2017 15:37:15 +0100	[thread overview]
Message-ID: <CABgxDo+5x6-ByOUikkG45S6Yo5NO+=L4S3GRX7firgpMqQQiAA@mail.gmail.com> (raw)
In-Reply-To: <1484834687-15746-3-git-send-email-jacob-chen@iotwrt.com>

[-- Attachment #1: Type: text/plain, Size: 4406 bytes --]

Hey,

Could you:
- Make one patch per new machine file and not one patch for all new added
machine
- Add a clear @DESCRIPTION for each board, see an example here:
https://git.yoctoproject.org/cgit/cgit.cgi/meta-rockchip/tree/conf/machine/firefly-rk3288.conf
- Write a clear and an understandable commit message for your new patches

@Trevor: What do you think about this rk-linux.inc ? I don't like this,
either its name and what it contains.

That's it for now.
Thanks for your patches


2017-01-19 15:04 GMT+01:00 Jacob Chen <jacob-chen@iotwrt.com>:

> Evb-rk3288 is the offical evaluate board, add it to help myself develop.
>
> Fennec-rk3288 and Tinker-rk3288 is rk3288 based SBCs.
>     .
> Tinker Boards:
> http://www.cnx-software.com/2017/01/05/asus-tinker-board-
> is-a-raspberry-pi-3-alternative-based-on-rockchip-rk3288-processor/
>
> Signed-off-by: Jacob Chen <jacob-chen@rock-chips.com>
> ---
>  conf/machine/evb-rk3288.conf      | 12 ++++++++++++
>  conf/machine/fennec-rk3288.conf   | 12 ++++++++++++
>  conf/machine/include/rk-linux.inc | 20 ++++++++++++++++++++
>  conf/machine/tinker-rk3288.conf   | 13 +++++++++++++
>  4 files changed, 57 insertions(+)
>  create mode 100644 conf/machine/evb-rk3288.conf
>  create mode 100644 conf/machine/fennec-rk3288.conf
>  create mode 100644 conf/machine/include/rk-linux.inc
>  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..88a5f78
> --- /dev/null
> +++ b/conf/machine/evb-rk3288.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: EVB 3288
> +
> +include conf/machine/include/rk3288.inc
> +include conf/machine/include/rk-linux.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..a85045f
> --- /dev/null
> +++ b/conf/machine/fennec-rk3288.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: FENNEC RK3288
> +
> +include conf/machine/include/rk3288.inc
> +include conf/machine/include/rk-linux.inc
> +
> +KERNEL_DEVICETREE = "rk3288-fennec.dtb"
> +
> +UBOOT_MACHINE = "fennec-rk3288_defconfig"
> diff --git a/conf/machine/include/rk-linux.inc b/conf/machine/include/rk-
> linux.inc
> new file mode 100644
> index 0000000..6abaa0d
> --- /dev/null
> +++ b/conf/machine/include/rk-linux.inc
> @@ -0,0 +1,20 @@
> +# Rockchip BSP default settings
> +
> +PREFERRED_PROVIDER_virtual/egl = "mali-userspace"
> +PREFERRED_PROVIDER_virtual/libgles1 = "mali-userspace"
> +PREFERRED_PROVIDER_virtual/libgles2 = "mali-userspace"
> +PREFERRED_PROVIDER_virtual/libopencl = "mali-userspace"
> +
> +# Workaround: libmali.so provided by rk having no SONAME field in it
> +# so add it to fix rdepends problems
> +ASSUME_SHLIBS += "libEGL.so:mali-userspace"
> +ASSUME_SHLIBS += "libGLESv1_CM.so:mali-userspace"
> +ASSUME_SHLIBS += "libGLESv2.so:mali-userspace"
> +ASSUME_SHLIBS += "libOpenCL.so:mali-userspace"
> +ASSUME_SHLIBS += "libgbm.so:mali-userspace"
> +ASSUME_SHLIBS += "libwayland-egl.so:mali-userspace"
> +
> +PREFERRED_PROVIDER_virtual/kernel = "linux-rockchip"
> +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-rockchip"
> +
> +IMAGE_CLASSES += "rockchip-next-image"
> diff --git a/conf/machine/tinker-rk3288.conf b/conf/machine/tinker-rk3288.
> conf
> new file mode 100644
> index 0000000..0464133
> --- /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
> +include conf/machine/include/rk-linux.inc
> +
> +KERNEL_DEVICETREE = "rk3288-miniarm.dtb"
> +
> +UBOOT_MACHINE = "miniarm-rk3288_defconfig"
> --
> 2.7.4
>
>

[-- Attachment #2: Type: text/html, Size: 5782 bytes --]

  reply	other threads:[~2017-01-27 14:37 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-19 14:04 [meta-rockchip][PATCH 0/7] introduce rockchip offical linux support to meta-rockchip Jacob Chen
2017-01-19 14:04 ` [meta-rockchip][PATCH 1/7] recipes-kernel: linux-rockchip: Add new recipe for 4.4 Jacob Chen
2017-01-19 14:04 ` [meta-rockchip][PATCH 2/7] machine: Add machine file for the rk3288 linux Boards Jacob Chen
2017-01-27 14:37   ` Romain Perier [this message]
2017-01-27 19:41     ` Trevor Woerner
     [not found]       ` <588ba270.4c18370a.3b01f.9247.GMRIR@mx.google.com>
2017-01-27 19:46         ` Delivery Status Notification (Failure) Trevor Woerner
2017-01-27 19:54       ` [meta-rockchip][PATCH 2/7] machine: Add machine file for the rk3288 linux Boards Khem Raj
2017-02-09  6:49       ` Jacob Chen
2017-02-09  8:20         ` Eddie Cai
2017-02-09  9:18           ` Jacob Chen
2017-02-09  9:48             ` Eddie Cai
2017-02-18 12:32           ` Jacob Chen
2017-02-03 15:48     ` jacob-chen
2017-02-03 15:52     ` Jacob Chen
2017-01-19 14:04 ` [meta-rockchip][PATCH 3/7] machine: firefly: use linux-rockchip by default Jacob Chen
2017-01-19 14:04 ` [meta-rockchip][PATCH 4/7] recipes-graphics: Add support for mali-userspace Jacob Chen
2017-01-27 14:41   ` Romain Perier
2017-01-28  1:44     ` Trevor Woerner
2017-02-09  7:23       ` Jacob Chen
2017-03-06 20:18         ` Trevor Woerner
2017-01-19 14:04 ` [meta-rockchip][PATCH 5/7] recipes-bsp: add u-boot-rockchip support Jacob Chen
2017-01-19 14:04 ` [meta-rockchip][PATCH 6/7] rk3288.inc: add some variables Jacob Chen
2017-01-27 15:01   ` Romain Perier
2017-01-27 15:02     ` Romain Perier
2017-01-27 20:24     ` Trevor Woerner
2017-01-19 14:04 ` [meta-rockchip][PATCH 7/7] rockchip-next-image: introduce image for rockchip next-dev u-boot Jacob Chen
2017-01-19 15:53 ` [meta-rockchip][PATCH 0/7] introduce rockchip offical linux support to meta-rockchip Eddie Cai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABgxDo+5x6-ByOUikkG45S6Yo5NO+=L4S3GRX7firgpMqQQiAA@mail.gmail.com' \
    --to=romain.perier@gmail.com \
    --cc=eddie.cai@rock-chips.com \
    --cc=jacob-chen@iotwrt.com \
    --cc=jacob-chen@rock-chips.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.