petalinux build 出现qemu问题
主要表现如下:build的时候出现error,开头是qemu
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://boringssl.googlesource.com/boringssl;protocol=https;name=boringssl;subpath=boringssl;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/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 for URL: 'gitsm://boringssl.googlesource.com/boringssl;protocol=https;name=boringssl;subpath=boringssl;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://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.
都是qemu打头,且报错 Fetcher failure for URL: 'gitsm://github.com/…
在你工程文件夹内找到……/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-devtools/qemu 这个文件夹
打开“qemu-xilinx.inc”
把 REPO ?= “gitsm: //github.com/Xilinx/qemu.git;protocol=https” 里面的gitsm改成git,
保存,再build,问题解决。