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
| | |-+  how can I run multiple rockboxes?
« previous next »
  • Print
Pages: [1]

Author Topic: how can I run multiple rockboxes?  (Read 1735 times)

Offline simi72

  • Member
  • *
  • Posts: 4
how can I run multiple rockboxes?
« on: September 06, 2007, 08:26:19 AM »
Hi,
I need to install 2 different rockboxes. Is there a way to tell rockbox.iaudio to take some other directory than .rockbox as base?
At the moment I keep renaming the 2 folders...
Thanks, Simon
Logged

Offline obo

  • Developer
  • Member
  • *
  • Posts: 55
Re: how can I run multiple rockboxes?
« Reply #1 on: September 06, 2007, 08:50:37 AM »
The folder is specified via:

firmware/export/config-iaudiox5.h:150:#define BOOTDIR "/.rockbox"
and
apps/settings.h:50:#define ROCKBOX_DIR "/.rockbox"

although I've never heard of anyone changing this - but it maybe possible to ROLO to a build that has a different value?  Grepping through the code there are a few odd places that use hardcoded values (dircache, logf and several plugins).

EDIT - hah, I forgot about all the buildscripts - it'd be a fair amount of work.
« Last Edit: September 06, 2007, 08:53:26 AM by obo »
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: how can I run multiple rockboxes?
« Reply #2 on: September 06, 2007, 09:25:12 AM »
Speak to the author of the Gigabeat screen rotation patch - that uses two separate .rockbox folders depending on which orientation is chosen...
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: how can I run multiple rockboxes?
« Reply #3 on: September 08, 2007, 10:33:45 AM »
Quote from: bascule on September 06, 2007, 09:25:12 AM
Speak to the author of the Gigabeat screen rotation patch - that uses two separate .rockbox folders depending on which orientation is chosen...

That one works with a modified bootloader. There are two rockbox folders, .rockbox and .rockbox_1. Inside each is a full build containing rockbox.gigabeat or rockbox.gigabeat_1. The bootlaoder loads different builds depending on button presses. I'm not sure how he modifies the other parts of the source, but you could look through his patch and try to find out. http://www.rockbox.org/tracker/task/6688?histring=gigabeat%20rotate
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  how can I run multiple rockboxes?
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.065 seconds with 23 queries.