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
|-+  Support and General Use
| |-+  Hardware
| | |-+  Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.  (Read 1507 times)

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 537
Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
« Reply #15 on: January 15, 2019, 09:23:41 AM »
https://github.com/Rockbox/rockbox/blob/master/firmware/drivers/fat.c#L367

Edit:
So looking through the source for error -1 I don't see it returned in the sd write function
https://github.com/Rockbox/rockbox/blob/master/firmware/target/arm/tcc780x/sd-tcc780x.c#L503

I only see it in the NAND function which AFAICT is not used on the D2 you run everything from the sd card

Going back looking for the error I find it here:
https://github.com/Rockbox/rockbox/blob/d64ff86fb6be22875cfae054f8a878dbd8b1472b/firmware/storage.c#L417

What this implies is that the function storage_write_sectors() is not working properly
if you are editing and re compliling yourself try rewriting the storage_write_sectors functions like so..
Code: [Select]
int storage_write_sectors(IF_MD(int drive,) unsigned long start, int count,
                          const void* buf)
{
#ifdef CONFIG_STORAGE_MULTI
    int driver=(storage_drivers[drive] & DRIVER_MASK)>>DRIVER_OFFSET;
    int ldrive=(storage_drivers[drive] & DRIVE_MASK)>>DRIVE_OFFSET;

    return sd_write_sectors(IF_MD(ldrive,)start,count,buf);

    //return -1;
#else /* CONFIG_STORAGE_MULTI */
    return STORAGE_FUNCTION(write_sectors)(IF_MD(drive,)start,count,buf);
#endif /* CONFIG_STORAGE_MULTI */
}
« Last Edit: January 15, 2019, 10:03:15 AM by Bilgus »
Logged

Offline parametrics

  • Member
  • *
  • Posts: 29
Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
« Reply #16 on: January 15, 2019, 09:54:06 AM »
http://forums.rockbox.org/index.php?topic=10164.945
theres info on the the "panic." Its from 2015  is it solved yet????

I tried the 2018 and 2019 RBversion ( the one thatsextracted on SD) on my cowon d2+ with version 2.13

been playing for years with 2012 RB version 2.13 with 128GB all FLAC. No problem, just a very occasianal screen freese once in a week.Quick restart and all ok again. Thats no issue.

Should i try and install 3.13 first? i am very curious why there is so very little info on the problem. When was the 10 band EQ first introduced? would like to try early version.lets say 2013,2014 Can anyone link me to such a version

Cheers


Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 537
Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
« Reply #17 on: January 15, 2019, 10:00:47 AM »
see above.. I'm pretty sure its an issue of CONFIG_STORAGE_MULTI being defined for the D2
but it isn't actually implemented completely
I can look into it later on in the meantime if the above works for you let me know
Logged

Offline parametrics

  • Member
  • *
  • Posts: 29
Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
« Reply #18 on: January 15, 2019, 10:01:15 AM »
sorry Bilgus, just now see your reply (was on page two) i look into it   never done recompiling!!
i would not know where to start!!  How much work would it be for someone used to this stuff

"What this implies is that the function storage_write_sectors() is not working properly
if you are editing and re compliling yourself try rewriting the storage_write_sectors functions like so.."
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 537
Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
« Reply #19 on: January 15, 2019, 10:08:25 AM »
I can compile you some test builds this week.
Logged

Offline parametrics

  • Member
  • *
  • Posts: 29
Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
« Reply #20 on: January 15, 2019, 10:37:00 AM »
wow Bilgus, that would be really great! i make furniture and never done coding.

Im a trial and error guy when it come to find out this stuff.But this is not my peace of cake indeed. I can handle rewriting a few lines with the help of examples i ques
But i'd need quidance every step of the way. Dont even know a compiler program. If it was a case of opening the "right" file with the right program, and altering some lines with example, i could do it maybe. I'd say dont re-invent the wheel if there are people who do a much better and quicker job.

I think you  are probably right about the NAND. It was the first time when i EVER saw "NAND" stated above my folders on the d2+" running v2.13
just now checked and my other cowon d2  V2.59  (running stable for years to) shows <microSD1> above the folders

Youur help is much appreciated!  im looking forward to your builds! thanks a lot!
If you can point me to a compiler program that would be nice. Just out of curiossity.Im from Holland BTW so my english might look a bit srewed up :-[
Logged

Offline parametrics

  • Member
  • *
  • Posts: 29
Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
« Reply #21 on: January 15, 2019, 12:42:32 PM »
Hi Bilgus,

"I can look into it later on in the meantime if the above works for you let me know"

i was under the assumption there was a new v3.13 orriginal Cowon firmware for the d2+....Looked for it but cant find it.
So i will stay with v2.13 D+  and 2.59 D2.  2.59 is also the latest fimware for D2


So recompiling like you suggested is the way to go.
wish you good luck compiling,  thanks again.
Logged

Offline cereal_killer

  • Member
  • *
  • Posts: 409
Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
« Reply #22 on: January 15, 2019, 03:32:58 PM »
Quote from: parametrics on January 15, 2019, 12:42:32 PM
i was under the assumption there was a new v3.13 original Cowon firmware for the d2+....Looked for it but cant find it.
So i will stay with v2.13 D+  and 2.59 D2.  2.59 is also the latest firmware for D2


3.14 is the latest original firmware for the D2+: http://download.cowon.com/data/C08/D2+/D2N_P_3.14.zip

As a side note: There never was an official Rockbox release for the D2/D2+ (like 3.13 or 3.14) and some people confuse the Cowon Firmware versions with Rockbox versions (at least I did  ;D )

Quote from: parametrics on January 15, 2019, 10:37:00 AM
If you can point me to a compiler program that would be nice. Just out of curiosity.Im from Holland BTW so my english might look a bit srewed up :-[

There is a great guide on the wiki: https://www.rockbox.org/wiki/LinuxSimpleGuideToCompiling
If you work through, you are able to apply changes to the source code and compile your own build.

There is also a thread about this topic (panics, disabling internal storage) here: http://forums.rockbox.org/index.php/topic,51522.0.html
Logged

Offline parametrics

  • Member
  • *
  • Posts: 29
Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
« Reply #23 on: January 15, 2019, 04:29:20 PM »
Thxxx cereal_killer,

thats usefull info too. although i am a bit to old staring compiling myself ill surely take a look! just downloaded the 3.14
weird i did not find it myself...ended up on a jet audio page...

Also like to mention i just found this before i read ur post:
http://forums.rockbox.org/index.php/topic,51522.msg238092.html#msg238092
Here is a "working" build for the Cowon D2/D2+ (Version: e2271edM-170831). The panics after starting playback are gone, but saving bookmarks results in panic (no proper read-only support).

"installed unpacked" Cowon D2/D2+ (Version: e2271edM-170831 and no panics so far, AND! what is was about in the first place.... a 10 band parametric eq. Gonna PM Bilgus that recompiling can wait for now  Thanks
Logged

Offline cereal_killer

  • Member
  • *
  • Posts: 409
Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
« Reply #24 on: January 15, 2019, 04:48:45 PM »
Quote from: parametrics on January 15, 2019, 04:29:20 PM
Thxxx cereal_killer,

thats usefull info too. although i am a bit to old staring compiling myself ill surely take a look! just downloaded the 3.14
weird i did not find it myself...ended up on a jet audio page...

Also like to mention i just found this before i read ur post:
http://forums.rockbox.org/index.php/topic,51522.msg238092.html#msg238092
Here is a "working" build for the Cowon D2/D2+ (Version: e2271edM-170831). The panics after starting playback are gone, but saving bookmarks results in panic (no proper read-only support).

"installed unpacked" Cowon D2/D2+ (Version: e2271edM-170831 and no panics so far, AND! what is was about in the first place.... a 10 band parametric eq. Gonna PM Bilgus that recompiling can wait for now  Thanks

Learning to compile with this guide is actually easy, fun and gives you a lot of opportunities. Maybe if you find some time you should try it.

What you found is the thread I mentioned.  ;) I compiled the build some time ago. The "M" at the end of the version number before the timestamp indicates a manually compiled build. Great that it works for you, but I can't say if the fixes Bilgus mentioned above are included. Hopefully we have a proper fix for the problems on the D2 soon.
Logged

Offline parametrics

  • Member
  • *
  • Posts: 29
Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
« Reply #25 on: January 15, 2019, 05:17:39 PM »
Ha thanks  ;) though i doubt a lot of people are this working on the d2. Most people moved on....The D2 will stay in my repertoir im sure. Can navigate easy with my right thumb..and battery life is great! sound is pretty good too
And offcourse Rockbox..love it.

Just today i bought a iBasso DX90 (has to arrive yet) second hand.Curious if it is any improvement over the Cowon.I want Rockbox on it with dual boot.... downloaded a whole bunch of firmware for it....I 'll be on this forum a bit more i ques.
I no the DX90 is battery life is bad . But hey! Im gonna do a battery mod if i get the player working. Mehanical works i am better at.Stil love the earmolds i made years ago..
Got any advice on the best stable rockbox build for the DX90?
Logged

Offline burkjavier

  • Member
  • *
  • Posts: 84
Re: Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
« Reply #26 on: January 15, 2019, 08:24:37 PM »
I thought I was the only person still messing around with Rockbox on my D2 (hacked to D2+ / 2.13 Cowon firmware).     

Updated my own device maybe two days back to get a 2019 build (current build I was running was April 2018 with the fat.c alteration) and a standard dev build got me the PANIC.  Figured it still wasn't fixed yet so proceeded to build my own.

FYI to all that, at least in my case, that didn't work and ended up corrupting my SD card in the process (a PNY Elite Performance 256GB Class 10) - no PANIC, just froze my player.  Thought the card was a goner as the speeds were in the toilet when I tried it on my PC / even when reformatted to FAT32/exFAT/NTFS), but found a low level format tool (HDDLLF) tried that for about 20 minutes and it was fixed!   Re-ran the tool fully overnight just for completion reasons.

I have yet to retry a new build - will probably wipe my rockbox git repo and start from scratch this time.  And then probably NOT use a 256GB card as a test this time around.    ;D
« Last Edit: January 15, 2019, 08:33:37 PM by burkjavier »
Logged
Current RB'd devices: Gigabeat F / X, Cowon D2+

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Cowon d2 simulator shows 10 "filters" high shelf, low shelf and 8 peak filters.
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.084 seconds with 14 queries.