Rockbox Development > New Ports
Cowon D2
man.dovvn:
White screen - Could be the controller powering on or a break in power causing...well...the controller to power on. Is there documentation on the LCD controller hardware?
shotofadds:
It's pretty likely that the LCD panel physically has no power, so no matter what control instructions I send, it's not going to do much.
The D2 has the same power management chip as some of the other Rockbox targets (PCF50606), and there are a mountain of what I believe to be I2C writes in the original firmware - so I'll see if there's anything identifiable there. That, however, may take some time!
The LCD controller is part of the Telechips CPU so there is no public info - my code simply tries to mimic that in the original firmware. Documentation for the actual Samsung panel is linked from the wiki, but that is only half the story.
EDIT: Not sure how I missed them originally, but one of the first actions in the original firmware is to send a whole stream of commands to I2C address 0x10 - ie the PCF50606. I'll investigate and try doing something similar in a day or two...
stephenp:
Hi
Recently got one of these ...
some linux programming experience ..
what can I do to help with the porting effort?
shotofadds:
At the moment it's very much a case of trying to figure out, from a disassembly of the original firmware, how to use the hardware - eg. how it powers on the lcd and writes to the screen, how the buttons/touchscreen work etc. For that you need a decent disassembler, some knowledge of ARM code and an awful lot of time and patience.
Then once these basics are done, we need to figure out how everything else works - the flash filesystem, usb, audio, battery level/charging, coprocessor, radio etc etc will all need to be covered eventually. The Rockbox GUI will need adapting for touchscreen use (I think some work is underway on this for another port) and 24-bit colour is not currently supported (IIRC) - but I can see from the D2 firmware that the LCD can be driven in 16bpp mode for the time being.
What I would suggest is fetching a copy of the current Rockbox build (see http://www.rockbox.org/twiki/bin/view/Main/DocsIndex#For_Developers) and familiarising yourself with its structure.
When I have a bit of spare time, I'll do some more work on the LCD and try to get an extrememly basic "Hello World" type program running. This could then be used as a platform for debugging the buttons/touchscreen etc. If/when I get to that point I'll submit an initial D2 patch to the Rockbox build, as linuxstb has done for the Logik DAX player.
Hope that hasn't scared you off....
stephenp:
Do you know where I could get a copy of the tcc7801 datasheet?
Thanks
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version