@@ -170,12 +170,9 @@ get_skywire()
170170 local _DST=${PARTS_SKYWIRE_DIR} /skywire.tar.gz # Download destination file name.
171171
172172 if [ ! -f " ${_DST} " ] ; then
173- if [ ${ARCH} == armhf ] ; then
173+ if [ ${ARCH} == armv6 ] || [ ${ARCH} == armv7] || [ ${ARCH} == armhf ] ; then
174174 notice " Downloading package from ${SKYWIRE_ARM_DOWNLOAD_URL} to ${_DST} ..."
175175 wget -c " ${SKYWIRE_ARM_DOWNLOAD_URL} " -O " ${_DST} " || return 1
176- elif [ ${ARCH} == armv6 ] ; then
177- notice " Downloading package from ${SKYWIRE_ARMV6_DOWNLOAD_URL} to ${_DST} ..."
178- wget -c " ${SKYWIRE_ARMV6_DOWNLOAD_URL} " -O " ${_DST} " || return 1
179176 elif [ ${ARCH} == arm64 ] ; then
180177 notice " Downloading package from ${SKYWIRE_ARM64_DOWNLOAD_URL} to ${_DST} ..."
181178 wget -c " ${SKYWIRE_ARM64_DOWNLOAD_URL} " -O " ${_DST} " || return 1
@@ -214,12 +211,12 @@ download_os()
214211 wget -c " ${ARMBIAN_DOWNLOAD_URL_OPI3} .sha" ||
215212 (error " Checksum download failed." && return 1)
216213 elif [ ${BOARD} == rpi ] || [ ${BOARD} == rpiw ] ; then
217- info " Downloading image from ${RASPBIAN_ARMHF_DOWNLOAD_URL } to ${_DST} ..."
218- wget -c " ${RASPBIAN_ARMHF_DOWNLOAD_URL } " ||
214+ info " Downloading image from ${RASPBIAN_ARM_DOWNLOAD_URL } to ${_DST} ..."
215+ wget -c " ${RASPBIAN_ARM_DOWNLOAD_URL } " ||
219216 (error " Download failed." && return 1)
220217
221- info " Downloading checksum from ${RASPBIAN_ARMHF_DOWNLOAD_URL } .sha..."
222- wget -c " ${RASPBIAN_ARMHF_DOWNLOAD_URL } .sha256" ||
218+ info " Downloading checksum from ${RASPBIAN_ARM_DOWNLOAD_URL } .sha..."
219+ wget -c " ${RASPBIAN_ARM_DOWNLOAD_URL } .sha256" ||
223220 (error " Checksum download failed." && return 1)
224221 elif [ ${BOARD} == rpi64 ] ; then
225222 info " Downloading image from ${RASPBIAN_ARM64_DOWNLOAD_URL} to ${_DST} ..."
0 commit comments