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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  Update bootloader problem on IPOD 5G 30GB
« previous next »
  • Print
Pages: [1]

Author Topic: Update bootloader problem on IPOD 5G 30GB  (Read 2864 times)

Offline Greenleaves

  • Member
  • *
  • Posts: 32
Update bootloader problem on IPOD 5G 30GB
« on: May 24, 2007, 03:56:01 AM »
I tried to update the bootloader on my iPOD 5G 30gb but the ipodpatcher (May 24, 07 version) could not find my iPOD connected in disk mode to my windows PC.  However I was able to upload the SVN build on the iPOD with no problem.  Any idea?

Thank you.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Update bootloader problem on IPOD 5G 30GB
« Reply #1 on: May 24, 2007, 03:58:48 AM »
Why were you trying to update the bootloader ?
Logged

Read The Manual Please

Offline Greenleaves

  • Member
  • *
  • Posts: 32
Re: Update bootloader problem on IPOD 5G 30GB
« Reply #2 on: May 24, 2007, 04:06:51 AM »
Quote from: GodEater on May 24, 2007, 03:58:48 AM
Why were you trying to update the bootloader ?
The changes:

2007-03-04: Dual processor support added for PortalPlayer (iPods, H10, Sansa) targets, requiring an update to the latest bootloader.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Update bootloader problem on IPOD 5G 30GB
« Reply #3 on: May 24, 2007, 05:23:01 AM »
Wow - you've not updated in a while then huh? :)

Are you logged into Windows as the Admin user ?
Logged

Read The Manual Please

Offline Greenleaves

  • Member
  • *
  • Posts: 32
Re: Update bootloader problem on IPOD 5G 30GB
« Reply #4 on: May 24, 2007, 10:54:29 AM »
Just tried on Ubuntu 7.04 under root. ipodpatcher still couldn't find ipod.

ipodpatcher v1.0 with v1.1 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...
[ERR]  No ipods found, aborting
[ERR]  Please connect your ipod and ensure it is in disk mode
[ERR]  Please refer to the Rockbox manual if you continue to have problems.

Press ENTER to exit ipodpatcher :


The normal SVN upload works as usual.
« Last Edit: May 24, 2007, 09:42:24 PM by Greenleaves »
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Update bootloader problem on IPOD 5G 30GB
« Reply #5 on: May 24, 2007, 11:54:49 AM »
In Linux (I'm a Linux user, so can help you better there), can you type "fdisk -l" ?  That should list all the disks attached to your computer, and display their partition tables.

You should be able to identify your ipod by 1) Disk size will be 30GB; 2) The first partition will be of type 0 (Empty); 3) The second partition will be of type 0xb (FAT32).

Assuming your ipod is visible (if not, then that's the cause of the problem...), type

./ipodpatcher /dev/sdx

(replacing /dev/sdx with the device you've identified to be your ipod - e.g. /dev/sda) and then see what it says.  It should give you slightly more explanation about why it doesn't think it's an ipod.
Logged

Offline Greenleaves

  • Member
  • *
  • Posts: 32
Re: Update bootloader problem on IPOD 5G 30GB
« Reply #6 on: May 24, 2007, 09:48:52 PM »
No luck. Tried fdisk -l, and here is what I got:

Disk /dev/sda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          10       80293+   0  Empty
/dev/sda2              11        3648    29222235    c  W95 FAT32 (LBA)

root@greenleaves:/home/greenleaves# ./ipodpatcher /dev/sda
ipodpatcher v1.0 with v1.1 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] Reading partition table from /dev/sda
[INFO] Sector size is 512 bytes
[ERR]  Partition layout is not an ipod

Looks like the patcher couldn't recognize the partition.  

Many thanks ...

Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Update bootloader problem on IPOD 5G 30GB
« Reply #7 on: May 25, 2007, 03:06:09 AM »
DELETED A BUNCH OF STUFF THAT WAS WRONG

Edit :

You could try changing the partition type of /dev/sda2 to "b" instead of "c".

I *think* you can get away with this without losing any data.
« Last Edit: May 25, 2007, 03:18:55 AM by GodEater »
Logged

Read The Manual Please

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Update bootloader problem on IPOD 5G 30GB
« Reply #8 on: May 25, 2007, 05:16:23 AM »
Yes, the reason ipodpatcher doesn't detect the ipod is because the partition type is "c".  It is expecting it to be "b".

And yes, you can change it without losing any data.  In Linux, do the following:

fdisk /dev/sda
Enter "t" (to change partition type)
Enter "2" (for partition 2)
Enter "b" (the new type)

Now enter "p" to view the new partition table, and if it looks right (i.e. the c has been replaced by a b), type "w" to write the new partition table.

At any time before entering 'w", you can just enter "q" to exit fdisk, and it won't save any changes to your ipod.

Out of curiosity, do you know how your ipod came to have a partition of type "c" instead of the usual "b" ?  Did you ever repartition your ipod, or reformat it using something other than itunes?
« Last Edit: May 25, 2007, 05:18:49 AM by linuxstb »
Logged

Offline Greenleaves

  • Member
  • *
  • Posts: 32
Re: Update bootloader problem on IPOD 5G 30GB
« Reply #9 on: May 25, 2007, 05:39:26 AM »
I managed to change the device Id to "b". Now problem is fixed.

Sorry I can't recall how it came about having the device Id as "c". I must say I haven't updated the Rockbox firmware for quite some time.  I am happy to see now Rockbox supports the dual core, and that hopefully will extend the battery life.  

Many thanks for the great work. Appreciate it very much.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  Update bootloader problem on IPOD 5G 30GB
 

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

Page created in 0.078 seconds with 16 queries.