Rockbox Technical Forums

Installation / Removal => Manual Installation => Apple - Installation/Removal => Topic started by: hayduke on March 21, 2008, 05:40:34 PM

Title: No Partition Found on 2nd gen Mini with CF card mod
Post by: hayduke on March 21, 2008, 05:40:34 PM
Greetings!

I have a 2nd generation iPod Mini that I have replaced the 4GB drive with a 32GB Compact Flash card. The iPod works fine with the Apple OS, but I can't get Rockbox to work.

After a fresh restore via iTunes in Windows (so the drive is FAT32), I copy the latest daily build (r16731) onto the iPod. I am sure that the .rockbox folder is at the root of the device. I copied the fonts pack and then ran the ipodpatcher.exe.

The patcher says it is successful, but when the iPod reboots, I get an error screen as follows:
Rockbox boot loader
Version: 2.0
IPOD version: 0x0007000
ATA: -80
No partition fouind
Hold MENU+SELECT to
reboot then SELECT+PLAY
for disk mode

I can get back into disk mode fine and restore the iPod. I've tried the manual install and the Rockbox Utility (rbutilqt-v1.0.4). Same results :(

I know there is this page http://www.rockbox.org/twiki/bin/view/Main/MiniCF
I understand that issue, but could this be the problem? I wouldn't think a sleep command would have been issued yet during the loading process.
Also on the MiniCF page, there is a note at the bottom of the "Test" section that says,
"Current SVN should now be compatible with CF cards, and this patch should no longer be required (not tested, let us know) -- PeterDHoye - 19 Mar 2008"
This leads me to believe the current builds should work, so that's what I tried. I can try to recompile a version using the Nano ATA code. I tried that last week, but I was having battery issues so I'm not sure if it worked :P

Could the "No partition found" error be because of the CF mod?

My apologies if this post isn't following the forum guidelines.

Edit: I forgot to mention that I also have a 30G video that I have been using Rockbox on for a couple years now, so I'm not a total newb to Rockbox. Just the Mini is new ;)
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: Llorean on March 21, 2008, 05:42:08 PM
You aren't using a current bootloader, though. This error is almost certainly because of the CF mod.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: hayduke on March 21, 2008, 05:43:06 PM
You aren't using a current bootloader, though. This error is almost certainly because of the CF mod.

What version should I have?
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: Llorean on March 21, 2008, 05:46:34 PM
One compiled from SVN.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: hayduke on March 21, 2008, 05:50:03 PM
One compiled from SVN.

Thanks for the prompts responses Llorean :)

So I need to compile my own ipodpatcher.exe? Or do you mean I need to compile my own Rockbox firmware?

I guess I better setup cygwin for Rockbox. I hope it doesn't mess up my Cygwin :P I'm at work and I use it here to access our Linux servers. Maybe I should just boot into Linux to recompile? This PC is setup to dual boot, but I work almost entirely in Windows. :(
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: Llorean on March 21, 2008, 05:52:17 PM
You need to compile your own bootloader. You can use the existing ipodpatcher.exe to install a newer bootloader file (it has the "current official" one built in). I believe the syntax is "ipodpatcher -a bootloader.ipod" but it's been a very long time. Bootloader.ipod being what you'll get if you compile a bootloader.

The main problem is that the fix is in SVN, which means it's in all the builds, but the bootloaders are all older than the fix so they don't have it. For some people this hasn't been a problem, for others it may be. Hopefully this will fix your problem.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: hayduke on March 21, 2008, 06:29:44 PM
You need to compile your own bootloader. You can use the existing ipodpatcher.exe to install a newer bootloader file (it has the "current official" one built in). I believe the syntax is "ipodpatcher -a bootloader.ipod" but it's been a very long time. Bootloader.ipod being what you'll get if you compile a bootloader.

The main problem is that the fix is in SVN, which means it's in all the builds, but the bootloaders are all older than the fix so they don't have it. For some people this hasn't been a problem, for others it may be. Hopefully this will fix your problem.

Ah so I can use the bootloader from the current build? I just need to specify it with ipodpatcher. Well that's my understanding. I'll go try it and see what happens.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: Llorean on March 21, 2008, 06:34:17 PM
I don't know what you're asking.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: Chronon on March 21, 2008, 06:41:58 PM
hayduke, Llorean told you that you need to compile your own bootloader from SVN.  This involves checking out the code, choosing "bootloader" from the configure script and then running "make" to build the binary from source.  Once you have done this you can run Ipodpatcher with the proper command line option to install this to your player.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: hayduke on March 21, 2008, 06:48:09 PM
I'm understanding that. Now I realize the bootloader isn't included with the firmware. I don't know why I thought it would be in hindsight :P

I understand what I need to do I think. I just don't understand how the bootloader is affected by the CF mod.

Thanks so much for all the help. I'll go compile a bootloader and post my results.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: AlexP on March 21, 2008, 06:56:59 PM
Put simply, the bootloader prepares the hardware, then loads rockbox.  If it doesn't know how to deal with the CF card properly, it can neither prepare all the hardware, nor load rockbox.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: hayduke on March 21, 2008, 07:36:28 PM
That makes sense  :D

I'm waiting for my Cygwin to finish downloading. I've had trouble with SVN in the past, so I don't plan to use it. I'm just going to download the source manually. That should be OK since I don't want to submit changes, right?
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: soap on March 21, 2008, 07:40:13 PM
That should be OK since I don't want to submit changes, right?
Should be, yes.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: hayduke on March 24, 2008, 08:14:28 PM
Thanks for all the help everyone, I got my 32GB Mini working :D

I know when I was researching this problem I saw something about how to create a new ipodpatcher.exe with an updated bootloader in it. I can't seem to find that now that I want it.

Would I need to do the same recompile I did this weekend for every player on that list and then embed all of those into the new version of ipodpatcher?
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: iamsilvermember on April 26, 2008, 11:08:47 AM
Can anyone teach me how to get rockbox work in CF moded iPod mini? I am a newbie to rockbox :P
I am having exactly the same problem but could not solve it even reading though the post for thousands of times!
Thanks so much.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: karashata on April 26, 2008, 11:11:12 AM
http://www.rockbox.org/twiki/bin/view/Main/CFModGuide

Read that.  It may help you.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: iamsilvermember on May 11, 2008, 05:43:39 AM
I still don't quite understand. Sorry for my poor english. Is there a detailed guide to guide my through the process?
Thanks!
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: karashata on May 11, 2008, 01:55:03 PM
I would recommend you search Google for a guide on how to modify your iPod to use a CF card, there are at least a few of them out there.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: Chronon on May 11, 2008, 02:05:51 PM
Quote from: CFModGuide
Rockbox install
As of 2008-03-09 (r16591), support for CF cards has been added to Rockbox, no patches or workarounds are required (except when using non-SVN bootloader - see above)
So, you need to compile a new bootloader for your player using the code in SVN.

You can find info on Ipodpatcher HERE (http://www.rockbox.org/twiki/bin/view/Main/IpodPatcher).  This should provide the info necessary to install the bootloader that you built onto your player.

Regarding hardware: Since you have an iPod Mini you should be able to simply swap out the micro-drive directly for a CF card.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: iamsilvermember on May 12, 2008, 12:24:30 PM
I have actually successfully modified my ipod to a flash-based machine. It works flawlessly under the original ipod firmware. But no luck with rockbox. I tried install, but it comes with a "No partition found" warning and no way to get into rockbox.

Thanks!
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: Jack Of Clubs on July 22, 2008, 11:58:23 PM
I can confirm that compiling a recent bootloader works.  I got the 07-22-08 source off of the daily release page and compiled the bootloader from that, then used the precompiled Rockbox build from the site.  Flawless victory!  16gb CF iPod mini!
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: ongbs on August 07, 2008, 01:20:29 PM
I am facing this problem too.
Can someone help to give step-by-step guide?
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: Chronon on August 23, 2008, 02:34:55 AM
See my previous post.
Title: Re: No Partition Found on 2nd gen Mini with CF card mod
Post by: audio-i on August 25, 2008, 05:29:09 PM
@ongbs, useful additional help & info, in case you still need it:

http://www.rockbox.org/twiki/bin/view/Main/MiniCF (how to change HDD for CF)

http://www.rockbox.org/tracker/8901 (bootloader)