freetz@freetz:~/freetz-ng2$ ./tools/push_firmware -ip 172.30.3.1
* Analyzing 'images/5590_08.00.all_freetz-ng-24819-ee741fef66_20241026-145251.image' ...
* Product: Fritz_Box_HW272 (FRITZ!Box 5590 Fiber)
* Using dos2unix binary: tools/dos2unix
* Using tar binary: tools/tar-gnu
* Using ftp binary: tools/ftp
* Target host: 172.30.3.1
* Outgoing IP: 172.30.3.124
* Flash mode: fit-boot
* Allowed memory size: 1024 MB
* Designated linux_fs_start: <other>
!!! 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?
images/5590_08.00.all_freetz-ng-24819-ee741fef66_20241026-145251.image
Proceed? (y/[n]) y
* You should now reboot your box (172.30.3.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_XaX
Connected to 172.30.3.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.12319 0x0 0xC6409
---> MEDIA SDRAM
200 Media set to MEDIA_SDRAM
local: /tmp/freetz_env_XaX remote: env
---> PASV
227 Entering Passive Mode (172,30,3,1,43,255)
---> RETR env
150 Opening BINARY data connection
Timeout!!!!!!!!!!!!!!!!!!
ProductID: Fritz_Box_HW272
HWRevision: 272
HWSubRevision: 62
memsize: 0x40000000
linux_fs_start: 1
* MAPSTART=0x40000000
* FULLSIZE=0x40000000 (1024 MB)
* MAPLIMIT=0x80000000
* FILESIZE=0x030ed700 (~48 MB)
* ALIBYTES=0x00002900 (~10 kB)
* FILLSIZE=0x030f0000 (~48 MB)
* FREESIZE=0x3cf10000 (~975 MB)
* MTDSTART=0x7cf10000
* Box is back up again, initiating transfer.
Connected to 172.30.3.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 SDRAM
200 Media set to MEDIA_SDRAM
---> SETENV memsize 0x3cf10000
200 SETENV command successful
---> SETENV kernel_args_tmp "avm_fwupdate mtdram1=0x7cf10000,0x80000000 mtdparts_ext=update-image.0:0x030f0000@0x0(fit-image)"
200 SETENV command successful
local: /tmp/freetz_iAi/fitboot.flash remote: 0x7cf10000 0x80000000
---> PASV
227 Entering Passive Mode (172,30,3,1,40,95)
---> STOR 0x7cf10000 0x80000000
150 Opening BINARY data connection
226 Transfer complete
51304192 bytes sent in 1.60 secs (30.6735 MB/s)
---> QUIT
221 Thank you for using the FTP service on ADAM2