Rockbox Technical Forums

Installation / Removal => Manual Installation => Apple - Installation/Removal => Topic started by: Ezzard on November 14, 2009, 03:33:33 PM

Title: ipodpatcher error for Nano 2G
Post by: Ezzard on November 14, 2009, 03:33:33 PM
I'm unable to install the bootloader onto my Nano 2G. It reads:
Quote
ipodpatcher 4.0 with v3.0 bootloaders (v1.0 for 2nd Gen Nano)
(C) Dave Chapman 2006-2009
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[INFO] Scanning disk devices...
[INFO] Read XML info (6240 bytes)
[INFO] Ipod found - 2nd Generation Nano ("winpod") - disk device 3
[INFO] Reading partition table from \\.\PhysicalDrive3
[INFO] Sector size is 2048 bytes
[INFO] Part    Start Sector    End Sector   Size (MB)   Type
[INFO]    0              63         48194        94.0   Empty (0x00)
[INFO]    1           48195       3951989      7624.6   W95 FAT32 (0x0b)
[INFO] Read XML info (6240 bytes)
[INFO] Ipod model: 2nd Generation Nano (32MB RAM) ("winpod")
[ERR]  *** ipodpatcher does not support the 2nd Generation Nano! ***
Press ENTER to exit ipodpatcher :

I appreciate any help.
Title: Re: ipodpatcher error for Nano 2G
Post by: mc2739 on November 14, 2009, 03:40:58 PM
This is a known problem and has been fixed in svn.  If you have a Rockbox build environment set up, you can build an ipodpatcher which will work on your 2nd gen nano.
Title: Re: ipodpatcher error for Nano 2G
Post by: Ezzard on November 14, 2009, 06:44:59 PM
Thanks for the feedback. I've just finished setting up the Rockbox build environment through VMware. I'll need some help on how to build a compatible ipod patcher. Could you give me some advice on how to start? I've read the site wiki (http://www.rockbox.org/wiki/VMwareDevelopmentPlatform), and looked through the forums.

I'm thinking that perhaps I should continue this thread in the Starting Development and compiling section.
Title: Re: ipodpatcher error for Nano 2G
Post by: saratoga on November 14, 2009, 06:52:06 PM
I'm not sure if you can actually patch an ipod from inside Vmware, and I don't think you actually need the rockbox dev tools, just gcc. 

The easiest way is probably to install cygwin (checking the gcc box when you do) and then browse to the ipodpatcher source and type "make".  Then run the binary from inside the cygwin shell  I've never tried this on Windows though. 

Edit:  Maybe it is possible in vmware.  I've always had USB problems, but that may just be me.
Title: Re: ipodpatcher error for Nano 2G
Post by: Ezzard on November 14, 2009, 07:28:16 PM
Alright, I installed cygwin just in case. Anyways, when I tried to download from http://download.rockbox.org/cygwin/, I got the error regarding the missing .sig file. The wiki says "...supply the -X (--no-verify) command-line flag when using Cygwin's setup.exe." This can be added into the command-line invocation in a Windows shortcut, for convenience. " This may sound silly, but where would I insert -X?
Title: Re: ipodpatcher error for Nano 2G
Post by: Chronon on November 15, 2009, 03:15:20 PM
It depends on how you're launching the setup.exe.  If you do it from cmd then you just type "setup.exe -X".  If you're launching it from a shortcut, then you edit the shortcut properties to include it there.
Title: Re: ipodpatcher error for Nano 2G
Post by: LambdaCalculus on November 16, 2009, 01:06:06 PM
I'm not sure if you can actually patch an ipod from inside Vmware

It is possible to use iPodpatcher in VMWare; I was able to successfully patch all of my iPods that way.

I used VMWare Fusion 3 on OS X 10.6.1 at the time, running an Ubuntu 9.10 VM to do it. But yes, it's a bit of a "your mileage may vary" situation.

Title: Re: ipodpatcher error for Nano 2G
Post by: bleh on January 24, 2010, 05:24:25 AM
I just got a 2g the other day and tried this, same error
Title: Re: ipodpatcher error for Nano 2G
Post by: bluebrother on January 24, 2010, 11:14:53 AM
I just got a 2g the other day and tried this, same error

You could of course try Rockbox Utility from SVN, for which some testing binaries are available (http://forums.rockbox.org/index.php?topic=23544.0) since a while. These do include recent ipodpatcher code, so should work. Might make more sense than reporting a known issue once again ...
Title: Re: ipodpatcher error for Nano 2G
Post by: bleh on January 24, 2010, 05:56:34 PM
thanks for the link, but the testing binary just crashed when I try to install a bootloader
I tried using the vmware image and svn to compile ipodpatcher with the bootloaders and that segfaulted
Title: Re: ipodpatcher error for Nano 2G
Post by: bluebrother on January 25, 2010, 12:53:34 PM
thanks for the link, but the testing binary just crashed when I try to install a bootloader
I tried using the vmware image and svn to compile ipodpatcher with the bootloaders and that segfaulted

Now this is confusing. What exactly crashed, how did you retrieve it and where (which OS, environment) are you trying to run it?
Title: Re: ipodpatcher error for Nano 2G
Post by: bleh on January 25, 2010, 03:41:25 PM
I tried both r24140 and r24332 zip's from the testing binaries link in xp, both crash when I click the install bootloader button.
(http://img96.imageshack.us/img96/6048/clipboard01znw.jpg)

Title: Re: ipodpatcher error for Nano 2G
Post by: bluebrother on January 25, 2010, 05:42:14 PM
I tried both r24140 and r24332 zip's from the testing binaries link in xp, both crash when I click the install bootloader button.

Ok, so the binary by itself does run? Can you please attach the output of the About / Troubleshoot / System Info dialog?
Title: Re: ipodpatcher error for Nano 2G
Post by: bleh on January 25, 2010, 10:24:01 PM
yeah, they run until I try the bootloader

OS
Windows version 5.1, build 2600 (Service Pack 3)
Qt version 4.6.0

Username
xxxx

Permissions
Admin

Attached USB devices
VID: 046d PID: c525, USB Receiver
VID: 05ac PID: 1260, iPod

Filesystem
A:\, 0 MiB available
C:\, 6241 MiB available
D:\, 0 MiB available
E:\, 0 MiB available
F:\, 1096 MiB available
H:\, 33 MiB available
I:\, 8724 MiB available
J:\, 464 MiB available