Hallo,
ich versuche momentan vergebens eine gefritzte und gefreezte Firmware für meinen bereits (vor 2 Jahren) gefritzten&gefreezten W701V zu erstellen. Folgende FW´s werden zur Erstellung genutzt:
AVM 7170 29.04.80 16352 und TCom W701V 33.04.57
Anbei habe ich mal den gesamten Prozess bis zum Fehler dokumentiert - Gewähkte Optionen sowie wichtiger Output. Ich habe bereits die offiziellen Howtos gelesen, pdfs sowie Forenstickys ebenfalls, komme aber einfach nicht weiter Als Buildumgebung nutze ich das aktuelle VMWare Image auf Ubuntu Basis, beide Skripte sind aktuell.
1. Fritzen der Firmware
2. Ergebniss von speed2fritz
3. Einbinden von Freetz auf Basis der vorangegangenen Konfiguration durch speed2fritz und folgender Fehler, hier fett markiert
4. In Freetz selektierte Optionen. Anmerkung: Ich habe erstmal keine Änderungen an den Standarteinstellungen vorgenommen
5. Start von make sowie Fehlermeldung
Bisher habe ich diese Prozedur mit Freetz Trunk, 1.1 sowie 1.2 durchgeführt was aber nicht zum Erfolg führte. Als ich die alte FW zusammenstelle damals ging das irgenwie fehlerfreier
ich versuche momentan vergebens eine gefritzte und gefreezte Firmware für meinen bereits (vor 2 Jahren) gefritzten&gefreezten W701V zu erstellen. Folgende FW´s werden zur Erstellung genutzt:
AVM 7170 29.04.80 16352 und TCom W701V 33.04.57
Anbei habe ich mal den gesamten Prozess bis zum Fehler dokumentiert - Gewähkte Optionen sowie wichtiger Output. Ich habe bereits die offiziellen Howtos gelesen, pdfs sowie Forenstickys ebenfalls, komme aber einfach nicht weiter Als Buildumgebung nutze ich das aktuelle VMWare Image auf Ubuntu Basis, beide Skripte sind aktuell.
1. Fritzen der Firmware
Code:
¦ +-------------------------------------------------------------------------------------------------------------------------------------------+ ¦
¦ ¦ --- --------------- General settings for Speed-to-fritz ---------------- ¦ ¦
¦ ¦ --- -------------------------------------------------------------------- ¦ ¦
¦ ¦ --- -------------------- Config or Menu ------------------------- ¦ ¦
¦ ¦ [ ] Use preconfigured config (Firmware.conf) (NEW) ¦ ¦
¦ ¦ --- -------------------------------------------------------------------- ¦ ¦
¦ ¦ --- ---------------------------- Update -------------------------------- ¦ ¦
¦ ¦ [ ] Look for new speed-to-fritz version on the net (NEW) ¦ ¦
¦ ¦ --- -------------------------------------------------------------------- ¦ ¦
¦ ¦ --- --------------- General settings for Speed-to-fritz ---------------- ¦ ¦
¦ ¦ [*] Expert user (all options) ¦ ¦
¦ ¦ [*] Check AVM Labor Website for new Firmware (NEW) ¦ ¦
¦ ¦ [ ] Restore original basis firmware (NEW) ¦ ¦
¦ ¦ [*] Build recover firmware ¦ ¦
¦ ¦ [*] Run Freetz also (./start-freetz.sh) ¦ ¦
¦ ¦ [ ] Set a freetz revision in use with start-freetz.sh ¦ ¦
¦ ¦ [ ] Push firmware to box via FTP ¦ ¦
¦ ¦ --- -------------------------------------------------------------------- ¦ ¦
¦ ¦ --- -------------------------- Router TYPE ----------------------------- ¦ ¦
¦ ¦ Hardware type (Speedport W701V) ---> ¦ ¦
¦ ¦ --- -------------------------------------------------------------------- ¦ ¦
¦ ¦ --- ------------- Basic firmware for DSL-Driver (optional) ------------- ¦ ¦
¦ ¦ [ ] Select a special Congstar firmware (optional) ---> (NEW) ¦ ¦
¦ ¦ --- -------------------------------------------------------------------- ¦ ¦
¦ ¦ Select firmware default language (optional) (de - german) ---> ¦ ¦
¦ ¦ Annex (B) ---> ¦ ¦
¦ ¦ --- -------------------------------------------------------------------- ¦ ¦
¦ ¦ --- ------ AVM firmware for web-interface and features (optional) ------ ¦ ¦
¦ ¦ [*] Select a special AVM firmware (optional) ---> ¦ ¦
¦ ¦ Select Labor or any other non default firmware. (AVM 7170 29.04.80 16352) ---> ¦ ¦
¦ ¦ --- -------------------------------------------------------------------- ¦ ¦
¦ ¦ --- -- Additional firmware for LED driver or other things (optional) -- ¦ ¦
¦ ¦ [ ] 2nd AVM Type firmware (optional) (NEW) ¦ ¦
¦ ¦ --- -------------------------------------------------------------------- ¦ ¦
¦ ¦ [ ] Patch time zone (NEW) ¦ ¦
¦ ¦ Options ---> ¦ ¦
¦ ¦ Preset GUI settings ---> ¦ ¦
¦ ¦ Addons ---> ¦ ¦
¦ ¦ --- -------------------------------------------------------------------- ¦ ¦
¦ ¦ --- ---------------- Manual Load or Save Firmware.conf ----------------- ¦ ¦
¦ ¦ --- If you save or load the configuration with a different name, you ¦ ¦
¦ ¦ --- must save with name 'Firmware.conf' again, only this file is in use. ¦ ¦
¦ ¦ --- ¦ ¦
¦ ¦ Load an Alternate Configuration File ¦ ¦
¦ ¦ Save an Alternate Configuration File ¦ ¦
Code:
--- -----------------------Default settings ---------------------------- ¦ ¦
¦ ¦ [*] Select Branding ¦ ¦
¦ ¦ (avm) Edit Branding (OEM) (NEW) ¦ ¦
¦ ¦ --- Force branding ¦ ¦
¦ ¦ [*] Setup WLAN default key (NEW) ¦ ¦
¦ ¦ (speedboxspeedbox) Edit this key-string - must be 16 characters long (NEW) ¦ ¦
¦ ¦ [ ] Enforce hardware revision number (NEW) ¦ ¦
¦ ¦ [ ] Box Hardware revision (setup) (NEW) ¦ ¦
¦ ¦ [ ] Own product name (setup) (NEW) ¦ ¦
¦ ¦ [ ] Box hostname (setup) (NEW) ¦ ¦
¦ ¦ --- --------------- Optional settings for Speed-to-fritz --------------- ¦ ¦
¦ ¦ [ ] Don't add modinfo icon on status page (NEW) ¦ ¦
¦ ¦ [*] Add modinfo icon on status page (NEW) ¦ ¦
¦ ¦ [*] Unusable menu's (remove) (NEW) ¦ ¦
¦ ¦ [*] Kids files (remove) ¦ ¦
¦ ¦ [*] Remove Annex A driver on 72XX firmware (NEW) ¦ ¦
¦ ¦ [ ] Show more options with scripts downloaded from freetz (NEW) ¦ ¦
¦ ¦ --- Force single language ¦ ¦
¦ ¦ [ ] Remove language de if possible (NEW) ¦ ¦
¦ ¦ [*] Remove language en if possible (NEW) ¦ ¦
¦ ¦ [*] Remove language es if possible (NEW) ¦ ¦
¦ ¦ [*] Remove language it if possible (NEW) ¦ ¦
¦ ¦ [*] Remove language fr if possible (NEW) ¦ ¦
¦ ¦ [*] Enable portforwarding to box itself (remove refuse destination IP 0.0.0.0) ¦ ¦
¦ ¦ [*] Add default route fix skript ¦ ¦
¦ ¦ [ ] Bugfix for fon config ut8 (NEW) ¦ ¦
¦ ¦ [*] COPY HEADER (NEW) ¦ ¦
¦ ¦ [*] Add MAC settings to internet page (NEW) ¦ ¦
¦ ¦ [*] Add Phonebook send button (NEW) ¦ ¦
¦ ¦ [*] Set Timeout for reconnect to 3600 ¦ ¦
¦ ¦ [*] Include reverse lookup patch (NEW) ¦ ¦
¦ ¦ [*] Support menu-item (add) (NEW) ¦ ¦
¦ ¦ [*] Assistant menu-item (replace) (NEW) ¦ ¦
¦ ¦ [*] Help files (remove) ¦ ¦
¦ ¦ [ ] Don't replace OEM directorys with links (NEW) ¦ ¦
¦ ¦ [ ] Box MOD ID (setup) (NEW) ¦ ¦
¦ ¦ [ ] add ext2 (ext3) driver (NEW) ¦ ¦
¦ ¦ --- DSL Options -------------------------------------------------------- ¦ ¦
¦ ¦ [*] Add DSL expert pages (NEW) ¦ ¦
¦ ¦ [ ] Force basis (V)DSL driver (NEW) ¦ ¦
¦ ¦ [ ] Use own (V)DSL driver (NEW) ¦ ¦
¦ ¦ [ ] Save AVM (V)DSL driver (NEW) ¦ ¦
¦ ¦ [ ] Save basis (V)DSL driver (NEW) ¦ ¦
¦ ¦ --- SYSTEM Options -----------------------------------------------------
[ ] Force use of basis piglet driver (NEW) ¦ ¦
¦ ¦ [ ] Force use of basis phone driver (NEW) ¦ ¦
¦ ¦ [ ] Disable pcmlink (phone capi) (NEW) ¦ ¦
¦ ¦ [ ] Update module dependency information (NEW) ¦ ¦
¦ ¦ [*] MOVE ALL to OEM (NEW) ¦ ¦
¦ ¦ [ ] Enable WAN TR069 autoconfig, disable ATA ¦ ¦
¦ ¦ [ ] Xchange kernel between basis and avm source ¦ ¦
¦ ¦ [*] Clear mtd3 and mtd4 ¦ ¦
¦ ¦ --- TEST Options ------------------------------------------------------- ¦ ¦
¦ ¦ --- Don't display verbose for debugging ¦ ¦
¦ ¦ --- Just do a setup run ¦ ¦
¦ ¦ [ ] Keep configuration ¦ ¦
¦ ¦ [ ] Do not STOP on ERROR ¦ ¦
¦ ¦ [ ] Do final DIFF, show changes on AVM source ¦ ¦
¦ ¦ [ ] Do KDIFF3, show the two selected firmwares (NEW) ¦ ¦
¦ ¦ [ ] Do final KDIFF3, show changed AVM and orignal AVM (NEW) ¦ ¦
¦ ¦ --- Network card options ----------------------------------------------- ¦ ¦
¦ ¦ [ ] Setup a fixed network card port (NEW) ¦ ¦
¦ ¦ [ ] Setup a fixed FTP IP Address (NEW) ¦
2. Ergebniss von speed2fritz
Code:
Phase 4: Pack and deliver
********************************************************************************
********************************************************************************
Settings:
********************************************************************************
Script revision : 1473
Firmware for update via GUI : fw_C_Speedport_701_33.04.57-11284_Fritz_Box_7170_29.04.80-16352_sp2fr-1473-1081_OEM_avm_annexB_de.image
Firmware for update via FTP : kernel.image
Output directory : /home/fritz/Desktop/speed-to-fritz/Firmware.new
for Speedport model : W701V
Branding set to : avm
AVM source is : Fritz_Box_7170
AVM source firmware mod is : 7170
--------------------------------------------------------------------------------
No output generated, because this was specified via setup!
3. Einbinden von Freetz auf Basis der vorangegangenen Konfiguration durch speed2fritz und folgender Fehler, hier fett markiert
Code:
Devel or Stable Branch desition.
Use Freetz Devel Banch (y/n)?
------------------------------------------------------------------------------------------------------------------
Your settings from the last run of speed-to-fritz:
Speedporttype=W701V
OEM=avm
CONFIG_PRODUKT=Fritz_Box_7170
ANNEX=B
Imagename=fw_C_Speedport_701_33.04.57-11284_Fritz_Box_7170_29.04.80-16352_sp2fr-1473-1081_OEM_avm_annexB_de.image
AVM Type=7170
The following script should do this for you:
Installing or updating freetz/trunk
Updating your LINUX system and installing missing tools needed for freetz
invoking 'make menuconfig'
invoking 'make'
invoking 'speed-to-freetz'
---------------------------------------------------------------------------------
Ausgecheckt, Revision 8772.
[B]--Image files present in './freetz-trunk/dl/fw':
ls: Zugriff auf ./freetz-trunk/dl/fw/*.image nicht möglich: Datei oder Verzeichnis nicht gefunden
Firmware copied to './freetz-trunk/dl' directory
[/B]
If you terminate with control C or skip all following questions you will be left
with a clean freetz installation, and you can use freetz in command line mode,
as it is explained on freetz help page. Change directory to freetz-trunk
and type in 'make menuconfig' first.
If started:
Ignore WARNINGS, especially the first time this tool is started!
Invoke 'make menuconfig' now? (y/n)?
4. In Freetz selektierte Optionen. Anmerkung: Ich habe erstmal keine Änderungen an den Standarteinstellungen vorgenommen
Code:
¦ +-------------------------------------------------------------------------------------------------------------------------------------------+ ¦
¦ ¦ --- General -------------------------------- ¦ ¦
¦ ¦ --- Hardwaretype and language settings must be the same as in speed2fritz. ¦ ¦
¦ ¦ --- Annex type is set by speed2fritz in a second run after freetz. ¦ ¦
¦ ¦ --- ---------------------------------------- ¦ ¦
¦ ¦ Hardware type (Fon WLAN 7170) ---> ¦ ¦
¦ ¦ Firmware language (de - deutsch) ---> ¦ ¦
¦ ¦ [ ] Show advanced options ¦ ¦
¦ ¦ --- Mod ------------------------------------ ¦ ¦
¦ ¦ Freetz Language (de - deutsch) ---> ¦ ¦
¦ ¦ Patches ---> ¦ ¦
¦ ¦ Package selection ---> ¦ ¦
¦ ¦ Advanced options ---> ¦ ¦
¦ ¦ --- ¦ ¦
¦ ¦ Load an Alternate Configuration File ¦ ¦
¦ ¦ Save an Alternate Configuration File ¦ ¦
5. Start von make sowie Fehlermeldung
Code:
....
If started:
Ignore WARNINGS, especially the first time this tool is started!
Be prepared that the first time this could take one hour or more!
Invoke 'make' now? (y/n)?
=== configuring in libltdl (/home/fritz/Desktop/freetz-trunk/source/toolchain-mipsel_gcc-4.5.3_uClibc-0.9.29/libtool-1.5.26/libltdl)
configure: running /bin/bash ./configure '--prefix=/usr' '--build=i386-pc-linux-gnu' '--host=mipsel-linux-uclibc' '--target=mipsel-linux-uclibc' '--disable-ltdl-install' '--enable-shared' '--enable-static' '--disable-nls' 'build_alias=i386-pc-linux-gnu' 'host_alias=mipsel-linux-uclibc' 'target_alias=mipsel-linux-uclibc' 'CC=/home/fritz/Desktop/freetz-trunk/toolchain/build/mipsel_gcc-4.5.3_uClibc-0.9.29/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc' 'CFLAGS=-march=4kc -Os -pipe -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CXX=/home/fritz/Desktop/freetz-trunk/toolchain/build/mipsel_gcc-4.5.3_uClibc-0.9.29/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-g++-wrapper' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... configure: error: newly created file is older than distributed files!
Check your system clock
configure: error: ./configure failed for libltdl
make: *** [/home/fritz/Desktop/freetz-trunk/source/toolchain-mipsel_gcc-4.5.3_uClibc-0.9.29/libtool-1.5.26/.configured] Fehler 1
---------------------------------------------------------------------------------------------------------------
modimage=
_______________________________________________________________________________________________________________
Something went wrong, Freetzfirmware not found!
_______________________________________________________________________________________________________________
If Firmware was created, you may copy the freetz image yourself to:
/home/fritz/Desktop/speed-to-fritz/Firmware.orig
Then start speed-to-fretz setup (./start) again and select freetz image as AVM LABOR source
_______________________________________________________________________________________________________________
All done .... Press 'ENTER' to return to the calling shell.
Bisher habe ich diese Prozedur mit Freetz Trunk, 1.1 sowie 1.2 durchgeführt was aber nicht zum Erfolg führte. Als ich die alte FW zusammenstelle damals ging das irgenwie fehlerfreier