Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Cowon D2
« previous next »
  • Print
Pages: 1 ... 16 17 [18] 19 20 ... 65

Author Topic: Cowon D2  (Read 636547 times)

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #255 on: April 08, 2008, 12:13:51 PM »
The dual-boot mechanism has changed to use the HOLD switch, because it seems the hardware will not boot from flash when any of other keys are pressed.

Press POWER for half a second (or less) then immediately set the HOLD switch. The Rockbox bootloader screen should then appear. If using Tcctool, ensure HOLD is set before uploading d2_patched.bin.
Logged

Offline cybergrind

  • Member
  • *
  • Posts: 23
Re: Cowon D2
« Reply #256 on: April 08, 2008, 12:30:45 PM »
sorry, i read about this after my post... :\
great work!

P.s. i think that we should define in config:
Code: [Select]
#define BOOTDIR "/.rockbox"
Logged

Offline Shady

  • Member
  • *
  • Posts: 7
Re: Cowon D2
« Reply #257 on: April 08, 2008, 01:45:49 PM »
You are making a great progress shotofadds, keep up the good work!  :o :D Thumbs up for other guys who are helping to make this port!
Last posts got me very excited and I would really like to test it on my D2/2Gb player. Unfortunately I don’t have any means to compile bootloader and patch it into OF. That’d be great if someone could compile bootloader and patch it into D2N.bin  for me. Any version of OF will do(2.5x/3.5x), I'm running v3.55 though. thanks in advance
Logged

Offline carsten

  • Member
  • *
  • Posts: 3
Re: Cowon D2
« Reply #258 on: April 08, 2008, 02:12:20 PM »
here you go: 3.55 with newest bootloader http://www.megaupload.com/?d=0281CH8X
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #259 on: April 08, 2008, 02:18:37 PM »
Quote from: cybergrind on April 08, 2008, 12:30:45 PM
P.s. i think that we should define in config:
Code: [Select]
#define BOOTDIR "/.rockbox"
Yes, you're correct - I'll fix that. It won't cause any problems at the moment, since BOOTDIR is only used to check if the rockbox.iaudio file has been modified after USB unplug (and we have no USB support yet, so it's irrelevant).
Logged

Offline cybergrind

  • Member
  • *
  • Posts: 23
Re: Cowon D2
« Reply #260 on: April 08, 2008, 02:41:22 PM »
Sometimes rockbox is crashed and when I power on player - have error (can't find rockbox.iaudio)

Error with HWinfo: it seems that when we press menu button -- emulates double click: we close HWinfo and then load HWinfo again =) you can see that in txt-file reader (first i see this problem in txt-reader: when you press menu button - reader close, because first menu item - quit) You can close HWinfo if you fast press menu+plusbutton (some trainings help you).

Question: we generate keydown and keyup events? keypress = shoud be keydown + keyup. or keyup shouldn't generate keypress event.

sorry my tangled explanations

Another way: define power button for quit
« Last Edit: April 08, 2008, 02:56:01 PM by cybergrind »
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #261 on: April 08, 2008, 03:10:48 PM »
Quote from: cybergrind on April 08, 2008, 02:41:22 PM
sorry my tangled explanations
No problem, I understand what you mean (in fact I listed the Hw Info problem on the Known Problems list on the wiki page). I fully expect to find more keymap problems like this. They will be fixed eventually.

The target-specific code in button-cowond2.c generates a raw 'snapshot' of the hardware button state at any given time. This is effectively turned into Key-down (press) and Key-up (release) events by logic in button.c, which is common to all targets.

The errors on startup (can't find rockbox.iaudio, read error, bad checksum) are unavoidable at the moment due to the unfinished NAND driver. To fix this, unzip the .rockbox folder to the player again and re-try.

Quote
Another way: define power button for quit
Yes, that is probably what I will do.
Logged

Offline Shady

  • Member
  • *
  • Posts: 7
Re: Cowon D2
« Reply #262 on: April 08, 2008, 03:36:39 PM »
Thank you carsten. Wow, it works well. I can navigate the menu, browse files, view images and text files, run plugins, and beside invadrox there’s a chopper game quite playable too!
Logged

Offline stel

  • Member
  • *
  • Posts: 7
Re: Cowon D2
« Reply #263 on: April 08, 2008, 04:15:57 PM »
When I try and use invadrox & a couple of the other plugins I'm getting Undefined instruction at 21F84220. Any idea what might be causing this?

Edit1:Also, when I try and run chopper I get Prefetch abort at 4000156A

Edit2: Thanks for the post below shotofadds. I compiled your latest update and installed. Happy to report its working as expected. I'll bare that in mind next time.
« Last Edit: April 09, 2008, 03:29:23 AM by stel »
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #264 on: April 08, 2008, 04:29:20 PM »
Try the standard "fix" of unzipping the .rockbox folder again. It's possible that the flaky NAND driver has loaded corrupt plugin data into memory.

EDIT: Also try the pre-built zip I mentioned here, just to ensure the problem is not something in your build environment.

EDIT2: I've now fixed the HW Info screen (use the power button to exit, just like every other screen does). And power off should work properly now. 8-)
« Last Edit: April 08, 2008, 04:51:22 PM by shotofadds »
Logged

Offline splitsch

  • Member
  • *
  • Posts: 2
Re: Cowon D2
« Reply #265 on: April 09, 2008, 03:14:59 AM »
Hello !
I'm glad to see that there are a lot of improvements :)

Is it possible to have a couple of screenshot, from text reading, or space-invaders?

You could send it to me, at "splitsch dot spam at gmail dot com".

Thank you very much !

I wrote a news about your progress on my blog, so the french community could read it, and I'd like to show people what has been done :)

Splitsch
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: Cowon D2
« Reply #266 on: April 09, 2008, 03:23:35 AM »
You can do screendumps using the simulator as well, and it will show you the exact same screens/look as the actual targets use.
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #267 on: April 09, 2008, 06:48:43 AM »
In response to a question on IRC (I have no access at work other than reading the logs), here is my current thinking.

a) There is no touchscreen support at all at present, apart from a hacky debug screen.

b) I intend to create a set of 'virtual' keys to emulate a 5-way D-pad using the touschscreen (as per Llorean's suggestion earlier in this thread): BUTTON_TSC_LEFT, BUTTON_TSC_RIGHT, BUTTON_TSC_SELECT etc. These can then be used for plugin button mappings, etc.

c) I think the lists/WPS etc should use 'real' touch buttons if at all possible, which may require some redesign.

Discuss....
Logged

Offline cybergrind

  • Member
  • *
  • Posts: 23
Re: Cowon D2
« Reply #268 on: April 09, 2008, 07:33:42 AM »
IMHO:
Adding touchscreen support to themes is more difficult, but I think better than emulating buttons.
Touchscreen-buttons is good for some application - like text-reader, some games.



Logged

Offline cybergrind

  • Member
  • *
  • Posts: 23
Re: Cowon D2
« Reply #269 on: April 09, 2008, 09:51:54 AM »
For fixing MENU button change keymap-cowond2.c
Code: [Select]
    { ACTION_STD_OK,          BUTTON_MENU|BUTTON_REL,     BUTTON_MENU },
    { ACTION_STD_OK,          BUTTON_RIGHT|BUTTON_REL,    BUTTON_RIGHT },

    { ACTION_STD_MENU,        BUTTON_MENU|BUTTON_REL,  BUTTON_MENU },
Logged

  • Print
Pages: 1 ... 16 17 [18] 19 20 ... 65
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Cowon D2
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.115 seconds with 14 queries.