Skip to content

Commit d694a1e

Browse files
authored
Merge pull request #108 from ersonp/arm-updates
armv6 and v7 download link update
2 parents 3b714f3 + 6f9bf92 commit d694a1e

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

build.conf

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
# version must always start with "v" like: v0.1.45-rc
1010

11-
VERSION=v0.3.0
11+
VERSION=v0.4.0
1212
# This must match the tags in the github repository
1313

1414
# loading the actual path
@@ -20,14 +20,13 @@ ROOT=$(pwd)
2020

2121
ARMBIAN_DOWNLOAD_URL="https://mirrors.netix.net/armbian/dl/orangepiprime/archive/Armbian_21.08.1_Orangepiprime_buster_current_5.10.60.img.xz"
2222
ARMBIAN_DOWNLOAD_URL_OPI3="https://mirrors.netix.net/armbian/dl/orangepi3/archive/Armbian_21.08.1_Orangepi3_buster_current_5.10.60.img.xz"
23-
RASPBIAN_ARMHF_DOWNLOAD_URL="https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-05-28/2021-05-07-raspios-buster-armhf-lite.zip"
23+
RASPBIAN_ARM_DOWNLOAD_URL="https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-05-28/2021-05-07-raspios-buster-armhf-lite.zip"
2424
RASPBIAN_ARM64_DOWNLOAD_URL="https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2021-05-28/2021-05-07-raspios-buster-arm64-lite.zip"
2525

2626
# Skywire release download for OS running on destination skyminer
27-
SKYWIRE_VERSION=v0.4.1
27+
SKYWIRE_VERSION=v0.5.0
2828
SKYWIRE_ARM64_DOWNLOAD_URL="https://github.com/skycoin/skywire/releases/download/$SKYWIRE_VERSION/skywire-$SKYWIRE_VERSION-linux-arm64.tar.gz"
2929
SKYWIRE_ARM_DOWNLOAD_URL="https://github.com/skycoin/skywire/releases/download/$SKYWIRE_VERSION/skywire-$SKYWIRE_VERSION-linux-arm.tar.gz"
30-
SKYWIRE_ARMV6_DOWNLOAD_URL="https://github.com/asxtree/skywire-mainnet/releases/download/$SKYWIRE_VERSION/skywire-$SKYWIRE_VERSION-linux-armv6l.tar.gz"
3130
# Offset and sector size of the Armbian image for rootfs (found automatically if not set)
3231
IMG_OFFSET="" # 8192
3332
IMG_SECTOR="" # 512

build.sh

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)