Commit graph

848 commits

Author SHA1 Message Date
Daniel Stenberg
1d16efbff8 Reverted my "xargs ls" thing since it broke the build in a way that I'm not
entirely sure about. I'll rethink and make the fix differently.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13415 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 18:06:34 +00:00
Daniel Stenberg
c30ee8bc90 Fix this to better deal with non-existing file names entered in the SOURCES
file as it otherwise seriously screws up the build system and creates very
odd errors that are hard to track down.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13414 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 17:28:52 +00:00
Daniel Stenberg
cca0e3d8f8 FS#5472 add a memory size prompt to configure to allow ipod video builds for
64 MB ram


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13408 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 14:35:11 +00:00
Karl Kurbjun
8a1fd8c686 Commit FS#6929 - Gigabeat bootloader improvements by Barry Wardell and myself. This build fixes the problems seen with the latest builds on the Gigabeat X. Added View IO Ports under the Debug menu for the Gigabeat. Make sure you grab the latest bootloader from the Wiki as the old bootloader will not work properly with new builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13225 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 04:48:20 +00:00
Daniel Stenberg
48d90d3114 1) make the mkinfo work with sizes even when make -j is used
2) disable rombox from getting built on the targets on which it hasn't been
   working for months


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13223 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 20:51:49 +00:00
Daniel Stenberg
76cc6f7651 provide CPU and Manufacturer as well, and moved around the makefile somewhat
so that "make -k" still can output a rockbox-info.txt file even if the build
(partly) fails


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13219 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 13:47:30 +00:00
Daniel Stenberg
0a1d4820e6 more info added to the output file, some comments added to the code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13218 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 13:36:56 +00:00
Daniel Stenberg
f080ff0b0e clean rockbox-info.txt as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13217 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 13:02:22 +00:00
Daniel Stenberg
10d11fff7d introducing rockbox-info.txt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13216 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 12:53:40 +00:00
Daniel Stenberg
f6209cc959 a little extra poke to get the sim to build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13215 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 11:58:39 +00:00
Daniel Stenberg
77854b7b92 Removed the question for simulator type and skipped the check for sound
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13214 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 11:27:03 +00:00
Daniel Stenberg
ef1109ad93 refuse to continue if pwd contains space, since the rest of the script
doesn't act correctly then! 


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13213 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 11:02:16 +00:00
Marcoen Hirschberg
6ffbe3896b move the iriver ifp7xx and other pnx0101 related files together in the target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13207 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 10:14:55 +00:00
Marcoen Hirschberg
f44f961812 move the Gigabeat from gigabeat/meg-fx to s3c2440/gigabeat-fx to avoid problems with possible ports in the future: Gigabeat S/V (i.mx31 based) and Kenwood HD20GA7/HD20GA9 (s3c2440 based)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13200 a1c6a512-1295-4272-9138-f99709370657
2007-04-18 12:22:27 +00:00
Jonathan Gordon
a9c1df4001 * its name[rows][columns] you drongo!
* make custom viewer icons work slightly better
* minor nit-picks to keep crop happy
* create a /.rockbox/themes/default_rockbox_icons.cfg to restore the default icons easily


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13183 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 14:33:29 +00:00
Jonathan Gordon
bfa5577869 copy+paste mistake
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13178 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 09:59:27 +00:00
Jonathan Gordon
6a5cc0bd25 Customizable icons for all bitmap targets. (FS#7013)
http://www.rockbox.org/twiki/bin/view/Main/CustomIcons for info on format and how to load them


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13177 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 09:14:36 +00:00
Barry Wardell
ddf83009a1 Switch to mi4 format for Rockbox binary on H10 and Sansa. This means we now only have one binary format to deal with on this target. Users with bootloaders older than 20 March 2007 will have to update. Up to date ones are already on download.rockbox.org since that date.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13134 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 21:07:35 +00:00
Jens Arnold
abd103c315 Enable building WPSs and themes for charcell targets, and add an example WPS using special charcell progress and text alignment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13015 a1c6a512-1295-4272-9138-f99709370657
2007-04-04 06:26:53 +00:00
Jens Arnold
5a69689188 Replace obsolete generate_rocklatin tool with player_unifont tool.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13014 a1c6a512-1295-4272-9138-f99709370657
2007-04-04 00:16:11 +00:00
Jens Arnold
738c37cdcf Player: Reduced the selectable codepages to those which can actually work, and made them work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12990 a1c6a512-1295-4272-9138-f99709370657
2007-04-01 13:09:22 +00:00
Jens Arnold
ad4e3d6657 First step of charcell LCD code rework: * Make it fully unicode aware so that adding non-ISO8859-1 scripts becomes possible (limited by the LCD capabilities of course). * Make the API more similar to the bitmap LCD code's API. * Moved hardware dependent parts to target tree. * Simplified code. * Jumpscroll temporarily non-functional.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12916 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 07:52:13 +00:00
Barry Wardell
176cd65e4c Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12893 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 15:59:58 +00:00
Barry Wardell
149a7bab5b Make Gigabeat's scramble endian-safe.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12892 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 15:53:37 +00:00
Barry Wardell
3bf7f29312 Oops, shouldn't have committed this just yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12866 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 22:19:30 +00:00
Barry Wardell
7cd559dde0 Oops, the mi4 magic was being looked for in the wrong place when decrypting. Also decrease verbosity of PP bootloader a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12865 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 22:18:35 +00:00
Daniel Stenberg
a1d0ad9cf2 remove the debug output again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12854 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 12:38:54 +00:00
Daniel Stenberg
70a3524730 fix binary extension check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12853 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 12:37:41 +00:00
Barry Wardell
101ec7eb9a FS#6840 - Move rockbox.* inside .rockbox on targets that allow it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12851 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 12:00:50 +00:00
Barry Wardell
14ed3ca8d8 In preparation for use with sansapatcher, change portalplayer bootloaders to read firmwares in mi4 format.
When loading the OF:
1) first try to load from a hidden disk partition
2) try loading /System/OF.mi4
3) finally fall back to loading /System/OF.bin which is what the old bootloader used.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12802 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:28:00 +00:00
Daniel Stenberg
31d5aaeaf1 pass the output from 'svn update' to this script, and it will say rebuild if
a distributed rebuild would be justified


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12790 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 22:31:32 +00:00
Barry Wardell
84ff46a270 The mi4 CRC should start at 0x200, not 0x1c.
Also fix copy-paste error in comment.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12779 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 13:04:38 +00:00
Daniel Stenberg
5b5162547c match target names more explicitly so that h10 won't match h100 etc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12769 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 23:02:36 +00:00
Linus Nielsen Feltzing
7340c33748 Add support for building only the plugins by running "make rocks"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12766 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 20:05:19 +00:00
Barry Wardell
12df774d9f Add support for scramble to put a 4 character string indicating binary type and the 4 character model id at the end of the mi4 header.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12760 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 13:51:05 +00:00
Daniel Stenberg
b46f1acc70 fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12736 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 12:56:35 +00:00
Daniel Stenberg
19bba742e7 simplified the code and now invokes gcc to figure out specific target specifics
to allow better crafting of zips for specific target configs


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12734 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 10:51:08 +00:00
Daniel Ankers
8daa916aaa Make rockboxdev.sh build ARM libgcc with support for thumb code interworking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12613 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 00:20:38 +00:00
Jens Arnold
b4994a08ca Added new iAudio M5 target, including some adjustments to make the bootloader compile (with a small change against the committed tools/tonfigure, and it won't actually work yet).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12588 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 14:09:21 +00:00
Robert Kukla
c4e1f9c0b0 fix player builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12556 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 00:57:58 +00:00
Robert Kukla
ba366a0ffd - rename (D)evel Build to (A)dvanced Build
- add RTC mod and 8MB mod as options (when appropriate)
- the old prompt for memory size (between "#remove start" and "#remove end") should be removed as soon as the distributed build script uses the new options


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12555 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 00:36:54 +00:00
Linus Nielsen Feltzing
fab0184870 Add support for iAudio M5 in the scramble tool
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12517 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 07:42:03 +00:00
Thom Johansen
94c02493a9 No need to download the huge gcc tarball, gcc-core will do fine for us.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12497 a1c6a512-1295-4272-9138-f99709370657
2007-02-26 16:10:53 +00:00
Daniel Stenberg
87865a5227 Initial take at providing a Sansa e200R build target. Only the bootloader build
differs from the plain Sansa e200.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12466 a1c6a512-1295-4272-9138-f99709370657
2007-02-23 22:57:01 +00:00
Daniel Stenberg
34080491fa support scrambling for the Sansa R models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12465 a1c6a512-1295-4272-9138-f99709370657
2007-02-23 22:45:00 +00:00
Dave Chapman
a2ef94ed87 Correct the usage for the -add option - add mn2g and change x5 to iax5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12461 a1c6a512-1295-4272-9138-f99709370657
2007-02-23 19:38:38 +00:00
Linus Nielsen Feltzing
b58e4e79ff Use -ffunction-sections and -fdata-sections for all bootloaders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12449 a1c6a512-1295-4272-9138-f99709370657
2007-02-22 10:05:39 +00:00
Dominik Riebeling
3d2e5c6dc4 Fixes for BSD. Thanks to Lutz Böhne.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12421 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 23:01:25 +00:00
Daniel Stenberg
20a5926d2e build with -Wundef to make sure we have spelled the defines right in #if lines
and have the proper includes included etc


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12360 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 21:54:17 +00:00
Jens Arnold
471d881979 ARM targets: Making a few functions non-static allows us to get rid of -ffunction-sections, significantly decreasing binary size and making things run a bit faster because static functions are no longer long_call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12349 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 11:19:14 +00:00
Miika Pekkarinen
9b9539c8d3 Make database endianess independent.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12297 a1c6a512-1295-4272-9138-f99709370657
2007-02-13 21:51:18 +00:00
Dave Chapman
955afed1b7 Move ipodpatcher into rbutil directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12263 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 19:49:43 +00:00
Dave Chapman
6bd75aa0a5 Update version number to 0.8 ready for release. Also move the "Press ENTER 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-09 10:47:37 +00:00
Dan Everton
3e4613ac89 The inevitable 'oops' commit. Add libspeex to the configure script.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12242 a1c6a512-1295-4272-9138-f99709370657
2007-02-09 10:16:43 +00:00
Dave Chapman
46424301c3 Display some advice when no ipods are found in interactive mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12240 a1c6a512-1295-4272-9138-f99709370657
2007-02-09 09:45:29 +00:00
Dave Chapman
79a1fb1b29 Move the command-line specific code into main.c, leaving the firmware 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-08 23:57:41 +00:00
Dave Chapman
eca5222cad Bugfix - the bootloader was being overwritten if the firmware partition 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-08 21:31:38 +00:00
Dave Chapman
c76dfb3aa6 Ooops, the default build mode should have been without the embedded bootloaders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12236 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 18:22:23 +00:00
Dave Chapman
bdc27ff20c Work-in-progress (i.e. not well tested) changes: Add the option to build 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-08 18:05:50 +00:00
Dave Chapman
dd50c863e6 Oops, we should close the devices during the scan
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12217 a1c6a512-1295-4272-9138-f99709370657
2007-02-06 22:48:30 +00:00
Dave Chapman
1026c0f5b2 Make the [device] parameter optional. If none is specified, then 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 21:00:56 +00:00
Dave Chapman
9d15361758 Bump version to 0.7 for release
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12212 a1c6a512-1295-4272-9138-f99709370657
2007-02-06 09:15:00 +00:00
Dave Chapman
6e641e81ed Support for modifying the firmware partition on Macpods (useful for IPL 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-05 18:29:39 +00:00
Dave Chapman
e332f4c2ea Update (C) date to 2007
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12205 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 01:20:20 +00:00
Jens Arnold
7170a00daa Enable building ipodpatcher (pure win32 binary) on cygwin with a simple 'make'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12202 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 00:50:49 +00:00
Dave Chapman
eee9798d8d Bump version to 0.6 ready for new release
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12200 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 23:57:06 +00:00
Dave Chapman
c500b968b8 Fix compile error on BSD and Mac OS and remove a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12199 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 23:41:47 +00:00
Dave Chapman
33e1515662 Bugfix. ipodpatcher wasn't correctly deciding when to rearrange the 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-04 13:04:23 +00:00
Dave Chapman
31aa4524da Mainly internal changes to create a struct ipod_t instead of passing lots of 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-02-04 11:42:11 +00:00
Dave Chapman
1bb3d2601f Minor bugfix - use O_TRUNC when reading the firmware partition.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12150 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 20:17:59 +00:00
Dominik Riebeling
dcbf5d492b don't use TOOLSDIR for svnversion.sh as it causes error messages when 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-28 17:06:59 +00:00
Daniel Stenberg
8a9b426c95 try somewhat harder to find the actual svn rev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12110 a1c6a512-1295-4272-9138-f99709370657
2007-01-25 11:39:30 +00:00
Daniel Stenberg
a239bb26c5 better lisp
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12104 a1c6a512-1295-4272-9138-f99709370657
2007-01-24 15:32:39 +00:00
Dominik Riebeling
ea37d4c072 Use the svn revision number for version information too, version string is 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-22 23:09:07 +00:00
Dave Chapman
024537d5b6 Make RAW option explicitly little-endian and ensure that bmp2rb works the 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-18 09:30:25 +00:00
Greg White
f21122dff7 Add swap bytes option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12060 a1c6a512-1295-4272-9138-f99709370657
2007-01-18 02:25:21 +00:00
Greg White
1ab8f32780 Fix comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12054 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 19:54:35 +00:00
Greg White
b3c66f5d74 Add raw file generation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12048 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 18:30:04 +00:00
Barry Wardell
020dbcd1cf Remove sysfont.h when doing make clean.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12046 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 16:10:26 +00:00
Barry Wardell
8d991e7601 Fix build warnings and errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12044 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 12:53:23 +00:00
Barry Wardell
f4709d0c7c Make the build system create a sysfont.h which includes font information for 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-17 12:20:38 +00:00
Daniel Stenberg
d1e2ce2918 allow find to follow symbolic links (mostly since the server is using that
a lot)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12032 a1c6a512-1295-4272-9138-f99709370657
2007-01-16 22:59:25 +00:00
Daniel Stenberg
16c602f023 The version string used in builds for version timestamps is now UTC instead
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-14 14:15:18 +00:00
Dave Chapman
d64e626387 Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI 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-14 13:48:09 +00:00
Greg White
355be5010a Setup LCD ourselves; move LCD buffer and TTB to free up 1.7MB of memory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11994 a1c6a512-1295-4272-9138-f99709370657
2007-01-13 02:24:15 +00:00
Dave Chapman
107d0eb921 Correct the usage information for the Archos Multimedia format (this looks 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-11 00:35:06 +00:00
Linus Nielsen Feltzing
e2022a26d0 Removed executable flag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11967 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:29:07 +00:00
Miika Pekkarinen
b1af4e6cc8 Enable ROM file generation for H120/H140.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11947 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 18:21:12 +00:00
Marcoen Hirschberg
295367686e merge a big part of the unofficial gigabeat cvs back. Includes working bootloader and rockbox with audio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11850 a1c6a512-1295-4272-9138-f99709370657
2006-12-29 02:49:12 +00:00
Daniel Stenberg
37aeb12cc9 If the environment variable 'POOL' is set to a directory, this script will
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-23 22:03:49 +00:00
Dave Chapman
26b02415cb Add the --add-bootloader-bin (-ab) option to add a binary bootloader (a raw .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-21 21:34:46 +00:00
Barry Wardell
2f16d4f1b3 Add working dual-boot bootloaders for H10 and Sansa, which allow booting the 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-19 11:33:53 +00:00
Dave Chapman
af15c6b266 Add ipodpatcher to the source tarballs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11800 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 13:07:55 +00:00
Dave Chapman
440353a9aa Oops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11793 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 23:04:40 +00:00
Dave Chapman
57b84b69e9 Add a simple --scan option which tests all disks from 0 to 25 to see if they look like an ipod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11792 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 23:00:15 +00:00
Dave Chapman
945be68825 Default to 512-byte sectors on POSIX platforms - this allows testing of 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-16 13:49:14 +00:00
Dave Chapman
d772977c65 Windows appears to require sector-aligned reads, which wasn't happening everywhere for ipods with 2048-byte sectors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11770 a1c6a512-1295-4272-9138-f99709370657
2006-12-15 15:52:08 +00:00
Dave Chapman
408c65bb21 Attempt #2 at moving the images to make space for the bootloader. The 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-15 09:55:21 +00:00
Dave Chapman
49e016c48f Reorganise the ioctl() #ifdefs - this should fix ipodpatcher for BSD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11768 a1c6a512-1295-4272-9138-f99709370657
2006-12-15 00:09:48 +00:00
Dave Chapman
e84837558b Fix a problem when compiling with Dev-C++ - thanks to Paul Louden
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11766 a1c6a512-1295-4272-9138-f99709370657
2006-12-14 22:17:38 +00:00
Dave Chapman
75a11124f0 Implement the add/delete bootloader functionality.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11765 a1c6a512-1295-4272-9138-f99709370657
2006-12-14 18:41:03 +00:00
Dave Chapman
a24b02c1e6 Bugfix - when opening a device as read/write, one should open a device as read/write.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11763 a1c6a512-1295-4272-9138-f99709370657
2006-12-14 11:20:53 +00:00
Dave Chapman
cd06755e04 Use the correct length when extracting the firmware. Thanks again to Llorean for spotting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11762 a1c6a512-1295-4272-9138-f99709370657
2006-12-14 10:16:10 +00:00
Dave Chapman
132b24163c Ooops, I should compile things before committing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11761 a1c6a512-1295-4272-9138-f99709370657
2006-12-14 09:40:15 +00:00
Dave Chapman
8f08f29a66 Correct a bug (thanks to Llorean for spotting) in read_partition and use the aligned global sectorbuf for the disk read in read_partinfo instead of a local variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11756 a1c6a512-1295-4272-9138-f99709370657
2006-12-14 02:32:39 +00:00
Dave Chapman
c5e30e15ec Start to implement some functionality. You can now read/write the entire partition (as ipodpatcher used to do), extract the original firmware to an "apple_os.ipod" file, or replace the original firmware with either a Rockbox bootloader or Rockbox itself. Adding/Removing a bootloader isn't yet implemented.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11755 a1c6a512-1295-4272-9138-f99709370657
2006-12-14 01:24:05 +00:00
Dave Chapman
c657504e58 Change the ipod bootloaders to be created as ".ipod" files - this will be the format required by the new version of ipodpatcher. Also change the bootloader filenames to include the model name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11754 a1c6a512-1295-4272-9138-f99709370657
2006-12-14 01:10:44 +00:00
Dave Chapman
8280c8c094 Sector-size detection on Posix platforms - tested on Linux and Mac OS X. Based on patch #6433 by Bryan Childs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11752 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 20:26:44 +00:00
Dave Chapman
4b7e1e0945 Work-in-progress towards a cross-platform ipodpatcher which will edit the firmware partition directly, incorporating the ipod_fw.c functionality. Tested successfully on win32 and Linux but it only lists the contents of the firmware partition at the moment - no actual reading or writing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11748 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 09:02:18 +00:00
Dave Chapman
8a55822ae3 Version 0.4b from 11 Dec 2006 - 0.4 broke win2k/winnt support, this patch restores it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11747 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 08:59:58 +00:00
Dave Chapman
206238d947 Version 0.4 from 4 Dec 2006 - added sector-size detection and hence support for 5.5G ipods
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11746 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 08:59:07 +00:00
Dave Chapman
2c9c10e040 Version 0.3 from 30 Jan 2006
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11745 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 08:58:10 +00:00
Dave Chapman
45895df35d Initial CVS commit ofipodpatcher - v0.2 release from 16 Jan 2006
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11744 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 08:57:06 +00:00
Martin Arver
440513ab6a Stop building, and remove dumb as it has not changed state since its initial committed state
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11718 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 21:00:14 +00:00
Dave Chapman
3f85262de2 Initial attempt at adding support for firmware images with 2048-byte sectors. Sector size is auto-detected, so both 5g and "5.5g" users can use the "-g video" (or its alias, "-g 5g") option to manipulate the firmware. I have tested this patch with 3G, 4G and 5G (512-byte sectors) and 5G (2048-byte sectors) images and it generates a "rockboot.bin" file with a matching MD5 checksum to either the previous version of ipod_fw.c, or the patched "ipod_fw_5.5g.c", as appropriate.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11703 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 11:02:48 +00:00
Dave Chapman
7ccb505488 Sync with ipodlinux CVS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11697 a1c6a512-1295-4272-9138-f99709370657
2006-12-09 10:08:36 +00:00
Jens Arnold
0e6dd7efcd Moved archos button reading to target tree. * Cleanup of button.[ch]. * Deactivated serial remote code for recorder FM/V2 as there is no remote pin, saving ~500 bytes of code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11612 a1c6a512-1295-4272-9138-f99709370657
2006-11-27 02:16:32 +00:00
Jonas Häggqvist
e43f56b58d Change default filenames from tagcache to database
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11611 a1c6a512-1295-4272-9138-f99709370657
2006-11-27 00:21:37 +00:00
Daniel Ankers
d3069d00c0 Use scramble for normal Sansa builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11592 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 13:36:05 +00:00
Jonas Häggqvist
069c54d5d8 Build wavtrim and voicefont when building voicefile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11576 a1c6a512-1295-4272-9138-f99709370657
2006-11-23 11:03:04 +00:00
Jonas Häggqvist
ee61057cea Use gmake rather than make, if available. Patch FS#6340 by Lutz Böhne
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11571 a1c6a512-1295-4272-9138-f99709370657
2006-11-22 09:07:45 +00:00
Daniel Ankers
2502e68113 Correct the colours in the logo on Sansa
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11566 a1c6a512-1295-4272-9138-f99709370657
2006-11-21 22:26:10 +00:00
Jens Arnold
210fb6ac44 Fix sh2d to work properly on non-32bit hosts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11565 a1c6a512-1295-4272-9138-f99709370657
2006-11-21 20:06:06 +00:00
Miika Pekkarinen
f752a5aa90 Check if file has already been removed from DB when manually invoking
reverse scan.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11556 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 19:11:30 +00:00
Jonas Häggqvist
5970ffc073 Remove rootdir guessing since it's no longer necessary to guess.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11550 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 22:43:55 +00:00
Jonas Häggqvist
f45982abcd Fix an error in configure when run from strange places.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11549 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 22:17:48 +00:00
Miika Pekkarinen
3875b57667 fds are pointers, not ints.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11516 a1c6a512-1295-4272-9138-f99709370657
2006-11-12 02:29:52 +00:00
Jens Arnold
b3d2017057 Changed the filename for determining the firmware root dir, as crt0.S no longer exists. We need a less tree dependent check....
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11506 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 20:44:46 +00:00
Jens Arnold
780f79e7a4 Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 20:26:01 +00:00
Miika Pekkarinen
cdc2c3b653 Enable all Rockbox supported formats for the database command line
utility.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11499 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 11:48:23 +00:00
Miika Pekkarinen
0dd7ea2d71 Support building tagcache db natively on PC using the core of the
Rockbox tagcache database engine. Only host endian support at the
moment and no command line parameters. Mainly for developers for
debugging at the moment.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11497 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 08:03:33 +00:00
Tomasz Malesinski
6e992abf36 Target tree support for Iriver iFP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11485 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 22:58:35 +00:00
Jonas Häggqvist
e543901777 I think I'm really done now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11450 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 11:48:00 +00:00
Jonas Häggqvist
08f4a42f7d Oops, only meant to change the error, not the shebang
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11449 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 11:40:10 +00:00
Jonas Häggqvist
8ff1d63d2c Last POSIX fix of the day. I think I'll never make that mistake again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11448 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 11:21:11 +00:00
Jonas Häggqvist
519461c764 Another POSIX fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11447 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 11:19:14 +00:00
Jonas Häggqvist
18797f6cb9 This should fix a problem with some shells
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11430 a1c6a512-1295-4272-9138-f99709370657
2006-11-04 02:32:03 +00:00
Jonas Häggqvist
1fdb5221bd Include *.sh in tarballs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11427 a1c6a512-1295-4272-9138-f99709370657
2006-11-03 22:01:02 +00:00
Jonas Häggqvist
da071d0d7c Voice update, most useful for non-Windows systems. Voice file building using Festival, Flite or eSpeak from the configure script. Compressing with Speex and Vorbis possible, but won't create useable voicefiles. Adds voicefont.c and wavtrim.c by Jörg Hohensohn. Also includes a script to generate talk clips.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11426 a1c6a512-1295-4272-9138-f99709370657
2006-11-03 21:47:52 +00:00
Jonathan Gordon
cad563b00f move the iriver h1x0/h3x0 button driver to target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11380 a1c6a512-1295-4272-9138-f99709370657
2006-10-29 10:26:41 +00:00
Jens Arnold
3b54ab3224 Output the 'old make version' warning without prefix in order to not confuse the build colouring script.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11379 a1c6a512-1295-4272-9138-f99709370657
2006-10-29 09:42:30 +00:00
Jens Arnold
56e75bee23 Make the build process informative again for 'make' 3.80 and earlier. Those 'make' versions are back to lower build speed (same as before my Makefile tuning).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11376 a1c6a512-1295-4272-9138-f99709370657
2006-10-28 22:42:16 +00:00
Daniel Stenberg
dd0e6e75a0 prevent the incorrect warnings displayed when -u was used, added additional
info to the warning output and moved a comment to the accurate place


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11371 a1c6a512-1295-4272-9138-f99709370657
2006-10-28 17:05:42 +00:00
Jens Arnold
a796260a6b Next step of Makefile tuning: * Use 'make' internal commands for printing messages. Saves build time especially on cygwin. * SILENT variable used in more places. * Bitmap build system uses one Makefille less.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11369 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 21:48:06 +00:00
Jens Arnold
d1ce4e779e Consistent style of 'make' messages. Always use ranlib after ar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11322 a1c6a512-1295-4272-9138-f99709370657
2006-10-23 22:33:39 +00:00
Dominik Riebeling
abac739767 Manual Makefile tweaks:
- remove html output folder on "make clean"
- fix "make manual" that was broken for some targets (e.g. h100) when configured for normal / sim build
- add manual-txt target to generate a plain text version. Requires links.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11319 a1c6a512-1295-4272-9138-f99709370657
2006-10-23 18:09:38 +00:00
Jens Arnold
43528c770e Make the SDL simulator a console app on cygwin, and circumvent SDL_main. Debug output finally appears on the console again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11309 a1c6a512-1295-4272-9138-f99709370657
2006-10-22 12:41:13 +00:00
Jens Arnold
0cc8b7113c Speed up build process in general by using internal functions of make instead of spawning sub-shells where possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11307 a1c6a512-1295-4272-9138-f99709370657
2006-10-22 00:21:57 +00:00
Daniel Stenberg
537c90b286 Make -t support a range of "targets", which reallly should be one target
and a range of named features.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11254 a1c6a512-1295-4272-9138-f99709370657
2006-10-18 07:41:00 +00:00
Daniel Stenberg
d77ae1d555 now only make bz2 archives, and rely on it being a GNU tar since we use the
-j option for it


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11241 a1c6a512-1295-4272-9138-f99709370657
2006-10-17 07:48:44 +00:00