Disk Mode

From freemyipod.org
Jump to: navigation, search

Disk Mode is a binary that serves two purposes: first, it exposes a USB Mass Storage and SCSI device to provide access to the iPod's filesystem. Second, it facilitates the recovery functionality of the iPod. On the Nano 3G, it is stored on NOR Flash.

This page currently focuses on the Nano 3G's Disk Mode unless otherwise noted.

Memory Layout

The memory layout of Disk Mode is far simpler than that of Retail OS. See analysis of Retail OS's memory layout for more details about how this relocation process works. There are only two sections that get relocated:

Name Memory Address File Offset
sram.text 0x22000000 0x00000000
dram.textdata 0x08000000 0x000051f4

Known RTXC Tasks

There are several tasks in Disk Mode that RTXC manages. These are inferred by the presence of string names for these tasks:

  • HostOSTask
  • USBDeviceTask
  • ATAWorkLoopTask
  • ATAWorkLoopIRQTask
  • CNATask