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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Cowon D2
« previous next »
  • Print
Pages: 1 ... 37 38 [39] 40 41 ... 65

Author Topic: Cowon D2  (Read 636497 times)

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #570 on: March 03, 2009, 05:00:46 PM »
Quote from: Bryan.Brake on March 02, 2009, 12:52:44 PM
Do the Rockbox devs have a D2 to crunch on?  If someone was to donate a D2, who would they send it to?  I have thought about getting a D2, since they are still selling them, and they aren't HD-based players, and 32GB SDHC is cheaper.

That's a very kind offer, but I'm not sure how much it would really help. There already are (or were, at least) 3-4 Rockbox devs who own D2s, but those same devs are already busy enough working on existing targets/other projects. An alternative, if no-one takes up your offer of a D2 to work on, might be a small donation to the general Rockbox fund (although it won't go towards any specific porting effort).

Quote from: shotofadds on February 17, 2009, 07:42:44 AM
Ok, it looks like your D2 is using 2 blocks per segment, as opposed to the usual 4. I should be able to produce a build that works, but first I need to add in some code to detect this at runtime based on the NAND chip id. Check back in a day or two...

@store88: Could you try again with the latest build from SVN? r20186 contains some changes which should allow your D2 to boot now.
Logged

Offline store88

  • Member
  • *
  • Posts: 14
Re: Cowon D2
« Reply #571 on: March 04, 2009, 10:27:30 PM »
it works now on my D2
thx very much
Logged

Offline buk

  • Member
  • *
  • Posts: 8
Re: Cowon D2
« Reply #572 on: March 19, 2009, 05:28:24 PM »
I post a patch on Flyspray (http://www.rockbox.org/tracker/task/10035) to enable FM radio.
There's some empirical calibration for the frequency measurement (due to the lack of hardware based udelay). I don't know if this calibration is device independent so feedback are welcomed.

I have no idea on how implementing an accurate udelay, I guess we have to find some TCC78x functions. Maybe I will try to investigate reverse engineering of OF but it seems to be a very tedious task...
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #573 on: March 20, 2009, 07:22:26 AM »
Thanks, nice work! I'd already done the basic work to communicate with the FM chip, but I didn't get very far without a usable logging mechanism. Presumably your logf-over-usb patch was rather useful for this...

Regarding udelay(), I've been meaning to fix that for a while. It should actually be rather simple so I'll try to implement that (and also the missing __timer_set() etc calls) in the next day or two. Watch this space...
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #574 on: March 20, 2009, 08:26:39 PM »
With a proper udelay implementation, those modifications to the FM driver are no longer necessary, so I've taken them out and committed the rest of this patch. The FM radio now seems to work quite nicely! :)

If you're going to test this, do remember that the filesystem is read-only so you won't be able to save presets etc - but there are a large number of ready-made preset files available here. If there isn't one available for your area you can always create one with a text editor.
Logged

Offline buk

  • Member
  • *
  • Posts: 8
Re: Cowon D2
« Reply #575 on: March 21, 2009, 04:56:19 PM »
Thanks for implementing udelay function, now it works very well !

Maybe the SS_CTRL value should be increased. It seems to be used to determine if the stations signal
level allow stereo decoding. With the actual value, I can hear some noise with some stereo stations.
In the OF, the SS_CTRL seems to be higher than rockbox.
Logged

Offline Japio

  • Member
  • *
  • Posts: 2
Re: Cowon D2
« Reply #576 on: March 22, 2009, 08:44:02 AM »
First of all great work you guys! I tried installing Rockbox on my D2 yesterday and it works pretty good.
The Last.fm log file doesn't seem to be saved on my D2 though, despite enabling "Last.fm Log" in the Playback Settings. After a reboot of the D2 the setting is turned back on "No" (disabled).
Can someone please take a look at this?

I'm using firmware 2.57 and rockbox version 2009.03.21 rev20423.
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Cowon D2
« Reply #577 on: March 22, 2009, 08:55:41 AM »
Quote from: Japio on March 22, 2009, 08:44:02 AM
First of all great work you guys! I tried installing Rockbox on my D2 yesterday and it works pretty good.
The Last.fm log file doesn't seem to be saved on my D2 though, despite enabling "Last.fm Log" in the Playback Settings. After a reboot of the D2 the setting is turned back on "No" (disabled).
Can someone please take a look at this?

I'm using firmware 2.57 and rockbox version 2009.03.21 rev20423.

There is no write support on the D2 yet, so *nothing* gets saved
Logged

Offline Japio

  • Member
  • *
  • Posts: 2
Re: Cowon D2
« Reply #578 on: March 22, 2009, 09:02:28 AM »
I see, bummer.
Logged

Offline hpfmn

  • Member
  • *
  • Posts: 4
Re: Cowon D2
« Reply #579 on: March 25, 2009, 03:58:28 PM »
Is it alowed to ask whether there is any development on the sd card driver (reading would be nice and write extreamely awsome!)?

It seems there is currently no development ... I really get pissed of by the corrupted databases of the orginal firmware and I think with this feature rockbox would be almost perfectly usable (than there is just this ugly music buffer thing)
Logged

Offline outlawman

  • Member
  • *
  • Posts: 4
Re: Cowon D2
« Reply #580 on: March 26, 2009, 04:19:20 PM »
there are menu items like "cut, delete"... called with long pressing menu button. but they doesn't work. is it because of "read-only" thing?
Logged

Offline vodi

  • Member
  • *
  • Posts: 14
Re: Cowon D2
« Reply #581 on: March 26, 2009, 04:20:50 PM »
Quote from: outlawman on March 26, 2009, 04:19:20 PM
there are menu items like "cut, delete"... called with long pressing menu button. but they doesn't work. is it because of "read-only" thing?
Yes. Nothing, which needs write-access can be done. This means also cut & delete.
Logged

Offline markV

  • Member
  • *
  • Posts: 13
Re: Cowon D2
« Reply #582 on: March 26, 2009, 11:53:16 PM »
Hi Group !

I have one or two questions and, two or three observations...

First (neophyte) question: I know Rockbox bootloader is patched in the original firmware with mktccboot, does that mean Rockbox is like a "parasite" application ?  I mean does Rockbox send commands to the hardware through the original software or directly to the hardware ?

Second question: I remember having seen somewhere on this site something about database corruption being related to a bad bootloader patching or something...  Is that what I'm experiencing on the "original firmware side" (complete database corruption, like 'hpfmn' wrote) or this database corruption is really just from the new Cowon 2.59 firmware ?

Ok, now some observations I made (could this help) on my Rockboxed (v. r20457-090322) 8GB D2:
1- when the backlight goes to sleep there is still a faint (so faint !) amount of light emitted when using a white background theme (like iCatcher)
2- I still got the two-bottom-lines-at-top problem, like once in 20 boots or so (random for sure)
3- I have a weird problem when getting the power button back from the locked position: most of the times the player goes to a paused state but gets back to the main menu and can not resume playing.  A less frequent symptom is the player shutting down after a couple of clicks.

Aside from that, Rockbox is now very usable on the D2 !
Thanks for putting so much effort in this great application !!

MarkV
Logged

Offline Pivot

  • Member
  • *
  • Posts: 1
Re: Cowon D2
« Reply #583 on: March 27, 2009, 11:54:52 AM »
Quote from: shotofadds on November 24, 2008, 07:59:47 AM
I did specifically ask whether the lack of a pre-compiled bootloader was holding anyone back from testing, so that response was entirely justified. As I'm sure you know, user testing can be incredibly helpful even in early stages of development.

If there are people who would find it useful, I see no problem providing a mktccboot binary (with associated bootloader.bin), especially given that we already provide a pre-built rockbox.zip and tcctool, too.
Hi, I am looking for pre-built mktccboot (with associated bootloader.bin). I would try Rockbox on my D2 and haven't develop's environment.

If it is possible..... many thanks.

Regards
Logged

Offline hpfmn

  • Member
  • *
  • Posts: 4
Re: Cowon D2
« Reply #584 on: March 27, 2009, 01:19:41 PM »
Quote from: markV on March 26, 2009, 11:53:16 PM
First (neophyte) question: I know Rockbox bootloader is patched in the original firmware with mktccboot, does that mean Rockbox is like a "parasite" application ?  I mean does Rockbox send commands to the hardware through the original software or directly to the hardware ?

Okay I don't know but I think it uses the hardware directly and is just patched into the main firmware to boot the whole thing up ;)

Quote from: markV on March 26, 2009, 11:53:16 PM
Second question: I remember having seen somewhere on this site something about database corruption being related to a bad bootloader patching or something...  Is that what I'm experiencing on the "original firmware side" (complete database corruption, like 'hpfmn' wrote) or this database corruption is really just from the new Cowon 2.59 firmware ?

I Just spoke about the "normal" Datacorruption of 2.59 (are there more Problems with this release?)

and I would just like to have a nice platform to stark hacking :) - but I think my skills are to low for drivers
Logged

  • Print
Pages: 1 ... 37 38 [39] 40 41 ... 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.