Skip to contentSkip to conversation

u-boot binary for daisy

PATCH New Ilya Smelykh 3 participants 8 messages Jul 1, 2014 – Jul 2, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

I'm using sabrelite and I've found that there is no u-boot binary since
some time in my deploy image directory building it for imx6qsabrelite and nitrogen6x machine.

I've not found any luck to build u-boot-boundary or u-boot-imx recipe for
master or daisy branch, u-boot-boundary recipe has branch which doesn't exists in daisy and master,
u-boot-imx fails to build because of error described here
https://community.freescale.com/thread/319716.

Is it well known bug or I missing something?

Signature · 2 lines
Cheers,
Ilya.
#1 lore raw

Hello Ilya,

Quoted 6 lines · Ilya Smelykh

Hi,

I'm using sabrelite and I've found that there is no u-boot binary since
some time in my deploy image directory building it for imx6qsabrelite and nitrogen6x machine.

Quoted 8 lines

I've not found any luck to build u-boot-boundary or u-boot-imx recipe
for master or daisy branch, u-boot-boundary recipe has branch which doesn't exists in daisy and master,
u-boot-imx fails to build because of error described
here https://community.freescale.com/thread/319716.

Is it well known bug or I missing something?

You should get a binary in tmp/deploy/nitrogen6x/:

~/yocto$ ls build-nitrogen6x/tmp/deploy/images/nitrogen6x/u-boot* build-nitrogen6x/tmp/deploy/images/nitrogen6x/u-boot.imx build-nitrogen6x/tmp/deploy/images/nitrogen6x/u-boot-nitrogen6x.imx build-nitrogen6x/tmp/deploy/images/nitrogen6x/u-boot-nitrogen6x-v2014.04+gitAUTOINC+6d00ef4bba-r0.imx

Note that 6x_upgrade and u-boot.imx aren't copied to the SD card by default, since you need to be careful with this if you're running something other than a Quad-Core/1GiB configuration (the only SABRE Lite option, and the most popular Nitrogen6x option).

Details of various images are here:
http://boundarydevices.com/u-boot-updates-for-i-mx6-single-core

Also, unlike other machines, our boards don't require U-Boot to be on the SD card.

Regards,

Eric

#2 lore raw

Hi Eric,

2014-07-02 6:19 GMT+07:00 Eric Nelson <[email protected]>:

Quoted 35 lines

Hello Ilya,

Quoted 6 lines · Ilya Smelykh

Hi,

I'm using sabrelite and I've found that there is no u-boot binary since
some time in my deploy image directory building it for imx6qsabrelite and nitrogen6x machine.

Quoted 8 lines

I've not found any luck to build u-boot-boundary or u-boot-imx recipe
for master or daisy branch, u-boot-boundary recipe has branch which doesn't exists in daisy and master,
u-boot-imx fails to build because of error described
here https://community.freescale.com/thread/319716.

Is it well known bug or I missing something?

You should get a binary in tmp/deploy/nitrogen6x/:

~/yocto$ ls build-nitrogen6x/tmp/deploy/images/nitrogen6x/u-boot* build-nitrogen6x/tmp/deploy/images/nitrogen6x/u-boot.imx build-nitrogen6x/tmp/deploy/images/nitrogen6x/u-boot-nitrogen6x.imx

build-nitrogen6x/tmp/deploy/images/nitrogen6x/u-boot-nitrogen6x-v2014.04+gitAUTOINC+6d00ef4bba-r0.imx

Note that 6x_upgrade and u-boot.imx aren't copied to the SD card by default, since you need to be careful with this if you're running something other than a Quad-Core/1GiB configuration (the only SABRE Lite option, and the most popular Nitrogen6x option).

Details of various images are here:
http://boundarydevices.com/u-boot-updates-for-i-mx6-single-core

Quoted 8 lines

Also, unlike other machines, our boards don't require U-Boot to be on the SD card.

Regards,

Eric

Thanks for the reply.
I've checked clean build for nitrogen6x machine but still I can see that there are no u-boot* files in my tmp/deploy/images/nitrogen6x/.

$ ls -1 tmp/deploy/images/nitrogen6x/
6x_bootscript-nitrogen6x
6x_bootscript-nitrogen6x-v2014.01+gitAUTOINC+aed9475361-r0
6x_upgrade-nitrogen6x
6x_upgrade-nitrogen6x-v2014.01+gitAUTOINC+aed9475361-r0
fsl-image-machine-test-nitrogen6x-20140702043154.rootfs.ext3
fsl-image-machine-test-nitrogen6x-20140702043154.rootfs.manifest
fsl-image-machine-test-nitrogen6x-20140702043154.rootfs.sdcard
fsl-image-machine-test-nitrogen6x-20140702043154.rootfs.tar.bz2
fsl-image-machine-test-nitrogen6x.ext3
fsl-image-machine-test-nitrogen6x.manifest
fsl-image-machine-test-nitrogen6x.sdcard
fsl-image-machine-test-nitrogen6x.tar.bz2
modules--3.10.17-r0-nitrogen6x-20140702032757.tgz
modules-nitrogen6x.tgz
README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
uImage
uImage--3.10.17-r0-imx6dl-nitrogen6x-20140702032757.dtb
uImage--3.10.17-r0-imx6q-nitrogen6x-20140702032757.dtb
uImage--3.10.17-r0-imx6q-sabrelite-20140702032757.dtb
uImage--3.10.17-r0-nitrogen6x-20140702032757.bin
uImage-imx6dl-nitrogen6x.dtb
uImage-imx6q-nitrogen6x.dtb
uImage-imx6q-sabrelite.dtb
uImage-nitrogen6x.bin

I'm not sure, but could it be related to 3.10.17 kernel? Last time I built u-boot the 3.0.35 kernel was used.

Signature · 2 lines
Best Regards,
Ilya.
#3 lore raw
Quoted 4 lines · Ilya Smelykh

Thanks for the reply.
I've checked clean build for nitrogen6x machine but still I can see that there are no u-boot* files in my tmp/deploy/images/nitrogen6x/.

Try adding this in your local.conf:
IMAGE_BOOTLOADER = "u-boot"

--
Maciej Borzęcki
Senior Software Developer at Open-RnD Sp. z o.o., Poland www.open-rnd.pl
mobile: +48 889 117 365, fax: +48 42 657 9079

Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem lub poufne informacje i została wysłana wyłącznie do wiadomości i użytku osób, do których została zaadresowana. Jeśli wiadomość została otrzymana przypadkowo zabrania się jej kopiowania lub rozsyłania do osób trzecich. W takim przypadku uprasza się o natychmiastowe zniszczenie wiadomości oraz poinformowanie nadawcy o zaistniałej sytuacji za pomocą wiadomości zwrotnej. Dziękujemy.

This message, including any attachments hereto,
may contain privileged or confidential information and is sent solely for the attention and use of the intended addressee(s). If you are not an intended addressee, you may neither use this message nor copy or deliver it to anyone. In such case, you should immediately destroy this message and kindly notify the sender by reply email. Thank you.

#4 lore raw

Hi Maciej

2014-07-02 18:10 GMT+07:00 Maciej Borzecki <[email protected]>:

Quoted 28 lines · Ilya Smelykh
Quoted 4 lines

Thanks for the reply.
I've checked clean build for nitrogen6x machine but still I can see that there are no u-boot* files in my tmp/deploy/images/nitrogen6x/.

Try adding this in your local.conf:
IMAGE_BOOTLOADER = "u-boot"

--
Maciej Borzęcki
Senior Software Developer at Open-RnD Sp. z o.o., Poland www.open-rnd.pl
mobile: +48 889 117 365, fax: +48 42 657 9079

Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem lub poufne informacje i została wysłana wyłącznie do wiadomości i użytku osób, do których została zaadresowana. Jeśli wiadomość została otrzymana przypadkowo zabrania się jej kopiowania lub rozsyłania do osób trzecich. W takim przypadku uprasza się o natychmiastowe zniszczenie wiadomości oraz poinformowanie nadawcy o zaistniałej sytuacji za pomocą wiadomości zwrotnej. Dziękujemy.

Quoted 8 lines

This message, including any attachments hereto,
may contain privileged or confidential information and is sent solely for the attention and use of the intended addressee(s). If you are not an intended addressee, you may neither use this message nor copy or deliver it to anyone. In such case, you should immediately destroy this message and kindly notify the sender by reply email. Thank you.

This gives me exactly the same error when I tried to bitbake u-boot recipe by hands, recipe uses branch which longer not exists.

WARNING: Failed to fetch URL git://
github.com/boundarydevices/u-boot-imx6.git;branch=v2014.04-20140419,
attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find revision
6d00ef4bba6fdfa7897cba631df6c0781992b847 in branch v2014.04-20140419 even
from upstream
ERROR: Function failed: Fetcher failure for URL: 'git:// github.com/boundarydevices/u-boot-imx6.git;branch=v2014.04-20140419'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/check/daisy/build_nitrogen/tmp/work/nitrogen6x-poky-linux-gnueabi/u-boot-boundary/v2014.04+gitAUTOINC+6d00ef4bba-r0/temp/log.do_fetch.12773
ERROR: Task 246 (/check/daisy/sources/meta-fsl-arm-extra/recipes-bsp/u-boot/
u-boot-boundary_git.bb, do_fetch) failed with exit code '1'

Looks like that is why u-boot removed from image for that machines.

Signature · 2 lines
Best Regards,
Ilya.
#5 lore raw

Hi Ilya,

Quoted 19 lines · Ilya Smelykh

Hi Maciej

2014-07-02 18:10 GMT+07:00 Maciej Borzecki <[email protected] <mailto:[email protected]>>:

On 07/02 17:37, Ilya Smelykh wrote:
>
> Thanks for the reply.
> I've checked clean build for nitrogen6x machine but still I can see that
> there are no u-boot* files in my tmp/deploy/images/nitrogen6x/.

<snip>

This gives me exactly the same error when I tried to bitbake u-boot recipe by hands, recipe uses branch which longer not exists.

Quoted 16 lines

WARNING: Failed to fetch URL
git://github.com/boundarydevices/u-boot-imx6.git;branch=v2014.04-20140419 <http://github.com/boundarydevices/u-boot-imx6.git;branch=v2014.04-20140419>,
attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find revision
6d00ef4bba6fdfa7897cba631df6c0781992b847 in branch v2014.04-20140419
even from upstream
ERROR: Function failed: Fetcher failure for URL:
'git://github.com/boundarydevices/u-boot-imx6.git;branch=v2014.04-20140419
<http://github.com/boundarydevices/u-boot-imx6.git;branch=v2014.04-20140419>'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/check/daisy/build_nitrogen/tmp/work/nitrogen6x-poky-linux-gnueabi/u-boot-boundary/v2014.04+gitAUTOINC+6d00ef4bba-r0/temp/log.do_fetch.12773
ERROR: Task 246
(/check/daisy/sources/meta-fsl-arm-extra/recipes-bsp/u-boot/u-boot-boundary_git.bb
<http://u-boot-boundary_git.bb>, do_fetch) failed with exit code '1'

It looks like I messed up the history in v2014.04-20140419 when merging in patches from Christoph.

Since Otavio has already merged Christoph's u-boot-script-boundary patches, we should bump the revision to aed9475 as done in that patch:

	https://github.com/Freescale/meta-fsl-arm-extra/commit/6c3871ea5b0ec358e978814b5b38cef40d8dcbbc

Can you change SRCREV to aed9475361820a65e37ed936c833322cbbc0f2b5 in sources/meta-fsl-arm-extra/recipes-bsp/u-boot/u-boot-boundary_git.bb until a proper patch is pushed?

Sorry for the hassle here.

Regards,

Eric

#6 lore raw

Hi Eric

2014-07-02 21:35 GMT+07:00 Eric Nelson <[email protected]>:

Quoted 60 lines

Hi Ilya,

Quoted 14 lines · Ilya Smelykh

Hi Maciej

2014-07-02 18:10 GMT+07:00 Maciej Borzecki <[email protected] <mailto:[email protected]>>:

On 07/02 17:37, Ilya Smelykh wrote:
>
> Thanks for the reply.
> I've checked clean build for nitrogen6x machine but still I can see that
> there are no u-boot* files in my tmp/deploy/images/nitrogen6x/.

Quoted 7 lines

<snip>

This gives me exactly the same error when I tried to bitbake u-boot recipe by hands, recipe uses branch which longer not exists.

WARNING: Failed to fetch URL
git://

github.com/boundarydevices/u-boot-imx6.git;branch=v2014.04-20140419 <
http://github.com/boundarydevices/u-boot-imx6.git;branch=v2014.04-20140419

Quoted 7 lines

,
attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find revision 6d00ef4bba6fdfa7897cba631df6c0781992b847 in branch v2014.04-20140419 even from upstream
ERROR: Function failed: Fetcher failure for URL:
'git://

github.com/boundarydevices/u-boot-imx6.git;branch=v2014.04-20140419

Quoted 1 line

<

http://github.com/boundarydevices/u-boot-imx6.git;branch=v2014.04-20140419

Quoted 4 lines

'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:

/check/daisy/build_nitrogen/tmp/work/nitrogen6x-poky-linux-gnueabi/u-boot-boundary/v2014.04+gitAUTOINC+6d00ef4bba-r0/temp/log.do_fetch.12773

Quoted 2 lines

ERROR: Task 246 (/check/daisy/sources/meta-fsl-arm-extra/recipes-bsp/u-boot/

u-boot-boundary_git.bb

Quoted 2 lines

<http://u-boot-boundary_git.bb>, do_fetch) failed with exit code '1'

It looks like I messed up the history in v2014.04-20140419 when merging in patches from Christoph.

Since Otavio has already merged Christoph's u-boot-script-boundary patches, we should bump the revision to aed9475 as done in that patch:

https://github.com/Freescale/meta-fsl-arm-extra/commit/6c3871ea5b0ec358e978814b5b38cef40d8dcbbc

Can you change SRCREV to aed9475361820a65e37ed936c833322cbbc0f2b5 in sources/meta-fsl-arm-extra/recipes-bsp/u-boot/u-boot-boundary_git.bb until a proper patch is pushed?

Quoted 8 lines

Sorry for the hassle here.

Regards,

Eric

No problem, Eric, thanks a lot! Your advice helped me.

Signature · 2 lines
Cheers,
Ilya.
#7 lore raw

PATCH 1/1 u-boot-boundary: Update to aed947536

In reply to Eric Nelson

Update U-Boot revision to match u-boot-script-boundary to keep them in sync and address breakage on the v2014.04-20140419 branch in Github.

For more details, see

        http://lists.yoctoproject.org/pipermail/meta-freescale/2014-July/thread.html#9039
---
 recipes-bsp/u-boot/u-boot-boundary_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot-boundary_git.bb +1 -1
index 05e7008..382cb4b 100644
@@ -8,7 +8,7 @@ PROVIDES = "u-boot"
 
 PV = "v2014.04+git${SRCPV}"
 
-SRCREV = "6d00ef4bba6fdfa7897cba631df6c0781992b847"
+SRCREV = "aed9475361820a65e37ed936c833322cbbc0f2b5"
 SRCBRANCH = "v2014.04-20140419"
 SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git;branch=${SRCBRANCH}"
 
Signature · 1 line
1.9.1