fail to bitbake fsl-image-qt5-validation-imx for imx6ul

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fail to bitbake fsl-image-qt5-validation-imx for imx6ul

Jump to solution
2,798 Views
ttttttx
Contributor III

1. problem

-------------------------------------------------------------------------------

linux@ubuntu:~/fsl-release-bsp/build_x11_imx6ulevk$ bitbake fsl-image-qt5-validation-imx -k
NOTE: Your conf/bblayers.conf has been automatically updated.
WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |#######################################################################################################################################################################| ETA: 00:00:00
Loaded 2791 entries from dependency cache.
Parsing recipes: 100% |#####################################################################################################################################################################| Time: 00:00:06
Parsing of 2215 .bb files complete (2200 cached, 15 parsed). 2790 targets, 212 skipped, 5 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-16.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ulevk"
DISTRO = "fsl-imx-x11"
DISTRO_VERSION = "4.1.15-2.0.0"
TUNE_FEATURES = "arm armv7ve vfp neon callconvention-hard cortexa7"
TARGET_FPU = "hard"
meta
meta-yocto = "HEAD:f5da2a5913319ad6ac2141438ba1aa17576326ab"
meta-oe
meta-multimedia = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-fsl-arm = "HEAD:be78894e4682f111575470fb23e51e6ba523508d"
meta-fsl-arm-extra = "HEAD:3dfb82fc7e703eae9891b3ffda0e9393701f2396"
meta-fsl-demos = "HEAD:a165068f8a0d1cf29aabe4b4053f28be1c2aa492"
meta-bsp
meta-sdk = "HEAD:0451810f7ec7da962bd899f5b0fe26afee1676ca"
meta-browser = "HEAD:77736988073a5d90fcff9d0005c8477332ede387"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-qt5 = "HEAD:ccae79be69c5268df3b47e4e14cea0591c39a531"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: linux-imx-4.1.15-r0 do_fetch: Failed to fetch URL git://git.freescale.com/imx/linux-imx.git;protocol=git;branch=imx_4.1.15_2.0.0_ga, attempting MIRRORS if available
WARNING: cpuburn-neon-20140626-r0 do_fetch: Failed to fetch URL https://raw.githubusercontent.com/ssvb/cpuburn-arm/dd5c5ba58d2b0b23cfab4a286f9d3f5510000f20/cpuburn-..., attempting MIRRORS if available
ERROR: linux-imx-4.1.15-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/linux/fsl-release-bsp/downloads//git2/git.freescale.com.imx.linux-imx.git'...
fatal: unable to connect to git.freescale.com:
git.freescale.com: No address associated with hostname


ERROR: linux-imx-4.1.15-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://git.freescale.com/imx/linux-imx.git;protocol=git;branch=imx_4.1.15_2.0.0_ga'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/linux/fsl-release-bsp/build_x11_imx6ulevk/tmp/work/imx6ulevk-poky-linux-gnueabi/linux-imx/4.1.15-r0/temp/log.do_fetch.2465
ERROR: Task 50 (/home/linux/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb, do_fetch) failed with exit code '1'
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/linux/fsl-release-bsp/build_x11_imx6ulevk/tmp/work/cortexa7hf-neon-mx6ul-poky-linux-gnueabi/firmware-imx/1_5.4-r0/firmware-imx-5.4/git, attempting MIRRORS if available
ERROR: cpuburn-neon-20140626-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 4, output:
failed: Connection refused.
failed: Connection refused.

ERROR: cpuburn-neon-20140626-r0 do_fetch: Function failed: Fetcher failure for URL: 'https://raw.githubusercontent.com/ssvb/cpuburn-arm/dd5c5ba58d2b0b23cfab4a286f9d3f5510000f20/cpuburn-a8.S;name=ssvb'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/linux/fsl-release-bsp/build_x11_imx6ulevk/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/cpuburn-neon/20140626-r0/temp/log.do_fetch.2473
ERROR: Task 2748 (/home/linux/fsl-release-bsp/sources/meta-openembedded/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20140626.bb, do_fetch) failed with exit code '1'
ERROR: firmware-imx-1_5.4-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/linux/fsl-release-bsp/downloads//git2/git.freescale.com.imx.imx-firmware.git'...
fatal: unable to connect to git.freescale.com:
git.freescale.com: No address associated with hostname


ERROR: firmware-imx-1_5.4-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://git.freescale.com/imx/imx-firmware.git;branch=master;destsuffix=/home/linux/fsl-release-bsp/build_x11_imx6ulevk/tmp/work/cortexa7hf-neon-mx6ul-poky-linux-gnueabi/firmware-imx/1_5.4-r0/firmware-imx-5.4/git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/linux/fsl-release-bsp/build_x11_imx6ulevk/tmp/work/cortexa7hf-neon-mx6ul-poky-linux-gnueabi/firmware-imx/1_5.4-r0/temp/log.do_fetch.2480
ERROR: Task 1414 (/home/linux/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/firmware-imx/firmware-imx_5.4.bb, do_fetch) failed with exit code '1'
WARNING: u-boot-imx-2016.03-r0 do_fetch: Failed to fetch URL git://git.freescale.com/imx/uboot-imx.git;protocol=git;branch=imx_v2016.03_4.1.15_2.0.0_ga, attempting MIRRORS if available
ERROR: u-boot-imx-2016.03-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/linux/fsl-release-bsp/downloads//git2/git.freescale.com.imx.uboot-imx.git'...
fatal: unable to connect to git.freescale.com:
git.freescale.com: No address associated with hostname


ERROR: u-boot-imx-2016.03-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://git.freescale.com/imx/uboot-imx.git;protocol=git;branch=imx_v2016.03_4.1.15_2.0.0_ga'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/linux/fsl-release-bsp/build_x11_imx6ulevk/tmp/work/imx6ulevk-poky-linux-gnueabi/u-boot-imx/2016.03-r0/temp/log.do_fetch.2492
ERROR: Task 207 (/home/linux/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2016.03.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7584 tasks of which 7580 didn't need to be rerun and 4 failed.
No currently running tasks (4163 of 7756)

Summary: 4 tasks failed:
/home/linux/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb, do_fetch
/home/linux/fsl-release-bsp/sources/meta-openembedded/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20140626.bb, do_fetch
/home/linux/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/firmware-imx/firmware-imx_5.4.bb, do_fetch
/home/linux/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2016.03.bb, do_fetch
Summary: There were 5 WARNING messages shown.
Summary: There were 8 ERROR messages shown, returning a non-zero exit code.

--------------------------------------------------------------------------------

How to change the configuration file? I had try Code Aurora git repositories ,not git://git.freescale.com/imx

Labels (2)
0 Kudos
1 Solution
2,417 Views
jimmychan
NXP TechSupport
NXP TechSupport

Yes, L4.9.88_2.0.0 supported i.mx6UL. You can download the release note for details.

View solution in original post

0 Kudos
5 Replies
2,417 Views
kunalkotecha1
Senior Contributor II

Hi raotianxiang@beacon-display.cn,

Please refer below link if that could help, maybe the URL from where the Yocto source is cloned is changed, and that might be the issue in your case. Check the URL used by you and the one provided in the below link.

unable to connect to git.freescale.com 

Regards,

Kunal

0 Kudos
2,417 Views
ttttttx
Contributor III

--------------------------------------------------------------------

step2. firmware-imx  is OK

 I had try https://community.nxp.com/docs/DOC-346089  : git.freescale.com.imx.imx-firmware.git.7z.zip  

and copy it to downloads/git2/ && bitbake firmware-imx , It's very good!

--------------------------------------------------------------------

step3.  bitbake fsl-image-qt5-validation-imx  ,   failed

WARNING: linux-imx-4.1.15-r0 do_fetch: Failed to fetch URL git://git.freescale.com/imx/linux-imx.git;protocol=git;branch=imx_4.1.15_2.0.0_ga, attempting MIRRORS if available
ERROR: linux-imx-4.1.15-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/linux/fsl-release-bsp/downloads//git2/git.freescale.com.imx.linux-imx.git'...
fatal: unable to connect to git.freescale.com:
git.freescale.com: No address associated with hostname


ERROR: linux-imx-4.1.15-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://git.freescale.com/imx/linux-imx.git;protocol=git;branch=imx_4.1.15_2.0.0_ga'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/linux/fsl-release-bsp/build_x11_imx6ulevk/tmp/work/imx6ulevk-poky-linux-gnueabi/linux-imx/4.1.15-r0/temp/log.do_fetch.5489
ERROR: Task 50 (/home/linux/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb, do_fetch) failed with exit code '1'
WARNING: cpuburn-neon-20140626-r0 do_fetch: Failed to fetch URL https://raw.githubusercontent.com/ssvb/cpuburn-arm/dd5c5ba58d2b0b23cfab4a286f9d3f5510000f20/cpuburn-..., attempting MIRRORS if available
ERROR: cpuburn-neon-20140626-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 4, no output
ERROR: cpuburn-neon-20140626-r0 do_fetch: Function failed: Fetcher failure for URL: 'https://raw.githubusercontent.com/ssvb/cpuburn-arm/dd5c5ba58d2b0b23cfab4a286f9d3f5510000f20/cpuburn-a8.S;name=ssvb'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/linux/fsl-release-bsp/build_x11_imx6ulevk/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/cpuburn-neon/20140626-r0/temp/log.do_fetch.5499
ERROR: Task 2748 (/home/linux/fsl-release-bsp/sources/meta-openembedded/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20140626.bb, do_fetch) failed with exit code '1'
WARNING: u-boot-imx-2016.03-r0 do_fetch: Failed to fetch URL git://git.freescale.com/imx/uboot-imx.git;protocol=git;branch=imx_v2016.03_4.1.15_2.0.0_ga, attempting MIRRORS if available
ERROR: u-boot-imx-2016.03-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/linux/fsl-release-bsp/downloads//git2/git.freescale.com.imx.uboot-imx.git'...
fatal: unable to connect to git.freescale.com:
git.freescale.com: No address associated with hostname


ERROR: u-boot-imx-2016.03-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://git.freescale.com/imx/uboot-imx.git;protocol=git;branch=imx_v2016.03_4.1.15_2.0.0_ga'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/linux/fsl-release-bsp/build_x11_imx6ulevk/tmp/work/imx6ulevk-poky-linux-gnueabi/u-boot-imx/2016.03-r0/temp/log.do_fetch.5506
ERROR: Task 207 (/home/linux/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2016.03.bb, do_fetch) failed with exit code '1'

pastedImage_2.png

------------------------------------------------------------------------------------------

step4.  Just take uboot as an example  ,   failed

---> 

I modify it like this :

linux@ubuntu:~/fsl-release-bsp/sources$ vi meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2016.03.bb

...

11 #SRCBRANCH = "imx_v2016.03_4.1.15_2.0.0_ga"
12 #UBOOT_SRC ?= "git://git.freescale.com/imx/uboot-imx.git;protocol=git"
13 #SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}"
14 #SRCREV = "0ec2a019117bb2d59b9672a145b4684313d92782"
15 SRCBRANCH = "nxp/imx_v2016.03_4.1.15_2.0.0_ga"
16 UBOOT_SRC ?= "https://source.codeaurora.org/external/imx/uboot-imx;protocol=https"
17 SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}"
18 SRCREV = "0ec2a019117bb2d59b9672a145b4684313d92782"

...

---> 

linux@ubuntu:~/fsl-release-bsp/build_x11_imx6ulevk$ bitbake fsl-image-qt5-validation-imx -k

...

ERROR: u-boot-imx-2016.03-r0 do_fetch: No checksum specified for /home/linux/fsl-release-bsp/downloads/uboot-imx, please add at least one to the recipe:
SRC_URI[md5sum] = "1313a67e12cb877b7682b13d970323fa"
SRC_URI[sha256sum] = "60f1f6f5eb0801f44b99e3a1c08ca4e59fd91285f4f05990345c521847576111"
ERROR: u-boot-imx-2016.03-r0 do_fetch: Function failed: Fetcher failure for URL: 'https://source.codeaurora.org/external/imx/uboot-imx;protocol=https;branch=nxp/imx_v2016.03_4.1.15_2.0.0_ga'. Missing SRC_URI checksum
ERROR: Logfile of failure stored in: /home/linux/fsl-release-bsp/build_x11_imx6ulevk/tmp/work/imx6ulevk-poky-linux-gnueabi/u-boot-imx/2016.03-r0/temp/log.do_fetch.5631
ERROR: Task 207 (/home/linux/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2016.03.bb, do_fetch) failed with exit code '1'

...

pastedImage_3.png

--------------------------------------------------------

Missing SRC_URI checksum ?  SRCREV ?

0 Kudos
2,417 Views
jimmychan
NXP TechSupport
NXP TechSupport

L4.1.15_2.0.0 is quite old.

Please download the newer version of BSP.

Embedded Linux for i.MX Applications Processors | NXP 

0 Kudos
2,417 Views
ttttttx
Contributor III

How about  the version L4.9.88_2.0.0 for  imx6ul ?If it is not suitable, please tell me as soon as possible. Thank you ! 

0 Kudos
2,418 Views
jimmychan
NXP TechSupport
NXP TechSupport

Yes, L4.9.88_2.0.0 supported i.mx6UL. You can download the release note for details.

0 Kudos