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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Is there a way to have standard boot-up be the stock firmware?
« previous next »
  • Print
Pages: [1]

Author Topic: Is there a way to have standard boot-up be the stock firmware?  (Read 1916 times)

Offline Slam

  • Member
  • *
  • Posts: 4
Is there a way to have standard boot-up be the stock firmware?
« on: July 14, 2014, 02:30:42 AM »
I was wondering if on a Sansa Clip Zip you can have the default boot-up be the original firmware and have Rockbox as the secondary one. Is this possible?
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Is there a way to have standard boot-up be the stock firmware?
« Reply #1 on: July 14, 2014, 05:07:16 AM »
Not really, no.

Not for an end user, at least.

It is possible, but it requires modification to the source code and recompilation - at which point, you'll be running and unsupported binary and no longer qualify for technical support (unless you can verify problematic behaviour on an official build, as well).

If you feel up to the task, myself or someone else would be happy to assist you in doing so.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Slam

  • Member
  • *
  • Posts: 4
Re: Is there a way to have standard boot-up be the stock firmware?
« Reply #2 on: July 14, 2014, 11:28:41 AM »
Yes, please! Tell me where to start.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Is there a way to have standard boot-up be the stock firmware?
« Reply #3 on: July 14, 2014, 03:24:04 PM »
I would really suggest in not doing so. If you mess up (which can easily happen) you can end up with a player that doesn't boot at all -- you're messing with the bootloader after all. And in contrast to some other players there is no easily usable hardware fallback mechanism to recover from that.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Is there a way to have standard boot-up be the stock firmware?
« Reply #4 on: July 14, 2014, 03:34:36 PM »
http://git.rockbox.org/?p=rockbox.git;a=blob;f=rbutil/mkamsboot/dualboot/dualboot.S;h=4e4dbe5505e783ebe443aa4ab6fb4248d7277487;hb=HEAD

You'll have to edit this file and then recompile ams patcher. Note that the code is in arm assembly and if you make a mistake you will most likely destroy your player. I recommend you not do this without carefully understanding the code and perhaps getting a spare player in case you break the first one.
Logged

Offline Slam

  • Member
  • *
  • Posts: 4
Re: Is there a way to have standard boot-up be the stock firmware?
« Reply #5 on: July 14, 2014, 06:30:43 PM »
Thanks for your warnings, but i still want to try. What would i need to change?
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Is there a way to have standard boot-up be the stock firmware?
« Reply #6 on: July 14, 2014, 07:15:44 PM »
How committed to this are you?

First of all, you're going to need to set up a development environment.
I'm guessing you're using a Windows based host (because it is statistically highly probable), which means you're going to need to use a virtual machine¹ in order to run a unix based host within your current system.

Don't, under any circumstances, attempt to use CygWin or Interix compatibility layers².

Once you have a development environment  set up and are capable of compiling your own binaries, we'll go from there.


[Saint]


¹ - For this, you'll probably want somewhere in the order of at least 2GB RAM and 2GHz dual core CPU that supports virtualization natively, else it will be agonizingly slow.
² - These are not something I would recommend to someone taking their first steps in development at all. You would almost certainly need to undergo quite a bit of effort to get Rockbox building under Cygwin these days (I don't think any active developer uses it, because quite frankly it is terrible), and it is woefully slow and inefficient compared to a virtual machine.
« Last Edit: July 14, 2014, 07:40:10 PM by [Saint] »
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Slam

  • Member
  • *
  • Posts: 4
Re: Is there a way to have standard boot-up be the stock firmware?
« Reply #7 on: July 14, 2014, 07:56:52 PM »
I'm downloading the virtual machine now. I'd say I'm pretty committed.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Is there a way to have standard boot-up be the stock firmware?
 

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

Page created in 0.085 seconds with 15 queries.