RaeNye wrote:
Since the OF relies on what the preloader did.
Yes, we must make sure that we don't mess it up for the OF, but I think the solution is to restore the registers before starting the OF.
Serial vs. parallel? 1-bit transfer vs. 8-bit is 8 times slower, I guess. Same job done in less CPU work.
The difference is not parallel vs serial, I2C is a serial bus. The difference is using the internal I2C controller vs "bit-banging". The Cowon firmware uses the I2C controller, and we don't.
The X5 version of the Rockbox I2C driver is slow at the moment, so it can be optimized. However, the performance is not important for the boot loader.
(The next totalliy unrelated topic would be DMA for ATA, but I leave this for later)
Yes, ATA DMA might speed things up a little, but not as much as you might think. The assembler optimized ATA driver is pretty fast.
Linus