Rockbox Technical Forums

Installation / Removal => Manual Installation => Apple - Installation/Removal => Topic started by: Heffy on December 04, 2011, 07:42:31 PM

Title: Ipod Classic 120GB EmCORE Install
Post by: Heffy on December 04, 2011, 07:42:31 PM
Hello,

ive recently tried to install Rockbox on my Ipod Classic 120GB using the instructions on

http://www.freemyipod.org/wiki/EmCORE_Installation/iPodClassic/PrepareDFULinux (http://www.freemyipod.org/wiki/EmCORE_Installation/iPodClassic/PrepareDFULinux)

After downloading ipoddfu.py, libipoddfu.py and bootstrap-ipodclassic-r708-20110424.dfu ive used the command

python2.7 ipoddfu.py bootstrap-ipodclassic-r708-20110424.dfu

but iam getting the error

Code: [Select]
File "/home/spot/ipod_emcore/libipoddfu.py", line 130, in crc32
    crc = (crc >> 8) ^ crc_table[(crc ^ data[i]) & 0xff];
TypeError: unsupported operand type(s) for ^: 'int' and 'str'

so i tried to cast int(data) and now getting

Code: [Select]
File "/home/spot/ipod_emcore/libipoddfu.py", line 130, in crc32
    crc = (crc >> 8) ^ crc_table[(crc ^ int(data[i])) & 0xff];
ValueError: invalid literal for int() with base 10: '.'

After that i tried to replace the '.' with '', but actually iam not sure what iam doing :-) and if the '.' isnt important...besides this has implied another error.

Ive searched the forum but found nothing similar. Is this a known problem? Any ideas?

Thanks and Greets
Heffy
Title: Re: Ipod Classic 120GB EmCORE Install
Post by: saratoga on December 04, 2011, 08:55:18 PM
Completely random guess:  you're not running the right version of python?
Title: Re: Ipod Classic 120GB EmCORE Install
Post by: Heffy on December 05, 2011, 11:06:00 AM
Hi,

thx for your reply. Ive made a little mistake in the first post. Actually ive used

Code: [Select]
python2.7 ipoddfu.py bootstrap-ipodclassic-r708-20110424.dfu
this is python version 2.7.2, so it should be the right one. Right?

Iam running ARCH Linux (3.1.4-1-ARCH) and the system is up to date.

Heffy
Title: Re: Ipod Classic 120GB EmCORE Install
Post by: Heffy on December 15, 2011, 09:59:56 AM
Because this still isnt working for me, ive tried the windows installer now and rockbox runs flawlessly. Big Thx to all developers for making a great alternative software.

Heffy