So, schon habe ich das nächste Problem. Ich habe die 7.20+ Firmware für meine Fritzbox 7490 erfolgreich kompiliert. Nun habe ich versucht, die Firmware auf meine Fritzbox mit laufendem Freetz 113.07.12 rev69996 zu flashen, erhalte jedoch die untenstehende Fehlermeldung.
Da steht was von "no space left on device", jedoch verstehe ich nicht wieso. Nachfolgend der Output nach dem erfolgreichen Erstellen des Images.
Da steht doch, dass ich 1.8 MB unter dem Limit bin. Und dann habe ich mir das Image angesehen, das derzeit auf der FB läuft. Das ist mit 50.2 MB deutlich grösser als das neue mit 49.4. Wieso also kann ich das Image nicht flashen?
Code:
install: have Kernel 3.10.107 - set kversion '3.10' and FlashUpdateTool '/lib/modules/3.10.107/kernel/drivers/char/flash_update/flash_update.ko'
install: check and install new firmware ...
OEM=
ANNEX=A
testing acceptance for device Fritz_Box_HW185 ...
korrekt install type: mips34_512MB_xilinx_vdsl_dect446_4geth_2ab_isdn_nt_te_pots_2usb_host_wlan11n_27490
device has installtype mips34_512MB_xilinx_vdsl_dect446_4geth_2ab_isdn_nt_te_pots_2usb_host_wlan11n_27490
OK - accept this update for device Fritz_Box_HW185 ...
testing acceptance for device Fritz_Box_HW185 done
curr: 113.07.12 new: xx.07.21
debug: curr: 113.07.12
debug: new: "XX.07.21"
major_currFWver=113
middle_currFWver=7
minor_currFWver=12
middle_newFWver=7
minor_newFWver=21
check Firmware Version: xx.07.21
DEBUG: 7 >= 7
DEBUG: 21 >= 12
Accept Firmware Version: xx.07.21
install: 3.10 check files...
read 0xfe9b3766 MACIG 0xc453de23
File already contains the checksum, verifying
[cs_calc_sum] sum 0xfe9b3766
Calculated checksum is FE9B3766
Saved checksum is FE9B3766
Checksum validation successful!
chksum for file /var/tmp/filesystem.image ok
size for file /var/tmp/filesystem.image ok
read 0xed8079d0 MACIG 0xc453de23
File already contains the checksum, verifying
[cs_calc_sum] sum 0xed8079d0
Calculated checksum is ED8079D0
Saved checksum is ED8079D0
Checksum validation successful!
chksum for file /var/tmp/kernel.image ok
size for file /var/tmp/kernel.image ok
install: 3.10 getting mtds to install...
install: --mtd------------------------------------------------
install: --assert---------------------------------------------
install: --addr+size------------------------------------------
install: kernel_start=0x00000000
install: kernel_size=4194304
install: kernel_image_size=2688008
install: filesystem_start=0x00400000
install: filesystem_size=50331648
install: filesystem_image_size=48406536
install: 3.10 writing commands to install...
update action flash at '/var/updatestore/update_action_flash'
Erase mtd partitions 0 and 1 ...
info 0x0
{mtd_info} type 0x4
{mtd_info} size 0x400000
{mtd_info} erasesize 0x20000
{mtd_info} writesize 0x800
{mtd_info} oobsize 0x40
[main] exit error 0
info 0x0
{mtd_info} type 0x4
{mtd_info} size 0x3000000
{mtd_info} erasesize 0x20000
{mtd_info} writesize 0x800
{mtd_info} oobsize 0x40
[main] exit error 0
Copy kernel image...
info 0x0
{mtd_info} type 0x4
{mtd_info} size 0x400000
{mtd_info} erasesize 0x20000
{mtd_info} writesize 0x800
{mtd_info} oobsize 0x40
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] written 0x20000 Bytes
[main] append 64504 Bytes
[main] written 0x20000 Bytes
[main] eof reached
[main] exit error 0
Clean up kernel image
Copy filesystem image ...
Copy filesystem ...
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
failed with error 0
... Copy filesystem done
give update_state=bad to /var/post_install
update abort - Flashcmd (silent) failed
Da steht was von "no space left on device", jedoch verstehe ich nicht wieso. Nachfolgend der Output nach dem erfolgreichen Erstellen des Images.
Code:
STEP 3: PACK/SIGN
checking for left over version-control-system files
integrate freetz info file into image
packing var.tar
checking signature key files
creating private signature key file
creating public signature key file
adding public signature key file
creating inner-filesystem image (SquashFS4-xz)
SquashFS block size: 64 kB (65536 bytes)
copying kernel image
kernel image size: 2.6 MB, max 4.0 MB, free 1.4 MB (1506304 bytes)
creating outer-filesystem image (SquashFS4-xz)
copying filesystem image
filesystem image size: 46.2 MB, max 48.0 MB, free 1.8 MB (1925120 bytes)
adding checksum to kernel.image
adding checksum to filesystem.image
packing images/7490_07.21.all_freetz-ng-18157-b7e2f21_20210322-152421.image
packed image file size: 49.4 MB (51845120 bytes)
signing packed .image file
signed image file size: 49.4 MB (51845120 bytes)
source firmware: 7490_de-es-fr-it-pl 113.07.21 rev81779 {ALL} [PSQ19] (04.09.2020 08:53:45)
source image file size: 32.9 MB (34488320 bytes)
done.
Da steht doch, dass ich 1.8 MB unter dem Limit bin. Und dann habe ich mir das Image angesehen, das derzeit auf der FB läuft. Das ist mit 50.2 MB deutlich grösser als das neue mit 49.4. Wieso also kann ich das Image nicht flashen?