freetz@freetz-VirtualBox:~/freetz-ng$ tools/push_firmware ../Downloads/FRITZ.Box_6591_Cable-07.57.image -lfs 1
* Analyzing '../Downloads/FRITZ.Box_6591_Cable-07.57.image' ...
* Product: Fritz_Box_HW233a (FRITZ!Box 6591 Cable)
* Using dos2unix binary: tools/dos2unix
* Using tar binary: tools/tar-gnu
* Using ftp binary: tools/ftp
* Target host: 192.168.178.1
* Outgoing IP: 192.168.178.7
* Flash mode: uimg-boot
* Designated linux_fs_start: 1
!!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!!
!!! THERE IS NO WARRANTY AT ALL !!! USE AT YOUR OWN RISK !!!
* Are you sure, that you want to flash this file to the device?
../Downloads/FRITZ.Box_6591_Cable-07.57.image
Proceed? (y/[n]) y
* You should now reboot your box (192.168.178.1). Waiting for shut down.
Switch off, if reboot is not detected because it happens too quickly.
Some newer bootloader versions allow to flash on power-cycle only.
* No reply from box, assuming switch-off or restart. Trying to re-detect box.
Waiting ............. found!
* Reading 'env' file to /tmp/freetz_env_AFj
Connected to 192.168.178.1.
220 ADAM2 FTP Server ready
331 Password required for adam2
230 User adam2 successfully logged in
Remote system type is AVM.
Debugging on (debug=1).
---> TYPE I
200 Type set to BINARY
---> SYST
215 AVM EVA Version 1.3614 0x0 0xF6001
---> MEDIA SDRAM
200 Media set to MEDIA_SDRAM
local: /tmp/freetz_env_AFj remote: env
---> PASV
227 Entering Passive Mode (192,168,178,1,176,130)
---> RETR env
150 Opening BINARY data connection
Timeout!!!!!!!!!!!!!!!!!!
ProductID: Fritz_Box_HW233
HWRevision: 233
HWSubRevision: 8
memsize: 0x40000000
linux_fs_start: 0
* Arm-System mtd: =
* Arm-Kernel mtd: >
* x86-System mtd: ;
* x86-Kernel mtd: <
* Box is back up again, initiating transfer.
Connected to 192.168.178.1.
220 ADAM2 FTP Server ready
331 Password required for adam2
230 User adam2 successfully logged in
Remote system type is AVM.
Debugging on (debug=1).
---> TYPE I
200 Type set to BINARY
---> MEDIA FLSH
200 Media set to MEDIA_FLASH
local: /tmp/freetz_Mwq/ARM-system.image remote: mtd=
---> PASV
227 Entering Passive Mode (192,168,178,1,160,154)
---> STOR mtd=
150 Opening BINARY data connection
226 Transfer complete
16343040 bytes sent in 138.61 secs (115.1462 kB/s)
local: /tmp/freetz_Mwq/ARM-kernel.image remote: mtd>
---> PASV
227 Entering Passive Mode (192,168,178,1,166,41)
---> STOR mtd>
150 Opening BINARY data connection
226 Transfer complete
2749952 bytes sent in 21.99 secs (122.1145 kB/s)
local: /tmp/freetz_Mwq/X86-system.image remote: mtd;
---> PASV
227 Entering Passive Mode (192,168,178,1,154,155)
---> STOR mtd;
150 Opening BINARY data connection
226 Transfer complete
33050624 bytes sent in 281.49 secs (114.6615 kB/s)
local: /tmp/freetz_Mwq/X86-kernel.image remote: mtd<
---> PASV
227 Entering Passive Mode (192,168,178,1,73,28)
---> STOR mtd<
150 Opening BINARY data connection
226 Transfer complete
9437184 bytes sent in 79.42 secs (116.0355 kB/s)
---> SETENV linux_fs_start 1
200 SETENV command successful
---> REBOOT
221 Thank you for using the FTP service on ADAM2
---> QUIT
221 Goodbye.
done