build
build copied to clipboard
"linux-firmware.git" Download item Mainland China address
Optional parameters
USE_MAINLINE_GOOGLE_MIRROR=""
Only Google and source address. Suggest to add tuna: use mirror provided by Tsinghua University
“https://mirrors.tuna.tsinghua.edu.cn/git/linux-firmware.git”
For users in mainland China, Google is blocked
Project script
lib/compilation.sh for 475
compile_firmware()
{
display_alert "Merging and packaging linux firmware" "@host" "info"
if [[ $USE_MAINLINE_GOOGLE_MIRROR == yes ]]; then
plugin_repo="https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
else
plugin_repo="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
fi
Speed after modification
[ .... ] Remote URL does not match, removing existing local copy
[ .... ] Creating local copy
[ .... ] Fetching updates
remote: Counting objects: 2210, done.
remote: Compressing objects: 100% (1479/1479), done.
remote: Total 2210 (delta 805), reused 1989 (delta 678)
Receiving objects: 100% (2210/2210), 188.44 MiB | 9.49 MiB/s, done.
Resolving deltas: 100% (805/805), done.
From https://mirrors.tuna.tsinghua.edu.cn/git/linux-firmware
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
[ .... ] Checking out
Did a test build with
./compile.sh docker BOARD=radxa-zero BRANCH=current RELEASE=bullseye BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no DOWNLOAD_MIRROR=china MAINLINE_MIRROR=tuna UBOOT_MIRROR=gitee GITHUB_MIRROR=fastgit
and got working image. The last 2 options are my custom mirror options unrelated to MAINLINE_MIRROR.
may be clone to gitee ,maybe fail. lots of these proble because of this.
Are there more reliable Github mirrors?
can not be equal to github, so when i debug, also have this proble sometimes.
Closing. Seems its an random network issue.