[meta-freescale] [External] Re: morty build fails firmware_imx fetcher

Eckhardt, Andrew UTAS Andrew.Eckhardt at utas.utc.com
Mon Mar 27 12:50:47 PDT 2017


Hi Max,

It gets more interesting.  I have done as you suggested:

SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \
           git://git.freescale.com/imx/imx-firmware.git;branch=${SRCBRANCH};destsuffix=${S}/git;protocol=http"

but am now getting "Unable to fetch URL...".

WARNING: firmware-imx-1_5.4-r0 do_fetch: Failed to fetch URL git://git.freescale.com/imx/imx-firmware.git;branch=master;destsuffix=/home/aeckhardt/warp7_morty/build/tmp/work/all-poky-linux/firmware-imx/1_5.4-r0/firmware-imx-5.4/git;protocol=http, attempting MIRRORS if available
ERROR: firmware-imx-1_5.4-r0 do_fetch: Fetcher failure: Fetch command ...<some stuff deleted here>...
git -c core.fsyncobjectfiles=0 clone --bare --mirror http://git.freescale.com/imx/imx-firmware.git /home/aeckhardt/warp7_morty/downloads//git2/git.freescale.com.imx.imx-firmware.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/aeckhardt/warp7_morty/downloads//git2/git.freescale.com.imx.imx-firmware.git'...
fatal: repository 'http://git.freescale.com/imx/imx-firmware.git/' not found

ERROR: firmware-imx-1_5.4-r0 do_fetch: Fetcher failure for URL: 'git://git.freescale.com/imx/imx-firmware.git;branch=master;destsuffix=/home/aeckhardt/warp7_morty/build/tmp/work/all-poky-linux/firmware-imx/1_5.4-r0/firmware-imx-5.4/git;protocol=http'. Unable to fetch URL from any source.
ERROR: firmware-imx-1_5.4-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/aeckhardt/warp7_morty/build/tmp/work/all-poky-linux/firmware-imx/1_5.4-r0/temp/log.do_fetch.5390
ERROR: Task (/home/aeckhardt/warp7_morty/sources/meta-freescale/recipes-bsp/firmware-imx/firmware-imx_5.4.bb:do_fetch) failed with exit code '1'

BTW I have git version 1.9.1 installed here.

Andrew

-----Original Message-----
From: Max Krummenacher [mailto:max.oss.09 at gmail.com] 
Sent: Friday, March 24, 2017 7:10 PM
To: Eckhardt, Andrew UTAS; meta-freescale at yoctoproject.org
Subject: [External] Re: [meta-freescale] morty build fails firmware_imx fetcher

Hi Andrew

Am Freitag, den 24.03.2017, 21:22 +0000 schrieb Eckhardt, Andrew           UTAS:
> Hi all,
> 
> Because our proxy server requires http format. I have changed SRC_URI 
> in meta-freescale/recipes -bsp/firmware-imx/firmware-imx.inc
> 
> From:
>            git://git.freescale.com/imx/imx-firmware.git;branch=${SRCBRANCH};destsuffix=${S}/git "
> 
> To:
>           
> https://urldefense.proofpoint.com/v2/url?u=http-3A__git.freescale.com_
> git_cgit.cgi_imx_imx-2Dfirmware.git-3Bbranch-3D-24&d=DwICaQ&c=ilBQI1lupc9Y65XwNblLtw&r=DFws60RUCJytQoFsynENYItS85SMkWbHZCf_kcVUiYY&m=QFDq1PbJ5ytfk2hz1gZ_f7TegaTHNmNYFre9nSCRqcI&s=uZFpBUAZGG1HPVS3E3oxHtQ9kR6FvP6DgIG1MRhNLkY&e= {SRCBRANCH};destsuffix=${S}/git  "
> 
> Now bitbake actually gets an html file which start like this...

The leading git:// specifies that you want to download a git repository. If you want to use http in place of the native git protocol you specify that in a protocol=<protocol> parameter.
So you would change to:

git://git.freescale.com/imx/imx-firmware.git;branch=${SRCBRANCH};destsuffix=${S}/git;protocol=http "

https://urldefense.proofpoint.com/v2/url?u=https-3A__www.yoctoproject.org_docs_2.3_bitbake-2Duser-2Dmanual_bitbake-2Duser-2Dmanual.html-23git-2Dfetcher&d=DwICaQ&c=ilBQI1lupc9Y65XwNblLtw&r=DFws60RUCJytQoFsynENYItS85SMkWbHZCf_kcVUiYY&m=QFDq1PbJ5ytfk2hz1gZ_f7TegaTHNmNYFre9nSCRqcI&s=kLeOPH6xpg4hndfSwOQ1rQQQ0ov7FNNaG3eRNMLDBL4&e= 

Max



More information about the meta-freescale mailing list