Commit graph

637 commits

Author SHA1 Message Date
Amaury Pouly
08fb3f6574 Sansa Fuze+: initial commit (bootloader only, LCD basically working)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29808 a1c6a512-1295-4272-9138-f99709370657
2011-05-01 13:02:46 +00:00
Thomas Jarosch
0f440d108d Pandora port: Fix SDL detection, pkg-config is not supported
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29579 a1c6a512-1295-4272-9138-f99709370657
2011-03-13 12:46:59 +00:00
Maurus Cuelenaere
7228f2fa9f Android: use APPEXTRA instead of makefile hack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29567 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 16:08:36 +00:00
Thomas Jarosch
6e9e6a7571 RaaA: Add initial Pandora support
More information: www.openpandora.org

Possible things to implement:
- Special button mappings
- Battery monitoring
- ALSA audio backend
- Automate creation of "pnd" (=binary) file

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29451 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 23:42:37 +00:00
Thomas Jarosch
cc895b5853 New way to detect build for arm target in the maemo port.
Log detected CPU target.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29433 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 19:58:38 +00:00
Dave Chapman
376c9f3ad0 FS#11966 - use separate modelnames and config files for RaaA. This adds an APPLICATION define that can be used in Makefiles, and target-name defines (-DSDLAPP, -DANDROID, -DNOKIAN8XX and -DNOKIAN900) for use elsewhere. LCD size is now hard-coded for the Nokia builds in their config files. A new --app parameter is passed to buildzip.pl to explicitly state that this is an application build - it was previously derived from the model name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29418 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 11:37:39 +00:00
Thomas Martitz
194acc68a8 Android: Also enable some plugins
Plugins still default to grid mode so using them will be awkward.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29408 a1c6a512-1295-4272-9138-f99709370657
2011-02-26 21:00:32 +00:00
Thomas Jarosch
e3a3e2c9c2 RaaA: Enable plugins for application builds
Use own plugins/SOURCES and plugins/SUBDIRS file to avoid
ifdef hell for disabled plugins without a keymap.

This finally brings the credits screen to RaaA.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29392 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 23:35:16 +00:00
Thomas Jarosch
ec6e64ce90 Improve SDL port 'configure --prefix' error message
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29380 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 20:15:26 +00:00
Thomas Martitz
66643cff0c Explicitely add -lpthread to the linker command for the new sigaltstack threads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29338 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 02:19:04 +00:00
Thomas Jarosch
6cbb0e4229 Use SIGALTSTACK in maemo build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29332 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 00:50:12 +00:00
Thomas Martitz
1e391fbdbc Fix yellows and checkwps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29328 a1c6a512-1295-4272-9138-f99709370657
2011-02-18 23:17:07 +00:00
Thomas Martitz
6d85de3419 Implement cooperative threads on hosted platforms using C code.
This replaces SDL threads with real cooperative threads, which are less cpu intensive and allow priority scheduling.
The backend for context switching is dependant on the host (sigaltstack/longjmp on Unix, Fibers on Windows).
configure has options to force or disallow SDL threads.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29327 a1c6a512-1295-4272-9138-f99709370657
2011-02-18 22:46:01 +00:00
Thomas Jarosch
fb790be29e Fix SDL detection on Nokia N8xx
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29295 a1c6a512-1295-4272-9138-f99709370657
2011-02-13 11:57:32 +00:00
Dave Chapman
b27de9fddc Remove unused variable "need_full_path" - it was removed in r28592
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29287 a1c6a512-1295-4272-9138-f99709370657
2011-02-12 00:37:22 +00:00
Dave Chapman
9e638c7bc8 FS#11924 - Use separate targets for RaaA devices. This changes tools/configure to present the (currently four) possible RaaA targets as separate menu items instead of a single "Application" item with a follow-up question.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29286 a1c6a512-1295-4272-9138-f99709370657
2011-02-11 19:51:29 +00:00
Dave Chapman
eaeff26349 Fix a duplicate target_id
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29255 a1c6a512-1295-4272-9138-f99709370657
2011-02-08 22:07:47 +00:00
Thomas Jarosch
5f037ac015 Initial maemo platform support
Adds Nokia N900, N810 and N800 support.

Features:
- Introduce maemo specific platform defines
- Play audio in silent mode
- Stop playback on incoming calls
- Battery level readout
- Bluetooth headset support
- Save CPU by disabling screen updates if the display
  is off or the app doesn't have input focus
- N900: GStreamer audio backend

Kudos to kugel for the code review.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29248 a1c6a512-1295-4272-9138-f99709370657
2011-02-08 20:05:25 +00:00
Dominik Riebeling
4f787ba7dc Fix configure using the correct compiler for Android on Mac.
On Mac the folder holding the prebuilt compiler is darwin-x86, not linux-x86.
The extension of PATH to hold the compiler path below ANDROID_NDK_PATH needs to
be present when findtool searches for the compiler, so applying it to the
prefixtool call is not sufficient. OS X has a different behaviour to Linux
which keeps the set value even if it's applied to the prefixtool call only.
Might be caused by OS X coming with an older version of bash.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29125 a1c6a512-1295-4272-9138-f99709370657
2011-01-23 22:09:44 +00:00
Nils Wallménius
c8535f27d1 Switch coldfire builds over to new toolchain using gcc 4.5.2 and binutils 2.20.1
Retune codec compiler optimizations with new compiler. Overall speedup with aac and flac getting big speedups.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29042 a1c6a512-1295-4272-9138-f99709370657
2011-01-12 22:28:43 +00:00
Michael Sevakis
67ae5cce2e SA9200: Make plugins. Cheat a little just to get things to make at first by using some artwork for 128x128 screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29016 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 21:42:25 +00:00
Michael Sparmann
152847977a New port: iPod Classic (also known as iPod 6G/6.5G/7G)
Major known issues:
- No bootloader yet
- No support for the first-generation 160GB CE-ATA hard disk drive yet
- Audio playback is slow, only FLAC seems to reach realtime


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28953 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 23:16:27 +00:00
Thomas Martitz
13601883d5 Correct two problems slipped in with r28753. Thanks Teru for spotting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28757 a1c6a512-1295-4272-9138-f99709370657
2010-12-07 13:24:41 +00:00
Thomas Martitz
afea8a5b7c Upgrade ndk requirement to r5 (it ships a better compiler) and cleanup configure accordingly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28755 a1c6a512-1295-4272-9138-f99709370657
2010-12-06 22:28:22 +00:00
Thomas Martitz
7a9fd0baae Fix configure and lib path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28753 a1c6a512-1295-4272-9138-f99709370657
2010-12-06 22:28:14 +00:00
Thomas Martitz
921ac8d6dd Change the gcc options for sdl builds to allow for gnu99 features, it needs some fixes in other places. Fixes test_mem compilation failure on cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28723 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 21:20:30 +00:00
Szymon Dziok
589d2110dc HDD6330: implement block transfers through the LCD2 bridge in lcd_update_rect(), speedup is huge, fps over 4 times faster.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28722 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 20:35:25 +00:00
Marcin Bukat
dd61702fb0 HD300 - plugins keymaps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28712 a1c6a512-1295-4272-9138-f99709370657
2010-11-30 10:52:14 +00:00
Marcin Bukat
9a24892e2e MPIO HD300 - initial commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28680 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 23:28:08 +00:00
Teruaki Kawashima
572c6eeb29 fix --rbdir is ignored in configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28629 a1c6a512-1295-4272-9138-f99709370657
2010-11-21 14:31:19 +00:00
Thomas Martitz
9321ce3feb Fix path detection for app builds in configure and buildzip.pl.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28592 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:29:11 +00:00
Robert Menes
934b4d4f61 Looks like HDD6330 plugins build green, so enable plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28471 a1c6a512-1295-4272-9138-f99709370657
2010-11-03 03:36:30 +00:00
Robert Menes
4999100e21 It has been confirmed that the Philips GoGear HDD6330 does
indeed have 64MB of RAM. Build it as such again.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28451 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 20:28:33 +00:00
Robert Menes
bd46d82bf6 Set the GoGear HDD6330 back to 32MB RAM again; 64MB causes
playback to crash.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28440 a1c6a512-1295-4272-9138-f99709370657
2010-11-01 22:11:56 +00:00
Teruaki Kawashima
900ec8d944 fix option handling in configure for application. also tries to "make reconf" work, but realpath reports error...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28280 a1c6a512-1295-4272-9138-f99709370657
2010-10-14 13:10:12 +00:00
Björn Stenberg
a8ed339ba5 Minor build script tweaks to make android auto-buildable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28156 a1c6a512-1295-4272-9138-f99709370657
2010-09-24 12:03:15 +00:00
Marcin Bukat
2e9242e321 fix target name for MPIO HD200 in tools/configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28090 a1c6a512-1295-4272-9138-f99709370657
2010-09-15 09:05:47 +00:00
Rafaël Carré
c168d2317f FS#11611: Use -std=gnu99 to allow additional C99 features
example: for(int i=0; i<n; i++) ;
This should have no side effects

It was already used for android builds

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28021 a1c6a512-1295-4272-9138-f99709370657
2010-09-07 14:21:13 +00:00
Thomas Martitz
d7cfd76216 Check for presence of the sdk and ndk (the corresponding env variables to be exact) in configure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28003 a1c6a512-1295-4272-9138-f99709370657
2010-09-06 11:30:24 +00:00
Frank Gevaerts
a1cf4ced83 Unify 32mb and 64mb ipod video builds - FS#11580
Since memory on 32mb ipod videos is mapped twice, a 64mb build still has codecs and plugins mapped in a usable area. This means that all that needs to be done to support 32mb and 64mb boards with the same build is to adjust audiobufend to avoid using more than the actually present RAM.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27960 a1c6a512-1295-4272-9138-f99709370657
2010-08-31 19:06:04 +00:00
Thomas Martitz
3478bc5d6d mips is predefined by gcc, but we want it for paths. Don't let others fall into this trap again. Use __mips instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27872 a1c6a512-1295-4272-9138-f99709370657
2010-08-24 13:41:45 +00:00
Jens Arnold
333c0cc6b0 Fix configure to always prepend a missing leading '/'. Also don't require perl regexp support as it's not necessary and not all grep installations support it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27848 a1c6a512-1295-4272-9138-f99709370657
2010-08-20 20:07:50 +00:00
Rafaël Carré
3b0521a4f4 Typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27680 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 17:44:41 +00:00
Rafaël Carré
79d5c0702b configure: fix LCD width/height dialog for android
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27678 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 17:41:29 +00:00
Thomas Martitz
240923a801 Rockbox as an application: Commit current Android port progress.
General state is: Rockbox is usable (plays music, saves configuration, touchscreen works too).
Problems:
 - Playing music in the background (i.e. when switching to another app) doesn't work reliably, but I'm working on that now.
 - no cabbiev2 (only some preliminary files for it), no other default theme.
 - screen flickers sometimes if the updates are too frequent
 - no multi screen apk/package
 - strange behavior when a phone call comes in

The java files (and the eclipse project) resides in android/, which is also supposed to be the build folder.
I've put a small README in there for instructions. There are some steps needed after the make part, which are described there,
and which eclipse mostly handles. But there ought to be some script/makefile rules which do that instead in the future.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27668 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 20:34:47 +00:00
Thomas Martitz
9c0b2479f7 Rockbox as an application: add get_user_file_path().
For RaaA it evaluates user paths at runtime. For everything but codecs/plugins it will give the path under $HOME/.config/rockbox.org if write access is needed or if the file/folder in question exists there (otherwise it gives /usr/local/share/rockbox).
This allows for installing themes under $HOME as well as having config.cfg and other important files there while installing the application (and default themes) under /usr/local.

On the DAPs it's a no-op, returing /.rockbox directly.

Not converted to use get_user_file_path() are plugins themselves, because RaaA doesn't build plugins yet.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27656 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 16:15:27 +00:00
Nils Wallménius
1aaaa9e757 configure: print error when user selects invalid advanced options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27640 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 14:52:56 +00:00
Thomas Martitz
57613ea5fa Rename/change SIMVER to APP_TYPE in the Makefiles.
SIMVER was really only used to detect a simulator build. With APP_TYPE you can
now differentiate between simulator, application, checkwps and database builds.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27372 a1c6a512-1295-4272-9138-f99709370657
2010-07-10 13:49:49 +00:00
Rafaël Carré
f746302ec3 configure: build ipod4g with eabi
EABI is now the default for all targets, but --no-eabi is still
available for testing purposes

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27361 a1c6a512-1295-4272-9138-f99709370657
2010-07-09 19:45:57 +00:00
Thomas Martitz
31b5c471ae Rockbox as an application: Add an 320x240 SDL application target.
It still works mostly like the simulator. There's also some minor left overs from the sim, but it does not define SIMULATOR.
It installs into the current (build) dir, and you need to run it with '--root .' (because it looks for ./.rockbox and not ./simdisk/rockbox) as options. That's one of the few kludges left that should be resolved soon'ish.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27310 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 15:11:56 +00:00