Commit graph

264 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Daniel Stenberg
55d1675ada make mapzip creates a dedicated zip file with all the .map files from a build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11236 a1c6a512-1295-4272-9138-f99709370657
2006-10-16 09:31:17 +00:00
Peter D'Hoye
ae3d7851ce Add 'make bin' to the 'make help' output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11140 a1c6a512-1295-4272-9138-f99709370657
2006-10-06 19:05:08 +00:00
Barry Wardell
d4945dc0d0 Move all iPod targets into the target tree. FS#5890
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11129 a1c6a512-1295-4272-9138-f99709370657
2006-10-05 10:58:51 +00:00
Barry Wardell
ce74dc0743 Cleaner implementation of the recent OSX simulator build fix. No need to define SHARED_FLAG in each Makefile. Just have configure create it in the root Makefile instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11095 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 20:04:36 +00:00
Barry Wardell
64f949f295 Allow UI simulator to be build on OS (Slightly updated version of FS5767)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11094 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 16:15:11 +00:00
Rani Hod
f2d3869a87 1. removed -g from default coldfire GCCOPTS (still active for debug builds).
2. enabled GCCOPTIMIZE for all non-debug builds, e.g., logf builds.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10994 a1c6a512-1295-4272-9138-f99709370657
2006-09-18 18:13:33 +00:00
Barry Wardell
24ca76ffec H10 fixes: Split LCD driver up into two drivers, one for each LCD type. Improvements to 20GB LCD driver - support for enable/disable, contrast adjustment, make the update code clearer and ~4% faster, support for flipping, support for invert. Fix CPU frequency for both models. Fix default battery capacity for 5/6GB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10910 a1c6a512-1295-4272-9138-f99709370657
2006-09-09 19:02:18 +00:00
Magnus Holmgren
4ae9655f71 Use a better target cpu for gcc when building for coldfire targets. Makes the code slightly smaller and slightly faster. Tested with gcc 3.4.6 and 4.0.3. You'll need to re-run configure for this to be applied.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10880 a1c6a512-1295-4272-9138-f99709370657
2006-09-04 18:34:29 +00:00
Daniel Stenberg
141b60d6ce make target_id for tpj1022 unique, 23 was already in use
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10833 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 20:46:11 +00:00
Dave Chapman
657dcb5165 Initial commit of work for port to the Tatung Elio TPJ-1022 - yet another PortalPlayer PP5020 target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10828 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 19:19:35 +00:00
Dave Chapman
6af8603d9a Document the new boottool and bootoutput variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10826 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 12:31:16 +00:00
Barry Wardell
3d10a810ed H10 changes: power_off() now actually powers off. Fix wrong bitwise operation when disabling sound. Fix filenames when building a bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10822 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 09:59:35 +00:00