IBoot (Bootloader)

This is Apple's bootloader for the S5L8900. It runs what is known as Recovery Mode. It has an interactive interface which can be used over USB or serial.

In versions pre 2.0, there was an exploit in the diags command.

Open Source
There is an open source version of iBoot being made so that Linux on the iPhone will work. You can check out the source [here].