Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  Error: -2 on startup. 4th gen. 20gig greyscale.
« previous next »
  • Print
Pages: [1]

Author Topic: Error: -2 on startup. 4th gen. 20gig greyscale.  (Read 1345 times)

Offline Seine

  • Member
  • *
  • Posts: 2
Error: -2 on startup. 4th gen. 20gig greyscale.
« on: October 12, 2006, 07:28:52 PM »
Hello

I'm brand new to this, so please forgive any stupid mistakes.

Today I attempted to install Rockbox on my 4G iPod using Linux. After rebooting the iPod states:

Rockbox error: -2
Loading original firmware


I don't recall anything going wrong during the installation process. Here's the terminal history:


jem@fawkes:~/Desktop/rockbox_temp$ gcc -o ipod_fw ipod_fw.c
jem@fawkes:~/Desktop/rockbox_temp$ dmesg
heaps of output, conluding with...
[17180334.184000] USB Mass Storage support registered.
[17180339.184000]   Vendor: Apple     Model: iPod              Rev: 1.62
[17180339.184000]   Type:   Direct-Access                      ANSI SCSI revision: 00
[17180339.184000] SCSI device sdb: 39063023 512-byte hdwr sectors (20000 MB)
[17180339.184000] sdb: Write Protect is off
[17180339.184000] sdb: Mode Sense: 64 00 00 08
[17180339.184000] sdb: assuming drive cache: write through
[17180339.188000] SCSI device sdb: 39063023 512-byte hdwr sectors (20000 MB)
[17180339.188000] sdb: Write Protect is off
[17180339.188000] sdb: Mode Sense: 64 00 00 08
[17180339.188000] sdb: assuming drive cache: write through
[17180339.188000]  sdb: sdb1 sdb2
[17180339.264000] sd 4:0:0:0: Attached scsi removable disk sdb
[17180339.264000] sd 4:0:0:0: Attached scsi generic sg1 type 0
[17180339.268000] usb-storage: device scan complete
[17180340.040000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
jem@fawkes:~/Desktop/rockbox_temp$   fdisk -l /dev/sdb

Disk /dev/sdb: 20.0 GB, 20000267776 bytes
255 heads, 63 sectors/track, 2431 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1           5       40131    0  Empty
/dev/sdb2               6        2431    19486845    b  W95 FAT32
jem@fawkes:~/Desktop/rockbox_temp$  dd if=/dev/sdb of=mbr.bin count=1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 9.9e-05 seconds, 5.2 MB/s
jem@fawkes:~/Desktop/rockbox_temp$   dd if=/dev/sdb1 of=bootpartition.bin
80262+0 records in
80262+0 records out
41094144 bytes (41 MB) copied, 5.68784 seconds, 7.2 MB/s
jem@fawkes:~/Desktop/rockbox_temp$    ./ipod_fw -o apple_os.bin -e 0 bootpartition.bin
jem@fawkes:~/Desktop/rockbox_temp$    ./ipod_fw -g 4g -o rockboot.bin -i apple_os.bin bootloader-4g.bin
Generating firmware image compatible with iPod mini, 4g and iPod photo/color...
jem@fawkes:~/Desktop/rockbox_temp$    dd if=rockboot.bin of=/dev/sdb1
6980+1 records in
6980+1 records out
3574224 bytes (3.6 MB) copied, 7.42204 seconds, 482 kB/s


The structure of my iPod filesystem includes:


/media/ipod:
total 36
4 drwx------  8 jem  jem  4096 1970-01-01 10:00 .
4 drwxr-xr-x  5 root root 4096 2006-10-13 09:12 ..
4 -rwx------  1 jem  jem  1480 2005-12-20 22:42 BOOTEX.LOG
4 drwx------  2 jem  jem  4096 2008-08-09 18:09 Calendars
4 drwx------  2 jem  jem  4096 2008-08-09 18:09 Contacts
4 drwx------  2 jem  jem  4096 2005-12-20 22:42 FOUND.000
4 drwx------  6 jem  jem  4096 2006-09-28 20:36 iPod_Control
4 drwx------  3 jem  jem  4096 2006-09-28 20:37 Notes
4 drwx------ 12 jem  jem  4096 2006-10-13 08:35 .rockbox
0 -rwx------  1 jem  jem     0 2006-10-13 08:35 rockbox.ipod

/media/ipod/.rockbox:
total 48
4 drwx------ 12 jem jem 4096 2006-10-13 08:35 .
4 drwx------  8 jem jem 4096 1970-01-01 10:00 ..
4 drwx------  2 jem jem 4096 2006-10-13 08:35 backdrops
4 drwx------  2 jem jem 4096 2006-10-13 08:35 codecs
4 drwx------  2 jem jem 4096 2006-10-13 08:35 codepages
4 drwx------  2 jem jem 4096 2006-10-13 08:35 docs
4 drwx------  2 jem jem 4096 2006-10-13 08:35 eqs
4 drwx------  2 jem jem 4096 2006-10-13 08:35 langs
4 drwx------  2 jem jem 4096 2006-10-13 08:35 rocks
0 -rwx------  1 jem jem    0 2006-10-13 08:35 tagnavi.config
4 drwx------  2 jem jem 4096 2006-10-13 08:35 themes
4 drwx------  2 jem jem 4096 2006-10-13 08:35 viewers
0 -rwx------  1 jem jem    0 2006-10-13 08:35 viewers.config
4 drwx------ 11 jem jem 4096 2006-10-13 08:35 wps


Does anyone have any suggestions on what I might have done wrong or how I can get RB working?

Thanks
Seine
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Error: -2 on startup. 4th gen. 20gig greyscale.
« Reply #1 on: October 12, 2006, 07:31:12 PM »
Your rockbox.ipod file is 0 bytes in size.  Maybe you didn't cleanly unmount your ipod after copying the files to it.
Logged

Offline Seine

  • Member
  • *
  • Posts: 2
Re: Error: -2 on startup. 4th gen. 20gig greyscale.
« Reply #2 on: October 12, 2006, 07:52:28 PM »
That's it. Thanks. :D
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  Error: -2 on startup. 4th gen. 20gig greyscale.
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.062 seconds with 16 queries.