I think bootloader was correct all the time and the issue was caused by the difference in flash writing algorithms in boot.bin (ramloader) and bootloader. And somewhat degraded flash chip, of course.
So, boot.bin's flash writing algo was failing somewhere.
But bootloader's algo did the job.
Bookmarks