当执行git clone -b QPDS24.1_REL_AGILEX5_GSRD_PR https://github.com/altera-opensource/arm-trusted-firmware arm-trusted-firmware遇到报错:
Cloning into 'arm-trusted-firmware'...
fatal: unable to access 'https://github.com/altera-opensource/arm-trusted-firmware/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.

或者是报错:
Cloning into 'arm-trusted-firmware'...
fatal: unable to access 'https://github.com/altera-opensource/arm-trusted-firmware/': Failed to connect to github.com port 443 after 132671 ms: Connection timed out

或者报错:
Cloning into 'arm-trusted-firmware'...
error: RPC failed; curl 16 Error in the HTTP2 framing layer
fatal: expected flush after ref listing

有可能gitbub之前设置过代理,只需分别执行如下代码即可:
git config --global --unset http.proxy
git config --global --unset https.proxy

浙公网安备 33010602011771号