All of this requires newest dev versions of everything. Most info is just copy and pasted instructions compiled for your easy use. Sorry I don't have links to the Debian rootfs or current builds of openiboot although you can easily compile openiboot yourself. First install or update to a current git build of openiboot. INSTALLING OPENIBOOT -------------------- 1. Put your iPhone in Recovery Mode 2. sudo ./loadibec openiboot-2g.img3 - Or -3g, -ipod, depending on your platform. 3. sudo ./oibc 4. nor_read 0x09000000 0x0 1048576 5. ~norbackup.dump:1048576 - This will create a file called norbackup.dump in your current directory. GUARD IT WITH YOUR LIFE. 6. install 7. After 'install' has finished, type in: reboot. 8. You ought to see the openiboot menu. UPDATING OPENIBOOT ------------------ 1. Start the openiboot console 2. sudo ./oibc 3. !openiboot-{your platform}.bin 4. go 0x09000000 5. Start the openiboot console again 6. install 7. The updated openiboot binary is now installed on NOR. INSTALLING DEBIAN ----------------- Well in the iPhoneOS use scp to copy the rootfs into the filesystem. Then ssh in and gunzip it 1. scp linux-root.ext3.img.gz root@IPOFIPHONE:/var/mobile/Media/ 2. ssh root@IPOFIPHONE 3. cd /var/mobile/Media 4. gunzip linux-root.ext3.img.gz BOOTING LINUX ------------- 1. Use the Hold button to navigate the menu. Push the Home button when openiboot client is selected. Install ckermit on your computer "sudo apt-get install ckermit" for Ubuntu users. Then from a terminal run 1. sudo modprobe -r usbserial 2. sudo modprobe usbserial vendor=0x525 product=0xA4A6 3. sudo ./oibc Run the following in the oibc console, ignore the rootfs command to have a read only filesystem which is recommended for the first few tests to avoid possible restores of the iPhoneOS as it can corrupt you filesystem rootfs 1 /mobile/Media/linux-root.ext3.img !zImage kernel !new.arm.ext2.gz ramdisk boot "console=tty root=/dev/ram0 rw" CONTROLLING DEBIAN ------------------ ... load the kernel, etc... (wait for the endpoint enabled messages to display on the iPhone before doing the next steps) kermit set line /dev/ttyUSB0 (or ttyUSB1, whichever is present) c You should now be at the login prompt if not look on the iPhone for a error about being unable to open /proc/mounts if you have that followed by more missing files I don't know how to fix it.
Here is a quick video I made of Debian booting on my iPod. It is not the best because all I had was cycorder on my cousins iPhone to record it. I also use a .kermrc file to run the set line and c commands so that is why you don't see them. Along with having the modules load at boot with the correct arguments. http://www.youtube.com/watch?v=HwuSY-On2sU
I don't have any links that currently work. Sorry. For setting up a static ip, I don't know on whatever the current gui would be for Debian since I gave up on it and just use "static dhcp" which is setup on my router. For a quick non permanent way to do it temporarily from a cli use "ifconfig $INTERFACE $IP up" and then "route add default gw $IPOFROUTER $INTERFACE"
is the deb img called http://armel.applieddata.net/developers/linux/eabi/armel-root-fs.tar.bz2 or http://armel.applieddata.net/developers/linux/eabi/armel-root-fs.tar.bz2.md5 ????