I am trying to build OpenWrt using steps specified on 8devices website here.
The steps look something like this:
$ sudo apt-get install git git-doc subversion build-essential flex wget gawk unzip man file python2.7 zlib1g-dev libssl-dev libncurses5-dev
$ git clone -b openwrt-19.07-ar71xx-4.14 https://github.com/8devices/openwrt-8devices lima
$ cd lima
$ ./build.sh lima
The build process failed because the build process is not able to download board-2.bin
. Here is the build.sh
output log:
mkdir -p /home/my_user/workspace/lima/dl
SHELL= flock /home/my_user/workspace/lima/tmp/.board-2.bin.ddcec9efd245da9365c474f513a855a55f3ac7fe.flock -c ' /home/my_user/workspace/lima/scripts/download.pl "/home/my_user/workspace/lima/dl" "board-2.bin.ddcec9efd245da9365c474f513a855a55f3ac7fe" "03711ac21e60ef59d3815e235eb721c0c22851b5410299411085aa6f2af45401" "board-2.bin?id=ddcec9efd245da9365c474f513a855a55f3ac7fe" "https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ath10k/QCA99X0/hw2.0" '
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ath10k/QCA99X0/hw2.0/board-2.bin?id=ddcec9efd245da9365c474f513a855a55f3ac7fe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: source.codeaurora.org
Warning: Problem : timeout. Will retry in 1 seconds. 5 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: source.codeaurora.org
Warning: Problem : timeout. Will retry in 2 seconds. 4 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: source.codeaurora.org
Warning: Problem : timeout. Will retry in 4 seconds. 3 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: source.codeaurora.org
Warning: Problem : timeout. Will retry in 8 seconds. 2 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: source.codeaurora.org
Warning: Problem : timeout. Will retry in 16 seconds. 1 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: source.codeaurora.org
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.openwrt.org/board-2.bin?id=ddcec9efd245da9365c474f513a855a55f3ac7fe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 146 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (22) The requested URL returned error: 404
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://mirror2.openwrt.org/sources/board-2.bin?id=ddcec9efd245da9365c474f513a855a55f3ac7fe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 153 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (22) The requested URL returned error: 404
Download failed.
No more mirrors to try - giving up.
make[3]: *** [qca_ath10k.mk:11: /home/my_user/workspace/lima/dl/board-2.bin.ddcec9efd245da9365c474f513a855a55f3ac7fe] Error 2
make[3]: Leaving directory '/home/my_user/workspace/lima/package/firmware/linux-firmware'
time: package/firmware/linux-firmware/compile#0.12#0.08#34.57
make[2]: *** [package/Makefile:113: package/firmware/linux-firmware/compile] Error 2
make[2]: Leaving directory '/home/my_user/workspace/lima'
make[1]: *** [package/Makefile:107: /home/my_user/workspace/lima/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/my_user/workspace/lima'
make: *** [/home/my_user/workspace/lima/include/toplevel.mk:227: world] Error 2
What I am missing here?