Post Go back to editing

ADRV9009+ZCU102编译Petalinux问题

我按照 https://github.com/analogdevicesinc/meta-adi/tree/2019_R1/meta-adi-xilinx 的方法编译petalinux工程,但是总是会出现下面的问题,想知道原因是什么。

[kny@localhost project_84]$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 3464 entries from dependency cache.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:16
Parsing of 2577 .bb files complete (2538 cached, 39 parsed). 3469 targets, 137 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:05
Checking sstate mirror object availability: 100% |##################################################################################################################################################| Time: 0:00:29
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: linux-xlnx-4.14-adi_2019+gitAUTOINC+b6e379910a-R1 do_fetch: Failed to fetch URL git://github.com/analogdevicesinc/linux.git;protocol=https;branch=2019_R1, attempting MIRRORS if available
ERROR: linux-xlnx-4.14-adi_2019+gitAUTOINC+b6e379910a-R1 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-X8xb14F5Dh,guid=20f954092b5b85cb7bf17e79621c7bc2"; export SSH_AGENT_PID="13092"; export SSH_AUTH_SOCK="/run/user/1001/keyring/ssh"; export GIT_SSL_CAINFO="/home/Xilinx/petalinux/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/home/Xilinx/petalinux/project_84/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/Xilinx/petalinux/components/yocto/source/aarch64/layers/core/scripts:/home/Xilinx/petalinux/project_84/build/tmp/work/plnx_zynqmp-xilinx-linux/linux-xlnx/4.14-adi_2019+gitAUTOINC+b6e379910a-R1/recipe-sysroot-default/usr/bin/aarch64-xilinx-linux:/home/Xilinx/petalinux/project_84/build/tmp/work/plnx_zynqmp-xilinx-linux/linux-xlnx/4.14-adi_2019+gitAUTOINC+b6e379910a-R1/recipe-sysroot/usr/bin/crossscripts:/home/Xilinx/petalinux/project_84/build/tmp/work/plnx_zynqmp-xilinx-linux/linux-xlnx/4.14-adi_2019+gitAUTOINC+b6e379910a-R1/recipe-sysroot-default/usr/sbin:/home/Xilinx/petalinux/project_84/build/tmp/work/plnx_zynqmp-xilinx-linux/linux-xlnx/4.14-adi_2019+gitAUTOINC+b6e379910a-R1/recipe-sysroot-default/usr/bin:/home/Xilinx/petalinux/project_84/build/tmp/work/plnx_zynqmp-xilinx-linux/linux-xlnx/4.14-adi_2019+gitAUTOINC+b6e379910a-R1/recipe-sysroot-default/sbin:/home/Xilinx/petalinux/project_84/build/tmp/work/plnx_zynqmp-xilinx-linux/linux-xlnx/4.14-adi_2019+gitAUTOINC+b6e379910a-R1/recipe-sysroot-default/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/gnu/microblaze/lin/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/gnu/armr5/lin/gcc-arm-none-eabi/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/gnu/aarch64/lin/aarch64-none/bin:/home/Xilinx/petalinux/components/yocto/source/aarch64/layers/core/bitbake/bin:/home/Xilinx/petalinux/project_84/build/tmp/hosttools"; export HOME="/home/yankangning"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror github.com/.../linux.git /home/Xilinx/petalinux/project_84/build/downloads/git2/github.com.analogdevicesinc.linux.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/Xilinx/petalinux/project_84/build/downloads/git2/github.com.analogdevicesinc.linux.git'...
fatal: unable to access 'github.com/.../': Failed to connect to github.com port 443: Connection timed out

ERROR: linux-xlnx-4.14-adi_2019+gitAUTOINC+b6e379910a-R1 do_fetch: Fetcher failure for URL: 'git://github.com/analogdevicesinc/linux.git;protocol=https;branch=2019_R1'. Unable to fetch URL from any source.
ERROR: linux-xlnx-4.14-adi_2019+gitAUTOINC+b6e379910a-R1 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/Xilinx/petalinux/project_84/build/tmp/work/plnx_zynqmp-xilinx-linux/linux-xlnx/4.14-adi_2019+gitAUTOINC+b6e379910a-R1/temp/log.do_fetch.5888
ERROR: Task (/home/Xilinx/petalinux/project_84/meta-adi/meta-adi-xilinx/recipes-kernel/linux/linux-xlnx_adi-2019_R1.bb:do_fetch) failed with exit code '1'
WARNING: libad9361-iio-0.2+gitAUTOINC+11293f8fa2-r0 do_fetch: Failed to fetch URL git://github.com/analogdevicesinc/libad9361-iio.git;protocol=https;branch=2019_R1, attempting MIRRORS if available
ERROR: libad9361-iio-0.2+gitAUTOINC+11293f8fa2-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-X8xb14F5Dh,guid=20f954092b5b85cb7bf17e79621c7bc2"; export SSH_AGENT_PID="13092"; export SSH_AUTH_SOCK="/run/user/1001/keyring/ssh"; export GIT_SSL_CAINFO="/home/Xilinx/petalinux/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/home/Xilinx/petalinux/project_84/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/Xilinx/petalinux/components/yocto/source/aarch64/layers/core/scripts:/home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/libad9361-iio/0.2+gitAUTOINC+11293f8fa2-r0/recipe-sysroot-default/usr/bin/aarch64-xilinx-linux:/home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/libad9361-iio/0.2+gitAUTOINC+11293f8fa2-r0/recipe-sysroot/usr/bin/crossscripts:/home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/libad9361-iio/0.2+gitAUTOINC+11293f8fa2-r0/recipe-sysroot-default/usr/sbin:/home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/libad9361-iio/0.2+gitAUTOINC+11293f8fa2-r0/recipe-sysroot-default/usr/bin:/home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/libad9361-iio/0.2+gitAUTOINC+11293f8fa2-r0/recipe-sysroot-default/sbin:/home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/libad9361-iio/0.2+gitAUTOINC+11293f8fa2-r0/recipe-sysroot-default/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/gnu/microblaze/lin/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/gnu/armr5/lin/gcc-arm-none-eabi/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/gnu/aarch64/lin/aarch64-none/bin:/home/Xilinx/petalinux/components/yocto/source/aarch64/layers/core/bitbake/bin:/home/Xilinx/petalinux/project_84/build/tmp/hosttools"; export HOME="/home/yankangning"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror github.com/.../libad9361-iio.git /home/Xilinx/petalinux/project_84/build/downloads/git2/github.com.analogdevicesinc.libad9361-iio.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/Xilinx/petalinux/project_84/build/downloads/git2/github.com.analogdevicesinc.libad9361-iio.git'...
fatal: unable to access 'github.com/.../': Failed to connect to github.com port 443: Connection timed out

ERROR: libad9361-iio-0.2+gitAUTOINC+11293f8fa2-r0 do_fetch: Fetcher failure for URL: 'git://github.com/analogdevicesinc/libad9361-iio.git;protocol=https;branch=2019_R1'. Unable to fetch URL from any source.
ERROR: libad9361-iio-0.2+gitAUTOINC+11293f8fa2-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/libad9361-iio/0.2+gitAUTOINC+11293f8fa2-r0/temp/log.do_fetch.10611
ERROR: Task (/home/Xilinx/petalinux/project_84/meta-adi/meta-adi-core/recipes-core/libad9361-iio/libad9361-iio_0.2.bb:do_fetch) failed with exit code '1'
WARNING: fru-tools-0.8.1.5+gitAUTOINC+9c360ea67d-r0 do_fetch: Failed to fetch URL git://github.com/analogdevicesinc/fru_tools.git;protocol=https;branch=2019_R1, attempting MIRRORS if available
ERROR: fru-tools-0.8.1.5+gitAUTOINC+9c360ea67d-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-X8xb14F5Dh,guid=20f954092b5b85cb7bf17e79621c7bc2"; export SSH_AGENT_PID="13092"; export SSH_AUTH_SOCK="/run/user/1001/keyring/ssh"; export GIT_SSL_CAINFO="/home/Xilinx/petalinux/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/home/Xilinx/petalinux/project_84/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/Xilinx/petalinux/components/yocto/source/aarch64/layers/core/scripts:/home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/fru-tools/0.8.1.5+gitAUTOINC+9c360ea67d-r0/recipe-sysroot-default/usr/bin/aarch64-xilinx-linux:/home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/fru-tools/0.8.1.5+gitAUTOINC+9c360ea67d-r0/recipe-sysroot/usr/bin/crossscripts:/home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/fru-tools/0.8.1.5+gitAUTOINC+9c360ea67d-r0/recipe-sysroot-default/usr/sbin:/home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/fru-tools/0.8.1.5+gitAUTOINC+9c360ea67d-r0/recipe-sysroot-default/usr/bin:/home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/fru-tools/0.8.1.5+gitAUTOINC+9c360ea67d-r0/recipe-sysroot-default/sbin:/home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/fru-tools/0.8.1.5+gitAUTOINC+9c360ea67d-r0/recipe-sysroot-default/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/gnu/microblaze/lin/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/gnu/armr5/lin/gcc-arm-none-eabi/bin:/home/Xilinx/petalinux/tools/xsct/SDK/2018.3/gnu/aarch64/lin/aarch64-none/bin:/home/Xilinx/petalinux/components/yocto/source/aarch64/layers/core/bitbake/bin:/home/Xilinx/petalinux/project_84/build/tmp/hosttools"; export HOME="/home/yankangning"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror github.com/.../fru_tools.git /home/Xilinx/petalinux/project_84/build/downloads/git2/github.com.analogdevicesinc.fru_tools.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/Xilinx/petalinux/project_84/build/downloads/git2/github.com.analogdevicesinc.fru_tools.git'...
fatal: unable to access 'github.com/.../': Failed to connect to github.com port 443: Connection timed out

ERROR: fru-tools-0.8.1.5+gitAUTOINC+9c360ea67d-r0 do_fetch: Fetcher failure for URL: 'git://github.com/analogdevicesinc/fru_tools.git;protocol=https;branch=2019_R1'. Unable to fetch URL from any source.
ERROR: fru-tools-0.8.1.5+gitAUTOINC+9c360ea67d-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/Xilinx/petalinux/project_84/build/tmp/work/aarch64-xilinx-linux/fru-tools/0.8.1.5+gitAUTOINC+9c360ea67d-r0/temp/log.do_fetch.17381
ERROR: Task (/home/Xilinx/petalinux/project_84/meta-adi/meta-adi-core/recipes-core/fru-tools/fru-tools_0.8.1.5.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3272 tasks of which 2390 didn't need to be rerun and 3 failed.

Summary: 3 tasks failed:
/home/Xilinx/petalinux/project_84/meta-adi/meta-adi-xilinx/recipes-kernel/linux/linux-xlnx_adi-2019_R1.bb:do_fetch
/home/Xilinx/petalinux/project_84/meta-adi/meta-adi-core/recipes-core/libad9361-iio/libad9361-iio_0.2.bb:do_fetch
/home/Xilinx/petalinux/project_84/meta-adi/meta-adi-core/recipes-core/fru-tools/fru-tools_0.8.1.5.bb:do_fetch
Summary: There were 3 WARNING messages shown.
Summary: There were 9 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project

[kny@localhost project_84]$