- Status Closed
- Percent Complete
- Task Type Patches
- Category Infrastructure → Build environment
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#9567 - Add support for configurable root directory for Rockbox firmware
The Rockbox file browser has the ability to load new firmware by selecting an alternative rockbox.ipod. However this is rather pointless as the support files in “/.rockbox” will be for the old build.
This series of patches allow you to configure rockbox with an alternate directory:
../tools/configure –target=22 –ram=64 –type=N –rbdir=rockboxdev.alt
Which after building will give you a complete install zip file which extracts into “rockboxdev.alt”. Although this build will never be the primary build (the bootloader is hardwired for .rockbox) it does mean you can run a development build without having to break your existing working setup.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Looks fine to me. But can you please upload a single patch done with “svn diff” in the rockbox root, instead of the five different files we have here?
Here is the patch in one big file from SVN diff.
I uploaded multiple patches more as an aid to reviewers so I could “show the working” and the comments for each change.
If people prefer reviewing monolithic patches I can just stick with a whole diff for each tracker entry or submit both a series and an “all” patch.
I don’t mind applying the patch to a local SVN to generate the diff but git-diff patches should easily apply with “patch -p1 < git-diff.patch”.
As you can probably tell I do all my work in a git-svn repo so I can do things in nice bi-sectable discreet steps.
Generally we prefer single “monolithic” patches.
And yes, a git patch should probably work just as well.
Would it be worth at the same time fixing up the few locations in the source outside of the bootloader where “.rockbox” is still hardcoded?
e.g.:
firmware/include/dircache.h:31
firmware/common/unicode.c:21
firmware/export/font.h:53
I’ll have a look. I wasn’t sure which bits where the bootloader and which the actual firmware.
I think I have them all ignoring all the BOOTDIR stuff (for bootcode?) and changes to the manuals (not relevant for user builds?)
with the file this time.