Skip to content

Commit 1c98620

Browse files
committed
Merge branch 'devel'
2 parents bbef392 + 786cf35 commit 1c98620

File tree

3 files changed

+39
-12
lines changed

3 files changed

+39
-12
lines changed

CHANGELOG.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# Changelog
22

3+
## raspberrypi-ua-netinst v2.2.1
4+
5+
- fix compatibility with onboard wireless lan on version 3 model B+ (with BCM2837B0)
6+
- build improvements
7+
38
## raspberrypi-ua-netinst v2.2.0
49

5-
- support for model 3B+
10+
- support for version 3 model B+ (with BCM2837B0)
611
- added installer output via telnet
712
- improved compatibility with RPi Compute Module 3
813
- improved SD card compatibility
@@ -127,7 +132,7 @@ If you are coming from an older version, **check your configuration options** to
127132
- added method to set time with http
128133
- dynamically add packages if needed by configuration variables
129134
- added docs for configuration variables
130-
- add hardware version 2 Model B+ (with BCM2837)
135+
- add hardware version 2 model B+ (with BCM2837)
131136

132137
**Bugfixes:**
133138

@@ -148,7 +153,7 @@ If you are coming from an older version, **check your configuration options** to
148153

149154
## raspberrypi-ua-netinst v1.2.1
150155

151-
- added compatibility for onboard wireless lan with model 3B to get used by installer and system (no ethernet needed)
156+
- added compatibility for onboard wireless lan on version 3 model B to get used by installer and system (no ethernet needed)
152157
- added more configuration variables
153158
- allow user to access GPIOs
154159
- create/add user to (system) groups

build.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,14 @@ function create_cpio {
633633

634634
# Binary firmware for version 3 Model B wireless
635635
mkdir -p rootfs/lib/firmware/brcm
636-
cp --preserve=xattr,timestamps -r tmp/lib/firmware/brcm/brcmfmac43430-sdio.txt rootfs/lib/firmware/brcm/
637636
cp --preserve=xattr,timestamps -r tmp/lib/firmware/brcm/brcmfmac43430-sdio.bin rootfs/lib/firmware/brcm/
637+
cp --preserve=xattr,timestamps -r tmp/lib/firmware/brcm/brcmfmac43430-sdio.txt rootfs/lib/firmware/brcm/
638+
639+
# Binary firmware for version 3 Model B+ wireless
640+
mkdir -p rootfs/lib/firmware/brcm
641+
cp --preserve=xattr,timestamps -r tmp/lib/firmware/brcm/brcmfmac43455-sdio.bin rootfs/lib/firmware/brcm/
642+
cp --preserve=xattr,timestamps -r tmp/lib/firmware/brcm/brcmfmac43455-sdio.clm_blob rootfs/lib/firmware/brcm/
643+
cp --preserve=xattr,timestamps -r tmp/lib/firmware/brcm/brcmfmac43455-sdio.txt rootfs/lib/firmware/brcm/
638644

639645
# vcgencmd
640646
## libraspberrypi-bin

update.sh

+24-8
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,31 @@ download_file() {
123123
local download_source=$1
124124
local download_target=$2
125125
if [ -z "${download_target}" ]; then
126-
if ! wget -q --show-progress --no-cache "${download_source}"; then
127-
echo -e "ERROR\nDownloading file '${download_source}' failed! Exiting."
128-
exit 1
129-
fi
126+
for i in $(seq 1 5); do
127+
if ! wget -q --show-progress --no-cache "${download_source}"; then
128+
if [ "${i}" != "5" ]; then
129+
sleep 5
130+
else
131+
echo -e "ERROR\nDownloading file '${download_source}' failed! Exiting."
132+
exit 1
133+
fi
134+
else
135+
break
136+
fi
137+
done
130138
else
131-
if ! wget -q --show-progress --no-cache -O "${download_target}" "${download_source}"; then
132-
echo -e "ERROR\nDownloading file '${download_source}' failed! Exiting."
133-
exit 1
134-
fi
139+
for i in $(seq 1 5); do
140+
if ! wget -q --show-progress --no-cache -O "${download_target}" "${download_source}"; then
141+
if [ "${i}" != "5" ]; then
142+
sleep 5
143+
else
144+
echo -e "ERROR\nDownloading file '${download_source}' failed! Exiting."
145+
exit 1
146+
fi
147+
else
148+
break
149+
fi
150+
done
135151
fi
136152
}
137153

0 commit comments

Comments
 (0)