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 ... 47 48 [49] 50 51 ... 65

Author Topic: Cowon D2  (Read 636543 times)

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #720 on: September 17, 2009, 03:36:49 PM »
Wow, nice work!

Really interesting too - I had no idea that so relatively few hardware registers would be needed to boot the OF under emulation. If the D2 used the hardware I2C controller instead of bit-banging GPIOs I guess it'd be even simpler...

I wonder how hard it would be to incorporate a gdb stub for interactive debugging? Or to incorporate this into something like QEMU which already has one... that would certainly open up some possibilities!

Edited to add: if you modify the emulator to boot from the EEPROM rather than loading in the executable to DRAM, does it successfully boot the OF from the NAND dump?
« Last Edit: September 17, 2009, 03:49:00 PM by shotofadds »
Logged

Offline Toni

  • Member
  • *
  • Posts: 42
Re: Cowon D2
« Reply #721 on: September 17, 2009, 05:24:43 PM »
I have no experience with gdb, but my sansa emulator, I think, has been successfully ported to gdb. I tried to execute the eeprom, but it fails after basic register initialization, when it comes to flash commands. After the reset command 0xffff the second command is 0x50 at location 0xe0000980, which I don't know, what it does. After issuing the command the bootloader reads 16 Byte, but I have no idea, how to fill them.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Cowon D2
« Reply #722 on: September 17, 2009, 05:28:40 PM »
You should consider cleaning that up and getting it into SVN.  It'd be a nice tool.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Cowon D2
« Reply #723 on: September 17, 2009, 05:52:27 PM »
Shouldn't it be on the wiki, rather than renamed and attached to a forum post?
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Cowon D2
« Reply #724 on: September 17, 2009, 06:29:34 PM »
Removed attachment and moved it to the CowanD2Info wiki page.
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline grep

  • Member
  • *
  • Posts: 4
Re: Cowon D2
« Reply #725 on: September 18, 2009, 03:57:57 AM »
I have been using rockbox with great satisfaction on my D2 so far, and have been looking for a way to "give back" something to this wonderful project.
Since I'm not a programmer and can't help with all the technical stuff, I've got my eye on that "Write the manual" item on the todo list and have been reading the ManualHowto page.

But before I get started with all that I'd like some confirmation if it's the right time to start with this. Is it perhaps too soon to start writing the D2 manual, since the release is still not a supported rockbox target?
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #726 on: September 18, 2009, 04:32:35 AM »
I'd say it's a great time, since it's unlikely to ever become supported without a manual ;)
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #727 on: September 20, 2009, 04:18:22 PM »
To those who cannot get Rockbox to boot on D2+ players with new hardware, please try uploading this image to your player using tcctool:

http://www.mediafire.com/?rwuzjzj1ejy

You might find the backlight comes on now, so you might be able to read the screen. However, I wouldn't expect much else to work (the touchscreen certainly won't). Let me know how it goes...

@grep, I've now added an SVG drawing of the D2, so that part of the manual is already done for you! :D
Logged

Offline fish

  • Member
  • *
  • Posts: 4
Re: Cowon D2
« Reply #728 on: September 20, 2009, 08:33:51 PM »
I'v gave it short try and it works.
The screen turned on and I even can navigate with the keys - very nice :)
Logged

Offline grep

  • Member
  • *
  • Posts: 4
Re: Cowon D2
« Reply #729 on: September 21, 2009, 03:58:29 AM »
Quote from: shotofadds on September 20, 2009, 04:18:22 PM
@grep, I've now added an SVG drawing of the D2, so that part of the manual is already done for you! :D

Thanks mate!  :D

I'm still in the process of "finding my bearings" of the processes surrounding the rockbox manual. I've installed Latex and svn and been doing some test building of manuals to see how that all works.

There's one thing that I don't understand atm:

The ManualHowTo tells me to create a new directory in Rockbox SVN root (where tools, apps, manual etc are located) and do the "configure" and "make" in there. This strikes me as odd. Doesn't that mean when I commit this to svn, the directory stays on that level? Or is that perhaps to prevent new manual targets to fuck it up for the existing entries under manual?




Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #730 on: September 21, 2009, 04:15:13 AM »
Quote from: fish on September 20, 2009, 08:33:51 PM
The screen turned on and I even can navigate with the keys - very nice :)
Ok, I'll add that change into the main build soon, then you should be able to run a full build. We'll then need to work out what needs to be fixed...

Quote from: grep on September 21, 2009, 03:58:29 AM
The ManualHowTo tells me to create a new directory in Rockbox SVN root (where tools, apps, manual etc are located) and do the "configure" and "make" in there. This strikes me as odd. Doesn't that mean when I commit this to svn, the directory stays on that level? Or is that perhaps to prevent new manual targets to fuck it up for the existing entries under manual?
Only the outputs of the build will appear in the build directory you created - it's the same process as building code from SVN. All the source files (and your changes) will go in the main 'manual' folder. It's done like this so that you can have several build folders for building different manuals from the same source code.

The usual way to submit changes is to create a patch file (a set of differences from main SVN) and post it to Flyspray, our bug/patch tracker - see WorkingWithPatches on the wiki. A developer with SVN access will then look at it and commit if it's all is ok. If you get really proficient, you might eventually get commit rights yourself.
Logged

Offline D2+Beginner

  • Member
  • *
  • Posts: 1
Re: Cowon D2
« Reply #731 on: September 21, 2009, 05:15:22 AM »
Great!
For me the same as fish.
The screen turned on and navigation with keys work well.

Thanks!!!

Logged

Offline grep

  • Member
  • *
  • Posts: 4
Re: Cowon D2
« Reply #732 on: September 21, 2009, 06:46:12 AM »
Quote from: shotofadds on September 21, 2009, 04:15:13 AM
The usual way to submit changes is to create a patch file (a set of differences from main SVN) and post it to Flyspray, our bug/patch tracker - see WorkingWithPatches on the wiki. A developer with SVN access will then look at it and commit if it's all is ok. If you get really proficient, you might eventually get commit rights yourself.
Ah yes, that sounds logical.
I was already wondering where the "quality assurance" would be if you would allow any noob like me to commit stuff to the svn  ;)
Ok, first thing on the list now is to figure out all the prerequisites to do a successfull "manual for the D2" build.
I tried to build smt quickly in a d2 directory in the SVN root, but it's riddled with errors of missing stuff ofcourse.
I must say, having no experience in contributing in an opensource project and finding the learning curve a bit steep, it's rather interesting to see how stuff is being organized.  :)
« Last Edit: September 21, 2009, 06:47:55 AM by grep »
Logged

Offline helloworld1

  • Member
  • *
  • Posts: 11
Re: Cowon D2
« Reply #733 on: September 21, 2009, 02:57:15 PM »
Quote from: shotofadds on September 20, 2009, 04:18:22 PM
To those who cannot get Rockbox to boot on D2+ players with new hardware, please try uploading this image to your player using tcctool:

http://www.mediafire.com/?rwuzjzj1ejy

You might find the backlight comes on now, so you might be able to read the screen. However, I wouldn't expect much else to work (the touchscreen certainly won't). Let me know how it goes...

@grep, I've now added an SVG drawing of the D2, so that part of the manual is already done for you! :D

Hi, I have tried flashing the 3.11 original firmware with your attached firmware. The device cannot be turned on after that and I cannot get into the recover mode by pressing and holding the "M" button and turning on. It is really sad. My D2+ is a brick now.
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #734 on: September 21, 2009, 05:16:35 PM »
Quote from: helloworld1 on September 21, 2009, 02:57:15 PM
Hi, I have tried flashing the 3.11 original firmware with your attached firmware
You weren't supposed to do that, only upload it with tcctool. :o

Anyway, it's not possible to damage a D2/D2+ just by flashing a bad firmware, as it can always be recovered using the built-in USB boot mode.  Are you sure you've reset the device properly and it has a full charge?
Logged

  • Print
Pages: 1 ... 47 48 [49] 50 51 ... 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.124 seconds with 14 queries.