Installing the Rockbox Bootloader

You can use any suitable JTAG method to achieve this, but methods known to work are the FriendlyARM supplied H-JTAG (Windows), and OpenOCD (Windows, Unix). H-JTAG supports the supplied parallel port adapter, OpenOCD supports parallel adapter and also the Olimex ARM-USB-TINY adapter (Windows, Unix).

If you use the included parallel port JTAG adapter with H-JTAG (Windows), make sure to configure H-JTAG as it is described in the manual, and load the init and flash scripts. Then you can just flash the bootloader.bin to the beginning of NOR flash at address 0x0.

Attention: after you first flash the Rockbox bootloader, the bootloader will enable the MMU as soon as the Mini2440 is reset, and the NOR Flash is no longer mapped at address 0x0. If you need to reflash the Rockbox bootloader, ensure that the command "SoftReset" is the first line in the Init Script (H-JTAG), or use soft-reset-halt in OpenOCD. These commands disable the MMU, and allow the NOR Flash to be accessed at address 0x0.

Installing Rockbox

Currently the bootloader expects Rockbox to be on a SD Card.

Make sure your SD card has a partition and is formatted as FAT32. Then just build Rockbox with "make zip" and unzip rockbox.zip to your SD card.