Skip to content

Commit

Permalink
Add support for FritzBox 5491 (GPON fiber) (Freetz#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
cawidtu authored and fda77 committed Apr 12, 2019
1 parent 3d0a2df commit 9405ff0
Show file tree
Hide file tree
Showing 22 changed files with 5,749 additions and 4 deletions.
7 changes: 6 additions & 1 deletion FIRMWARES
Expand Up @@ -68,7 +68,7 @@ Currently supported boxes and firmwares
* 155.07.01 rev61489 (German & International)
* latest detected (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 (54xx) ======

* 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 @@ -215,6 +215,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_V1 || \
Expand All @@ -234,6 +235,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_V1 || \
Expand Down Expand Up @@ -331,6 +333,7 @@ config FREETZ_AVM_HAS_LANG_EN
FREETZ_TYPE_3490 || \
FREETZ_TYPE_4020 || \
FREETZ_TYPE_4040 || \
FREETZ_TYPE_5491 || \
FREETZ_TYPE_6490 || \
FREETZ_TYPE_6590 || \
FREETZ_TYPE_6810 || \
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_EXTENDER) || \
(!FREETZ_TYPE_CABLE && !FREETZ_TYPE_LTE && !FREETZ_TYPE_FIBER && !FREETZ_TYPE_EXTENDER) || \
FREETZ_TYPE_6890

config FREETZ_TYPE_LTE
Expand Down Expand Up @@ -84,6 +90,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 @@ -139,6 +139,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
1 change: 1 addition & 0 deletions config/avm/signature.in
Expand Up @@ -21,6 +21,7 @@
default "010001x00b93fd009c24abaa4e560c0c88fc2be0671a5c9d16a1aecee7db25e86797101ed3a4410c605960301fd5931a9e94912f5f688f45c843f28b9ca5e3fcdee6eca0858ecd271341205e7d719de0a6e1cc152af6eb33f1e7298bcf55e3980649801baeac868d0d097403d97e8880b45dc46382c7dd4db6a2f7279a8d4ba10cf5e7109" if FREETZ_TYPE_4020
default "010001x00cfe3f70c451c7ccd40e453a43edd55fc7ba48142651a83299e18907236505be87b80a4d0195bd7c1706631ba6e66dd70180d0170685eab6ba6bf8451be8fc61e5fe37654fc0f1a4b549bc00232919a3d57fe39e8a64ec8f53b598333767c99c1857d1344854bd390bf907887192596c04a6032266d37918b17f2f6bd7b767bc7" if FREETZ_TYPE_4040
default "010001x00c84c4cd4515c096cd03df122097abaddfc4e92c6159e3b14339ff32b439ea8aa4b945454f79b8ff470a4363aa09abd3c7897c678f2237c99a3f7822856b3a07cacbde9d63d679acc7bc3f530e4410ebbafbdb8954c57a03162c10b2c55d109b5af0dabc7d7fb290f4ce24f9a0d857f50197ee20e80555716687d77d28d44be73" if FREETZ_TYPE_5124
default "010001x00d5e60af4efec3320fc6fa8e0c4a9682ceede37788034448afe63e71842babcb89f9f5ba1717ee29bc5ff877eb0a4e14c247fb33b7ac9c6d17b474dd1b9b30e151fd3f6b4139ab091046172fe080458cba23960747791decc2fd9834a62d1f8fd9d719060a39e4f0619ac6a09e07bb68a4e251d19e36e1727443402f2b5272a05" if FREETZ_TYPE_5491
default "010001x00bdf93229425740e94b21a01777e1b9c190076b06439783e59fa62f2b7d0f11f8c7cfd827bf77196817f12f767892777aebaa3dba8d5eeb3d0de354cc660f3f2ad19fc0b7488fbc42c66b6ab701c37c434e45ea62fa66900a754983fe9fadc033c58a81cd41372cff24745b7f1f8adbddb3f19dea107645273197d24f6a93ad7d" if FREETZ_TYPE_6360
default "010001x0098ef668b9156913907e7e2d6c5ff74c23fd3a065cb1f382b19691655aa3cb5f5a010cf00f90c89a5f6bf2f9c029bb90c80ee53064b88067af1c2879a6464430688dad838a7b6d693ee00f37d3d0844bd49ca418213678660d5f918037d0a72225195fd02d40b90035932684311c8bdc7ffa4eb8d75701f8bf5a26d5914147e7f" if FREETZ_TYPE_6490
default "010001x00c3b9b066566a4835958f7b6793c120b96564d3e77728b84c59d462f55aa9e53ee64ffd502c87c944fb3d725ccb75bd92a7e207c1c13c5ec1b107adef8395273e2672a72246dc45aa2ccf6a8bc0ec91a5836ff2bf8e196ce832752c4acdcddb3e021f3ab764e63e0d1ca2a6c33d6b932c55045078cb93d3e1b14b2e1b260b3b3d" if FREETZ_TYPE_6590
Expand Down
7 changes: 6 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 @@ -280,5 +283,7 @@ 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

7 changes: 6 additions & 1 deletion config/mod/download.in
Expand Up @@ -198,6 +198,7 @@ menu "Download 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 @@ -242,7 +243,7 @@ menu "Download 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 @@ -313,6 +314,8 @@ menu "Download options"
#
default "@AVM/fritzbox.fon_5140/firmware" if FREETZ_TYPE_5140
#
default "@AVM/fritzbox/fritzbox-5491/{other,deutschland}/fritz.os" if FREETZ_TYPE_5491
#
default "@AVM/firmware/6490/78434061" if FREETZ_TYPE_6490 && FREETZ_TYPE_FIRMWARE_06_8X
default "@AVM/firmware/6490/59088767" if FREETZ_TYPE_6490 && FREETZ_TYPE_FIRMWARE_07_0X
#
Expand Down Expand Up @@ -498,6 +501,8 @@ menu "Download options"
#
default "FRITZ.Box_Fon_5140.AnnexB.43.04.67.image" if FREETZ_TYPE_5140
#
default "FRITZ.Box_5491.de-en-es-it-fr-pl.171.07.01.image" if FREETZ_TYPE_5491 && FREETZ_TYPE_FIRMWARE_07_0X
#
default "FRITZ.Box_6490_Cable.de-en-es-it-fr-pl.141.06.87.image" if 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_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 @@ -28,6 +28,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
8 changes: 8 additions & 0 deletions config/ui/firmware.in
Expand Up @@ -183,6 +183,14 @@ choice
select FREETZ_AVM_SOURCE_04_67
bool "5140"

comment "Fiber"
depends on FREETZ_SERIES_ALL || FREETZ_SERIES_4N5

config FREETZ_TYPE_5491
depends on FREETZ_SERIES_ALL || FREETZ_SERIES_4N5
select FREETZ_AVM_SOURCE_FOR_SYSTEM_TYPE_VR9
bool "5491"

comment "Cable"
depends on FREETZ_SERIES_ALL || FREETZ_SERIES_4N5

Expand Down

0 comments on commit 9405ff0

Please sign in to comment.