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 Development
| |-+  Starting Development and Compiling
| | |-+  Modifying mkamsboot's dualboot.s to remove USB checks?
« previous next »
  • Print
Pages: [1]

Author Topic: Modifying mkamsboot's dualboot.s to remove USB checks?  (Read 2078 times)

Offline router54g

  • Member
  • *
  • Posts: 4
Modifying mkamsboot's dualboot.s to remove USB checks?
« on: September 13, 2011, 05:32:44 PM »
I'm trying to enable my Clip+ to boot into Rockbox when plugged in via USB.

I know nothing of assembly, but I read through the file rbutil/mkamsboot/dualboot/dualboot.S and it seems I could achieve this by completely removing lines 251 to 317.

I don't want to risk bricking my device, so could somebody confirm this for me?

Post Merge: September 13, 2011, 06:48:27 PM
Apparently not. I removed the lines, and it still only boots the OF.

Any help? I'd really like to use Rockbox again.
« Last Edit: September 13, 2011, 06:48:27 PM by router54g »
Logged

Offline mc2739

  • Developer
  • Member
  • *
  • Posts: 262
Re: Modifying mkamsboot's dualboot.s to remove USB checks?
« Reply #1 on: September 14, 2011, 01:51:13 AM »
Did you run

Code: [Select]
make -C dualboot

from the mkamsboot directory?  If you do not run this before running make, your changes to dualboot.S will not be used.
Logged

Offline bertrik

  • Developer
  • Member
  • *
  • Posts: 171
    • Homepage Bertrik Sikken
Re: Modifying mkamsboot's dualboot.s to remove USB checks?
« Reply #2 on: September 14, 2011, 09:25:46 AM »
The dualboot code is the most "dangerous" part of rockbox for AMS players. If you have no experience with assembly at all, I'd stay away from trying to modify it.
Logged
Meizu M6SP, Samsung YP-S3, iPod nano 1g, Sansa c200, Sansa e200, Sansa Clip, Sansa Clip+, Sansa Clip Zip
 

Offline big_raji

  • Member
  • *
  • Posts: 1
Re: Modifying mkamsboot's dualboot.s to remove USB checks?
« Reply #3 on: December 07, 2011, 10:52:08 PM »
I came across another thread at http://forums.rockbox.org/index.php?topic=23755.0 that seems to suggest some success in doing exactly that. Unfortunately, much of it was over my head. Hope that helps you though.
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: Modifying mkamsboot's dualboot.s to remove USB checks?
« Reply #4 on: December 13, 2011, 07:19:12 PM »
Here is what I would do.

This will probably be committed soon if USB works fine on AMSv2.

Committed.
« Last Edit: February 06, 2012, 05:24:04 PM by funman »
Logged
a wise man said: "a wise man said"

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Modifying mkamsboot's dualboot.s to remove USB checks?
 

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

Page created in 0.091 seconds with 16 queries.