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

Submitted by ayaka on April 24, 2019, 2:59 p.m. | Patch ID: 160674

Details

Message ID 20190424145918.26040-4-ayaka@soulik.info
State New
Headers show

Commit Message

ayaka April 24, 2019, 2:59 p.m.
From: Randy Li <ayaka@soulik.info>

Signed-off-by: Randy Li <ayaka@soulik.info>
---
 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

Patch hide | download patch | download mbox

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"

Comments

Trevor Woerner May 4, 2019, 3:06 a.m.
On Wed 2019-04-24 @ 10:59:18 PM, Randy 'ayaka' Li wrote:
> From: Randy Li <ayaka@soulik.info>
> 
> Signed-off-by: Randy Li <ayaka@soulik.info>
> ---
>  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 May 4, 2019, 10:43 a.m.
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@soulik.info>
>>
>> Signed-off-by: Randy Li <ayaka@soulik.info>
>> ---
>>   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 May 6, 2019, 1:31 p.m.
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@soulik.info>
> > > 
> > > Signed-off-by: Randy Li <ayaka@soulik.info>
> > > ---
> > >   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 May 8, 2019, 4:19 p.m.
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@soulik.info>
>>>>
>>>> Signed-off-by: Randy Li <ayaka@soulik.info>
>>>> ---
>>>>    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 May 8, 2019, 5:30 p.m.
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@soulik.info> 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@soulik.info>
> >>>>
> >>>> Signed-off-by: Randy Li <ayaka@soulik.info>
> >>>> ---
> >>>>    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.
>