Rockbox Development > New Ports
Cowon D2
shotofadds:
--- 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.
--- End quote ---
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...
--- End quote ---
@store88: Could you try again with the latest build from SVN? r20186 contains some changes which should allow your D2 to boot now.
store88:
it works now on my D2
thx very much
buk:
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...
shotofadds:
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...
shotofadds:
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.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version