rockbox/rbutil/mktccboot
Dominik Riebeling b24e562061 Initial common Makefile for Rockbox Utility tools / libs.
Introduce a new Makefile holding the common functionality for building tools
used by Rockbox Utility (*patcher / mk*boot). This converts mktccboot to use
the common Makefile.

Also introduces BUILD_DIR variable to control the path used for placing
intermediate objects into. This should avoid filename clashes between different
tools. Filenames are (still) assumed to be unique withing a single tool.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31257 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 21:59:37 +00:00
..
main.c
Makefile Initial common Makefile for Rockbox Utility tools / libs. 2011-12-14 21:59:37 +00:00
mktccboot.c
mktccboot.h
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.