- Status Closed
- Percent Complete
- Task Type Patches
- Category Drivers
- Assigned To No-one
- Operating System Another
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#8420 - Cowon D2 initial work and drivers
User "shotofadds" requested that someone upload this for him, evidently due to some problem using filespray. His description:
"Once applied, configure should list a new target (33: Cowon D2) and its bootloader build should generate a rockbox.iaudio file suitable for uploading with tcctool. This consists of a simple test program with basic LCD, button and I2C drivers. Happy hacking!"
Once he has registered and provided his full name, we can see about turning this FS entry to him, and then committing his patch.
(edit: fixed 'Cowon' typo in title)
Closed by shotofadds
2008-01-14 23:05
Reason for closing: Accepted
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2008-01-14 23:05
Reason for closing: Accepted
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Included in r16090
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
The following changes should be added before committing this patch:
- fix the TCCBOOT code in crt0.s (it's not modified from LOGIKDAX yet).
- implement i2c_read_multiple()
..and once those are done:
- plagiarise one of the (h300/iaudio) pcf50606 drivers, and add setting of backlight power/intensity and reading of the touchscreen ADCs.
(the OpenMoko code might be a help here: http://svn.openmoko.org/trunk/src/target/kernel/patches/gta01-pcf50606.patch … actually no, it doesn't support touchscreen)
There is an intermittent problem with the I2C code in this patch which can cause a hang/crash before the LCD is initialised. My previous revision does not hang, so I'm trying to track down the difference. Dirty workaround: comment out the two calls to pcf50606_write_reg() in lcd-cowond2.c, then boot the OF and press reset before running tcctool (this way the I2C commands have already been sent by the OF so we don't need to…)
Oops, a typo at i2c-target.h:35 was causing the crash: "=" should be replaced with "|=".