lantiq-vdsl-fw: update to provide recent vectoring firmware

Recent Speedport firmware downloads only work over HTTPS, so the user
either needs to provide the already downloaded file or install
ustream-ssl-* as well as ca-certificates or ca-bundle.

So to get VDSL2 with vectoring on xRX200, simply run
vdsl_fw_install.sh
on the target and either provide the downloaded file as instructed or
make sure the device is connected to the Internet and can download that
HTTPS url itself.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2018-06-15 12:21:03 +02:00
parent 8e2f8b0c83
commit 0653e31270
4 changed files with 13 additions and 12 deletions

View File

@ -9,12 +9,12 @@ PKG_NAME:=ltq-vdsl-fw
PKG_VERSION:=1
PKG_RELEASE:=1
PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
include $(INCLUDE_DIR)/package.mk
define Package/ltq-vdsl-vr9-fw-installer
TITLE:=Firmware installer
define Package/ltq-vdsl-vr9-vectoring-fw-installer
TITLE:=VDSL2 Vectoring Firmware installer
SECTION:=net
CATEGORY:=Network
DEPENDS:=@TARGET_lantiq_xrx200 +kmod-ltq-vdsl-vr9
@ -37,4 +37,4 @@ define Package/ltq-vdsl-vr9-fw-installer/install
$(CP) $(PKG_BUILD_DIR)/w921v_fw_cutter $(PKG_BUILD_DIR)/vdsl_fw_install.sh $(1)/sbin/
endef
$(eval $(call BuildPackage,ltq-vdsl-vr9-fw-installer))
$(eval $(call BuildPackage,ltq-vdsl-vr9-vectoring-fw-installer))

View File

@ -1,13 +1,13 @@
#!/bin/sh
. /lib/functions.sh
FW="/tmp/Firmware_Speedport_W921V_1.21.000.bin"
URL="http://hilfe.telekom.de/dlp/eki/downloads/Speedport/Speedport%20W%20921V/Firmware_Speedport_W921V_1.21.000.bin"
FW="/tmp/firmware-speedport-w921v-1.44.000.bin"
URL="https://www.telekom.de/hilfe/downloads/firmware-speedport-w921v-1.44.000.bin"
FW_TAPI="vr9_tapi_fw.bin"
FW_DSL="vr9_dsl_fw_annex_b.bin"
MD5_FW="0a099d08dbf091c74d685b532cbb1390"
MD5_TAPI="06b6ab3481b8d3eb7e8bf6131f7f6b7f"
MD5_DSL="59dd9dc81195c6854433c691b163f757"
MD5_FW="cefbeb7073e02e0fa4ddb6b31ecb3d1e"
MD5_TAPI="57f2d07f59e11250ce1219bad99c1eda"
MD5_DSL="655442e31deaa42c9c68944869361ec0"
[ -f /lib/firmware/vdsl.bin ] && exit 0
@ -19,6 +19,7 @@ MD5_DSL="59dd9dc81195c6854433c691b163f757"
echo ""
[ "$R" = "y" ] || {
echo "Please manually download the firmware from ${URL} and copy the file to ${FW}"
echo "See also https://xdarklight.github.io/lantiq-xdsl-firmware-info/ for alternatives"
exit 1
}
echo "Download w921v Firmware"

View File

@ -26,7 +26,7 @@
#include "LzmaWrapper.h"
#define FW_NAME "/tmp/Firmware_Speedport_W921V_1.21.000.bin"
#define FW_NAME "/tmp/firmware-speedport-w921v-1.44.000.bin"
#define MAGIC 0x50
#define MAGIC_SZ 0x3FFC00
@ -78,7 +78,7 @@ int main(int argc, char **argv)
if (stat(FW_NAME, &s) != 0) {
printf("Failed to find %s\n", FW_NAME);
printf("Ask Google or try http://hilfe.telekom.de/dlp/eki/downloads/Speedport/Speedport%20W%20921V/Firmware_Speedport_W921V_1.21.000.bin\n");
printf("Ask Google or try https://www.telekom.de/hilfe/downloads/firmware-speedport-w921v-1.44.000.bin\n");
return -1;
}

View File

@ -6,7 +6,7 @@ CPU_TYPE:=24kc
DEFAULT_PACKAGES+=kmod-leds-gpio \
kmod-gpio-button-hotplug \
ltq-vdsl-vr9-fw-installer \
ltq-vdsl-vr9-vectoring-fw-installer \
kmod-ltq-vdsl-vr9-mei \
kmod-ltq-vdsl-vr9 \
kmod-ltq-atm-vr9 \