* Mondrian Nuessle nuessle@uni-mannheim.de [070605 13:57]:
One small remark. I believe that the "magic" on port cd6h and cd7h modifies general purpose I/Os of the HT1000; in the case of the x3455 board you probably deactivate write protection for the flash pin.
Ok, then this should probably go into a x3455 board specific code instead. I saw Yinghai made a lot of io to those ports in the ht1000 specific code, so I assumed thats southbridge specific code.
The weird thing is that I could overwrite some parts of the flash without that code (0x70000 to 0x80000), so it's probably not the flash write line.
Or, it might be the FPGA on board catches the area from 0x70000 to 0x80000 and decides whether to switch or not. I have no information on that, unfortunately, and I doubt I will be able to get it in a timely manner.
We are currently working on a different HT1000 based board, and have a similar patch ready, with the difference that we set different GPIOs... so this access is board dependant.
I will prepare something to make this board dependent. Thank you very much for the feedback.
Stefan