Installation / Removal > Apple - Installation/Removal

modifying ipod bootloader and intalling fw to an other position

<< < (3/4) > >>

KoSa333:
Well, I downloaded the source code in Linux, recompiled it and it found my iPod.. Strange..
Then i followed the instructions on the wiki page you had sent me before.
I made a backup of the apple firmware, copied it into the .rockbox directory, put the rockbox bootloader onto the hidden partition with the ipodpatcher, and it works fine, however I don't have an option to load the original or any other firmware.
Later I will customize it, thank you I'm happy it is working again :)

torne:
The code may well have changed since the last released version.

You didn't follow the default installation instructions, it sounds like; you don't have to dump the apple OF and provide it as a file... the bootloader is normally appended to the OF, not replacing it. Either way flicking the hold switch on should boot the OF so if that doesn't work you have done something wrong - there's no reason for this not to work, especially if you have used the normal install method (the apple flashrom code has already loaded the OSOS image into ram, so the state of the disk is irrelevant, it should always be able to run it)

KoSa333:
http://www.rockbox.org/wiki/IpodPatcher#3_OSOS_contains_only_the_Rockbox


--- Quote ---Instructions

   1. Back up the Apple firmware! Run ipodpatcher -rf apple_os.ipod and save the file apple_os.ipod somewhere safe. You can restore this later with ipodpatcher -wf apple_os.ipod if something goes wrong.
   2. Unzip your Rockbox build to .rockbox on the ipod as usual.
   3. Place a copy of apple_os.ipod in the .rockbox directory (this enables dual booting).
   4. Install the Rockbox bootloader to the OSOS image with ipodpatcher -wf bootloader-youripodmodel.ipod
   5. Reboot the ipod. Dual booting should function as before, but Rockbox should load faster.

--- End quote ---

I followed this one step by step. Anyway, I want to replace the OF because the size of the executable code at the bad part of the HDD will be smaller, that's why I chose this method, so it should contain only a bootloader.. However I want to enable dualbooting so I can load any other firmwares later on.

I forgot to say when the ipodpatcher couldn't detect my iPod I was on win32 platform then I changed back to Linux and rebuilt the source and tried there.


--- Quote ---(the apple flashrom code has already loaded the OSOS image into ram, so the state of the disk is irrelevant, it should always be able to run it)

--- End quote ---
Now I know how it was able to restore itself even after partition format. It was annoying :)

torne:
That's not the standard installation method, but dual booting should work fine; if turning the hold switch on immediately after poweron doesn't start the original firmware then you have done something wrong. Try powering on by pressing and holding MENU, also (this should also trigger booting the OF).

Also, er, what do you mean the size of the code on the bad part of the disk will be smaller? Wasn't the entire point of this to move the data entirely out of the bad part? I don't understand what you've done, in that case..

And I think you misunderstood me; the flash bootloader loads OSOS into ram on poweron, whether OSOS contains the OF, or Rockbox, or the Rockbox bootloader, or a combination of them. If you erase the disk there, it won't be able to load anything and the OF will not boot; if the OF still boots after you erase the partition then you can't be erasing it right :)

KoSa333:

--- Quote ---That's not the standard installation method, but dual booting should work fine; if turning the hold switch on immediately after poweron doesn't start the original firmware then you have done something wrong. Try powering on by pressing and holding MENU, also (this should also trigger booting the OF).

--- End quote ---
I've just done what you said and it loaded the OF. This is how it should work? Shouldn't be there a menu where I can choose the firmware I want to load? (I saw it on videos on youtube..)


--- Quote ---Also, er, what do you mean the size of the code on the bad part of the disk will be smaller? Wasn't the entire point of this to move the data entirely out of the bad part? I don't understand what you've done, in that case..

--- End quote ---
Well, the bad sectors appear right from the beginning of the disk, where the hidden partition is (and it is fixed, if i wanted to move it i would have to modify the ipod bootloader) and it ends around the first quarter of the fat partition, so I had to move it because I couldn't copy files onto it properly, or even if the ipod read it, it froze or restarted. Now the fat32 is on a healthy part of the HDD so it works without a problem.
The bootloader is only a few sectors big so it fits between bad sectors :D (it is better than i try to fit megabytes there, isn't it?)


--- Quote ---And I think you misunderstood me; the flash bootloader loads OSOS into ram on poweron, whether OSOS contains the OF, or Rockbox, or the Rockbox bootloader, or a combination of them. If you erase the disk there, it won't be able to load anything and the OF will not boot; if the OF still boots after you erase the partition then you can't be erasing it right :)

--- End quote ---
Then the reason why it could restore itself is because I used quick format which only deletes the files (in the fat table signs the files as deleted but it doesn't touch the files themselves) while normal format writes 00's everywhere. I'm not sure about it but it is my only idea.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version