xboxscene.org forums

Pages: 1 [2] 3

Author Topic: Boot Disc For Softmod Xbox To Upgrade Hard Drive  (Read 89 times)

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #15 on: June 21, 2008, 08:43:00 AM »

No, I mean, load a new BIOS (or the same BIOS) back into memory after doing the hotswap. That is, the console boots off it's softmod, the DVD starts, the user hotswaps and then loads a new BFM BIOS from the DVD once the switch has been made.

I'm not sure your suggestion will work based on what Movax said. If it's the BIOS that keeps track of the drive details, then it doesn't matter how long the XBE holds off on reading the drive because the BIOS has already taken a look.

Hence my idea re loading a new BFM BIOS from the disc.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #16 on: June 21, 2008, 08:55:00 AM »

QUOTE(Bomb Bloke @ Jun 21 2008, 11:19 PM) View Post

No, I mean, load a new BIOS (or the same BIOS) back into memory after doing the hotswap. That is, the console boots off it's softmod, the DVD starts, the user hotswaps and then loads a new BFM BIOS from the DVD once the switch has been made.

Your idea sounds more promising, I can't remembered if I tried it. I'll try it first since the timer xbe is more work anyway and I'm not good with nasm  tongue.gif

Will report back with results, good or bad.
Logged

Movax

  • Recovered User
  • Hero Member
  • *
  • Posts: 611
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #17 on: June 21, 2008, 09:14:00 AM »

Reloading a new BFM bios might work. Good luck.
Logged

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #18 on: June 21, 2008, 09:18:00 AM »

I'm a bit worried in that nkpatcher won't work with an active modchip/TSOP flashed system (I think it expects a retail BIOS to be in place when it starts). Trying to load it after a softmod has already booted might present the same problem.

I really dunno what will work and what won't.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #19 on: June 21, 2008, 07:29:00 PM »

QUOTE(Movax @ Jun 21 2008, 11:50 PM) View Post

Reloading a new BFM bios might work. Good luck.

Still blank screen after hotswapping and reloading the BFM bios.
Logged

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #20 on: June 21, 2008, 10:42:00 PM »

Is the BFM BIOS set to boot a dash from the DVD?
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #21 on: June 22, 2008, 04:17:00 AM »

QUOTE(Bomb Bloke @ Jun 22 2008, 01:18 PM) View Post

Is the BFM BIOS set to boot a dash from the DVD?

I believe it was.
Logged

kingroach

  • Archived User
  • Hero Member
  • *
  • Posts: 1522
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #22 on: June 22, 2008, 12:50:00 PM »

did you try booting normal unleshx with nkpatcher softmod first. Then swap the harddrives and then loading the BFM bios  dry.gif
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #23 on: June 23, 2008, 08:25:00 AM »

QUOTE(kingroach @ Jun 23 2008, 03:26 AM) View Post

did you try booting normal unleshx with nkpatcher softmod first. Then swap the harddrives and then loading the BFM bios  dry.gif

Not yet. I'll try it during the weekend when I have more time.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #24 on: June 24, 2008, 07:23:00 AM »

QUOTE(ldotsfan @ Jun 21 2008, 10:35 PM) View Post

I could try to write a looping xbe with nasm with a given time interval for the hotswapping so that when this timer xbe loads from the dvd, you have some time to hotswap to the new hdd and when the dash eventually loads from this timer xbe, it only sees the new hdd and hopefully solves the earlier problems. Not sure if I'm making sense. Can somebody verify my logic?

I've finished coding the timer XBE. It's mostly code from xman954's eeprom reader except for these lines:

CODE

%define APP_PATH   '\Device\CDrom0\'; < must end with \'
%define APP_NAME   'default.xbe'
; some other code

KeTickCount     dd    0x8000009C
            dd    0     ; end of table
; some other code

;-------------------------------------------------------------------------------
; This routine executes a timing loop
;-------------------------------------------------------------------------------
;#### Small Wait Loop (3 min or 180 seconds) ####
    mov    ebx,DWORD[KeTickCount]
    mov    ecx,DWORD[ebx]
    add    ecx,180000
.wait_loop:
    cmp    DWORD[ebx],ecx
    jl    .wait_loop
; some other code
;-------------------------------------------------------------------------------
; This routine executes the XBE specified by APP_PATH and APP_NAME.
;---------
; some other code


Now I need to burn the cdrw to try it.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #25 on: June 24, 2008, 09:19:00 AM »

Timer XBE logic is correct as without hotswapping, it will relaunch DVD after 3 minutes. But after hotswapping, blank screen after 3 minutes  grr.gif

I also tried kingroach's suggestion to load plain unleashX from nkpatcher and after hotswapping, load bfm bios. Same results.

I give up since I believe I've exhausted all options.
Logged

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #26 on: June 24, 2008, 08:43:00 PM »

Ah well, at least now we know. Thanks man.  smile.gif
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #27 on: June 25, 2008, 07:56:00 AM »

QUOTE(Bomb Bloke @ Jun 25 2008, 11:19 AM) View Post

Ah well, at least now we know. Thanks man.  smile.gif

Kingroach said that it worked when he hotswapped the hdd from another unmodded xbox over to the softmodded xbox to softmod it. So that means the unmodded xbox must have initialized the hdd somehow. I'm going to try issuing some ATA low-level commands in the timer XBE to do likewise but I need to figure out the how first. I'm also going to try booting the new hdd to an error 5 but power it from an external source and see if that starts the hdd into a ready state then reboot back to the old hdd and do the hotswapping later.

I'm quite stubborn as you can see  tongue.gif
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #28 on: June 27, 2008, 08:09:00 PM »

QUOTE(ldotsfan @ Jun 25 2008, 10:32 PM) View Post

I'm also going to try booting the new hdd to an error 5 but power it from an external source and see if that starts the hdd into a ready state then reboot back to the old hdd and do the hotswapping later.

Eureka - powering the new hdd with an external source throughout the process and letting it boot first to an error 5 worked! After error 5 appeared, I unplugged the IDE cable and powered off the xbox. Then I reconnected to the old hdd and let the boot disc boot. This time, after the hotswapping, I was able to get the dash to boot up from DVD and do the hdd preparation on the new hdd.

So the error 5 does get the new hdd to a ready state. I'll be working on doing it from code as well.
The need for an external power source limits potential usage of this but if the IDE initialization from the XBE code works, then maybe no need for external power.

We are closer to the goal of a boot disc for softmod xbox to do hdd upgrade now.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Boot Disc For Softmod Xbox To Upgrade Hard Drive
« Reply #29 on: June 27, 2008, 09:07:00 PM »

QUOTE(ldotsfan @ Jun 28 2008, 10:45 AM) View Post

Eureka - powering the new hdd with an external source throughout the process and letting it boot first to an error 5 worked! After error 5 appeared, I unplugged the IDE cable and powered off the xbox. Then I reconnected to the old hdd and let the boot disc boot. This time, after the hotswapping, I was able to get the dash to boot up from DVD and do the hdd preparation on the new hdd.

So the error 5 does get the new hdd to a ready state. I'll be working on doing it from code as well.
The need for an external power source limits potential usage of this but if the IDE initialization from the XBE code works, then maybe no need for external power.

We are closer to the goal of a boot disc for softmod xbox to do hdd upgrade now.

maybe not. after locking the new hdd with evox in the same session, I'm booting to an error 6. evox must be 'seeing' the old hdd and using that to lock the new hdd. I'll need to see if the master password can unlock the hdd.
Logged
Pages: 1 [2] 3