rockbox/rbutil/mktccboot
Dominik Riebeling 6f4beaa52c Don't add LIBSOURCES to SOURCES.
Split source files for library and stand-alone binary and use library as
dependency when building the stand-alone binary. This avoids dependencies
getting added multiple times.

Remove outdated RBARCH handling, we always create fat binaries on OS X these
days.

Change-Id: Ia15a731296edcbe90869a1bf66dda2c3d6c7e317
2016-12-16 19:46:07 +01:00
..
main.c
Makefile Don't add LIBSOURCES to SOURCES. 2016-12-16 19:46:07 +01: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.