Rockbox General > Rockbox General Discussion

Detailed description for r20921: FS #9730?

<< < (2/3) > >>

Chronon:

--- Quote from: SacredTerror on May 13, 2009, 11:58:29 PM ---OK when I type in either of those commands ipodpatcher.exe shows a few lines of text, but before I can read what it says it closes (crashes?).

--- End quote ---

Are you doing it from a command prompt?  Try Start --> Run --> Cmd first.  Then enter the commands given here.

SacredTerror:
I'm obviously in way over my head here, I apologize.  I was just opening ipodpatcher.exe and typing in the commands there.  Now I'm first opening a command prompt, dropping ipodpatcher.exe in there, and then typing the commands.  This way I get to see what ipodpatcher.exe is writing before it closes, since the command prompt stays open. 

When I type in the first command, it's telling me that it's writing firmware and the bootloader was installed successfully.  What?  I thought all it was supposed to do was copy some files for me?  Second command results in the same output. 

If you want to just look at a screenshot of what I'm doing....    http://img401.imageshack.us/img401/3803/clipboard01v.jpg

Thanks again.

Llorean:
You really shouldn't be dragging iPodpatcher to the command prompt. The program does several things, and you're basically running it without the additional parameters, so you're getting its default actions (which is to install the bootloader).

What it does is not just copying files. It writes files to the hidden firmware partition.

You should start out with doing a little Google research on basic command prompt use, that will help you understand instructions on how to use it much better.

yapper:
Do as Llorean says, then see below for an example of a successful sequence

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\M.BFF>ipodpatcher -rf apple_os.ipod
ipodpatcher v3.0 with v3.0 bootloaders - (C) Dave Chapman 2006-2007
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] Ipod found - 1st or 2nd Generation ("winpod") - disk device 2
[INFO] Reading partition table from \\.\PhysicalDrive2
[INFO] Sector size is 512 bytes
[INFO] Part    Start Sector    End Sector   Size (MB)   Type
[INFO]    0              63         80324        39.2   Empty (0x00)
[INFO]    1           80325      39054014     19030.1   W95 FAT32 (0x0b)
[INFO] Ipod model: 1st or 2nd Generation ("winpod")
[INFO] Reading firmware (3234816 bytes)
[INFO] Padding read from 0x00315c00 to 0x00315c00 bytes
[INFO] Firmware read to file apple_os.ipod.


C:\Documents and Settings\M.BFF>ipodpatcher -wf rockbox.ipod
ipodpatcher v3.0 with v3.0 bootloaders - (C) Dave Chapman 2006-2007
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] Ipod found - 1st or 2nd Generation ("winpod") - disk device 2
[INFO] Reading partition table from \\.\PhysicalDrive2
[INFO] Sector size is 512 bytes
[INFO] Part    Start Sector    End Sector   Size (MB)   Type
[INFO]    0              63         80324        39.2   Empty (0x00)
[INFO]    1           80325      39054014     19030.1   W95 FAT32 (0x0b)
[INFO] Ipod model: 1st or 2nd Generation ("winpod")
[INFO] Padding input file from 0x00074334 to 0x00074400 bytes
[INFO] Reading input file...
[INFO] Checksum OK in rockbox.ipod
[INFO]  Wrote 476160 bytes to firmware partition
[INFO] Firmware rockbox.ipod written to device.

C:\Documents and Settings\M.BFF>

SacredTerror:
Alright I'm getting closer.  Or at least now I know what's happening.  The first part worked.  But I'm still getting an error when trying to write the new firmware, saying it can't open rockbox.ipod.  Is it supposed to be in a different location besides the default of /.rockbox/?

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Owner>ipodpatcher -rf apple_os.ipod
ipodpatcher v3.0 with v3.0 bootloaders - (C) Dave Chapman 2006-2007
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] Ipod found - Video (aka 5th Generation) ("winpod") - disk device 9
[INFO] Reading partition table from \\.\PhysicalDrive9
[INFO] Sector size is 2048 bytes
[INFO] Part    Start Sector    End Sector   Size (MB)   Type
[INFO]    0              63         64259       125.4   Empty (0x00)
[INFO]    1           64260      39075370     76193.6   W95 FAT32 (0x0b)
[INFO] Ipod model: Video (aka 5th Generation) ("winpod")
[INFO] Reading firmware (7550976 bytes)
[INFO] Padding read from 0x00733800 to 0x00733800 bytes
[INFO] Firmware read to file apple_os.ipod.

C:\Documents and Settings\Owner>ipodpatcher -wf rockbox.ipod
ipodpatcher v3.0 with v3.0 bootloaders - (C) Dave Chapman 2006-2007
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] Ipod found - Video (aka 5th Generation) ("winpod") - disk device 9
[INFO] Reading partition table from \\.\PhysicalDrive9
[INFO] Sector size is 2048 bytes
[INFO] Part    Start Sector    End Sector   Size (MB)   Type
[INFO]    0              63         64259       125.4   Empty (0x00)
[INFO]    1           64260      39075370     76193.6   W95 FAT32 (0x0b)
[INFO] Ipod model: Video (aka 5th Generation) ("winpod")
[ERR]  Couldn't open input file rockbox.ipod
[ERR]  --write-firmware failed.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version