• R/O
  • HTTP
  • SSH

immortalwrt: Commit

Mirror only - Please move to https://github.com/immortalwrt/immortalwrt

Commit MetaInfo

Révision7f7705923a8299323057e78ccae4473b5bb05807 (tree)
l'heure2022-01-15 19:27:53
AuteurDavid Bauer <mail@davi...>
CommiterDavid Bauer

Message de Log

lantiq: add additional caldata offsets

It was reported the AVM FritzBox 7430 has different offsets for the
caldata depending on the device.

Whether this is due to custom bad-block handling or up to the installed
bootloader-version is unknown.

Try both known caldata offsets like it is already done for the ipq40xx
NAND based models. Use the same approach for the FritzBox 7412. While it
is currently unknown, whether it is affected, applying the same logic
has no downsides.

Signed-off-by: David Bauer <mail@david-bauer.net>

Change Summary


--- a/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
+++ b/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
@@ -23,10 +23,9 @@ case "$FIRMWARE" in
2323 avm,fritz7360-v2)
2424 caldata_extract "urlader" 0x985 0x1000
2525 ;;
26- avm,fritz7412)
27- /usr/bin/fritz_cal_extract -i 1 -s 0x1e000 -e 0x207 -l 4096 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader")
28- ;;
26+ avm,fritz7412|\
2927 avm,fritz7430)
28+ /usr/bin/fritz_cal_extract -i 1 -s 0x1e000 -e 0x207 -l 4096 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader") || \
3029 /usr/bin/fritz_cal_extract -i 1 -s 0x1e800 -e 0x207 -l 4096 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader")
3130 ;;
3231 bt,homehub-v5a)
Afficher sur ancien navigateur de dépôt.