2. Firmware extrahieren, Update vorbereiten
AVM-Dienste anhalten, Teil 1 (prepare_fwupgrade start) ...
cat: can't open '/var/run/delayed_reboot.pid': No such file or directory
rm: cannot remove '/var/run/delayed_reboot.pid': No such file or directory
killall: minid: no process killed
killall: minid: no process killed
rmmod: rfcntl: No such file or directory
killall: flashd: no process killed
killall: minid: no process killed
disable watchdog
voipd: stopped.
rmmod: isdn_fbox_fon3: No such file or directory
killall: checkservices: no process killed
ERLEDIGT
Firmware-Archiv extrahieren ...
./
./var/
./var/flash_update.ko
./var/chksum
./var/.packages
./var/regelex
./var/info.txt
./var/static.pkg
./var/signature
./var/.config
./var/install
./var/tmp/
./var/tmp/jffs2.image
./var/tmp/plugins.update
./var/tmp/kernel.image
./var/tmp/filesystem.image
DONE
AVM-Dienste anhalten, Teil 2 (prepare_fwupgrade end) ...
cat: can't open '/var/run/delayed_reboot.pid': No such file or directory
rm: cannot remove '/var/run/delayed_reboot.pid': No such file or directory
/etc/init.d/rc.wlan: line 1248: can't create /dev/new_led: No such device or address
/etc/init.d/rc.wlan: line 1308: can't create /dev/new_led: No such device or address
killall: wpa_supplicant: no process killed
rmmod: wlan_scan_sta: No such file or directory
rmmod: ath_pktlog: No such file or directory
rmmod: wlan_wep: No such file or directory
rmmod: wlan: No such file or directory
/etc/init.d/rc.wlan: line 1308: can't create /dev/new_led: No such device or address
/etc/init.d/rc.wlan: line 1310: can't create /dev/new_led: No such device or address
disable watchdog
ERLEDIGT
Ausführen des Firmware-Installationsskripts /var/install ...
install: have Kernel 2.6
install: check and install new firmware ...
/bin/update_led_on: line 2: can't create /var/led: No such device or address
OEM=avm
ANNEX=B
testing acceptance for device Fritz_Box_7270 ...
korrekt install type: ur8_16MB_xilinx_4eth_2ab_isdn_nt_te_pots_wlan_usb_host_dect_61056
device has installtype ur8_16MB_xilinx_4eth_2ab_isdn_nt_te_pots_wlan_usb_host_dect_61056
OK - OEM avm is supported
OK - accept this update for device Fritz_Box_7270 ...
testing acceptance for device Fritz_Box_7270 done
testing acceptance for device Fritz_Box_7270 ...
install type not korrekt: ur8_16MB_xilinx_4eth_2ab_isdn_nt_te_pots_wlan_usb_host_dect_61056
testing acceptance for device Fritz_Box_7270 done
curr: 54.04.97 new: xx.04.97
debug: curr: 54.04.97
debug: new: "XX.04.97"
major_currFWver=54
middle_currFWver=4
minor_currFWver=97
middle_newFWver=4
minor_newFWver=97
check Firmware Version: xx.04.97
DEBUG: 4 >= 4
DEBUG: 97 >= 97
Accept Firmware Version: xx.04.97
install: 26 check files...
File already contains the checksum, verifying
Calculated checksum is D0505EA1
Saved checksum is D0505EA1
Checksum validation successful!
chksum for file /var/tmp/kernel.image ok
install: 26 getting mtd to install...
install: -----------------------------------------------------
bootloader_size 0x00020000
jffs2_size 0x00440000
Kernel_without_jffs2_size 11665408
kernel_image_size 10678792
kernel_mtd_size 16121856
Kernel_Start_Add=268566528
Kernel_End_Addr=279245320
Kernel_without_jffs2_End_Addr=280231936
install: -----------------------------------------------------
install: kernel_size=16121856
install: kernel_update_start=268566528
install: kernel_update_len=11665408
install: 26 setting files to install...
install: /var/tmp/kernel.image to start(268566528) size(11665408)
install: attempt to store plugin to buildin flash
install: have to restart usbhost for storing plugin...
install: SCSI device not responding!
install: SCSI device not responding!
install: SCSI device not responding!
install: SCSI device not responding!
install: SCSI device not responding!
install: SCSI device not responding!
install: SCSI device not responding!
install: SCSI device not responding!
install: SCSI device not responding!
install: SCSI device not responding!
install: SCSI device not responding!
install: SCSI device not responding!
install: SCSI device not responding!
install: SCSI device responding after 13 seconds!
install: found Mount Device: /dev/sda1
install: found Mount Point: /var/media/ftp/uStor01
install: attempt to store plugin to massstoragedevice /var/media/ftp/uStor01
install: cp /var/tmp/plugins.update '/var/media/ftp/uStor01/FRITZ/plugins'
install: ... done
install: check for old settings ...
set INFO led to blink (modul=7, state=4)
/bin/update_led_on: line 2: can't create /var/led: No such device or address
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,268566528,11665408,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.