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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  boot sansa firmware by default
« previous next »
  • Print
Pages: [1]

Author Topic: boot sansa firmware by default  (Read 6096 times)

Offline Sup3rkirby

  • Member
  • *
  • Posts: 21
    • Work in Progress
boot sansa firmware by default
« on: November 18, 2007, 10:11:39 AM »
Hmmm....  by searching the forums I seemed to only find this topic(subject) for the iPod player. It would appear obvious that in order to boot my sansa firmware by default, the sansapatcher would have to be modified and recompiled.  Of course all done in a lovely linux environment.

Well, I was hoping that maybe someone has already created a sansapatcher that does this.  If so, a link would be greatly appreciated, if not, then I guess I'd have to get linux, then the source and then figure out what I need to mod so it will boot the sansa firmware by default.


Oh, and if I were to mod the source myself, what could be the dangers in a slight coding error?  Could I brick my sansa?
Logged
"Given billions of tries, could a spilled bottle of ink ever fall into the words of Shakespere?"

Offline gsteeves

  • Member
  • *
  • Posts: 2
Sansa e280 bootloader default
« Reply #1 on: November 18, 2007, 10:26:21 AM »
Is there a way I can change the default startup without programming?

The boot loader presently defaults to Rockbox and will properly start the original Sandisk OS with the left key held during bootup.  

Other people use the player and do know know how to get around in Rockbox.   I would like to change this so it defaults to the original Sandisk OS.  I like both OSs, so would like to choose which it defaults to like I can choose Windows or Linux default on my computer.
Logged

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: boot sansa firmware by default
« Reply #2 on: November 18, 2007, 10:38:26 AM »
I've merged these two virtually identical questions, which were posted within 15 minutes of each other.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: boot sansa firmware by default
« Reply #3 on: November 18, 2007, 11:01:39 AM »
The are two ways to get a bootloader that reverses the order in which it starts the firmwares:

1. Build your own bootloader that reverses the order

2. Get someone else's modified bootloader that reverses the order

Rockbox is about running Rockbox primarily, so we make the bootloaders - for all targets - to start Rockbox by default.
Logged

Offline Sup3rkirby

  • Member
  • *
  • Posts: 21
    • Work in Progress
Re: boot sansa firmware by default
« Reply #4 on: November 18, 2007, 11:03:03 AM »
gsteeves, I don't think there is a way to do this without any programming. Well, not unless someone wanted to do this and made a sansapatcher already.  Otherwise one of us(maybe me if I can figure it out) will have to modify the source code for the sansa patcher and create a new one that will set the default firmware as the factory sansa firmware.  Then you would simply hold the left button to boot the rockbox firmware instead.

I'm just a bit concerned with the possible problems that might occur if i mess up. I'd hate to brick my sansa just to change the default firmware.

Oh, and not judging your decision or anything Febs, but lol, 14:42 is the time difference. I did make sure to search before I posted though(only found iPod info, not helping my sansa...).


[EDIT]
  Well that is what I figured Bagder.  I can understand the rockbox devs only making bootloaders for rockbox primarily.

Still wondering how hard it is to reverse the order and what risk are involved.  I guess for a person with a little bit of C++ coding experience(guessing the source is in C or C++), how likely am I to understand the source and not brick my sansa?
« Last Edit: November 18, 2007, 11:06:20 AM by Sup3rkirby »
Logged
"Given billions of tries, could a spilled bottle of ink ever fall into the words of Shakespere?"

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: boot sansa firmware by default
« Reply #5 on: November 18, 2007, 11:07:05 AM »
Quote from: Sup3rkirby on November 18, 2007, 11:03:03 AM
Oh, and not judging your decision or anything Febs, but lol, 14:42 is the time difference. I did make sure to search before I posted though(only found iPod info, not helping my sansa...).

Right, so 14 minutes 42 seconds after you posted yours, gsteves posted an identical one.  Unless time has dramatically changed, 14 minutes 42 seconds is less than fifteen minutes as Febs said.  What is your point here?

Edit: Rockbox is written in C with bits of assembly here and there.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline gsteeves

  • Member
  • *
  • Posts: 2
Re: boot sansa firmware by default
« Reply #6 on: November 18, 2007, 08:44:59 PM »
I realized there was programming required, but I am not a coder.  Seems other OS boot loaders are coded to allow the user to set a default when setting up.   I did a search also and saw the same one about the ipod but missed Sup3rkirby's post.  Good idea to combine.  Thanks.
 
Although I enjoy Rockbox (and you folks are doing a great job), I like the idea of a user being able to set the default.  If someone could code this in to the boot loader, I would be a happy end user.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: boot sansa firmware by default
« Reply #7 on: November 18, 2007, 09:16:26 PM »
Quote from: gsteeves on November 18, 2007, 08:44:59 PM

Although I enjoy Rockbox (and you folks are doing a great job), I like the idea of a user being able to set the default.  If someone could code this in to the boot loader, I would be a happy end user.

As Bagder said, this idea has been rejected.
Logged

Offline Sup3rkirby

  • Member
  • *
  • Posts: 21
    • Work in Progress
Re: boot sansa firmware by default
« Reply #8 on: November 19, 2007, 12:02:47 AM »
Quote from: BigBambi on November 18, 2007, 11:07:05 AM
Quote from: Sup3rkirby on November 18, 2007, 11:03:03 AM
Oh, and not judging your decision or anything Febs, but lol, 14:42 is the time difference. I did make sure to search before I posted though(only found iPod info, not helping my sansa...).

Right, so 14 minutes 42 seconds after you posted yours, gsteves posted an identical one.  Unless time has dramatically changed, 14 minutes 42 seconds is less than fifteen minutes as Febs said.  What is your point here?

Edit: Rockbox is written in C with bits of assembly here and there.
Oh dear. Have you no sense of humor BigBambi? Or would you say something like 'this is not the place for humor?' I don't really understand your post b/c up until the edit, it has no place here.
 
It was simply a small comment on something I found humorous. If you did not, leave it be and do not criticise me for making such a comment.


Now, I am only guessing now there is no unofficial build here on these forums that does such a thing. I will continue my search through google, but I guess I'll be doing some coding and making my own(to set the default).  By the way, since the code must be compiled under Linux, what is the best way to edit the code to make the changes? Is it just a source file that can be edited with the default text editor(probably gedit or kate), then you simply compile with the terminal?  Or is it a bit more complicated than that?

Thanks for the help so far.
Logged
"Given billions of tries, could a spilled bottle of ink ever fall into the words of Shakespere?"

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: boot sansa firmware by default
« Reply #9 on: November 19, 2007, 12:05:23 AM »
These are on-topic forums. If you say something, it should be assumed to be serious, because there's no important reason to say anything that's not. If something doesn't need discussed, don't say it, so that it's not filling the search database with useless text.
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: boot sansa firmware by default
« Reply #10 on: November 19, 2007, 03:48:52 AM »
Quote from: Sup3rkirby on November 19, 2007, 12:02:47 AM
Oh dear. Have you no sense of humor BigBambi? Or would you say something like 'this is not the place for humor?' I don't really understand your post b/c up until the edit, it has no place here.
 
It was simply a small comment on something I found humorous. If you did not, leave it be and do not criticise me for making such a comment.

I do have a sense of humour, but I did not understand your comment, let alone find it to be humourous.  I thought you may have been trying to make a serious point that I had not understood, so was trying to clarify in case that was the case, and I could help you.  Many people here have English as a second language and therefore sometimes it is difficult to tell exactly what they are saying, and quite honestly I wasn't sure if that applied to you or not.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline Sup3rkirby

  • Member
  • *
  • Posts: 21
    • Work in Progress
Re: boot sansa firmware by default
« Reply #11 on: November 19, 2007, 08:10:05 AM »
Well I have read and understand these last two post, but also please understand Llorean because people often make this mistake. You say these are on-topic forums. Your post does not pertain to my topic. Nor did BigBambi's comment.  I rarely appreciate someone who will criticise me for saying something that doesn't need to be in the topic, and in doing so they make an off-topic post as well.  So while telling me that I've done something wrong, you yourself have filled "the search database with useless text." There are several post here that have nothing to do with changing the default firmware.

I find it disappointing  that there is so much seriousness to the point that jokes, sarcasm and other simple forms of humor can not be slipped in with a post. There is never a joke everyone is meant to understand or find humorous. Jokes are just little things that some people enjoy, and others do not. Something to get a little laugh. Well, without them the world is a much dimmer place.

The topic can be resolved as the issue needs no more attention.  There is no sansapatcher here that anyone can comment on since it will be unofficial and no staff will allow an unofficial work here in these official forums. There is a place for that, which is not here. The answer to this thread is either make on from the source or find one somewhere in an unofficial build area or other forum.
Logged
"Given billions of tries, could a spilled bottle of ink ever fall into the words of Shakespere?"

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: boot sansa firmware by default
« Reply #12 on: November 19, 2007, 08:18:31 AM »
The problem was that your joke simply wasn't funny.  Since yours was the first of the two related threads, my comment wasn't directed to you anyway.

But this thread has been derailed enough.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  boot sansa firmware by default
 

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

Page created in 0.114 seconds with 16 queries.