rockbox/rbutil/mktccboot
Dominik Riebeling 8a4075d454 Make libtools compile rule more generic.
Create the object - source dependency internally and use a more generic rule
for compiling. Removes the need for explicit rules for source files located in
a different folder.

This adds the limitation for SOURCES and LIBSOURCES to only hold C files.

Change-Id: I56f6a4b1e7df36347cd2f54051e072251f456092
2013-05-11 20:34:11 +02:00
..
main.c Clean up mktccboot building. No functional changes. 2009-11-04 21:56:40 +00:00
Makefile Make libtools compile rule more generic. 2013-05-11 20:34:11 +02:00
mktccboot.c Clean up mktccboot building. No functional changes. 2009-11-04 21:56:40 +00:00
mktccboot.h Clean up mktccboot building. No functional changes. 2009-11-04 21:56:40 +00:00
README

mktccboot
---------

A tool to inject a bootloader into a Telechips 77X/78X firmware file.

Usage
-----

mktccboot <firmware file> <boot file> <output file>

<firmware file> is an original Telechips firmware file.

<boot file> is the code you want to execute (a rockbox bootloader), previously
    scrambled with tools/scramble utility.

<output file> is the resulting firmware file which you'll have to copy on your
    player. See "Firmware filenames".

Dual-Boot
---------

The purpose of this program is to provide dual-boot between the original
firmware and the new (rockbox) firmware.

By default the player will boot into the new firmware.

To boot into the Original Firmware, you need to press the <???> key.

The player will boot into the Original Firmware as well if it is powered up by
inserting an usb cable.

Hacking
-------

See comments in mktccboot.c for more information.