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
|-+  Support and General Use
| |-+  Hardware
| | |-+  Double boot on X5 ?
« previous next »
  • Print
Pages: 1 2 [3] 4 5 ... 9

Author Topic: Double boot on X5 ?  (Read 64833 times)

Offline RaeNye

  • Developer
  • Member
  • *
  • Posts: 161
Re: Double boot on X5 ?
« Reply #30 on: May 20, 2006, 12:32:29 PM »
Yes, it seems not to work for me too for some reason. It has nothing to do with the daily, since it locks before any RB code is executed.

Nevertheless, I'm able to boot RB from charge screen with the previous version, so I'm sticking with it.

Note: please post your comment on the tracker as well.
Logged

Offline raybert

  • Member
  • *
  • Posts: 26
Re: Double boot on X5 ?
« Reply #31 on: June 08, 2006, 12:36:23 AM »
RaeNye,  Sorry I didn't post to the tracker: I was away for a bit.  I see that you took care of it though.

I haven't tried anything new in a while but I've been using my X5 regularly and the dual boot is working just fine.  In fact, I've even been able to easily boot RB from the charging screen.  I don't know if I've just gotten the hang of it or if something I did back on the 17th is at work.

Now we've just got to get this code freeze over and done with so we can start getting all these patches committed!

~ray
Logged

Offline RaeNye

  • Developer
  • Member
  • *
  • Posts: 161
Re: Double boot on X5 ?
« Reply #32 on: June 08, 2006, 07:43:03 AM »
I seriously doubt whether dual-boot will be incorporated in RB.

I couldn't get rid of the dependency on the preloader, which is frowned upon by the core devs.  :(
It obviously works, as many happy X5 users have seen, but there's always the possibility that someone will have a player with a new/old version of the preloader and then the bootloader will fail (note that it won't brick the device, just crash it).

Personally, I think Cowon would add ID3 browsing before changing the preloader  ;)
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Double boot on X5 ?
« Reply #33 on: June 08, 2006, 07:45:44 AM »
Yes, but it is possible to make it work without depending on the preloader, almost definitely, it just hasn't been done yet.

And the devs have said that if it *is* impossible, they'll include it this way, if I recall. They just said they didn't want to make it dependent if at all possible.

So I'm not really sure where you get your "doubt whether dual-boot will be incorporated" from, since really it's just this implementation of it that's unlikely.
Logged

Offline RaeNye

  • Developer
  • Member
  • *
  • Posts: 161
Re: Double boot on X5 ?
« Reply #34 on: June 12, 2006, 02:59:31 PM »
Llorean, I've tried thrice to get rid of the preloader dependency but to no avail.

I even copied the sleep() function from the preloader to the bootloader (not literally, but I used the same commands to program TIMER0) and the device still locks up.
I tried just to calculate and verify the checksum of the relevant preloader code and even that doesn't work.

You may say my coding sucks :P but I gave up.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Double boot on X5 ?
« Reply #35 on: June 12, 2006, 05:36:16 PM »
Yes, well remember they did say that if it turns out to be impossible they'll do it that way.
But really I suspect they'd like to at least look at it themselves and try to come up with another way first, but X5 isn't on the list of targets for 3.0 so it's not a major focus at the moment.
Logged

Offline bk

  • Member
  • *
  • Posts: 266
Re: Double boot on X5 ?
« Reply #36 on: June 14, 2006, 09:03:36 PM »
Using fresh CVS, Cowon fw 2.10 (non-DRM) and the May 12 dual boot patch I can't get it to work. I applied the patch, compiled the bootloader, patched the OF with the bootloader via mkboot-x5 and then flashed it. When I do a short press of the on button the backlight turns on and I get a black screen but nothing else. A long press boots the OF normally.

Any clues?

edit: this is an X5L, btw.
« Last Edit: June 14, 2006, 09:05:26 PM by bk »
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: Double boot on X5 ?
« Reply #37 on: June 15, 2006, 02:26:04 AM »
Did you install Rockbox?
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline RaeNye

  • Developer
  • Member
  • *
  • Posts: 161
Re: Double boot on X5 ?
« Reply #38 on: June 15, 2006, 04:38:32 AM »
1. Does a long press (~1 sec) start the OF?
2. When I say a short press, I mean just flicking the on switch. If you're holding it more than 25ms (and less than ~1 sec) then you actually boot the OF, which detects a short press (< 1 sec) and shuts down.
3. Does RB boot screen appear (battery voltage, firmware checksum, etc.)?
Logged

Offline bk

  • Member
  • *
  • Posts: 266
Re: Double boot on X5 ?
« Reply #39 on: June 15, 2006, 07:11:37 AM »
Yes, Rockbox is installed to the root of the drive.

1. A long press boots the OF fine.
2. I just tried barely flicking the switch and the same thing happens (doesn't work).
3. No boot screen appears. The backlight turns on but the screen is completely black and there is no disk activity. I have to do a long press to get the device to shut off.
Logged

Offline RaeNye

  • Developer
  • Member
  • *
  • Posts: 161
Re: Double boot on X5 ?
« Reply #40 on: June 15, 2006, 07:54:52 PM »
The tough part is to boot the OF, so if this works I'm pretty sure something's wrong with your compilation (e.g., with boot.lds).

- Is the regular v2 RB bootloader able to boot rockbox?
- Does the first dual-boot patch work? (the REC one)
- Does a precompiled dual-boot version work?

If you're still thinking that something in my patch in wrong, please get RB running, dump the ROM (via debug menu) and look at the first 64KB. Especially, please tell me whether on address 0xeda4 you have the string: "Welcome to new world of X5. Version = 5.00".

Logged

Offline bk

  • Member
  • *
  • Posts: 266
Re: Double boot on X5 ?
« Reply #41 on: June 16, 2006, 07:35:50 AM »
Thanks for your help RaeNye and Linus, it actually looks like a toolchain problem on my end (bad Gentoo crossdev compiler, don't ask). Using your precompiled bootloader and a daily build rather than my own build everything works normally.

Great patch RaeNye, I hope it gets merged at some point.
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: Double boot on X5 ?
« Reply #42 on: June 16, 2006, 08:01:37 AM »
Quote from: bk on June 16, 2006, 07:35:50 AM
it actually looks like a toolchain problem on my end (bad Gentoo crossdev compiler, don't ask).

Give tools/rockboxdev.sh a try instead!
Logged

Offline Mad Big Sausage

  • Artist
  • Member
  • *
  • Posts: 68
Re: Double boot on X5 ?
« Reply #43 on: July 19, 2006, 08:26:46 AM »
The feature freeze is now gone, are still efforts to get this in CVS??

Even though I can compile it myself already my girlfriend won't trust her player's health to my skills so she's adament about waiting for the CVS version.

Her loss really... :D
Logged

Offline RaeNye

  • Developer
  • Member
  • *
  • Posts: 161
Re: Double boot on X5 ?
« Reply #44 on: July 19, 2006, 10:49:39 AM »
1. A new version (respecting remote hold switch) is being worked on.
2. There're some didactic problems with the dual bootloader relying on preloader code, so it probably won't be comitted anytime soon.
3. I will provide a binary version once the new version (hopefully final version  feature-wise) is out.
Logged

  • Print
Pages: 1 2 [3] 4 5 ... 9
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Double boot on X5 ?
 

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

Page created in 0.198 seconds with 21 queries.