The first-gen iPod was reverse engineered to run Rockbox by exploiting a buffer overflow in the HTML viewer, finding the LCD controller in memory, and creating a crafted HTML file as the initial bootloader.