[PATCH 3/3] recipes-bsp/u-boot: update to the latest version


Randy 'ayaka' Li <ayaka@...>
 

From: Randy Li <ayaka@...>

Signed-off-by: Randy Li <ayaka@...>
---
recipes-bsp/u-boot/u-boot-rockchip_git.bb | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 recipes-bsp/u-boot/u-boot-rockchip_git.bb

diff --git a/recipes-bsp/u-boot/u-boot-rockchip_git.bb b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
new file mode 100644
index 0000000..aa4b84d
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
@@ -0,0 +1,18 @@
+# Copyright (C) 2019 SUMOMO Computer Assocation
+# Released under the MIT license (see COPYING.MIT for the terms)
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+include u-boot-rockchip.inc
+
+DESCRIPTION = "Rockchip U-Boot"
+
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
+
+SRC_URI = " \
+ git://github.com/rockchip-linux/u-boot.git;branch=release; \
+ file://binutils-2.28-ld-fix.patch \
+ file://gcc7_fixup.patch \
+ "
+
+S = "${WORKDIR}/git"
+PV = "v2019.01"
--
2.20.1


Trevor Woerner
 

On Wed 2019-04-24 @ 10:59:18 PM, Randy 'ayaka' Li wrote:
From: Randy Li <ayaka@...>

Signed-off-by: Randy Li <ayaka@...>
---
recipes-bsp/u-boot/u-boot-rockchip_git.bb | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 recipes-bsp/u-boot/u-boot-rockchip_git.bb

diff --git a/recipes-bsp/u-boot/u-boot-rockchip_git.bb b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
new file mode 100644
index 0000000..aa4b84d
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
@@ -0,0 +1,18 @@
+# Copyright (C) 2019 SUMOMO Computer Assocation
+# Released under the MIT license (see COPYING.MIT for the terms)
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+include u-boot-rockchip.inc
+
+DESCRIPTION = "Rockchip U-Boot"
+
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
+
+SRC_URI = " \
+ git://github.com/rockchip-linux/u-boot.git;branch=release; \
+ file://binutils-2.28-ld-fix.patch \
+ file://gcc7_fixup.patch \
+ "
+
+S = "${WORKDIR}/git"
+PV = "v2019.01"
This doesn't even get past the fetching stage:

WARNING: u-boot-rockchip-1_v2019.01-r0 do_fetch: Failed to fetch URL git://github.com/rockchip-linux/u-boot.git;branch=release;, attempting MIRRORS if available
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Fetcher failure: Unable to find revision 3c99166441bf3ea325af2da83cfe65430b49c066 in branch release even from upstream
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Fetcher failure for URL: 'git://github.com/rockchip-linux/u-boot.git;branch=release;'. Unable to fetch URL from any source.
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch:
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Function failed: base_do_fetch
ERROR: Task (/opt/oe/configs/z/build-master/meta-rockchip/layers/meta-rockchip/recipes-bsp/u-boot/u-boot-rockchip_git.bb:do_fetch) failed with exit code '1'


ayaka <ayaka@...>
 

On 5/4/19 11:06 AM, Trevor Woerner wrote:
On Wed 2019-04-24 @ 10:59:18 PM, Randy 'ayaka' Li wrote:
From: Randy Li <ayaka@...>

Signed-off-by: Randy Li <ayaka@...>
---
recipes-bsp/u-boot/u-boot-rockchip_git.bb | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 recipes-bsp/u-boot/u-boot-rockchip_git.bb

diff --git a/recipes-bsp/u-boot/u-boot-rockchip_git.bb b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
new file mode 100644
index 0000000..aa4b84d
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
@@ -0,0 +1,18 @@
+# Copyright (C) 2019 SUMOMO Computer Assocation
+# Released under the MIT license (see COPYING.MIT for the terms)
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+include u-boot-rockchip.inc
+
+DESCRIPTION = "Rockchip U-Boot"
+
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
+
+SRC_URI = " \
+ git://github.com/rockchip-linux/u-boot.git;branch=release; \
+ file://binutils-2.28-ld-fix.patch \
+ file://gcc7_fixup.patch \
+ "
+
+S = "${WORKDIR}/git"
+PV = "v2019.01"
This doesn't even get past the fetching stage:
I am sorry, I forget that ssh git protocol only work for those users who uploaded their key to the github, I would change it back to https.

WARNING: u-boot-rockchip-1_v2019.01-r0 do_fetch: Failed to fetch URL git://github.com/rockchip-linux/u-boot.git;branch=release;, attempting MIRRORS if available
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Fetcher failure: Unable to find revision 3c99166441bf3ea325af2da83cfe65430b49c066 in branch release even from upstream
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Fetcher failure for URL: 'git://github.com/rockchip-linux/u-boot.git;branch=release;'. Unable to fetch URL from any source.
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch:
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Function failed: base_do_fetch
ERROR: Task (/opt/oe/configs/z/build-master/meta-rockchip/layers/meta-rockchip/recipes-bsp/u-boot/u-boot-rockchip_git.bb:do_fetch) failed with exit code '1'


Trevor Woerner
 

On Sat 2019-05-04 @ 06:43:34 PM, ayaka wrote:

On 5/4/19 11:06 AM, Trevor Woerner wrote:
On Wed 2019-04-24 @ 10:59:18 PM, Randy 'ayaka' Li wrote:
From: Randy Li <ayaka@...>

Signed-off-by: Randy Li <ayaka@...>
---
recipes-bsp/u-boot/u-boot-rockchip_git.bb | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 recipes-bsp/u-boot/u-boot-rockchip_git.bb

diff --git a/recipes-bsp/u-boot/u-boot-rockchip_git.bb b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
new file mode 100644
index 0000000..aa4b84d
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
@@ -0,0 +1,18 @@
+# Copyright (C) 2019 SUMOMO Computer Assocation
+# Released under the MIT license (see COPYING.MIT for the terms)
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+include u-boot-rockchip.inc
+
+DESCRIPTION = "Rockchip U-Boot"
+
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
+
+SRC_URI = " \
+ git://github.com/rockchip-linux/u-boot.git;branch=release; \
+ file://binutils-2.28-ld-fix.patch \
+ file://gcc7_fixup.patch \
+ "
+
+S = "${WORKDIR}/git"
+PV = "v2019.01"
This doesn't even get past the fetching stage:
I am sorry, I forget that ssh git protocol only work for those users who
uploaded their key to the github, I would change it back to https.

WARNING: u-boot-rockchip-1_v2019.01-r0 do_fetch: Failed to fetch URL git://github.com/rockchip-linux/u-boot.git;branch=release;, attempting MIRRORS if available
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Fetcher failure: Unable to find revision 3c99166441bf3ea325af2da83cfe65430b49c066 in branch release even from upstream
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Fetcher failure for URL: 'git://github.com/rockchip-linux/u-boot.git;branch=release;'. Unable to fetch URL from any source.
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch:
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Function failed: base_do_fetch
ERROR: Task (/opt/oe/configs/z/build-master/meta-rockchip/layers/meta-rockchip/recipes-bsp/u-boot/u-boot-rockchip_git.bb:do_fetch) failed with exit code '1'
The problem is that it's trying to fetch commit 3c9916 which doesn't exist on
github.com/rockchip-linux/u-boot.git. That revision is on upstream U-Boot.


ayaka <ayaka@...>
 

On 5/6/19 9:31 PM, Trevor Woerner wrote:
On Sat 2019-05-04 @ 06:43:34 PM, ayaka wrote:
On 5/4/19 11:06 AM, Trevor Woerner wrote:
On Wed 2019-04-24 @ 10:59:18 PM, Randy 'ayaka' Li wrote:
From: Randy Li <ayaka@...>

Signed-off-by: Randy Li <ayaka@...>
---
recipes-bsp/u-boot/u-boot-rockchip_git.bb | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 recipes-bsp/u-boot/u-boot-rockchip_git.bb

diff --git a/recipes-bsp/u-boot/u-boot-rockchip_git.bb b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
new file mode 100644
index 0000000..aa4b84d
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
@@ -0,0 +1,18 @@
+# Copyright (C) 2019 SUMOMO Computer Assocation
+# Released under the MIT license (see COPYING.MIT for the terms)
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+include u-boot-rockchip.inc
+
+DESCRIPTION = "Rockchip U-Boot"
+
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
+
+SRC_URI = " \
+ git://github.com/rockchip-linux/u-boot.git;branch=release; \
+ file://binutils-2.28-ld-fix.patch \
+ file://gcc7_fixup.patch \
+ "
+
+S = "${WORKDIR}/git"
+PV = "v2019.01"
This doesn't even get past the fetching stage:
I am sorry, I forget that ssh git protocol only work for those users who
uploaded their key to the github, I would change it back to https.
WARNING: u-boot-rockchip-1_v2019.01-r0 do_fetch: Failed to fetch URL git://github.com/rockchip-linux/u-boot.git;branch=release;, attempting MIRRORS if available
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Fetcher failure: Unable to find revision 3c99166441bf3ea325af2da83cfe65430b49c066 in branch release even from upstream
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Fetcher failure for URL: 'git://github.com/rockchip-linux/u-boot.git;branch=release;'. Unable to fetch URL from any source.
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch:
ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Function failed: base_do_fetch
ERROR: Task (/opt/oe/configs/z/build-master/meta-rockchip/layers/meta-rockchip/recipes-bsp/u-boot/u-boot-rockchip_git.bb:do_fetch) failed with exit code '1'
The problem is that it's trying to fetch commit 3c9916 which doesn't exist on
github.com/rockchip-linux/u-boot.git. That revision is on upstream U-Boot.
How comes? I didn't write any commit id there, it is based on the branch at all.


Trevor Woerner
 

a previous patch of yours did a:
    require recipes-bsp/u-boot/u-boot-common.inc
which defines this SRCREV

my subtle point being: I don't get the impression you're testing your patches, or at least not testing them correctly.

the fact you're CCing Romain suggests your either using a very old branch of https://git.yoctoproject.org/cgit/cgit.cgi/meta-rockchip/ or that you're submitting patches to me for https://github.com/rockchip-linux/meta-rockchip ?
Unfortunately for me, when https://github.com/rockchip-linux/meta-rockchip did a clone of https://git.yoctoproject.org/cgit/cgit.cgi/meta-rockchip/, they left my and Romain's names as maintainers in the README (along with instructions for github)


On Wed, May 8, 2019 at 12:19 PM ayaka <ayaka@...> wrote:

On 5/6/19 9:31 PM, Trevor Woerner wrote:
> On Sat 2019-05-04 @ 06:43:34 PM, ayaka wrote:
>> On 5/4/19 11:06 AM, Trevor Woerner wrote:
>>> On Wed 2019-04-24 @ 10:59:18 PM, Randy 'ayaka' Li wrote:
>>>> From: Randy Li <ayaka@...>
>>>>
>>>> Signed-off-by: Randy Li <ayaka@...>
>>>> ---
>>>>    recipes-bsp/u-boot/u-boot-rockchip_git.bb | 18 ++++++++++++++++++
>>>>    1 file changed, 18 insertions(+)
>>>>    create mode 100644 recipes-bsp/u-boot/u-boot-rockchip_git.bb
>>>>
>>>> diff --git a/recipes-bsp/u-boot/u-boot-rockchip_git.bb b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
>>>> new file mode 100644
>>>> index 0000000..aa4b84d
>>>> --- /dev/null
>>>> +++ b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
>>>> @@ -0,0 +1,18 @@
>>>> +# Copyright (C) 2019 SUMOMO Computer Assocation
>>>> +# Released under the MIT license (see COPYING.MIT for the terms)
>>>> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>>> +
>>>> +include u-boot-rockchip.inc
>>>> +
>>>> +DESCRIPTION = "Rockchip U-Boot"
>>>> +
>>>> +LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
>>>> +
>>>> +SRC_URI = " \
>>>> +  git://github.com/rockchip-linux/u-boot.git;branch=release; \
>>>> +  file://binutils-2.28-ld-fix.patch \
>>>> +  file://gcc7_fixup.patch \
>>>> +  "
>>>> +
>>>> +S = "${WORKDIR}/git"
>>>> +PV = "v2019.01"
>>> This doesn't even get past the fetching stage:
>> I am sorry, I forget that ssh git protocol only work for those users who
>> uploaded their key to the github, I would change it back to https.
>>>     WARNING: u-boot-rockchip-1_v2019.01-r0 do_fetch: Failed to fetch URL git://github.com/rockchip-linux/u-boot.git;branch=release;, attempting MIRRORS if available
>>>     ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Fetcher failure: Unable to find revision 3c99166441bf3ea325af2da83cfe65430b49c066 in branch release even from upstream
>>>     ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Fetcher failure for URL: 'git://github.com/rockchip-linux/u-boot.git;branch=release;'. Unable to fetch URL from any source.
>>>     ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch:
>>>     ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Function failed: base_do_fetch
>>>     ERROR: Task (/opt/oe/configs/z/build-master/meta-rockchip/layers/meta-rockchip/recipes-bsp/u-boot/u-boot-rockchip_git.bb:do_fetch) failed with exit code '1'
> The problem is that it's trying to fetch commit 3c9916 which doesn't exist on
> github.com/rockchip-linux/u-boot.git. That revision is on upstream U-Boot.
How comes? I didn't write any commit id there, it is based on the branch
at all.


ayaka <ayaka@...>
 

On 09/05/2019 01:30, Trevor Woerner wrote:
a previous patch of yours did a:
    require recipes-bsp/u-boot/u-boot-common.inc
which defines this SRCREV

my subtle point being: I don't get the impression you're testing your patches, or at least not testing them correctly.
I did the test before but I forget to remove the variables in local.conf

Anyway I will start a clean build this time.

Now I met a problem with new gcc 9 on the latest oe, I will fix them then flush new patches later.


the fact you're CCing Romain suggests your either using a very old branch of https://git.yoctoproject.org/cgit/cgit.cgi/meta-rockchip/ or that you're submitting patches to me for https://github.com/rockchip-linux/meta-rockchip ?
Unfortunately for me, when https://github.com/rockchip-linux/meta-rockchip did a clone of https://git.yoctoproject.org/cgit/cgit.cgi/meta-rockchip/, they left my and Romain's names as maintainers in the README (along with instructions for github)

On Wed, May 8, 2019 at 12:19 PM ayaka <ayaka@... <mailto:ayaka@...>> wrote:


On 5/6/19 9:31 PM, Trevor Woerner wrote:
> On Sat 2019-05-04 @ 06:43:34 PM, ayaka wrote:
>> On 5/4/19 11:06 AM, Trevor Woerner wrote:
>>> On Wed 2019-04-24 @ 10:59:18 PM, Randy 'ayaka' Li wrote:
>>>> From: Randy Li <ayaka@... <mailto:ayaka@...>>
>>>>
>>>> Signed-off-by: Randy Li <ayaka@...
<mailto:ayaka@...>>
>>>> ---
>>>>    recipes-bsp/u-boot/u-boot-rockchip_git.bb
<http://u-boot-rockchip_git.bb> | 18 ++++++++++++++++++
>>>>    1 file changed, 18 insertions(+)
>>>>    create mode 100644
recipes-bsp/u-boot/u-boot-rockchip_git.bb
<http://u-boot-rockchip_git.bb>
>>>>
>>>> diff --git a/recipes-bsp/u-boot/u-boot-rockchip_git.bb
<http://u-boot-rockchip_git.bb>
b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
<http://u-boot-rockchip_git.bb>
>>>> new file mode 100644
>>>> index 0000000..aa4b84d
>>>> --- /dev/null
>>>> +++ b/recipes-bsp/u-boot/u-boot-rockchip_git.bb
<http://u-boot-rockchip_git.bb>
>>>> @@ -0,0 +1,18 @@
>>>> +# Copyright (C) 2019 SUMOMO Computer Assocation
>>>> +# Released under the MIT license (see COPYING.MIT for the terms)
>>>> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>>> +
>>>> +include u-boot-rockchip.inc
>>>> +
>>>> +DESCRIPTION = "Rockchip U-Boot"
>>>> +
>>>> +LIC_FILES_CHKSUM =
"file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
>>>> +
>>>> +SRC_URI = " \
>>>> +  git://github.com/rockchip-linux/u-boot.git;branch=release
<http://github.com/rockchip-linux/u-boot.git;branch=release>; \
>>>> +  file://binutils-2.28-ld-fix.patch \
>>>> +  file://gcc7_fixup.patch \
>>>> +  "
>>>> +
>>>> +S = "${WORKDIR}/git"
>>>> +PV = "v2019.01"
>>> This doesn't even get past the fetching stage:
>> I am sorry, I forget that ssh git protocol only work for those
users who
>> uploaded their key to the github, I would change it back to https.
>>>     WARNING: u-boot-rockchip-1_v2019.01-r0 do_fetch: Failed to
fetch URL
git://github.com/rockchip-linux/u-boot.git;branch=release
<http://github.com/rockchip-linux/u-boot.git;branch=release>;,
attempting MIRRORS if available
>>>     ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Fetcher
failure: Unable to find revision
3c99166441bf3ea325af2da83cfe65430b49c066 in branch release even
from upstream
>>>     ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Fetcher
failure for URL:
'git://github.com/rockchip-linux/u-boot.git;branch=release;
<http://github.com/rockchip-linux/u-boot.git;branch=release;>'.
Unable to fetch URL from any source.
>>>     ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch:
>>>     ERROR: u-boot-rockchip-1_v2019.01-r0 do_fetch: Function
failed: base_do_fetch
>>>     ERROR: Task
(/opt/oe/configs/z/build-master/meta-rockchip/layers/meta-rockchip/recipes-bsp/u-boot/u-boot-rockchip_git.bb:do_fetch)
failed with exit code '1'
> The problem is that it's trying to fetch commit 3c9916 which
doesn't exist on
> github.com/rockchip-linux/u-boot.git
<http://github.com/rockchip-linux/u-boot.git>. That revision is on
upstream U-Boot.
How comes? I didn't write any commit id there, it is based on the
branch
at all.