2. Firmware extrahieren, Update vorbereiten
Firmware-Archiv extrahieren ...
./
./var/
./var/.packages
./var/chksum
./var/regelex
./var/install
./var/static.pkg
./var/tmp/
./var/tmp/kernel.image
./var/tmp/filesystem.image
./var/flash_update.ko
./var/info.txt
./var/signature
./var/.config
DONE
Ausführen des Firmware-Installationsskripts /var/install ...
install: have Kernel 2.6
install: check and install new firmware ...
SET info,0 = 18
SET update,0 = 1
OEM=avme
ANNEX=B
testing acceptance for device Fritz_Box_7570 ...
testing acceptance for device Fritz_Box_7570 done
curr: 75.04.82 new: xx.04.82
debug: curr: 75.04.82
debug: new: "XX.04.82"
major_currFWver=75
middle_currFWver=4
minor_currFWver=82
middle_newFWver=4
minor_newFWver=82
check Firmware Version: xx.04.82
DEBUG: 4 >= 4
DEBUG: 82 >= 82
Accept Firmware Version: xx.04.82
install: 26 check files...
File already contains the checksum, verifying
Calculated checksum is 98EC8037
Saved checksum is 98EC8037
Checksum validation successful!
chksum for file /var/tmp/kernel.image ok
install: 26 getting mtd to install...
install: -----------------------------------------------------
bootloader_size 0x00020000
jffs2_size 0x00320000
Kernel_without_jffs2_size 12845056
kernel_image_size 10459912
kernel_mtd_size 16121856
Kernel_Start_Add=268566528
Kernel_End_Addr=279026440
Kernel_without_jffs2_End_Addr=281411584
install: -----------------------------------------------------
install: kernel_size=16121856
install: kernel_update_start=268566528
install: kernel_update_len=12845056
install: 26 setting files to install...
install: /var/tmp/kernel.image to start(268566528) size(12845056)
WARNING: /var/tmp/filesystem.image with size 1000
set INFO led to off (modul=7, state=1)
SET info,0 = 0
SET update,0 = 0
ERLEDIGT - Rückgabewert des Installationsskripts = 4 (INSTALL_FILESYSTEM_CHECKSUM)
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,268566528,12845056,crc=1"
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.