Rockbox Development > Starting Development and Compiling
Slimming down the kernel
(1/1)
nerdrunner:
I've successfully compiled the main branch for the Sansa C200 and it seems to run fine, but I found that it can no longer play some of my larger midi files. I suspect that the current kernel is larger than the 3.13 kernel, so that the midi player is possibly running out of room. (Perhaps there is a way to find out if I'm running out of memory??)
Since I never use the "database" feature, that might be the easiest place to start cutting. Is there a "gentle" way of compiling Rockbox without the database feature, or is that feature so integral that it will be hard to cut out?
Thx in advance for any help.
saratoga:
--- Quote from: nerdrunner on January 25, 2015, 06:12:55 PM --- I suspect that the current kernel is larger than the 3.13 kernel, so that the midi player is possibly running out of room. (Perhaps there is a way to find out if I'm running out of memory??)
--- End quote ---
I would say the main binary got larger, since the kernel in rockbox is extremely simple and very small.
--- Quote from: nerdrunner on January 25, 2015, 06:12:55 PM ---Since I never use the "database" feature, that might be the easiest place to start cutting. Is there a "gentle" way of compiling Rockbox without the database feature, or is that feature so integral that it will be hard to cut out?
--- End quote ---
Under firmware / export / config / you can find the config file for your device and disable features. Note that you may have to make minor fixes to the code if you disable some features.
Navigation
[0] Message Index
Go to full version