My phone would reboot when plugging it in to charge on froyo. It also stopped after flashing the two part rooted gingerbread. I have not tried running CM7 yet so I don't know about that. I think TBH has a way to install it without going back to froyo first. You could try that method to see if it works for you since froyo seems to be the problem