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
disable watchdog
rmmod: isdn_fbox_fon3: No such file or directory
rmmod: kdsldmod: Resource temporarily unavailable
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/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 1745: can't create /dev/new_led: No such device or address
/etc/init.d/rc.wlan: line 1767: 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=1und1
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 1und1 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.76 new: xx.04.76
debug: curr: 54.04.76
debug: new: "XX.04.76"
major_currFWver=54
middle_currFWver=4
minor_currFWver=76
middle_newFWver=4
minor_newFWver=76
check Firmware Version: xx.04.76
DEBUG: 4 >= 4
DEBUG: 76 >= 76
Accept Firmware Version: xx.04.76
install: 26 check files...
File already contains the checksum, verifying
Calculated checksum is 77CC9B8B
Saved checksum is 77CC9B8B
Checksum validation successful!
chksum for file /var/tmp/kernel.image ok
install: 26 getting mtd to install...
install: -----------------------------------------------------
bootloader_size 0x00020000
jffs2_size 0x00820000
Kernel_without_jffs2_size 7602176
kernel_image_size 10240520
kernel_mtd_size 16121856
Kernel_Start_Add=268566528
Kernel_End_Addr=278807048
Kernel_without_jffs2_End_Addr=276168704
install: Image would overlap - jffs2 will be deleted ...
install: -----------------------------------------------------
install: kernel_size=16121856
install: kernel_update_start=268566528
install: kernel_update_len=16121856
install: 26 setting files to install...
install: /var/tmp/kernel.image to start(268566528) size(16121856)
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,16121856,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.