My method for rewriting flash and restoring rcS file, if someone needs it.
It works even if you cannot start linux, you only need u-boot.
I set up HyperTerminal like putty (speed =115200, flow control = none), wrote loadb on console, then with the right mouse button uploaded the flash.bin file...