Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 01D0DE009F3; Thu, 9 Feb 2017 20:32:22 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [211.150.99.135 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from regular1.263xmail.com (regular1.263xmail.com [211.150.99.135]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C0657E009CF for ; Thu, 9 Feb 2017 20:32:18 -0800 (PST) Received: from jacob2.chen?rock-chips.com (unknown [192.168.165.252]) by regular1.263xmail.com (Postfix) with ESMTP id 40FC71E00C; Fri, 10 Feb 2017 12:32:14 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from smtp.263.net (sg-smtp01.263.net [54.255.195.220]) by smtp.263.net (Postfix) with ESMTP id 6CCEE3DD; Fri, 10 Feb 2017 12:32:12 +0800 (CST) Received: from [172.20.10.10] (localhost.localdomain [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id B659EDF202; Fri, 10 Feb 2017 12:32:10 +0800 (CST) X-RL-SENDER: jacob2.chen@rock-chips.com X-FST-TO: eddie.cai@rock-chips.com X-SENDER-IP: 202.68.200.158 X-LOGIN-NAME: jacob2.chen@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-SENDER: jacob2.chen@rock-chips.com X-DNS-TYPE: 0 Received: from [172.20.10.10] (unknown [202.68.200.158]) by smtp.263.net (Postfix) whith ESMTP id 13772AD5EHQ; Fri, 10 Feb 2017 12:32:13 +0800 (CST) To: Romain Perier , Jacob Chen References: <1484820572-11891-1-git-send-email-jacob-chen@iotwrt.com> <1484820572-11891-6-git-send-email-jacob-chen@iotwrt.com> From: Jacob Chen Message-ID: <021abe93-01b9-cbd2-51d8-a537d377ec29@rock-chips.com> Date: Fri, 10 Feb 2017 12:32:03 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Cc: yocto@yoctoproject.org, eddie.cai@rock-chips.com Subject: Re: [PATCH 5/7] recipes-bsp: add u-boot-rockchip support X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2017 04:32:22 -0000 Content-Type: multipart/alternative; boundary="------------1A3854B52CAE5C552F855A88" --------------1A3854B52CAE5C552F855A88 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, Romain Perier wrote on 2017年01月27日 22:48: > Hi all, > > > 2017-01-19 11:09 GMT+01:00 Jacob Chen >: > > Rockchip next-dev U-boot is the next generation of rockchip > u-boot, will also be an upstream tracking branch. > At present, this branch is just a rebased upstream u-boot. > > Signed-off-by: Jacob Chen > > --- > recipes-bsp/u-boot/u-boot-rockchip_next.bb > | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 recipes-bsp/u-boot/u-boot-rockchip_next.bb > > > diff --git a/recipes-bsp/u-boot/u-boot-rockchip_next.bb > > b/recipes-bsp/u-boot/u-boot-rockchip_next.bb > > new file mode 100644 > index 0000000..30d16b0 > --- /dev/null > +++ b/recipes-bsp/u-boot/u-boot-rockchip_next.bb > > @@ -0,0 +1,17 @@ > +# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd > +# Released under the MIT license (see COPYING.MIT for the terms) > + > +require recipes-bsp/u-boot/u-boot.inc > + > +DESCRIPTION = "Rockchip next-dev U-Boot" > +LICENSE = "GPLv2+" > +LIC_FILES_CHKSUM = > "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" > +COMPATIBLE_MACHINE = "(rk3288)" > > > > So... in this case why not simply use u-boot mainline ? Most of > rk3288-based boards are very well supported with > http://git.denx.de/?p=u-boot/u-boot-rockchip.git .. > Do you need something specific that it is not supported yet by u-boot > mainline ? > In fact, no difference now, I will change SRC_URI to denx git. We are still exploring how to deal with the relationship between our lts branch and mainline branch. U-boot community can respond quickly, So unlike kernel, now we don't have something specific in this branch. > My philosophy is simple: When the SoC and the board is correctly > supported by a project on upstream, we use the mainline version of > this project (ex: the linux kernel, u-boot, etc). When that's not the > case, we can write a specific recipe for a vendor version. This is the > case for example for the kernel vendor "linux-rockchip" > (https://git.yoctoproject.org/cgit/cgit.cgi/meta-rockchip/tree/recipes-kernel/linux/linux-rockchip_3.0.bb?id=0f7f53c00e7787d5e4843752721a1690169f4ffd), > that's basically the kernel vendor 3.0.36 for the radxa rock here > because that's the kernel which supports the most features and I/O > (compared to the mainline kernel for this SoC or this board). > I agree, just I think media and graphics is very important features, especially for Rockchip SOC. I'd perfer to use version of project that have media and graphics support. > > Thanks, > Romain > --------------1A3854B52CAE5C552F855A88 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi,


Romain Perier wrote on 2017年01月27日 22:48:
Hi all,


2017-01-19 11:09 GMT+01:00 Jacob Chen <jacob-chen@iotwrt.com>:
Rockchip next-dev U-boot is the next generation of rockchip u-boot, will also be an upstream tracking branch.
At present, this branch is just a rebased upstream u-boot.

Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
---
 recipes-bsp/u-boot/u-boot-rockchip_next.bb | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-rockchip_next.bb

diff --git a/recipes-bsp/u-boot/u-boot-rockchip_next.bb b/recipes-bsp/u-boot/u-boot-rockchip_next.bb
new file mode 100644
index 0000000..30d16b0
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-rockchip_next.bb
@@ -0,0 +1,17 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+require recipes-bsp/u-boot/u-boot.inc
+
+DESCRIPTION = "Rockchip next-dev U-Boot"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
+COMPATIBLE_MACHINE = "(rk3288)"


So... in this case why not simply use u-boot mainline ? Most of rk3288-based boards are very well supported with http://git.denx.de/?p=u-boot/u-boot-rockchip.git ..
Do you need something specific that it is not supported yet by u-boot mainline ?


In fact, no difference now, I will change SRC_URI  to denx git.

We are still exploring how to deal with the relationship between our lts branch and mainline branch.
U-boot  community can respond quickly, So unlike kernel, now we don't have something specific in this branch.


My philosophy is simple:  When the SoC and the board is correctly supported by a project on upstream, we use the mainline version of this project (ex: the linux kernel, u-boot, etc). When that's not the case, we can write a specific recipe for a vendor version. This is the case for example for the kernel vendor "linux-rockchip" (https://git.yoctoproject.org/cgit/cgit.cgi/meta-rockchip/tree/recipes-kernel/linux/linux-rockchip_3.0.bb?id=0f7f53c00e7787d5e4843752721a1690169f4ffd), that's basically the kernel vendor 3.0.36 for the radxa rock here because that's the kernel which supports the most features and I/O (compared to the mainline kernel for this SoC or this board).


I agree, just I think media and graphics is  very important features, especially for Rockchip SOC.
I'd perfer to use version of project that have media and graphics support.


Thanks,
Romain
 


--------------1A3854B52CAE5C552F855A88--