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