Rockbox

  • Status Closed
  • Percent Complete
    100%
  • 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
Attached to Project: Rockbox
Opened by saratoga - 2008-01-07
Last edited by shotofadds - 2008-01-14

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)

   D2.patch (63.2 KiB)
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

Included in r16090

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 "|=".

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing