cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bhuelsen
Visitor
Visitor
7,545 Views
Registered: ‎06-22-2017

Petalinux 2017.2 rootfs: opencv / libmali issue

Jump to solution

Hi everyone,

 

I would like to install opencv to the root file system of my petalinux project.

I am using petalinux 2017.2.

 

I enabled the petalinux libs as following:

petalinux_opencv_config.png

 

 

 

 

benjaminh@memory-lab-pc:~/embedded_development/ultrazed_repo/software/petalinux_build$ petalinux-build --component rootfs
[INFO] building rootfs
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image -c do_image_complete
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 3233 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:02
Parsing of 2446 .bb files complete (2412 cached, 34 parsed). 3236 targets, 224 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#######################################| Time: 0:00:08
Checking sstate mirror object availability: 100% |###############| Time: 0:00:09
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: libmali-xlnx-r7p0-00rel0-r0 do_fetch: Failed to fetch URL git://gitenterprise.xilinx.com/Graphics/mali400-xlnx-userspace.git;protocol=https;branch=master, attempting MIRRORS if available
ERROR: libmali-xlnx-r7p0-00rel0-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-cZ6Ffrtu5R"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export GIT_SSL_CAINFO="/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/core/scripts:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/plnx_aarch64/usr/bin/crossscripts:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/usr/bin:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/sbin:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/core/scripts:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/core/bitbake/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/sysroots/x86_64-petalinux-linux/usr/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/usr/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/sbin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/sbin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/../x86_64-petalinux-linux/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux-uclibc:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux-musl:/home/benjaminh/petalinux_2017_2/tools/common/petalinux/utils:/home/benjaminh/petalinux_2017_2/tools/linux-i386/petalinux/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/petalinux/bin/unexport:/home/benjaminh/petalinux_2017_2/tools/hsm/bin:/home/benjaminh/petalinux_2017_2/tools/webtalk/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/petalinux/bin:/home/benjaminh/petalinux_2017_2/tools/common/petalinux/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-none-eabi-r5/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/microblaze-xilinx-elf/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/microblazeel-xilinx-linux-gnu/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-none-eabi/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-linux-gnueabi/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/aarch64-none-elf/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/aarch64-linux-gnu/bin:/opt/xlx_2017_2/Vivado/2017.2/bin:/opt/xlx_2017_2/Vivado_HLS/2017.2/bin:/opt/xlx_2017_1/DocNav:/opt/xlx_2017_2/SDK/2017.2/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/microblaze/lin/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/arm/lin/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/microblaze/linux_toolchain/lin64_be/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/microblaze/linux_toolchain/lin64_le/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/aarch64/lin/aarch64-linux/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/aarch64/lin/aarch64-none/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/armr5/lin/gcc-arm-none-eabi/bin:/opt/xlx_2017_2/SDK/2017.2/tps/lnx64/cmake-3.3.2/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/petalinux/bin:/home/benjaminh/petalinux_2017_2/tools/common/petalinux/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-none-eabi-r5/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/microblaze-xilinx-elf/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/microblazeel-xilinx-linux-gnu/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-none-eabi/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-linux-gnueabi/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/aarch64-none-elf/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/aarch64-linux-gnu/bin:/home/benjaminh/embedded_development/ultrazed_repo/software/dtc:/home/benjaminh/bin:/home/benjaminh/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/benjaminh"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror https://gitenterprise.xilinx.com/Graphics/mali400-xlnx-userspace.git /home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/downloads/git2/gitenterprise.xilinx.com.Graphics.mali400-xlnx-userspace.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/downloads/git2/gitenterprise.xilinx.com.Graphics.mali400-xlnx-userspace.git'...
fatal: unable to access 'https://gitenterprise.xilinx.com/Graphics/mali400-xlnx-userspace.git/': Couldn't resolve host 'gitenterprise.xilinx.com'

ERROR: libmali-xlnx-r7p0-00rel0-r0 do_fetch: Fetcher failure for URL: 'git://gitenterprise.xilinx.com/Graphics/mali400-xlnx-userspace.git;protocol=https;branch=master'. Unable to fetch URL from any source.
ERROR: libmali-xlnx-r7p0-00rel0-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/work/aarch64-xilinx-linux/libmali-xlnx/r7p0-00rel0-r0/temp/log.do_fetch.20711
ERROR: Task (/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/meta-xilinx/recipes-graphics/libgles/libmali-xlnx_git.bb:do_fetch) failed with exit code '1'
WARNING: kernel-module-mali-r7p0-00rel0-r0 do_fetch: Failed to fetch URL http://malideveloper.arm.com/downloads/drivers/DX910/r7p0-00rel0/DX910-SW-99002-r7p0-00rel0.tgz, attempting MIRRORS if available
ERROR: kernel-module-mali-r7p0-00rel0-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-cZ6Ffrtu5R"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export GIT_SSL_CAINFO="/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/core/scripts:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/plnx_aarch64/usr/bin/crossscripts:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/usr/bin:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/sbin:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/core/scripts:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/core/bitbake/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/sysroots/x86_64-petalinux-linux/usr/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/usr/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/sbin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/sbin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/../x86_64-petalinux-linux/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux-uclibc:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux-musl:/home/benjaminh/petalinux_2017_2/tools/common/petalinux/utils:/home/benjaminh/petalinux_2017_2/tools/linux-i386/petalinux/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/petalinux/bin/unexport:/home/benjaminh/petalinux_2017_2/tools/hsm/bin:/home/benjaminh/petalinux_2017_2/tools/webtalk/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/petalinux/bin:/home/benjaminh/petalinux_2017_2/tools/common/petalinux/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-none-eabi-r5/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/microblaze-xilinx-elf/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/microblazeel-xilinx-linux-gnu/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-none-eabi/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-linux-gnueabi/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/aarch64-none-elf/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/aarch64-linux-gnu/bin:/opt/xlx_2017_2/Vivado/2017.2/bin:/opt/xlx_2017_2/Vivado_HLS/2017.2/bin:/opt/xlx_2017_1/DocNav:/opt/xlx_2017_2/SDK/2017.2/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/microblaze/lin/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/arm/lin/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/microblaze/linux_toolchain/lin64_be/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/microblaze/linux_toolchain/lin64_le/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/aarch64/lin/aarch64-linux/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/aarch64/lin/aarch64-none/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/armr5/lin/gcc-arm-none-eabi/bin:/opt/xlx_2017_2/SDK/2017.2/tps/lnx64/cmake-3.3.2/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/petalinux/bin:/home/benjaminh/petalinux_2017_2/tools/common/petalinux/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-none-eabi-r5/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/microblaze-xilinx-elf/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/microblazeel-xilinx-linux-gnu/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-none-eabi/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-linux-gnueabi/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/aarch64-none-elf/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/aarch64-linux-gnu/bin:/home/benjaminh/embedded_development/ultrazed_repo/software/dtc:/home/benjaminh/bin:/home/benjaminh/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/benjaminh"; /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/downloads 'http://malideveloper.arm.com/downloads/drivers/DX910/r7p0-00rel0/DX910-SW-99002-r7p0-00rel0.tgz' --progress=dot -v failed with exit code 4, output:
--2017-07-26 15:37:24--  http://malideveloper.arm.com/downloads/drivers/DX910/r7p0-00rel0/DX910-SW-99002-r7p0-00rel0.tgz
Resolving malideveloper.arm.com... 23.14.95.88, 23.14.95.96
Connecting to malideveloper.arm.com|23.14.95.88|:80... connected.
HTTP request sent, awaiting response... 504 Gateway Time-out
Retrying.

--2017-07-26 15:37:43--  (try: 2)  http://malideveloper.arm.com/downloads/drivers/DX910/r7p0-00rel0/DX910-SW-99002-r7p0-00rel0.tgz
Connecting to malideveloper.arm.com|23.14.95.88|:80... connected.
HTTP request sent, awaiting response... 504 Gateway Time-out
Giving up.


ERROR: kernel-module-mali-r7p0-00rel0-r0 do_fetch: Fetcher failure for URL: 'http://malideveloper.arm.com/downloads/drivers/DX910/r7p0-00rel0/DX910-SW-99002-r7p0-00rel0.tgz'. Unable to fetch URL from any source.
ERROR: kernel-module-mali-r7p0-00rel0-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/work/plnx_aarch64-xilinx-linux/kernel-module-mali/r7p0-00rel0-r0/temp/log.do_fetch.20722
ERROR: Task (/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/meta-xilinx/recipes-graphics/mali/kernel-module-mali.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3420 tasks of which 3418 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
  /home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/meta-xilinx/recipes-graphics/libgles/libmali-xlnx_git.bb:do_fetch
  /home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/meta-xilinx/recipes-graphics/mali/kernel-module-mali.bb:do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 6 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build rootfs
benjaminh@memory-lab-pc:~/embedded_development/ultrazed_repo/software/petalinux_build$ 

As you can see, it failed to build the rootfs.

It attemps to fetch the libmali-xlxnx-r7p0-00rel0-r0 kernel module but failes, because

the server git://gitenterprise.xilinx.com/Graphics/mali400-xlnx-userspace.git is down.

 

@xilinx: Is there a plan to solve that problem? Or is there a suitable workaround to use opencv in petalinux 2017.2? 

 

Thanks,

Benjamin

0 Kudos
Reply
1 Solution

Accepted Solutions
vineethc
Xilinx Employee
Xilinx Employee
11,519 Views
Registered: ‎06-29-2017

petalinux-config 

    --> Yocto Settings  --->

                 --->  YOCTO SOURCE MIRROR URL ( choose external path )

                                   -->  EXTERNAL PATH

                                Enter -->  http://www.petalinux.xilinx.com/sswreleases/rel-v2017.2/downloads

View solution in original post

12 Replies
cyrius
Visitor
Visitor
7,504 Views
Registered: ‎06-07-2017

Hello everyone,

 

   I have the same problem.

   Does someone has the solution ?

 

Thx.

 

0 Kudos
Reply
7,444 Views
Registered: ‎07-27-2017

Hello,

 

Same problem here!

Any body any solution?

0 Kudos
Reply
vineethc
Xilinx Employee
Xilinx Employee
11,520 Views
Registered: ‎06-29-2017

petalinux-config 

    --> Yocto Settings  --->

                 --->  YOCTO SOURCE MIRROR URL ( choose external path )

                                   -->  EXTERNAL PATH

                                Enter -->  http://www.petalinux.xilinx.com/sswreleases/rel-v2017.2/downloads

View solution in original post

ibaie
Xilinx Employee
Xilinx Employee
7,413 Views
Registered: ‎10-06-2016

Hi @bhuelsen

 

It looks like there are two issues in your problem:

  1. Mali userspace driver fetch issue (URL to private gitenterprise location)
  2. Kernel Mali module fetch issue (URL to non valid ARM location)

Reviewing the github repository it looks like these issue has been fixed for future releases (i.e. https://github.com/Xilinx/meta-xilinx/commit/4afe9d6ca35ddea3be84e93f4a30933bfb034b4c)

 

As a workaround can you try to set the Yocto external Mirror with the following URL?

Capture.JPG


Ibai
Don’t forget to reply, kudo, and accept as solution.
0 Kudos
Reply
bhuelsen
Visitor
Visitor
7,360 Views
Registered: ‎06-22-2017

Hi @ibaie,

 

thanks for your reply.

 

I performed following steps:

 

-> I replaced the URL in the kernel-module-mali.bb file according to issue 2)

-	http://malideveloper.arm.com/downloads/drivers/DX910/${PV}/DX910-SW-99002-${PV}.tgz \
+	https://developer.arm.com/-/media/Files/downloads/mali-drivers/kernel/mali-utgard-gpu/DX910-SW-99002-${PV}.tgz \

-> and set the external source mirror path as you described.

 

For better understanding here the full terminal output:

benjaminh@memory-lab-pc:~/embedded_development/ultrazed_repo/software/petalinux_build$ petalinux-build --component rootfs
[INFO] building rootfs
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image -c do_image_complete
Parsing recipes: 100% |###############################################################| Time: 0:01:11
Parsing of 2446 .bb files complete (0 cached, 2446 parsed). 3236 targets, 224 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |############################################################| Time: 0:00:07
Checking sstate mirror object availability: 100% |####################################| Time: 0:00:19
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: libmali-xlnx-r7p0-00rel0-r0 do_fetch: Failed to fetch URL git://gitenterprise.xilinx.com/Graphics/mali400-xlnx-userspace.git;protocol=https;branch=master, attempting MIRRORS if available
ERROR: libmali-xlnx-r7p0-00rel0-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-B2Ix111E5p"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export GIT_SSL_CAINFO="/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/core/scripts:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/plnx_aarch64/usr/bin/crossscripts:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/usr/bin:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/sbin:/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/sysroots/x86_64-linux/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/core/scripts:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/core/bitbake/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/sysroots/x86_64-petalinux-linux/usr/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/usr/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/sbin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/sbin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/../x86_64-petalinux-linux/bin:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux-uclibc:/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux-musl:/home/benjaminh/petalinux_2017_2/tools/common/petalinux/utils:/home/benjaminh/petalinux_2017_2/tools/linux-i386/petalinux/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/petalinux/bin/unexport:/home/benjaminh/petalinux_2017_2/tools/hsm/bin:/home/benjaminh/petalinux_2017_2/tools/webtalk/bin:/opt/xlx_2017_2/Vivado/2017.2/bin:/opt/xlx_2017_2/Vivado_HLS/2017.2/bin:/opt/xlx_2017_1/DocNav:/opt/xlx_2017_2/SDK/2017.2/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/microblaze/lin/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/arm/lin/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/microblaze/linux_toolchain/lin64_be/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/microblaze/linux_toolchain/lin64_le/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/aarch64/lin/aarch64-linux/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/aarch64/lin/aarch64-none/bin:/opt/xlx_2017_2/SDK/2017.2/gnu/armr5/lin/gcc-arm-none-eabi/bin:/opt/xlx_2017_2/SDK/2017.2/tps/lnx64/cmake-3.3.2/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/petalinux/bin:/home/benjaminh/petalinux_2017_2/tools/common/petalinux/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-none-eabi-r5/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/microblaze-xilinx-elf/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/microblazeel-xilinx-linux-gnu/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-none-eabi/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/gcc-arm-linux-gnueabi/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/aarch64-none-elf/bin:/home/benjaminh/petalinux_2017_2/tools/linux-i386/aarch64-linux-gnu/bin:/home/benjaminh/embedded_development/ultrazed_repo/software/dtc:/home/benjaminh/bin:/home/benjaminh/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/benjaminh"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror https://gitenterprise.xilinx.com/Graphics/mali400-xlnx-userspace.git /home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/downloads/git2/gitenterprise.xilinx.com.Graphics.mali400-xlnx-userspace.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/downloads/git2/gitenterprise.xilinx.com.Graphics.mali400-xlnx-userspace.git'...
fatal: unable to access 'https://gitenterprise.xilinx.com/Graphics/mali400-xlnx-userspace.git/': Couldn't resolve host 'gitenterprise.xilinx.com'

ERROR: libmali-xlnx-r7p0-00rel0-r0 do_fetch: Fetcher failure for URL: 'git://gitenterprise.xilinx.com/Graphics/mali400-xlnx-userspace.git;protocol=https;branch=master'. Unable to fetch URL from any source.
ERROR: libmali-xlnx-r7p0-00rel0-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/benjaminh/embedded_development/ultrazed_repo/software/petalinux_build/build/tmp/work/aarch64-xilinx-linux/libmali-xlnx/r7p0-00rel0-r0/temp/log.do_fetch.28841
ERROR: Task (/home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/meta-xilinx/recipes-graphics/libgles/libmali-xlnx_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3403 tasks of which 3399 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/benjaminh/petalinux_2017_2/components/yocto/source/aarch64/layers/meta-xilinx/recipes-graphics/libgles/libmali-xlnx_git.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build rootfs
benjaminh@memory-lab-pc:~/embedded_development/ultrazed_repo/software/petalinux_build$ 

The URL issue to a non valid ARM location seems to be fixed

 

But it still attempts to fetch libmali-xlnx-r7p0-00rel0-r0 from the private URL:

 

 

git://gitenterprise.xilinx.com/Graphics/mali400-xlnx-userspace.git;protocol=https;branch=master

 

How can I fix that?

0 Kudos
Reply
vineethc
Xilinx Employee
Xilinx Employee
7,327 Views
Registered: ‎06-29-2017

Hi ,

which file you are changing ?

through xilinx  mali is through meta-xilinx/recipes-graphics/libgles/libmali-xlnx_git.bb 

0 Kudos
Reply
bhuelsen
Visitor
Visitor
7,295 Views
Registered: ‎06-22-2017

I've changed <PETA_LINUX_INSTALL_DIR>/components/yocto/source/aarch64/layers/meta-xilinx/recipes-graphics/mali/kernel-module-mali.bb

 

 

0 Kudos
Reply
vineethc
Xilinx Employee
Xilinx Employee
6,392 Views
Registered: ‎06-29-2017
0 Kudos
Reply
vineethc
Xilinx Employee
Xilinx Employee
6,232 Views
Registered: ‎06-29-2017

http://xkb/Pages/69/69564.aspx 

0 Kudos
Reply
njozwiak
Adventurer
Adventurer
3,964 Views
Registered: ‎10-19-2017

Hi all,

 

I know this issue is marked as closed, but I wanted to reopen it as I am having the exact same issue and the URL marked as the external mirror in the solution does not appear to be valid anymore. Did the external path change?

 

Thanks

0 Kudos
Reply
vineethc
Xilinx Employee
Xilinx Employee
3,949 Views
Registered: ‎06-29-2017
njozwiak
Adventurer
Adventurer
3,930 Views
Registered: ‎10-19-2017

That fixed it. Thanks

0 Kudos
Reply