Rockbox Technical Forums
Third Party => Unsupported Builds => Topic started by: cereal_killer on October 04, 2016, 11:05:00 AM
-
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).
Download (https://www.file-upload.net/download-12691155/rockbox.zip.html)
See the discussion on IRC for further information: http://www.rockbox.org/irc/log-20160919#16:09:39
Thanks to pamaury and gevaerts for their kind assistance.
-
Thanks. Been using 3.1.3 for awhile now because of the dev build issues.
-
Why not just disable the internal storage entirely and use an SD card? Then the D2 could be a normal target and you wouldn't have to worry about the read only file system.
-
Why not just disable the internal storage entirely and use an SD card?
Good idea, but I want to use the OF and Flash Skins with it as well. Some of them are not easy to configure with SD cards so I just leave my music on the internal storage.
-
any updates on this?
As far as I know nobody is developing for the D2 anymore. Maybe I compile a new build with the current code and the changes that avoid the panics...
-
Hmm, maybe you could do the same thing we are doing with the multiboot bootloader and mark the sd card as your internal drive
-
As far as I know, the latest dev build should have fixed the panics on the D2.
-
Hmm, maybe you could do the same thing we are doing with the multiboot bootloader and mark the sd card as your internal drive
Isn't this the way how rockbox on the D2 works right now?
As far as I know, the latest dev build should have fixed the panics on the D2.
Still panic with dev build 492dda0-170822. Now right after boot. With older non-working builds at least playback was working.
-
it sounds to me that it is trying to write the internal drive and panic-ing
-
I have updated the first post to a more recent build.
Why not just disable the internal storage entirely and use an SD card? Then the D2 could be a normal target and you wouldn't have to worry about the read only file system.
I want to come back to this. How would this be achieveable? Just a few code line changes?
-
Was this not you I talked to in IRC?
https://www.rockbox.org/irc/log-20170824#21:42:18
Change for (int i = 0; i < NUM_DRIVES; i++)
https://github.com/Rockbox/rockbox/blob/03dd4b92be7dcd5c8ab06da3810887060e06abd5/firmware/common/disk.c#L261
to 'for (int i = 1; i < NUM_DRIVES; i++)' to disable the internal drive completely
or to
'for (int i = NUM_DRIVES - 1 ; i >= 0; i--)' to have it keep the internal drive but mount the external as the rockbox drive
-
Hey Bilgus, yes that was me on IRC, but I didn't understand what you meant back then and didn't want to bother you more, so I asked here.
Thanks for the clarification. I am sure, this is very helpful for some people.
-
if you want something commitable for the cowon I think you could probably do some editing in its config file but it would take some testing and it would disable the internal drive completely
https://github.com/Rockbox/rockbox/blob/master/firmware/export/config/cowond2.h#L61
#define CONFIG_STORAGE (STORAGE_NAND | STORAGE_SD)
#define HAVE_MULTIDRIVE
#define HAVE_HOTSWAP
#define NUM_DRIVES 2
would become
#define CONFIG_STORAGE (STORAGE_SD)
//#define HAVE_MULTIDRIVE
//#define HAVE_HOTSWAP
#define NUM_DRIVES 1
that might not be all that needs changed but it would need to have a bootloader and new firmware compiled
-
I don't have a D2, but I still think the best solution would be to require installing on the SD card in the official build, and then mounting the internal storage as read only, secondary storage.
-
if you want something commitable for the cowon I think you could probably do some editing in its config file but it would take some testing and it would disable the internal drive completely
https://github.com/Rockbox/rockbox/blob/master/firmware/export/config/cowond2.h#L61
#define CONFIG_STORAGE (STORAGE_NAND | STORAGE_SD)
#define HAVE_MULTIDRIVE
#define HAVE_HOTSWAP
#define NUM_DRIVES 2
would become
#define CONFIG_STORAGE (STORAGE_SD)
//#define HAVE_MULTIDRIVE
//#define HAVE_HOTSWAP
#define NUM_DRIVES 1
that might not be all that needs changed but it would need to have a bootloader and new firmware compiled
I tried to compile a build with the changes mentioned above but I got the following errors: https://pastebin.com/jHQ8vKVS
Simply disabling the internal storage by 'for (int i = 1; i < NUM_DRIVES; i++)' results in the player claiming that there is no .rockbox folder and that the installation is incomplete.
All I want to achieve is the following: disbale the internal storage and only use my 512GB SDXC card, which is partitioned to a small one that just carries the .rockbox folder and a bigger one with all my music. (I have also added #define HAVE_MULTIVOLUME to cowond2.h)
Occasionally I want to use the OF. Too many files will make the OF freak out, but the second partition of the SD card is not visible to the OF, so that's the reason for the second partition on the card.
I don't have a D2, but I still think the best solution would be to require installing on the SD card in the official build, and then mounting the internal storage as read only, secondary storage.
How would I do this?
I appreciate any help.