|
@@ -195,22 +195,6 @@ EOF
|
195
|
195
|
configure_networking() {
|
196
|
196
|
chroot "$rootdir" apt-get -yq install resolvconf
|
197
|
197
|
|
198
|
|
- if [[ "$MACHINE" == "beaglebonewifi" ]]; then
|
199
|
|
- # Allow networking over USB in order to configure the
|
200
|
|
- # wifi login settings
|
201
|
|
-
|
202
|
|
- echo '# This file describes the network interfaces available on your system' > $rootdir/etc/network/interfaces
|
203
|
|
- echo '# and how to activate them. For more information, see interfaces(5).' >> $rootdir/etc/network/interfaces
|
204
|
|
- echo 'source /etc/network/interfaces.d/*' >> $rootdir/etc/network/interfaces
|
205
|
|
-
|
206
|
|
- echo 'iface usb0 inet static' >> $rootdir/etc/network/interfaces.d/usb
|
207
|
|
- echo ' address 192.168.7.2' >> $rootdir/etc/network/interfaces.d/usb
|
208
|
|
- echo ' netmask 255.255.255.252' >> $rootdir/etc/network/interfaces.d/usb
|
209
|
|
- echo ' network 192.168.7.0' >> $rootdir/etc/network/interfaces.d/usb
|
210
|
|
- echo ' gateway 192.168.7.1' >> $rootdir/etc/network/interfaces.d/usb
|
211
|
|
- return
|
212
|
|
- fi
|
213
|
|
-
|
214
|
198
|
if [[ $DEBIAN_INSTALL_ONLY != "no" ]]; then
|
215
|
199
|
return
|
216
|
200
|
fi
|
|
@@ -492,10 +476,6 @@ continue_installation() {
|
492
|
476
|
}
|
493
|
477
|
|
494
|
478
|
atheros_wifi() {
|
495
|
|
- if [[ "$MACHINE" == "beaglebonewifi" ]]; then
|
496
|
|
- return
|
497
|
|
- fi
|
498
|
|
-
|
499
|
479
|
chroot "$rootdir" dpkg -i /root/freedombone/drivers/firmware-ath9k-htc.deb
|
500
|
480
|
chroot "$rootdir" apt-get -yq install firmware-linux-free
|
501
|
481
|
}
|
|
@@ -2106,13 +2086,6 @@ case "$MACHINE" in
|
2106
|
2086
|
dd if=$rootdir/usr/lib/u-boot/am335x_boneblack/u-boot.img of="$image" \
|
2107
|
2087
|
count=2 seek=1 conv=notrunc bs=384k
|
2108
|
2088
|
;;
|
2109
|
|
- beaglebonewifi)
|
2110
|
|
- touch $rootdir/root/.wifi-only
|
2111
|
|
- dd if=$rootdir/usr/lib/u-boot/am335x_boneblack/MLO of="$image" \
|
2112
|
|
- count=1 seek=1 conv=notrunc bs=128k
|
2113
|
|
- dd if=$rootdir/usr/lib/u-boot/am335x_boneblack/u-boot.img of="$image" \
|
2114
|
|
- count=2 seek=1 conv=notrunc bs=384k
|
2115
|
|
- ;;
|
2116
|
2089
|
cubieboard2)
|
2117
|
2090
|
dd if=$rootdir/usr/lib/u-boot/Cubieboard2/u-boot-sunxi-with-spl.bin of="$image" \
|
2118
|
2091
|
seek=8 conv=notrunc bs=1k
|