Rockbox Development > New Ports

Cowon D2

<< < (19/194) > >>

linuxstb:
Have you enabled the cache yet?  I had similar very slow speeds before enabling the cache on my Telechips port - and about a 15x increase in speed when it was enabled.

Maybe the unreliability you're experiencing are due to timing issues - maybe they will fix themselves if you clock the CPU the same way as the original firmware, and also enable the cache.

shotofadds:
You're more than likely correct. I've been looking at the OF again and the PCF50606 init sequence does happen after the cache has been enabled. Its I2C timing mechanism is a simple null loop, so I suspect my rudimentary attempt at mimicking it is quite some degree out with the cache turned off.

I think a problem with the LCD panel startup is less likely as I've set up a simple 1ms timer for those (timers on the 7801 look to be the same as 76x with a different base address). It should be fairly straightforward to verify the timer works, as I can see printf output when I press the reset button.

My biggest challenge is to find some free time over the Xmas period though...

EDIT: Enabling the cache makes a significant difference (at least 10x speedup), but I still can't make the LCD come on. More investigation required methinks.

shotofadds:
Problem solved - I was sending the wrong command to initialise the backlight. I'll get the code tidied up and submit an initial patch, though I doubt this will happen before 2008 :(

This provided some enlightenment (thanks Bagder for the pointer):
http://svn.openmoko.org/trunk/src/target/kernel/patches/gta01-pcf50606.patch

sastraxi:
shotofadds, if you're willing, I would love a copy of the register/interrupt address information you've already gathered from your D2 to help with the reverse-engineering process. I couldn't find this information on the wiki so I suppose you're pretty busy.

shotofadds:
I haven't added anything to the wiki yet, since those details will eventually be available by reading the source code. Having said that, I'm about to add a section describing some of the GPIO ports as I think that's best documented on the wiki. Check back soon, there should be some info for you to digest.

EDIT: I've spent the last hour or so doing a brain-dump into the wiki. Enjoy!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version