Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for FritzBox 5491 (GPON fiber) #145

Merged
merged 2 commits into from Apr 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion FIRMWARES
Expand Up @@ -68,7 +68,7 @@ Currently supported boxes and firmwares
* 155.07.01 rev61489 (German & International)
* 155.07.08 rev67481 (Labor)

====== Fritz!Box Fon (5xxx) ======
====== Fritz!Box Fon (50xx/51xx) ======

* Fritz!Box Fon
* 06.04.33 rev7703
Expand All @@ -86,6 +86,11 @@ Currently supported boxes and firmwares
* Fritz!Box Fon 5140
* 43.04.67 rev13928

====== Fritz!Box Fiber (549x) ======

* Fritz!Box 5491 Fiber
* 171.07.01 rev64362 (German & International)

====== Fritz!Box Cable (64xx/65xx) ======

* Fritz!Box 6490 Cable (EXPERIMENTAL)
Expand Down
3 changes: 3 additions & 0 deletions config/avm/availability.in
Expand Up @@ -201,6 +201,7 @@ config FREETZ_AVM_HAS_FIRMWARE_07_0X
FREETZ_TYPE_3490 || \
FREETZ_TYPE_4020 || \
FREETZ_TYPE_4040 || \
FREETZ_TYPE_5491 || \
FREETZ_TYPE_6490 || \
FREETZ_TYPE_6590 || \
FREETZ_TYPE_6820 || \
Expand All @@ -219,6 +220,7 @@ config FREETZ_AVM_HAS_FIRMWARE_07_0X
FREETZ_TYPE_3490 || \
FREETZ_TYPE_4020 || \
FREETZ_TYPE_4040 || \
FREETZ_TYPE_5491 || \
FREETZ_TYPE_6820 || \
FREETZ_TYPE_6890 || \
FREETZ_TYPE_7430 || \
Expand Down Expand Up @@ -295,6 +297,7 @@ config FREETZ_AVM_HAS_LANG_EN
FREETZ_TYPE_3490 || \
FREETZ_TYPE_4020 || \
FREETZ_TYPE_4040 || \
FREETZ_TYPE_5491 || \
FREETZ_TYPE_6810 || \
FREETZ_TYPE_6820 || \
FREETZ_TYPE_6840 || \
Expand Down
9 changes: 8 additions & 1 deletion config/avm/features.in
Expand Up @@ -9,11 +9,17 @@ config FREETZ_TYPE_CABLE
FREETZ_TYPE_6490 || \
FREETZ_TYPE_6590

config FREETZ_TYPE_FIBER
bool
default y
depends on \
FREETZ_TYPE_5491

config FREETZ_TYPE_DSL
bool
default y
depends on \
(!FREETZ_TYPE_CABLE && !FREETZ_TYPE_LTE && !FREETZ_TYPE_WLAN_REPEATER) || \
(!FREETZ_TYPE_CABLE && !FREETZ_TYPE_LTE && !FREETZ_TYPE_FIBER && !FREETZ_TYPE_WLAN_REPEATER) || \
FREETZ_TYPE_6890

config FREETZ_TYPE_LTE
Expand Down Expand Up @@ -82,6 +88,7 @@ config FREETZ_AVM_HAS_FHEM
FREETZ_TYPE_3370 || \
FREETZ_TYPE_3390 || \
FREETZ_TYPE_3490 || \
FREETZ_TYPE_5491 || \
FREETZ_TYPE_6840 || \
FREETZ_TYPE_7240 || \
FREETZ_TYPE_7270_16 || \
Expand Down
1 change: 1 addition & 0 deletions config/avm/hardware.in
Expand Up @@ -136,6 +136,7 @@ config FREETZ_SYSTEM_TYPE_VR9
FREETZ_TYPE_3370 || \
FREETZ_TYPE_3390 || \
FREETZ_TYPE_3490 || \
FREETZ_TYPE_5491 || \
FREETZ_TYPE_6840 || \
FREETZ_TYPE_7360 || \
FREETZ_TYPE_7362 || \
Expand Down
6 changes: 5 additions & 1 deletion config/avm/source.in
Expand Up @@ -101,6 +101,8 @@ config FREETZ_AVM_SOURCE_3390_06_51
bool
config FREETZ_AVM_SOURCE_3490_06_31
bool
config FREETZ_AVM_SOURCE_5491_07_01
bool
config FREETZ_AVM_SOURCE_7360_06_20
bool
config FREETZ_AVM_SOURCE_7490_06_30
Expand Down Expand Up @@ -170,6 +172,7 @@ config FREETZ_AVM_SOURCE_ID
# VR9
default "3390_06.51" if FREETZ_AVM_SOURCE_3390_06_51
default "3490_06.31" if FREETZ_AVM_SOURCE_3490_06_31
default "5491_07.01" if FREETZ_AVM_SOURCE_5491_07_01
default "7360_06.20" if FREETZ_AVM_SOURCE_7360_06_20
default "7490_06.30" if FREETZ_AVM_SOURCE_7490_06_30
default "7490_06.51" if FREETZ_AVM_SOURCE_7490_06_51
Expand Down Expand Up @@ -282,5 +285,6 @@ config FREETZ_AVM_SOURCE_FOR_SYSTEM_TYPE_VR9
# 06.9X
select FREETZ_AVM_SOURCE_7490_06_93 if FREETZ_AVM_VERSION_06_9X
# 07.0X
select FREETZ_AVM_SOURCE_7490_07_01 if FREETZ_AVM_VERSION_07_0X
select FREETZ_AVM_SOURCE_5491_07_01 if FREETZ_AVM_VERSION_07_0X && FREETZ_TYPE_5491
select FREETZ_AVM_SOURCE_7490_07_01 if FREETZ_AVM_VERSION_07_0X && !FREETZ_TYPE_5491
bool
9 changes: 8 additions & 1 deletion config/mod/download.in
Expand Up @@ -107,6 +107,7 @@ menu "Override options"
default "7390_06.20" if FREETZ_AVM_SOURCE_7390_06_30 || FREETZ_AVM_SOURCE_7390_06_51
default "3490_06.20" if FREETZ_AVM_SOURCE_3490_06_31 || FREETZ_AVM_SOURCE_6810_06_21 || FREETZ_AVM_SOURCE_7272_06_20 || FREETZ_AVM_SOURCE_7320_06_30 || FREETZ_AVM_SOURCE_7360_06_20 || FREETZ_AVM_SOURCE_7490_06_30
default "7490_06.51" if FREETZ_AVM_SOURCE_3390_06_51
default "7490_07.01" if FREETZ_AVM_SOURCE_5491_07_01
#
# not a final version -> use some version specific suffix
#
Expand Down Expand Up @@ -151,7 +152,7 @@ menu "Override options"
default "9f3b5210c4709fd0c0ed669783f60cfa" if FREETZ_AVM_SOURCE_7490_06_60
default "d2bc6b4ea5f067e232fc5b9c04ff0ff4" if FREETZ_AVM_SOURCE_7490_06_83
default "fa236f0b43aa2a7b903173bc0e726848" if FREETZ_AVM_SOURCE_7490_06_93
default "9dc643cfd52afb67a4ea169cfe82551d" if FREETZ_AVM_SOURCE_7490_07_01
default "9dc643cfd52afb67a4ea169cfe82551d" if FREETZ_AVM_SOURCE_7490_07_01 || FREETZ_AVM_SOURCE_5491_07_01
default "750f8e9800f77d7bb8fc345e635602e2" if FREETZ_AVM_SOURCE_7530_07_02
default "35ed17f95d709de7a2509f56976b47e5" if FREETZ_AVM_SOURCE_7580_06_53
default "350317ac647aae7ad39645353581aff2" if FREETZ_AVM_SOURCE_7580_06_81
Expand Down Expand Up @@ -231,6 +232,8 @@ menu "Override options"
#
default "@AVM/fritzbox.fon_5140/firmware" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_5140
#
default "@AVM/fritzbox/fritzbox-5491/{other,deutschland}/fritz.os" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_5491 # German and international version are identical
#
default "@AVM/firmware/6490/78434061" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_6490 && FREETZ_TYPE_FIRMWARE_06_8X
default "@AVM/firmware/6490/59088767" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_6490 && FREETZ_TYPE_FIRMWARE_07_0X
#
Expand Down Expand Up @@ -472,6 +475,8 @@ menu "Override options"
#
default "FRITZ.Box_Fon_5140.AnnexB.43.04.67.image" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_5140
#
default "FRITZ.Box_5491.de-en-es-it-fr-pl.171.07.01.image" if FREETZ_TYPE_FIRMWARE_07_0X && FREETZ_TYPE_5491 # German and international versions are identical
#
default "FRITZ.Box_6490_Cable.de-en-es-it-fr-pl.141.06.87.image" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_6490 && FREETZ_TYPE_FIRMWARE_06_8X
default "FRITZ.Box_6490_Cable.de-en-es-it-fr-pl.141.07.02.image" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_6490 && FREETZ_TYPE_FIRMWARE_07_0X
default "FRITZ.Box_6490_Cable-07.08-67153-LabBETA.image" if FREETZ_TYPE_FIRMWARE_LABOR_BETA && FREETZ_TYPE_6490
Expand Down Expand Up @@ -718,6 +723,8 @@ menu "Override options"
#
default "1eda8531cceea471e04985fa635ba146" if FREETZ_TYPE_5140
#
default "669f8ac139ec171fd18958827ccd6905" if FREETZ_TYPE_5491 && FREETZ_TYPE_FIRMWARE_07_0X # German and international versions are identical
#
default "e7d8e183b1bf7fe94d8a4b0a24d07064" if FREETZ_TYPE_6490 && FREETZ_TYPE_FIRMWARE_06_8X
default "ffa70282f019e31ae9216d77c57f63bb" if FREETZ_TYPE_6490 && FREETZ_TYPE_FIRMWARE_07_0X
#
Expand Down
1 change: 1 addition & 0 deletions config/mod/kernel.in
Expand Up @@ -34,6 +34,7 @@ config FREETZ_REPLACE_KERNEL_EXPERIMENTAL
FREETZ_AVM_SOURCE_3490_06_31 || \
FREETZ_AVM_SOURCE_4020_06_50 || \
FREETZ_AVM_SOURCE_4020_07_01 || \
FREETZ_AVM_SOURCE_5491_07_01 || \
FREETZ_AVM_SOURCE_6490_06_87 || \
FREETZ_AVM_SOURCE_6490_07_02 || \
FREETZ_AVM_SOURCE_6590_06_87 || \
Expand Down
1 change: 1 addition & 0 deletions config/mod/prefix.in
Expand Up @@ -25,6 +25,7 @@ config FREETZ_TYPE_PREFIX
default "5050" if FREETZ_TYPE_5050
default "5124" if FREETZ_TYPE_5124
default "5140" if FREETZ_TYPE_5140
default "5491" if FREETZ_TYPE_5491
default "wlan" if FREETZ_TYPE_WLAN
default "6490" if FREETZ_TYPE_6490
default "6590" if FREETZ_TYPE_6590
Expand Down
7 changes: 7 additions & 0 deletions config/ui/firmware.in
Expand Up @@ -97,6 +97,13 @@ choice
select FREETZ_AVM_SOURCE_04_67
bool "5140"

comment "Fiber"

config FREETZ_TYPE_5491
#select FREETZ_AVM_SOURCE_07_01
select FREETZ_AVM_SOURCE_FOR_SYSTEM_TYPE_VR9
bool "5491"

comment "Cable"

config FREETZ_TYPE_6490
Expand Down