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 ... 24 25 [26] 27 28 ... 65

Author Topic: Cowon D2  (Read 636576 times)

Offline Bkd11

  • Member
  • *
  • Posts: 13
Re: Cowon D2
« Reply #375 on: May 23, 2008, 10:41:07 AM »
Quote from: andiator on May 22, 2008, 05:39:03 AM
It was/is busy time for me too. Too much to do in my project, the next test is in the end of the next week and all people you (me) need have vacation  ???
But well, that's life...

I don't want to post a new patch only because of four lines that are different, so I'm posting it here  :P , could anyone commit this please?

found in apps/plugins/packbox/pacbox.h:142

#ifdef HAVE_TOUCHPAD
#ifndef PACMAN_UP
#define PACMAN_UP       BUTTON_TOPMIDDLE
#endif
#ifndef PACMAN_DOWN
#define PACMAN_DOWN     BUTTON_BOTTOMMIDDLE
#endif
#ifndef PACMAN_LEFT
#define PACMAN_LEFT     BUTTON_MIDLEFT
#endif
#ifndef PACMAN_RIGHT
#define PACMAN_RIGHT    BUTTON_MIDRIGHT
#endif
#ifndef PACMAN_1UP
#define PACMAN_1UP      BUTTON_BOTTOMLEFT
#endif
#ifndef PACMAN_2UP
#define PACMAN_2UP      BUTTON_BOTTOMRIGHT
#endif
#ifndef PACMAN_COIN
#define PACMAN_COIN    BUTTON_CENTER
#endif
#ifndef PACMAN_MENU
#define PACMAN_MENU    (BUTTON_TOPLEFT|BUTTON_REL)
#endif
#endif



[Edit1] updated ftp (new rockbox version + new patched original FW 2.57 and 3.57)
[Edit2] sorry, the ftp update gone completly wrong, I'm on it
[Edit3] the ftp is working again, the problem was, the files had the windows line end character in the names (???) like this: d2N...bin'\r', because I changed my patching script with windows editor...
Didn't know it's possible...
Thanks andiator.
But since you have to turn the screen vertically to play it, shouldn't it be:

#ifdef HAVE_TOUCHPAD
#ifndef PACMAN_UP
#define PACMAN_UP       BUTTON_MIDRIGHT
#endif
#ifndef PACMAN_DOWN
#define PACMAN_DOWN     BUTTON_MIDLEFT
#endif
#ifndef PACMAN_LEFT
#define PACMAN_LEFT     BUTTON_TOPMIDDLE
#endif
#ifndef PACMAN_RIGHT
#define PACMAN_RIGHT    BUTTON_BOTTOMMIDDLE

Anyways the game is pretty unplayable using a touchpad, but still fun to have.
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #376 on: May 23, 2008, 11:23:16 AM »
Oops, I didn't get time to commit those updates. I'm away for a few days so it'll have to wait til Monday now.
Logged

Offline andiator

  • Member
  • *
  • Posts: 44
Re: Cowon D2
« Reply #377 on: May 25, 2008, 09:49:30 AM »
Quote from: Bkd11 on May 23, 2008, 10:41:07 AM
But since you have to turn the screen vertically to play it, shouldn't it be:

You'r right! But the strange thing is it was correct before (see old posts). I think the svn update somehow managed to undo/overwrite my not commited changes (???) or I'm simply too stupid  ;D
Logged
D2 8Gb + 128Gb µSD

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #378 on: May 27, 2008, 05:35:29 AM »
The Pacbox controls should now be fixed in SVN.
Logged

Offline Bkd11

  • Member
  • *
  • Posts: 13
Re: Cowon D2
« Reply #379 on: May 28, 2008, 11:25:40 AM »
Quote from: shotofadds on May 27, 2008, 05:35:29 AM
The Pacbox controls should now be fixed in SVN.
Yep! I can confirm it is now fixed.

Logged

Offline talex

  • Member
  • *
  • Posts: 1
Re: Cowon D2
« Reply #380 on: June 04, 2008, 07:01:38 AM »
Hi,

I just got one of the new 16GB D2's and have attempted to put rockbox on it (Linux dev environment, compiled sources from the latest zip7 dump, revision 17687)

After patching the firmware with tcctool, I get the error on the player
Code: [Select]
*PANIC*
BMPM total_banks m
ismatch
The player still functions properly after resetting it (although I'm still using my rockboxed H140)

I'm guessing this is due to more memory banks, if there is any test code that I can run on it to get more information out please let me know.

EDIT: More info. Modified the call to panicf in ata-nand-tcc780x.c (line 485) to print out total_banks and id_buf[4].
total_banks = 2 and id_buf[4] = 4
Suggesting 4 total memory banks

EDIT 2: A small amount of further investigation has found that total_banks is set to 2 at the line if (memcmp(uid_buf0, uid_buf2, 32) == 0)
Also, trying to ignore the sanity check (commenting it out) result in a failure to find a filesystem.

« Last Edit: June 04, 2008, 08:10:59 AM by talex »
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #381 on: June 04, 2008, 09:11:31 AM »
Yeah, sorry, I'm aware of that thanks to some users at iAudiophile.net, but I haven't updated the wiki page to state that 16Gb models aren't working yet.

The problem is that nand_chip_select() isn't correctly selecting all of the 4 NAND banks that are present in the 16Gb model, so banks 0/2 and 1/3 appear to us as if they are duplicated. We are ignoring the 'duplicate' banks, hence the 2 vs. 4 total_banks mismatch.

I've built a version with some more debug text here, but it will just confirm the behaviour you've already seen. (Be aware that the backlight timeout will turn the screen off after 5 seconds, so you need to press a button or touch the screen to bring the display back).

I need to do some more investigation into this, but not having a 16Gb player in front of me slows things down somewhat.
« Last Edit: June 04, 2008, 09:13:31 AM by shotofadds »
Logged

Offline x5062

  • Member
  • *
  • Posts: 4
Re: Cowon D2
« Reply #382 on: June 04, 2008, 09:45:06 AM »
hello.
I was studied about cygwin - so I can make bootloader.bin file and rockbox.zip file.
q1. by the way, how can I translate the english to korean?
I was used language - korean setting, so It was changing English to korean.
but there were not translating words... ex :
Main menu

files                                                                               íŒŒì¼ 보기
resume playback                                                           ìž¬ìƒ 계속하기
settings                        ------------------->                       settings
playlists                                                                         playlists
plugins                                                                          플러그인 보기
system                                                                          시스템 설정

before                                                                            after

like this... It wasn't change to korean perfect. how can I change  the word --->settings ->설정 ?

q2....and I went system - Debug(keep out!) - CPU frequency....
I guess, usually d2's chipset work to 192mhz clock, by the way, why the cpu frequency marking to 48mhz clock?

q3... d2's chipset is a dual core... 192 mhz + 192 mhz = 384 mhz clock, but one only using to play video clip,
the other using other things... music, text, flash...
than,  rockbox is same? if i playing a movie, d2 only using one core?
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Cowon D2
« Reply #383 on: June 04, 2008, 11:59:35 AM »
Q1 : Read this page : http://www.rockbox.org/twiki/bin/view/Main/LangFiles

Q2 : To save battery life, we usually don't run the processor at full speed all the time. This is common to nearly (if not) all the rockbox ports.

Q3: That would depend on the way the D2 developers are using the dual core chip at the moment. Rockbox has other dual core targets which are more mature than the D2 port, and even on those, the usage of both cores is still in most people's opinion (or rather, those that are in a position to comment), less than optimal.
Logged

Read The Manual Please

Offline cybergrind

  • Member
  • *
  • Posts: 23
Re: Cowon D2
« Reply #384 on: June 04, 2008, 12:06:45 PM »
but if we will port java to rockbox, usage of second (J-core) should have more sense =)
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #385 on: June 04, 2008, 12:10:06 PM »
Codecs and plugins will boost the CPU up to 192Mhz when necessary (or you can boost it manually by pressing the "-" key from the CPU Frequency debug screen). There is no dual core support at the moment.

@cybergrind: the main ARM926E-JS core supports Java extensions, not the co-processor. However, the is no publically available documentation, so I would expect an open-source Java port any time soon.
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #386 on: June 11, 2008, 06:44:02 AM »
The current build should now also work on 16Gb models.

(Of course, when I say "work", I mean in the loosest sense.. ;))
Logged

Offline juggleboy711

  • Member
  • *
  • Posts: 7
Re: Cowon D2
« Reply #387 on: June 12, 2008, 01:08:20 AM »
Just curious?? With the controls for a touchscreen, are the only options the edges(up,down,L,R, and center) or specific cordinates on the screen work just like it should? Or is that extremely complicated to code?(just for games in general, not pacman specifically)
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Cowon D2
« Reply #388 on: June 12, 2008, 01:18:50 AM »
we can do whatever we want with the touchscreen... the driver has been setup with 2 modes... one is where the screen is split into 9 "buttons" which is just a imaginonary 3x3 grid drawn over the screen for them... the other is where you can get the actual pixel being pressed...
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline sikon

  • Member
  • *
  • Posts: 4
Re: Cowon D2
« Reply #389 on: June 12, 2008, 01:24:58 PM »
Hi! How can i set the mode "where you can get the actual pixel being pressed..."?
Logged

  • Print
Pages: 1 ... 24 25 [26] 27 28 ... 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.131 seconds with 14 queries.