rockbox/rbutil/mktccboot
Dominik Riebeling f0d0ba86ff Fix building universal binaries.
When building various libraries for Rockbox Utility make sure they use the same compiler as Qt. Pass Qt's CC instead of explicitly setting it. This fixes issues linking on OS X (with recent XCode building universal binaries requires the use of gcc-4-0 while the default one is 4.2).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23779 a1c6a512-1295-4272-9138-f99709370657
2009-11-28 22:39:05 +00:00
..
main.c Clean up mktccboot building. No functional changes. 2009-11-04 21:56:40 +00:00
Makefile Fix building universal binaries. 2009-11-28 22:39:05 +00: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.