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:

Thank You for your continued support and contributions!

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

Author Topic: Cowon D2  (Read 636499 times)

Offline store88

  • Member
  • *
  • Posts: 14
Re: Cowon D2
« Reply #555 on: February 11, 2009, 08:36:36 PM »
My D2's battery in charge, test wait 3 hours

I don't know where to get a datasheet for that specific NAND chip
And I did the following step:
compile in "D2 and Bootloader" style,
But copy the 7z file from http://download.rockbox.org/daily/cowond2/rockbox-cowond2.zip, uncompress it to D2 root directory.

next time, I'll try add this instead of nandinfo I added before.
Quote
                                              /* K9GAG08U0 */
    {0xD5, 0x14,             128,            8192,      4096,         128,          2,          3 },

when I patch the bootloader to d2N.bin(version 2.59)
It displays
Quote
original firmware entry point: 0x2000006c
New entry point: 0x203204fc



Should rockbox.d2 be recompiled, If bootloader is changed?

--------------------------
Now I can see the rockbox logo now
and the infomation in the lcd is
Quote
Ata
mount
File not found
the rockbox I tested is from the daily build

and my D2 cannot be turned off now :(

« Last Edit: February 12, 2009, 03:48:34 AM by store88 »
Logged

Offline Noobtaculus

  • Member
  • *
  • Posts: 7
Re: Cowon D2
« Reply #556 on: February 11, 2009, 08:59:18 PM »
I'm sorry this is such a noob question, how do I compile the bootloader to patch the Cowon firmware? Or can someone direct/send me to a pre-patched set of files? And how well is 2.59 working with this RB? Thanks in advance.
Logged

Offline store88

  • Member
  • *
  • Posts: 14
Re: Cowon D2
« Reply #557 on: February 11, 2009, 09:17:29 PM »
@Noobtaculus

you can download from ftp://andiators.homeip.net/

And there is a "how to install.txt" in that server.

It's likely most people can success, except me.

@all
Now I copy the rockbox.d2 out of .rockbox directory
My D2 can find the rockbox.d2 now.
A new error comes:
Quote
ATA
mount
Length: 778A8
Checksum: 0
Model name:
Loading rockbox.d2
Sum: 1FFFEE7
Bad checksum
this is release 3.1

And I had tried recent daily buid too

my D2 can't load firmware from /.rockbox/rockbox.d2
but /rockbox.d2 is ok

and the Sum is 18
but in the config-cowond2.h
Quote
/* Offset ( in the firmware file's header ) to the file CRC */
#define FIRMWARE_OFFSET_FILE_CRC 0
« Last Edit: February 12, 2009, 11:44:55 PM by store88 »
Logged

Offline buk

  • Member
  • *
  • Posts: 8
Re: Cowon D2
« Reply #558 on: February 14, 2009, 04:21:51 PM »
Quote from: store88 on February 11, 2009, 09:17:29 PM
@Noobtaculus

you can download from ftp://andiators.homeip.net/

And there is a "how to install.txt" in that server.

It's likely most people can success, except me.

@all
Now I copy the rockbox.d2 out of .rockbox directory
My D2 can find the rockbox.d2 now.
A new error comes:
Quote
ATA
mount
Length: 778A8
Checksum: 0
Model name:
Loading rockbox.d2
Sum: 1FFFEE7
Bad checksum
this is release 3.1

And I had tried recent daily buid too

my D2 can't load firmware from /.rockbox/rockbox.d2
but /rockbox.d2 is ok

and the Sum is 18
but in the config-cowond2.h
Quote
/* Offset ( in the firmware file's header ) to the file CRC */
#define FIRMWARE_OFFSET_FILE_CRC 0
With recent build, be sure to update your bootload too. I just had the Checksum error after an update on my working copy, it was solved by reinstalling the bootloader.
Logged

Offline store88

  • Member
  • *
  • Posts: 14
Re: Cowon D2
« Reply #559 on: February 14, 2009, 11:56:14 PM »
@buk
I updated my bootloader again with the recent build.
and rebuilt add following into nand_id.c
Quote
                                              /* K9GAG08U0 */
    {0xD5, 0x14,             128,            8192,      4096,         128,          2,          3 },

but lcd still displays:
Checksum: 0
Sum: 18

and still can't find rockbox.d2 from .rockbox/ directory.
only can recognize /rockbox.d2


And, can anyone build the bootloader for me
add the new nand_id
maybe there was something wrong that I didn't know occurs while I
built the bootloader.
« Last Edit: February 15, 2009, 12:01:47 AM by store88 »
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #560 on: February 15, 2009, 11:10:29 AM »
Hi guys, sorry for the extended break. Things have been rather busy for me over the last month or two but I should able to spend time on Rockbox again now. Unfortunately due to my own incompetence I haven't been getting email notifications about this thread, so I didn't know people were having trouble...

@store88, could you maybe try this nand_info line instead?

Code: [Select]
                                              /* K9GAG08UOM */
    {0xD5, 0x14,             128,            4096,      4096,        128,          2,          3 },

Note: You don't need the bootloader to try this - just build a new rockbox.bin and upload it using tcctool.

I have not yet tried any of the x.59 firmwares on my D2 but I can see no reason why it could cause a problem.

Quote from: store88
and my D2 cannot be turned off now :(

You've probably already noticed this, but you can always turn a D2 off by holding the power switch for 8 seconds or longer, or by pushing the stylus in the reset button...
« Last Edit: February 15, 2009, 11:13:27 AM by shotofadds »
Logged

Offline store88

  • Member
  • *
  • Posts: 14
Re: Cowon D2
« Reply #561 on: February 15, 2009, 08:02:43 PM »
@shotofadds
I tryid the nand_id you suggested.
And I got the error: Max NAND write caches reached.


I think the number 8192 is right.

and I used to turned off the D2 by the way of turing the switch button back and forward.
and that some time works for me.

now I use the reset button to turn if off.
« Last Edit: February 16, 2009, 01:08:00 AM by store88 »
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #562 on: February 16, 2009, 04:15:10 AM »
Hmm, I have an idea what the problem might be. So far we have only encountered two different NAND chip types in the D2 and iAudio 7, and helpfully both happen to use the same style of physical block layout (4 physical blocks to 1 logical 'segment').

The other Telechips ports (Sansa M200, Logik DAX) have different NAND chips and use 1 physical block to 1 logical segment. I think yours may fit into this category (or maybe different again...)

If you can wait a few hours til I get home from work I'll provide a test build for you, which will print some numbers to your screen that will help me debug this issue.

btw. 4096 is definitely correct - I checked the value from the Cowon firmware.
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #563 on: February 16, 2009, 02:10:47 PM »
@store88,

Could you try uploading this build with tcctool please? It should show the Rockbox logo and then a page full of text (hex numbers) - could you post the results here or in a PM please.

http://www.megaupload.com/?d=4PAQ7QHK

Thanks!
Logged

Offline buk

  • Member
  • *
  • Posts: 8
Re: Cowon D2
« Reply #564 on: February 16, 2009, 06:15:31 PM »
I just put a patch on flyspray (http://www.rockbox.org/tracker/task/9917) that allow the use of the usb serial driver.
To enable logf over usb, you have to :
 * Enable "logf over usb" in debug menu before plugging cable
 * Plug usb cable
 * on linux "modprobe usbserial vendor=0x0781 product=0x7450", then a /dev/ttyUSBX should appear
 * use any serial communication program with /dev/ttyUSBX, or just cat /dev/ttyUSBX

(see http://www.rockbox.org/twiki/bin/view/Main/PortalPlayerUsb)

I didn't experiment transferring bunch of data but maybe it would freeze the D2  like when transferring files with usb storage.
Logged

Offline store88

  • Member
  • *
  • Posts: 14
Re: Cowon D2
« Reply #565 on: February 16, 2009, 07:51:01 PM »
@shotofadds
it reads:
Quote
total banks: 1
0,0: FF FFFF
0,1: FF FFFF
0,2: FF FFFF
0,3: FF FFFF
1,0: FF FFFF
1,1: FF FFFF
1,2: FF FFFF
1,3: FF FFFF
2,0: FF FFFF
2,1: FF FFFF
2,2: FF FFFF
2,3: FF FFFF
3,0: 13 0007
3,1: 13 0007
3,2: FF FFFF
3,3: FF FFFF
4,0: FF FFFF
4,1: FF FFFF
4,2: FF FFFF
4,3: FF FFFF
5,0: 13 0009
5,1: 13 0009
5,2: FF FFFF
5,3: FF FFFF
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #566 on: February 17, 2009, 07:42:44 AM »
Quote from: buk on February 16, 2009, 06:15:31 PM
I just put a patch on flyspray (http://www.rockbox.org/tracker/task/9917) that allow the use of the usb serial driver.

Thanks, that sounds really useful. I'll have a look and see if we can get those changes into SVN (disabled by default, of course). I'm not too familiar with the USB code so I will need to check those changes are ok, though.

Quote from: store88 on February 16, 2009, 07:51:01 PM
it reads:
Code: [Select]
...
3,0: 13 0007
3,1: 13 0007
3,2: FF FFFF
3,3: FF FFFF
...
5,0: 13 0009
5,1: 13 0009
5,2: FF FFFF
5,3: FF FFFF
...

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...
Logged

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: Cowon D2
« Reply #567 on: February 17, 2009, 02:19:50 PM »
I just wanted to note, that the D2 build runs on the Samsung P2. The only problem was the LCD, which was functional, but used wrong x/y dimensions.

It might be of interest to design the D2 LCD driver as dimension-independant as possible. IIRC there are at least some spots in it where it has fixed values instead of LCD_WIDTH/_HEIGHT.

Note, this is all according to a guy, who "just tried" it and played around with the lcd driver.
Logged
 

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #568 on: February 17, 2009, 02:45:38 PM »
@kugel, I'll reply to that over in the P2 thread. ;)
Logged

Offline Bryan.Brake

  • Member
  • *
  • Posts: 10
Re: Cowon D2
« Reply #569 on: March 02, 2009, 12:52:44 PM »
question:

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.

Logged

  • Print
Pages: 1 ... 36 37 [38] 39 40 ... 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.948 seconds with 16 queries.