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
| |-+  Starting Development and Compiling
| | |-+  Slimming down the kernel
« previous next »
  • Print
Pages: [1]

Author Topic: Slimming down the kernel  (Read 1365 times)

Offline nerdrunner

  • Member
  • *
  • Posts: 33
Slimming down the kernel
« on: January 25, 2015, 06:12:55 PM »
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.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Slimming down the kernel
« Reply #1 on: January 25, 2015, 06:23:21 PM »
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??)

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?

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

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Slimming down the kernel
 

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

Page created in 0.065 seconds with 15 queries.