Commit graph

574 commits

Author SHA1 Message Date
Jens Arnold
fc2ff76647 Build iPod 1st/2nd Gen with EABI (main build and bootloader verified working).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26942 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 22:38:11 +00:00
Michael Sevakis
2b640ba4b8 Switch iPod 3G to use EABI toolchain. Make necessary threading changes to avoid use of stack after switching to idle stack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26898 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 20:15:58 +00:00
Jens Arnold
cf985f0381 Build properly scrambled and named bootloader files for iAudio M3, M5 and X5. X5V still needs manual intervention but it has been like that before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26846 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 17:49:30 +00:00
Frank Gevaerts
7b59f99a72 Build D2 with the old compiler again (configure)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26836 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 21:50:09 +00:00
Rafaël Carré
93460f50ba build cowond2 and iaudio7 with EABI, they aren't stable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26830 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 13:49:10 +00:00
Michael Sparmann
6711de902e SSwitch ipodnano2g to eabi in /trunk/tools/configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26828 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 13:46:24 +00:00
Robert Kukla
a331e0d3fb Build mrobe100 with EABI
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26816 a1c6a512-1295-4272-9138-f99709370657
2010-06-12 11:16:23 +00:00
Jens Arnold
e53b7e3e43 Build iPod Color, iPod Mini 2nd Gen and Sansa c200 with EABI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26814 a1c6a512-1295-4272-9138-f99709370657
2010-06-12 09:35:55 +00:00
Karl Kurbjun
0733405091 M:Robe 500 - Build with EABI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26811 a1c6a512-1295-4272-9138-f99709370657
2010-06-12 06:18:12 +00:00
Michael Sevakis
96364b6dc0 Build H10 5/6GB with EABI toolchain.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26809 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 23:40:25 +00:00
Andree Buschmann
a3f314bf16 Build iPod Video with EABI toolchain.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26802 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 22:13:59 +00:00
Michael Sevakis
6c921f5e04 Build h10 GB with EABI toolchain. Remove some pointless ICODE attributes from mp3_enc.codec and, to make it build, move one function out of IRAM there since it really shouldn't matter.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26800 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 21:21:36 +00:00
Thomas Martitz
1965745ad0 Build Sansa e200 with new eabi gcc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26790 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 19:36:17 +00:00
Michael Sevakis
db54033a15 Build Gigabeat F/X with EABI tools.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26787 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 19:07:04 +00:00
Michael Sevakis
60f843bf18 Configure Gigabeat S with EABI compiler by default. Implement the INIT section that this enables (due to selective need for long calls). Remove pcm_postinit from INIT section since it's asynchronous. Disable strict aliasing on SPC codec for now just to shut it up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26779 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 14:39:35 +00:00
Rafaël Carré
ba6d1b66f0 Warn when building an ARM target with non-eabi default compiler
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26773 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 12:16:19 +00:00
Rafaël Carré
b14c96df56 configure: don't use thumb on native builds (simulator/checkwps)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26772 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 12:16:15 +00:00
Rafaël Carré
2da430bda1 Make --thumb the default for AMSv1 with 2MB of RAM
Add an option for explicitely disabling thumb build

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26770 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 11:50:19 +00:00
Rafaël Carré
d9e4d6d889 Make EABI gcc the default for ARM platforms
Blacklist stable targets not tested enough and use the old gcc for these
Please test --eabi on these targets and remove them from the list when done

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26769 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 11:43:45 +00:00
Rafaël Carré
5928862e61 make thumb build a configure option (--thumb)
Put the USE_THUMB define in extradefines (Makefile), not in autoconf.h

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26764 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 11:19:00 +00:00
Rafaël Carré
675dcd1a9c FS#6734 by me: optionally build with -mthumb on ARM
You'll need a libgcc build with interworking enabled (our eabi gcc works)
Confirmed to work on Sansa AMS
Confirmed to boot on Gigabeat S
Not working on PP, linker generates invalid branches when mixing
ARM->thumb switches and long calls

Build time will be about 50% longer, because the gcc wrapper script
tries to build everything with -mthumb and falls back to default if it
fails (for example if the file uses inline ARM-only assembly)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26760 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 05:37:37 +00:00
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