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




Rockbox Technical Forums


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

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Cowon D2
« previous next »
  • Print
Pages: 1 ... 7 8 [9] 10 11 ... 64

Author Topic: Cowon D2  (Read 617290 times)

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #120 on: January 20, 2008, 09:37:27 AM »
jarivk, I answered this question in your previous post:

Quote from: shotofadds on January 09, 2008, 10:47:23 AM
You're not trying to upload a d2_rs.bin or d2_font.bin, are you? That won't work since those are resource (graphics) files. Tcctool should only be used to upload executable firmware code.

If you're trying to apply a modified theme, just put the D2_rs.bin (or D2N_rs.bin) onto the player's root folder, then unplug and restart the player. It'll apply the changes itself.
« Last Edit: January 20, 2008, 09:38:59 AM by shotofadds »
Logged

Offline jarivk

  • Member
  • *
  • Posts: 5
Re: Cowon D2
« Reply #121 on: January 20, 2008, 09:43:44 AM »
Ok... I had a confusion :(. I thought I can load the theme using tcctool and see without actually putting it on to the player. thanks for ur explanation. No problem now  :)
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Cowon D2
« Reply #122 on: January 20, 2008, 01:01:53 PM »
Please don't use our forums for support relating to simply modifying themes.

This thread should be about, and only about, getting Rockbox developed for the target.
Logged

Offline n0tHl33t

  • Member
  • *
  • Posts: 5
Re: Cowon D2
« Reply #123 on: January 20, 2008, 03:43:00 PM »
Sorry but i am so curious. Is there any further development, shotofadds?

By the way... Why don´t you inform the Iaudiophile-Community about your ongoing effort to port rockbox to the D2? Maybe you would find some developers that own a d2 too. Or do you fear forum-kiddies that scream "When-will-it-be-ready-why-isnt-it-ready-is-it-dead-i-want-my-d2-with-gps-and-a-gravity-beam-feature-please"  ;)

Whatever... Cheers

n0tH
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #124 on: January 20, 2008, 05:03:48 PM »
Quote from: n0tHl33t on January 20, 2008, 03:43:00 PM
Or do you fear forum-kiddies that scream "When-will-it-be-ready-why-isnt-it-ready-is-it-dead-i-want-my-d2-with-gps-and-a-gravity-beam-feature-please"

You said it, this forum thread is long enough already...

As for progress, the test program is now committed to the main Rockbox SVN, with some updates to display raw data from the touchscreen. I'm currently working on reading from the flash memory, which is going to take some time to get right. Don't worry about the lack of updates, I'm on the case 8-)

ps. Did you say you had an 8Gb D2? Would you mind running a quick test program to report some values back so I can compare them against my 4Gb? Cheers.
Logged

Offline Bagder

  • Global Moderator
  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: Cowon D2
« Reply #125 on: January 20, 2008, 05:46:52 PM »
Quote from: n0tHl33t on January 20, 2008, 03:43:00 PM

By the way... Why don´t you inform the Iaudiophile-Community about your ongoing effort to port rockbox to the D2?


I think it's a job for all of us to spread the word to whoever we think should get it and to try to invite more people to work on Rockbox development in general, but on the ongoing ports of course in particular!
Logged

Offline n0tHl33t

  • Member
  • *
  • Posts: 5
Re: Cowon D2
« Reply #126 on: January 21, 2008, 07:00:09 AM »
Quote from: shotofadds on January 20, 2008, 05:03:48 PM

ps. Did you say you had an 8Gb D2? Would you mind running a quick test program to report some values back so I can compare them against my 4Gb? Cheers.


As I also said my D2 is send in for repair as it had an adventure in the dishwasher (yes. dishwasher. dont ask...) but i will test it as promised when its back.

Cheers

n0tH
Logged

Offline andiator

  • Member
  • *
  • Posts: 44
Re: Cowon D2
« Reply #127 on: January 21, 2008, 03:45:07 PM »
I have 8GB version too, what values do you need? Is it from rockbox.iaudio file?

Besides, I'm trying to get the simulator for d2 working, man, there are a lot of button defines there. At least one per plugin and there are lots of plugins.
Anyway, I can compile that now, but it's still not working properly.
Logged
D2 8Gb + 128Gb µSD

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #128 on: January 22, 2008, 05:40:16 AM »
Quote from: andiator on January 21, 2008, 03:45:07 PM

Besides, I'm trying to get the simulator for d2 working, man, there are a lot of button defines there. At least one per plugin and there are lots of plugins.

Are you basing your work on the Flyspray patch (now closed) or a current Rockbox SVN? I'm sure I disabled plugin building before committing the code, so I wouldn't have thought you had to change all those plugin button defines (yet).

Note if you're using the patch: in SVN the button names have been altered to BUTTON_MINUS, BUTTON_MENU and BUTTON_PLUS so that they better reflect the physical layout. I'm intending to use BUTTON_LEFT/RIGHT/UP/DOWN to implement Llorean's suggestion for basic touchscreen navigation (see previous discussion in this thread).

Quote

I have 8GB version too, what values do you need? Is it from rockbox.iaudio file?

I'd like to check the ID codes from the NAND flash chips. The 4Gb D2 uses 2 banks of SAMSUNG K9LAG08U0M - I want to check if the 8Gb version uses 4 banks of the same (using an additional chip select line), or if it is something different entirely.

I'll post some code to read these values later today/tomorrow.
Logged

Offline andiator

  • Member
  • *
  • Posts: 44
Re: Cowon D2
« Reply #129 on: January 22, 2008, 08:02:42 AM »
I didn't use any patches, the svn version is from yesterday an the buttons are up/down/left/right/select


I did look in ../tools/configure, it says plugins="no". I choosed target=33 and type = s for simulator and ALL plugins are compiled. Not shure if it is the same with the normal build.
But anyway, as far as I know, the sim is only for button mappings and wps tests.
Logged
D2 8Gb + 128Gb µSD

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #130 on: January 22, 2008, 06:41:48 PM »
The D2 sim build is now available in SVN - there's no plugins yet, but these can eventually be added one at a time by tweaking the apps/plugin/SOURCES and apps/plugin/SUBDIRS files.

andiator: I'll post another update to read from the flash tomorrow.
Logged

Offline terrence1019

  • Member
  • *
  • Posts: 128
Re: Cowon D2
« Reply #131 on: January 24, 2008, 04:29:54 PM »
Congratulations on becoming a Rockbox Developer, shotofadds  8-)
Logged

Offline Yeeze

  • Member
  • *
  • Posts: 40
Re: Cowon D2
« Reply #132 on: January 24, 2008, 05:48:57 PM »
Wow really nice progress!!

I got a 2GB D2 model, bought in USA!

The '?' in the output indicates changing numbers xD
Output:
GPIOA: 0xF7FF0?DF
GPIOB: 0x1DE60002
GPIOC: 0x3B000???
GPIOD: 0x07070000
GPIOE: 0x0FFFFFFF
ADC0: 0x03F <-- The F changes sometimes (1 - 5 times per second) randomly to E
ADC1: 0x027E
ADC2: 0x0341
ADC3: 0x0319


I think this are all the important values. I hope I could help you!

Keep the good work UP!
« Last Edit: January 24, 2008, 05:59:17 PM by Yeeze »
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #133 on: January 25, 2008, 05:09:43 PM »
Yeeze / andiator: the latest version of the code in SVN will print out some diagnostics from the D2's flash chips. If you're willing to, could you run this on your D2 and report back some information? I can supply a pre-built binary if you don't have the build environment set up currently.

Four blocks of information should be displayed (NAND banks 0 to 4). Each consits of an ID code (5 hex bytes) and a block of 8 hex words. What is the ID code displayed (are they all the same?). Are the larger blocks of data the same for each bank, or all different? (nb: I don't need to know the numbers for the larger blocks of data, just whether the four banks differ).

After this information is displayed, each key press will scan the memory for the word "TAG" - so it should eventually display some readable song names, in amongst some other junk data. Let me know if this does not display anything readable after a few presses.

Thanks in advance....  ;)

(ps. I should state that I take no responsibility if anything unexpected happens to your player, however I've been running this on my own 4Gb D2 for some time with no ill effects. The D2 is my main day-to-day player so I would have noticed anything wrong by now!)

Yeeze: I /think/ at first glance these are the same values my player reports - thanks for the confirmation! nb: ADC0 represents button presses, and I believe ADC1 is a representation of the battery voltage, though this does not seem to update.
Logged

Offline andiator

  • Member
  • *
  • Posts: 44
Re: Cowon D2
« Reply #134 on: January 25, 2008, 05:29:44 PM »
NAND bank 0:
ID: 0xEC 0xD7 0x55 0xB6 0x78
0x5FD600EC 0x3531DE74 0x33323822 0x070A1717
0xA029FF13 0xCACE218B 0xCCCDC7CD 0xF8F5E8E8

NAND bank 1:
ID: 0xEC 0xD7 0x55 0xB6 0x78
0xB80600EC 0x32316BBA 0x35313731 0x070A1818
0x47F9FF13 0xCDCE9445 0xCACEC8CE 0xF8F5E7E7

NAND bank 2:
ID: 0xEC 0xD7 0x55 0xB6 0x78
0x5FD600EC 0x3531DE74 0x33323832 0x070A1717
0xA029FF13 0xCACE218B 0xCCCDC7CD 0xF8F5E8E8

NAND bank 3:
ID: 0xEC 0xD7 0x55 0xB6 0x78
0xB80600EC 0x32316BBA 0x0x35313731 0x070A1818
0x47F9FF13 0xCDCE9445 0xCACEC8CE 0xF8F5E7E7

I hope, I did not do any mistakes, but it seems like the banks 0/1 are the same as 2/3

Pressing a button counts some MB's and shows some stuff. Seems like ID3-tag content.

Cheers,
      Andy
Logged
D2 8Gb + 128Gb µSD

  • Print
Pages: 1 ... 7 8 [9] 10 11 ... 64
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Cowon D2
 

  • SMF 2.0.6 | SMF © 2013, Simple Machines
  • XHTML
  • RSS
  • WAP2

Page created in 0.158 seconds with 69 queries.