Ipodlinux:files

From LQWiki
Jump to navigation Jump to search

Stuff you should know

If you're going to install linux on your ipod theres two ways to go about it. Firstly you can use prebuilt kernel/binaries and its just a matter of copying files to your ipod (actually a tad more complex). The other option is to download and patch and build the uclinux kernel (mainly so you can choose your own kernel options), but the uclinux distro has some really slow servers so I think you should stick with the first one. The way I'll present this is 'Build it Yourself' and 'Using Prebuilt Binaries'.

I use %1 and %2 to represent the kernel version and the patch version respectively.

Files you need

  1. Build it yourself
    1. Boot Loader - If you have a mac ipod get the mac-ppc version
    2. Ipod Kernel Patch - Note the latest version starts with uclinux. Rename it from uclinux-%1-ipod%2.patch.gz to ipodlinux-%1-patch-%2.gz for easier recognition later.
    3. uClinux Kernel Patch - Download the patch labelled uClinux-%1-uc%2.diff.gz or linux-%1-uc%2.diff.gz (kernel 2.4.x versions only, 2.6 support coming soon).
    4. arm-elf-tools - A toolchain required for compiling for the ipod.
    5. Vanilla Kernel Sources - Download the kernel labelled linux-%1.tar.gz or linux-%1.tar.bz2.
    6. Optional - uClinux distribution - This is incase you want to compile and use uClinux distro programs on your ipod. The source is pretty big so its easier to use cvs and just checkout the ucLinux-dist portion of the tree.
    7. Root Filesystem - If you don't want to download and compile the distro yourself (number 6) you will need a root filesystem.
  2. Using Prebuilt Binaries
    1. Boot Loader - If you have a mac ipod get the mac-ppc version
    2. Prebuilt Kernel
    3. Root Filesystem

Organizing Files

Just dump all the files in a dir somewhere, I will use ~/ipod in the installation/build instructions.

Back to documentation