2. Firmware extrahieren, Update vorbereiten
Firmware-Archiv extrahieren ...
./
./var/
./var/info.txt
./var/install
./var/signature
./var/static.pkg
./var/.config
./var/flash_update.ko
./var/tmp/
./var/tmp/filesystem.image
./var/tmp/kernel.image
./var/flash_update.o
./var/chksum
./var/.packages
./var/regelex
DONE
Ausführen des Firmware-Installationsskripts /var/install ...
install: have Kernel 2.6
install: check and install new firmware ...
OEM=1und1
ANNEX=B
testing acceptance for device Fritz_Box_7141 ...
korrekt install type: ar7_8MB_xilinx_1eth_2ab_isdn_te_pots_wlan_usb_host_49780
device has installtype ar7_8MB_xilinx_1eth_2ab_isdn_te_pots_wlan_usb_host_49780
assumed ANNEX B -- found ANNEX B
device has ANNEX B
OK - OEM 1und1 is supported
OK - accept this update for device Fritz_Box_7141 ...
testing acceptance for device Fritz_Box_7141 done
curr: 40.01.01 new: xx.04.67
debug: curr: 40.01.01
debug: new: "XX.04.67"
major_currFWver=40
middle_currFWver=1
minor_currFWver=1
middle_newFWver=4
minor_newFWver=67
check Firmware Version: xx.04.67
DEBUG: 4 >= 1
DEBUG: 4 > 1
Accept Firmware Version: xx.04.67
install: 26 check files...
File already contains the checksum, verifying
Calculated checksum is EF0FBBDF
Saved checksum is EF0FBBDF
Checksum validation successful!
chksum for file /var/tmp/kernel.image ok
install: 26 getting mtd to install...
install: -----------------------------------------------------
bootloader_size 0x00010000
jffs2_size 0x00020000
Kernel_without_jffs2_size 7667712
kernel_image_size 7787272
kernel_mtd_size 7798784
Kernel_Start_Add=268500992
Kernel_End_Addr=276288264
Kernel_without_jffs2_End_Addr=276168704
install: Image would overlap - jffs2 will be deleted ...
install: -----------------------------------------------------
install: kernel_size=7798784
install: kernel_update_start=268500992
install: kernel_update_len=7798784
install: 26 setting files to install...
install: /var/tmp/kernel.image to start(268500992) size(7798784)
install: check for old settings ...
konvertiere Wahlregeln: ./var/regelex 2 /var/flash/fx_lcr /etc/default.049/fx_lcr.1und1 /var/flash/fx_lcr
set INFO led to blink (modul=7, state=4)
ERLEDIGT - Rückgabewert des Installationsskripts = 1 (INSTALL_SUCCESS_REBOOT)
Von /var/post_install generierter Inhalt:
#! /bin/sh
echo $0: start
sleep 1
killall run_clock
if ps | grep -v grep | grep -q telefon ; then killall telefon ; fi
if ps | grep -v grep | grep -q telnetd ; then killall telnetd ; fi
echo skip deleting language from env
echo MODE=update > /dev/avm_power
echo "disable" > /dev/watchdog
echo still running:
ps
lsmod
sleep 1
update_parameter=flash_update_file0="/var/tmp/kernel.image,268500992,7798784,crc=1"
insmod /var/flash_update.ko $update_parameter
exit 0
ENDE DER DATEI
Das Nach-Installationsskript läuft beim Neutart (reboot) und führt die
darin definiterten Aktionen aus, z.B. das tatsächliche Flashen der Firmware.
Sie können immer noch entscheiden, diesen Vorgang abzubrechen, indem Sie
das Skript und den Rest der extrahierten Firmware-Komponenten löschen.