Commit graph

553 commits

Author SHA1 Message Date
Rafaël Carré
2c29abdfde m200v4/clipv1/c200v2: build with -Os
The small speed decrease is worth the size saving on these players with
2MB of ram

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26735 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 02:26:19 +00:00
Thomas Martitz
efbc5df5f7 Look for CROSS_COMPILE when building the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26589 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 17:09:04 +00:00
Thomas Martitz
1dcc21d846 Upgrade the ARM eabi toolchain to gcc 4.4.4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26366 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 23:41:16 +00:00
Rafaël Carré
5d236b2bfd Generate C file / header for svn version string
It's now easier to force rebuild of files depending on the svn revision

version.c/version.h are generated once with new tools/genversion.sh
Changes in the VCS are still not auto detected, so you'll have to remove
builddir/version.* if you want to change the string in your binaries

APPSVERSION is now called RBVERSION and is defined in the generated
header instead of being defined by the Makefiles
appsversion is now called rbversion (the plugin api number didn't change
since old modules are still binary compatible)

Change some bootloaders to use knwon-at-buildtime RBVERSION instead of
"%s" + rbversion

You'll need to run make clean to regenerate dependencies after the
removal of apps/version.h

To build binaries with a different version string, hand-edit
tools/version.sh or tools/genversion.sh (which calls the former)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26320 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 09:41:46 +00:00
Magnus Holmgren
6688988ec4 Make 'make reconf' remember the use of --ccache and --no-ccache. Only works after the next configure run.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26252 a1c6a512-1295-4272-9138-f99709370657
2010-05-24 16:05:49 +00:00
Jonathan Gordon
b6867dc998 split the radio code into multiple files in the hope that makes it more likely for someone to want to work on! :D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26109 a1c6a512-1295-4272-9138-f99709370657
2010-05-17 15:03:59 +00:00
Thomas Martitz
3d0cee8abb - Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c.
- Refactor the program startup. main() is now in main.c like on target, and the implicit application thread will now act as our main thread (previously a separate one was created for this in thread initialization).

This is part of Rockbox as an application and is the first step to make an application port from the uisimulator. In a further step the sim bits from the sdl build will be separated out.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26065 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 21:02:47 +00:00
Thomas Martitz
36568ed0c2 Remove -U_GNU_SOURCE again (was added in r25850). It turns out SDL doesn't work properly with it. The reason I added it for doesn't exist anymore (or, not yet).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25914 a1c6a512-1295-4272-9138-f99709370657
2010-05-09 14:17:35 +00:00
Frank Gevaerts
91249a5c7d Remove -fno-strict-aliasing for everyone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25888 a1c6a512-1295-4272-9138-f99709370657
2010-05-07 20:06:18 +00:00
Frank Gevaerts
6027b91603 Revert r25861, to avoid hiding real errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25883 a1c6a512-1295-4272-9138-f99709370657
2010-05-07 19:24:38 +00:00
Frank Gevaerts
4e09bd462a Use -fno-strict-aliasing on 4.0 as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25861 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 23:52:33 +00:00
Thomas Martitz
50a6ca39ad Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes).
This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 21:04:40 +00:00
Marcin Bukat
b09d3aec39 Add MPIO HD200 port - changed files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
2010-04-26 21:40:00 +00:00
Jens Arnold
beca69b3a6 Fix ATA power off builds for the Player so they actually use ATA power off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25591 a1c6a512-1295-4272-9138-f99709370657
2010-04-11 16:07:36 +00:00
Thomas Martitz
c06a23da79 Add T for plugins to the advanced build options to build all test_* plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25488 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 16:09:47 +00:00
Jens Arnold
b012671acb Set options so that the sim actually builds on Opensolaris. The build still throws hundreds of warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25487 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 16:07:39 +00:00
Jens Arnold
db2f0edfa9 Improve SDL detection, so that path order doesn't matter if both native SDL and cross-mingw32 SDL are present. Reduce code duplication as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25486 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 15:47:12 +00:00
Rafaël Carré
0f951b1de8 Fuzev2: use RGB565SWAPPED (pointed out by amiconn) => 91fps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25478 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 07:10:01 +00:00
Torne Wuff
4e5f948049 Change bootchart to be "c" in configure, instead of "b" which clashes with the ondio backlight mod
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25436 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 14:19:22 +00:00
Rafaël Carré
2831acd538 fuzev2: enable plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25427 a1c6a512-1295-4272-9138-f99709370657
2010-04-01 17:19:48 +00:00
Torne Wuff
52e528e057 Boot charting support.
Select (B)ootchart in advanced options in configure, and logf will record timings for various stages of boot, for performance comparisons. Format logged is:
BC:>function_name,123,80
where 123 is the line number, 80 is the number of ticks since boot. This can be loaded as CSV into a spreadsheet.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25426 a1c6a512-1295-4272-9138-f99709370657
2010-04-01 16:27:21 +00:00
Rafaël Carré
d3312b7f16 Fuzev2: fix build, use suited bitmap tool
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25342 a1c6a512-1295-4272-9138-f99709370657
2010-03-26 11:41:15 +00:00
Szymon Dziok
492fafe879 Packard Bell Vibe 500: remove the old bootloader code (actually a lack of code) and make the main-pp.c acting like a true bootloader for the DAP. It's the first step to integrate the DAP with the RBUtil.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25311 a1c6a512-1295-4272-9138-f99709370657
2010-03-23 21:28:25 +00:00
Jens Arnold
43f2382c3a Recognise (open)solaris as a valid simulator host OS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25254 a1c6a512-1295-4272-9138-f99709370657
2010-03-20 08:57:47 +00:00
Thomas Martitz
29a602cb80 Update rockboxdev.sh/configure for arm-elf-eabi-gcc 4.4.3 and binutils 2.20.1.
Additional slight change to rockboxdev.sh: strip the gcc folder from the patch paths (which contains the version), so that patches aren't strictly dependant on the gcc version. Add a sanity check for the case the patch fails to apply.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25070 a1c6a512-1295-4272-9138-f99709370657
2010-03-08 14:49:10 +00:00
Rafaël Carré
f61a7f77da Fuzev2: set compiler after manufacturer, so we can set gcc flags according to manufacturer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24913 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 14:49:31 +00:00
Thomas Martitz
0094b0500c Add Sansa Fuzev2 to the target tree. Bootloader builds, but is completely untested.
Compilation shows a warning for the first argument of the lcd_bitmap() call in show_logo().

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24911 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 13:26:46 +00:00
Frank Gevaerts
0eb50d5106 Make configure executable again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24910 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 13:06:15 +00:00
Yoshihisa Uchida
ec39c05519 tools/database: build process updates.
- buildable for Cygwin/MinGW.
- SDL cobfig is set by using SDL-config.
- metadata/*.c add automaticaly when database tool builds.
- bitmap files do not create when database tool builds.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24908 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 12:28:30 +00:00
Frank Gevaerts
614fb41ddb Add -DDEBUG to the checkwps build. The tool is supposed to give debug info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24870 a1c6a512-1295-4272-9138-f99709370657
2010-02-23 20:05:53 +00:00
Rafaël Carré
01a6efc669 Clipv2/Clip+: no need for -mlong-calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24867 a1c6a512-1295-4272-9138-f99709370657
2010-02-23 06:59:53 +00:00
Frank Gevaerts
4ddaee75e3 Disable rombox on ondio SP. It can be reenabled if the binsize goes down again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24823 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 21:48:47 +00:00
Michael Sparmann
c5bb1925eb Fix configure to not use -mlong-calls when configuring for EABI
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24811 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 18:41:33 +00:00
Michael Sparmann
2ec0312353 Make configure remember that it is supposed to use the EABI toolchain when make reconf is run
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24806 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 12:47:21 +00:00
Björn Stenberg
c6f2a90635 Added Packard Bell Vibe 500 to build list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24748 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 10:30:00 +00:00
Jens Arnold
b8eb272e48 libdemac: Add x86/x86_64 MMX asm for the filters. Not relevant for target but speeds up decoding on x86/x86_64 sims. Average speedup ranges from 25% for -c2000 to 3 times for -c5000; on Intel Atom it's even 45% for -c2000 to 6 times for -c5000.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24663 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 01:27:04 +00:00
Szymon Dziok
05577e48a8 Packard Bell Vibe 500: Start committing plugin keymaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24610 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 22:40:17 +00:00
Szymon Dziok
c2bd57a9b0 PBell vibe 500: ROLO fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24385 a1c6a512-1295-4272-9138-f99709370657
2010-01-30 21:11:18 +00:00
Szymon Dziok
f6b46caa40 PBell vibe 500: fix the modelname (first commit test)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24384 a1c6a512-1295-4272-9138-f99709370657
2010-01-30 20:42:54 +00:00
Frank Gevaerts
553626a958 Add initial Packard Bell Vibe 500 port, by Szymon Dziok
Author: Szymon Dziok 
Flyspray: FS#10912


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24276 a1c6a512-1295-4272-9138-f99709370657
2010-01-18 19:05:20 +00:00
Rafaël Carré
8b926e98f8 Add Sansa Clip+ target to test mkamsboot
UNTESTED, could ver well brick your Clip+
If it works, booting should just be delayed by a small delay (perhaps
not noticeable)
Hopefully the Clipv2 checks will work for Clip+ and then we'll be able
to test the other Clipv2 code (LCD/button)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24219 a1c6a512-1295-4272-9138-f99709370657
2010-01-13 03:05:29 +00:00
Rafaël Carré
2392bb4199 FS#10047 : Clipv2
Reuse some code from Clip (LCD) and a lot of code from AS3525
Add a new CPU type : AS3525v2, identical to AS3525 except it's an ARMv5 (arm926-ejs)
SD code still not working
For an unknown reason LCD doesn't work anymore (to be investigated)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24131 a1c6a512-1295-4272-9138-f99709370657
2009-12-31 19:15:20 +00:00
Jens Arnold
60012e195f Make TTS options actually work (fix variable name).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24115 a1c6a512-1295-4272-9138-f99709370657
2009-12-25 18:35:15 +00:00
Jens Arnold
b5ca489be9 Properly append advanced build options so that 'make reconf' works without requests (one more manual reconfiguration required).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24114 a1c6a512-1295-4272-9138-f99709370657
2009-12-25 18:33:47 +00:00
Mark Arigo
6908cc5235 Merry Christmas Gogear HDD6330 owners! This is the start of the HDD6330 port. At the moment, it's essentially a copy of the HDD1630 port with a minimal LCD driver. The touchpad doesn't work as expected, but you can still kind of navigate and listen to music/radio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24112 a1c6a512-1295-4272-9138-f99709370657
2009-12-25 04:05:01 +00:00
Björn Stenberg
bd3b58f86d Renamed special archosrecorderv2fm manual build to standard archosfmrecorder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24043 a1c6a512-1295-4272-9138-f99709370657
2009-12-17 13:53:17 +00:00
Michael Chicoine
ec64954c66 tools/configure does not let you select normal build for sansae200r - add similar logic for the simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23922 a1c6a512-1295-4272-9138-f99709370657
2009-12-10 19:48:14 +00:00
Björn Stenberg
f5ef0b9f10 Do not prompt for encoder and tts options. They are now command line only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23895 a1c6a512-1295-4272-9138-f99709370657
2009-12-08 10:24:59 +00:00
Björn Stenberg
0e74fceb8f Gigabeat f => fx fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23891 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 15:07:51 +00:00
Björn Stenberg
1386519e6b A few more target rename fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23887 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 13:40:08 +00:00