新手上路
- 积分
- 45
- 金钱
- 45
- 注册时间
- 2024-8-14
- 在线时间
- 12 小时
|
3金钱
情况:
1.是按照b站“【第三期】手把手教你学ZYNQ&MPSoC系列之嵌入式Linux开发篇【真人出镜】FPGA教学视频教程”第六讲的流程走的 ,之前进行petalinux设计流程实战实验时是能够编译成功的2.创建工程获取硬件的xsa文件是A盘里4_Source_Code\3_Embedded_Linux\vivado_prj\Navigator_7020的xsa文件
3.使用的内核是A盘里的4_Source_Code\3_Embedded_Linux\资源文件\Kernel\atk-zynq-linux-xlnx.tar
4.进行了根文件系统的设置,也进行了解决 Petalinux 由于网络原因产生的编译错误的设置,
5.设备树按照b站视频使用的atk-zynq-linux-xlnx/arch/arm/boot/dts/navigator-system-user.dtsi
问题:
1.执行命令 petalinux-build,报错如下:
NOTE: Executing Tasks
NOTE: Setscene tasks completed
WARNING: qemu-xilinx-native-v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0 do_fetch: Failed to fetch URL gitsm://github.com/Xilinx/qemu.git;protocol=https;branch=branch/xilinx-v2020.2, attempting MIRRORS if available
ERROR: qemu-xilinx-native-v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1985"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export GIT_SSL_CAINFO="/opt/pkg/petalinux/2020.2/components/yocto/buildtools/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/home/lzl/petalinux/test/components/yocto/layers/core/scripts/native-intercept:/home/lzl/petalinux/test/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/lzl/petalinux/test/components/yocto/layers/core/scripts:/home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/recipe-sysroot-native/usr/bin:/home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/recipe-sysroot-native/usr/sbin:/home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/recipe-sysroot-native/usr/bin:/home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/recipe-sysroot-native/sbin:/home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/recipe-sysroot-native/bin:/opt/pkg/petalinux/2020.2/tools/xsct//bin:/opt/pkg/petalinux/2020.2/tools/xsct//gnu/microblaze/lin/bin:/opt/pkg/petalinux/2020.2/tools/xsct//gnu/aarch32/lin/gcc-arm-none-eabi/bin:/opt/pkg/petalinux/2020.2/tools/xsct//gnu/armr5/lin/gcc-arm-none-eabi/bin:/opt/pkg/petalinux/2020.2/tools/xsct//gnu/aarch64/lin/aarch64-none/bin:/home/lzl/petalinux/test/components/yocto/layers/core/bitbake/bin:/home/lzl/petalinux/test/build/tmp/hosttools"; export HOME="/home/lzl"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror https://github.com/Xilinx/qemu.git /home/lzl/petalinux/test/build/downloads/git2/github.com.Xilinx.qemu.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/lzl/petalinux/test/build/downloads/git2/github.com.Xilinx.qemu.git'...
remote: Enumerating objects: 718355, done.
remote: Counting objects: 100% (124744/124744), done.
remote: Compressing objects: 100% (22204/22204), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOFs: 4% (31240/718355), 14.47 MiB | 43.00 KiB/s
fatal: index-pack failed
ERROR: qemu-xilinx-native-v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0 do_fetch: Fetcher failure for URL: 'gitsm://github.com/Xilinx/qemu.git;protocol=https;branch=branch/xilinx-v2020.2'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/temp/log.do_fetch.49455
ERROR: Task (/home/lzl/petalinux/test/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-native_2020.2.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2688 tasks of which 2279 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/lzl/petalinux/test/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-native_2020.2.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project
2.执行命令 petalinux-build -c device-tree,报错如下:
NOTE: linux-xlnx: compiling from external source tree /home/lzl/zynq_kernel/atk-zynq-linux-xlnx
WARNING: qemu-xilinx-native-v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0 do_fetch: Failed to fetch URL gitsm://github.com/openssl/openssl;protocol=https;name=CryptoPkg/Library/OpensslLib/openssl;subpath=CryptoPkg/Library/OpensslLib/openssl;bareclone=1;nobranch=1, attempting MIRRORS if available
ERROR: qemu-xilinx-native-v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1985"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export GIT_SSL_CAINFO="/opt/pkg/petalinux/2020.2/components/yocto/buildtools/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/home/lzl/petalinux/test/components/yocto/layers/core/scripts/native-intercept:/home/lzl/petalinux/test/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/lzl/petalinux/test/components/yocto/layers/core/scripts:/home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/recipe-sysroot-native/usr/bin:/home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/recipe-sysroot-native/usr/sbin:/home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/recipe-sysroot-native/usr/bin:/home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/recipe-sysroot-native/sbin:/home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/recipe-sysroot-native/bin:/opt/pkg/petalinux/2020.2/tools/xsct//bin:/opt/pkg/petalinux/2020.2/tools/xsct//gnu/microblaze/lin/bin:/opt/pkg/petalinux/2020.2/tools/xsct//gnu/aarch32/lin/gcc-arm-none-eabi/bin:/opt/pkg/petalinux/2020.2/tools/xsct//gnu/armr5/lin/gcc-arm-none-eabi/bin:/opt/pkg/petalinux/2020.2/tools/xsct//gnu/aarch64/lin/aarch64-none/bin:/home/lzl/petalinux/test/components/yocto/layers/core/bitbake/bin:/home/lzl/petalinux/test/build/tmp/hosttools"; export HOME="/home/lzl"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror https://github.com/openssl/openssl /home/lzl/petalinux/test/build/downloads/git2/github.com.openssl.openssl --progress failed with exit code 128, output:
Cloning into bare repository '/home/lzl/petalinux/test/build/downloads/git2/github.com.openssl.openssl'...
fatal: unable to access 'https://github.com/openssl/openssl/': Empty reply from server
ERROR: qemu-xilinx-native-v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0 do_fetch: gitsm: submodule download failed: FetchError Fetcher failure for URL: 'gitsm://github.com/openssl/openssl;protocol=https;name=CryptoPkg/Library/OpensslLib/openssl;subpath=CryptoPkg/Library/OpensslLib/openssl;bareclone=1;nobranch=1'. Unable to fetch URL from any source.
WARNING: qemu-xilinx-native-v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0 do_fetch: Failed to fetch URL gitsm://git.qemu.org/git/edk2.git;protocol=https;name=roms/edk2;subpath=roms/edk2;bareclone=1;nobranch=1, attempting MIRRORS if available
ERROR: qemu-xilinx-native-v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0 do_fetch: Fetcher failure for URL: 'gitsm://github.com/openssl/openssl;protocol=https;name=CryptoPkg/Library/OpensslLib/openssl;subpath=CryptoPkg/Library/OpensslLib/openssl;bareclone=1;nobranch=1'. Unable to fetch URL from any source.
ERROR: qemu-xilinx-native-v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0 do_fetch: gitsm: submodule download failed: FetchError Fetcher failure for URL: 'gitsm://git.qemu.org/git/edk2.git;protocol=https;name=roms/edk2;subpath=roms/edk2;bareclone=1;nobranch=1'. Unable to fetch URL from any source.
WARNING: qemu-xilinx-native-v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0 do_fetch: Failed to fetch URL gitsm://github.com/Xilinx/qemu.git;protocol=https;branch=branch/xilinx-v2020.2, attempting MIRRORS if available
ERROR: qemu-xilinx-native-v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0 do_fetch: Fetcher failure for URL: 'gitsm://git.qemu.org/git/edk2.git;protocol=https;name=roms/edk2;subpath=roms/edk2;bareclone=1;nobranch=1'. Unable to fetch URL from any source.
ERROR: qemu-xilinx-native-v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0 do_fetch: Fetcher failure for URL: 'gitsm://github.com/Xilinx/qemu.git;protocol=https;branch=branch/xilinx-v2020.2'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/lzl/petalinux/test/build/tmp/work/x86_64-linux/qemu-xilinx-native/v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0/temp/log.do_fetch.128328
ERROR: Task (/home/lzl/petalinux/test/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-native_2020.2.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2280 tasks of which 0 didn't need to be rerun and 1 failed.
想问一下要如何解决
Summary: 1 task failed:
/home/lzl/petalinux/test/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-native_2020.2.bb:do_fetch
Summary: There were 3 WARNING messages shown.
Summary: There were 6 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build device-tree
|
|