freetz@freetz-linux:~/6890$ tools/push_firmware -cmd ncftp
* Analyzing 'images/6890_07.12.all_freetz-ng-16457M_20200113-203718.image' ...
* Using command: ncftpput
* Target host: 192.168.178.1
* Outgoing IP: 192.168.178.20
* Flash mode: ram-boot
* Allowed memory size: 128 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/6890_07.12.all_freetz-ng-16457M_20200113-203718.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.
...........................................
* MAPSTART=0x80000000
* FULLSIZE=0x08000000 (128 MB)
* MAPLIMIT=0x88000000
* FILESIZE=0x02a09e00 (~42 MB)
* FREESIZE=0x055f6200 (~85 MB)
* MTDSTART=0x855f6200
* No reply from box, assuming switch-off or restart. Trying to re-detect box.
Waiting ............. found!
* Detected linux_fs_start: '1'
* Designated linux_fs_start: 0
* No reply from box, assuming switch-off or restart. Trying to re-detect box.
Waiting ......................... found!
* Box is back up again, initiating transfer.
LibNcFTP 3.2.5 (January 17, 2011) compiled for linux-x86_64-glibc2.27
Uname: Linux|freetz-linux|5.3.0-26-generic|#28-Ubuntu SMP Wed Dec 18 05:37:46 UTC 2019|x86_64
Contents of /etc/debian_version:
buster/sid
Contents of /etc/issue:
Ubuntu 19.10 \n \l
Glibc: 2.30 (stable)
Could not connect to 192.168.178.1 -- try again later: Connection timed out.
Retry Number: 1
Could not connect to 192.168.178.1: Connection refused.
Sleeping 10 seconds.
Retry Number: 2
220: ADAM2 FTP Server ready
Connected to 192.168.178.1.
Cmd: USER adam2
331: Password required for adam2
Cmd: PASS xxxxxxxx
230: User adam2 successfully logged in
Logged in to 192.168.178.1 as adam2.
Cmd: MEDIA SDRAM
200: Media set to MEDIA_SDRAM
Cmd: SETENV memsize 0x055f6200
200: SETENV command successful
Cmd: SETENV kernel_args_tmp mtdram1=0x855f6200,0x88000000
200: SETENV command successful
Cmd: TYPE I
200: Type set to BINARY
Cmd: MLST 0x855f6200 0x88000000
502: Command not implemented
Cmd: PASV
227: Entering Passive Mode (192,168,178,1,12,21)
Cmd: STOR 0x855f6200 0x88000000[SPOILER][/SPOILER]
150: Opening BINARY data connection
/tmp/freetz_MVz/ramboot.flash: ETA: 0:00 41.34/ 42.04 MB 1.91 MB/s 226: Transfer complete
/tmp/freetz_MVz/ramboot.flash: 42.04 MB 1.68 MB/s
Cmd: SETENV linux_fs_start 0
200: SETENV command successful
Cmd: QUIT
221: Thank you for using the FTP service on ADAM2
Cmd: QUIT
221: Goodbye.
done
freetz@freetz-linux:~/6890$