summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2007-02-13Make database endianess independent.Miika Pekkarinen1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12297 a1c6a512-1295-4272-9138-f99709370657
2007-02-10Move ipodpatcher into rbutil directoryDave Chapman9-2444/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12263 a1c6a512-1295-4272-9138-f99709370657
2007-02-09Update version number to 0.8 ready for release. Also move the "Press ENTER ↵Dave Chapman1-3/+9
to exit ipodpatcher" prompt to after the ipod_close() call. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12244 a1c6a512-1295-4272-9138-f99709370657
2007-02-09The inevitable 'oops' commit. Add libspeex to the configure script.Dan Everton1-17/+17
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12242 a1c6a512-1295-4272-9138-f99709370657
2007-02-09Display some advice when no ipods are found in interactive modeDave Chapman1-1/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12240 a1c6a512-1295-4272-9138-f99709370657
2007-02-08Move the command-line specific code into main.c, leaving the firmware ↵Dave Chapman4-402/+473
manipulation code in ipodpatcher.c. No functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12238 a1c6a512-1295-4272-9138-f99709370657
2007-02-08Bugfix - the bootloader was being overwritten if the firmware partition ↵Dave Chapman1-8/+23
needed to be rearranged to make space (i.e. the first time a bootloader is installed). Thanks to Paul Louden for helping to test and debug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12237 a1c6a512-1295-4272-9138-f99709370657
2007-02-08Ooops, the default build mode should have been without the embedded bootloadersDave Chapman1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12236 a1c6a512-1295-4272-9138-f99709370657
2007-02-08Work-in-progress (i.e. not well tested) changes: Add the option to build ↵Dave Chapman4-79/+369
ipodpatcher with the Rockbox bootloaders embedded (see the comments in the Makefile for build instructions). This gives a new --install option which will search for an ipod, and if exactly one is found, will install the embedded bootloader. Even easier is the new interactive mode - running ipodpatcher with no command-line options (e.g. double-clicking on ipodpatcher.exe in Windows) will cause ipodpatcher to search for an ipod, and if exactly one is found, ask the user if he/she wishes to install the bootloader. Thanks to Bryan Childs for sample code to deal with prompts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12235 a1c6a512-1295-4272-9138-f99709370657
2007-02-06Oops, we should close the devices during the scanDave Chapman1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12217 a1c6a512-1295-4272-9138-f99709370657
2007-02-06Make the [device] parameter optional. If none is specified, then ↵Dave Chapman1-13/+32
ipodpatcher scans for an ipod, and if exactly one ipod is found, it uses that device. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12215 a1c6a512-1295-4272-9138-f99709370657
2007-02-06 Bump version to 0.7 for releaseDave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12212 a1c6a512-1295-4272-9138-f99709370657
2007-02-05Support for modifying the firmware partition on Macpods (useful for IPL ↵Dave Chapman2-29/+116
users), along with the addition of a big warning when ipodpatcher detects a Macpod to say that Rockbox won't work on it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12209 a1c6a512-1295-4272-9138-f99709370657
2007-02-05Update (C) date to 2007Dave Chapman4-5/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12205 a1c6a512-1295-4272-9138-f99709370657
2007-02-05Enable building ipodpatcher (pure win32 binary) on cygwin with a simple 'make'Jens Arnold1-4/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12202 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Bump version to 0.6 ready for new releaseDave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12200 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Fix compile error on BSD and Mac OS and remove a warningDave Chapman1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12199 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Bugfix. ipodpatcher wasn't correctly deciding when to rearrange the ↵Dave Chapman1-1/+2
contents of the firmware partition to make space for the bootloader. This bug was only hit when the amount of space required was less than 0x4400 bytes (17KB) - e.g. when upgrading an existing bootloader. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12193 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Mainly internal changes to create a struct ipod_t instead of passing lots of ↵Dave Chapman4-375/+411
parameters to all the functions. Also adds (untested) 3G support, plus a --write-firmware-bin option (requested by IPL people to write a kernel directly to the firmware partition). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12190 a1c6a512-1295-4272-9138-f99709370657
2007-01-29Minor bugfix - use O_TRUNC when reading the firmware partition.Dave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12150 a1c6a512-1295-4272-9138-f99709370657
2007-01-28don't use TOOLSDIR for svnversion.sh as it causes error messages when ↵Dominik Riebeling1-1/+1
building the manual (because of some build system trickery used) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12133 a1c6a512-1295-4272-9138-f99709370657
2007-01-25try somewhat harder to find the actual svn revDaniel Stenberg1-1/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12110 a1c6a512-1295-4272-9138-f99709370657
2007-01-24better lispDaniel Stenberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12104 a1c6a512-1295-4272-9138-f99709370657
2007-01-22Use the svn revision number for version information too, version string is ↵Dominik Riebeling3-2/+37
now "r<revision>-<builddate> unless there is a static version file (e.g. created by tools/release). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12090 a1c6a512-1295-4272-9138-f99709370657
2007-01-18Make RAW option explicitly little-endian and ensure that bmp2rb works the ↵Dave Chapman1-20/+20
same on both little-endian and big-endian hosts. Fix bug with generating <= 8-bit raw output on big-endian hosts. Also remove TAB characters, C99 variable declarations and extremely long lines in the source. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12063 a1c6a512-1295-4272-9138-f99709370657
2007-01-18Add swap bytes optionGreg White1-6/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12060 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Fix commentGreg White1-17/+17
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12054 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Add raw file generationGreg White1-4/+32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12048 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Remove sysfont.h when doing make clean.Barry Wardell1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12046 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Fix build warnings and errors.Barry Wardell1-4/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12044 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Make the build system create a sysfont.h which includes font information for ↵Barry Wardell1-2/+68
the system font. Available #defines are: SYSFONT_NAME, SYSFONT_FACENAME, SYSFONT_WIDTH, SYSFONT_HEIGHT, SYSFONT_SIZE, SYSFONT_ASCENT, SYSFONT_DESCENT, SYSFONT_FIRST_CHAR, SYSFONT_LAST_CHAR, SYSFONT_DEFAULT_CHAR, SYSFONT_PROPORTIONAL, SYSFONT_COPYRIGHT, SYSFONT_BITS_SIZE. Also fix a small bug in the iPod bootloader printf() code and use printf() for PortalPlayer bootloaders too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12041 a1c6a512-1295-4272-9138-f99709370657
2007-01-16allow find to follow symbolic links (mostly since the server is using thatDaniel Stenberg1-1/+2
a lot) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12032 a1c6a512-1295-4272-9138-f99709370657
2007-01-14The version string used in builds for version timestamps is now UTC insteadDaniel Stenberg1-2/+2
of the local time zone. Makes it a lot easier to compare builds and it makes build servers produce similarly stamped builed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12011 a1c6a512-1295-4272-9138-f99709370657
2007-01-14Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI ↵Dave Chapman1-1/+25
simulator (but with a dummy background image for now) and the beginnings of the target-specific firmare code. Port is temporarily using a 2bpp LCD buffer format - the AV300 has a 320x240 colour (YCbCr-based) LCD which will need a new framebuffer format and drawing routines, but the LCD is also capable of various paletted bitmap modes, one of which has an identical framebuffer format to the greyscale ipods. Buttons (and hence the button mappings) are identical to the Archos Recorder, with the exception that the PLAY button on the Recorder is replaced by pressing the joystick on the AV300 (which I call BUTTON_SELECT). The initial port will begin by being strictly HWCODEC, but will evolve to be a hybrid SWCODEC/HWCODEC platform - it has a MAS3587F but also a main CPU (54MHz arm7tdmi plus DSP) capable of software decoding of at least some formats. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12008 a1c6a512-1295-4272-9138-f99709370657
2007-01-13Setup LCD ourselves; move LCD buffer and TTB to free up 1.7MB of memoryGreg White1-58/+58
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11994 a1c6a512-1295-4272-9138-f99709370657
2007-01-11Correct the usage information for the Archos Multimedia format (this looks ↵Dave Chapman1-2/+2
like a copy-and-paste error from scamble), plus fix an error message git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11981 a1c6a512-1295-4272-9138-f99709370657
2007-01-09Removed executable flagLinus Nielsen Feltzing4-0/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11967 a1c6a512-1295-4272-9138-f99709370657
2007-01-08Enable ROM file generation for H120/H140.Miika Pekkarinen2-1/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11947 a1c6a512-1295-4272-9138-f99709370657
2006-12-29merge a big part of the unofficial gigabeat cvs back. Includes working ↵Marcoen Hirschberg1-1/+1
bootloader and rockbox with audio. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11850 a1c6a512-1295-4272-9138-f99709370657
2006-12-23If the environment variable 'POOL' is set to a directory, this script willDaniel Stenberg1-3/+25
then check if there's a previously generated mp3 file in it and if so, use that instead of regenerating a new one. This should greately enhance processing speed when many phrases are similar between targets and over time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11835 a1c6a512-1295-4272-9138-f99709370657
2006-12-21Add the --add-bootloader-bin (-ab) option to add a binary bootloader (a raw ↵Dave Chapman1-36/+55
.bin file with no kind of header). This can be used to install the ipodlinux loader2 bootloader without needing to convert it to the Rockbox ".ipod" format. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11831 a1c6a512-1295-4272-9138-f99709370657
2006-12-19Add working dual-boot bootloaders for H10 and Sansa, which allow booting the ↵Barry Wardell2-3/+5
OF and Rockbox. Rolo also works. Changes made: Combine bootloader/h10.c and bootloader/e200.c into a common bootloader file (bootloader/main-pp.c) to be used by all mi4 based PortalPlayer targets. The file bootloader/main-pp.c is based off the old bootloader/h10.c with some minor changes to allow it to work on the Sansa too. This effectively adds a Sansa bootloader. Define MODEL_NAME string in config-*.h for use in bootloader. Split crt0-pp.S into separate files for bootloader and normal builds. Bootloader code is now in crt0-pp-bl.S while normal build code stays in crt0-pp.S. Improvements to crt0-pp.S and crt0-pp-bl.S (mostly to make it more multiprocessor safe): * Leave space in bootloader at 0xe0-0xeb since scramble writes over there when it creates the mi4 file (don't leave space for iPods since it's not needed and all code in crt0-pp-bl.S needs to fit before the boot_table at 0x100). * Remove unused DEBUG and STUB code from crt0-pp.S. * Make CPU wait for COP to be sleeping when we put the COP to sleep. * Invalidate COP cache when COP wakes * Flush CPU cache before waking COP * Make sure only the CPU clears the BSS (not the COP) * Make sure only the CPU sets up its own stack (not the COP) Rolo works on H10, so enable it. Make Sansa e200 use rockbox.e200 rather than PP5022.mi4 for 'Normal' builds. This makes updating rockbox simpler as we don't need to go through the firmware update procedure, but rather just put a new rockbox.e200 on the device. rockbox.e200 uses a simple 'add' checksum. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11815 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Add ipodpatcher to the source tarballsDave Chapman1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11800 a1c6a512-1295-4272-9138-f99709370657
2006-12-17OopsDave Chapman1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11793 a1c6a512-1295-4272-9138-f99709370657
2006-12-17Add a simple --scan option which tests all disks from 0 to 25 to see if they ↵Dave Chapman4-62/+149
look like an ipod. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11792 a1c6a512-1295-4272-9138-f99709370657
2006-12-16Default to 512-byte sectors on POSIX platforms - this allows testing of ↵Dave Chapman1-1/+2
ipodpatcher with a file instead of a real device git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11774 a1c6a512-1295-4272-9138-f99709370657
2006-12-15Windows appears to require sector-aligned reads, which wasn't happening ↵Dave Chapman1-23/+47
everywhere for ipods with 2048-byte sectors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11770 a1c6a512-1295-4272-9138-f99709370657
2006-12-15Attempt #2 at moving the images to make space for the bootloader. The ↵Dave Chapman1-15/+14
previous attempt was completely broken. This should hopefully fix the --add-bootloader functionality. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11769 a1c6a512-1295-4272-9138-f99709370657
2006-12-15Reorganise the ioctl() #ifdefs - this should fix ipodpatcher for BSDDave Chapman1-7/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11768 a1c6a512-1295-4272-9138-f99709370657
2006-12-14Fix a problem when compiling with Dev-C++ - thanks to Paul LoudenDave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11766 a1c6a512-1295-4272-9138-f99709370657