ZitatOriginal von dnuos
i already flashed again through web-interface and lan cable... and the 39 bad blocks are always there...
any idea if/how could i solve this?
Wow! And probably really sorry!! For your flash to develop 39 bad blocks all of a sudden could of course be just a coincidence, but I have major problems believing it. Sounds more like problems caused by the failed restore of the backup. Maybe the oob data is wrong, somehow, and interpreted as bad blocks. Only good news in this sorry story, is that your flash is probably all OK, so if a way to just reset everything can be found, you should be back on track.
I'm thinking that maybe flashing an empty image that uses all the flash could help, but I don't know of any such image. Anybody else knows of such a beast?
If you can't find a tested version of such an image, I've made my own attempt at making one. Completely untested, of course. It contains version 35 of the second stage loader, and then lots and lots of 0xFF. It's made using the standard "buildimage" utility, so the oob data should be computed correctly. Up to you, of course, if you want to try it.
One final thing. I notice that the image you have restored has a completely different partition table. My memory is not reliable, but I seem to recall that the layout was changed (even on the 7020) when work started internally in DMM preparing the 7025 image, since gcc produces less dense code for MIPS processors than it does for the powerpc. It's just a shot in the dark, but maybe you could try different images. Different versions of the second stage loader may make a difference, although DMM alone knows what changes they have made lately to that code. In the newest dreambox-buildimage, a comment says
, but the latest available sources (that I'm aware of) is for version 28.
EDIT: Just saw wolpi's contribution (thanks wolpi!), and also reading through the old secondstage sources. Writing a blank image probably won't help, since the flashing code won't reset the badblock flag. Back to the thinking box trying to come up with a solution. Good news is still that your flash is probably OK, just need to find a way to clear that badblock flag.