Commit graph

685 commits

Author SHA1 Message Date
Marcin Bukat
587f52f50e rk27xx: switch to RKW format for binary
Change-Id: I859473abbaf05c8268d832b25d15f27f1ea44648
2012-03-04 00:35:32 +01:00
Frank Gevaerts
466a7c6a40 Integrate the warble tool in the regular build system.
Only sdl app builds work properly for now.

Change-Id: I7807d42f69b8577b401e48cdc63de71e54f49217
2012-03-03 20:19:08 +01:00
Amaury Pouly
dc572fbde3 configure: fix $(LD) which was incorrectly set as $(AR)
Change-Id: I76db28bf0d583840bc00e96b73370316ad7d8b73
2012-03-01 16:51:55 +01:00
Frank Gevaerts
a16b65e47d Force YPR0 to 240x320
The YPR0 has a fixed screen size. Letting the generic RaaA screen
size selection code work on causes checkwps/buildall.sh to build
broken checkwps binaries. There's no good reason to allow
overriding the screen size here

Change-Id: Ic666d28d10273000a8c1867580c8d1a13dd98dc9
2012-02-22 01:08:17 +01:00
Ralf Ertzinger
d2f97da668 Make logf() output to serial optional
Only output logf() to the serial port if LOGF_SERIAL is defined
(in addition to HAVE_SERIAL). Add an option to advanced configure
to set this (defaults to off).

Change-Id: I13d0f5df391e5371f7797f46a3faaf7a6974b9e4
Reviewed-on: http://gerrit.rockbox.org/92
Reviewed-by: Björn Stenberg <bjorn@haxx.se>
2012-02-16 14:44:43 +01:00
Thomas Martitz
74c8746595 Don't filter out -O for sims.
It's not useful as it means we test code at a different -O level than
we run it at.
Fixes build errors caused by gcc 4.3. Fix some warnings
the change would introduce as well.

Change-Id: Id9ff31dc08694b0bfc5272f5e690c41f7918ed22
2012-01-22 20:33:37 +01:00
Thomas Martitz
91a3978fdc ypr0: Enable asm optimizations.
Change-Id: Ib9f98563a9687827a384e5c7587638f5874cf485
2012-01-22 18:46:45 +01:00
Thomas Martitz
8e8e978de6 Add framework to let make automatically pick optimized asm implementations over generic C ones to firmware.
Example: for a file asm/foo.c, make will look for asm/arm/foo.[cS] and
compile it if found. If not found it'll fall back to asm/foo.c.

Also introduce new ARCH make variable. This is automatically detected by
configure. It is distinct from CPU since CPU defines the dir used for
the target tree (i.e. firmware/target/X, so it can be "hosted").
ARCH really has the target isa and can be x86 for sims/raaa too.

Change-Id: I18e5d2b7b7bbc2ad2be551a74a0fcae5ffbcbf8b
2012-01-22 18:46:45 +01:00
Björn Stenberg
35f0c964da Remove svn id. 2012-01-19 17:26:11 +01:00
Jens Arnold
8b4805203b Remove outdated (and buggy) configuration option for the 8MB mod. This is configured by selecting memory size directly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31638 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 17:38:40 +00:00
Jens Arnold
334e61293e Fix several flaws in argument handling and reconfiguring, mainly related to voice building: (1) Properly retain arguments containing spaces by re-quoting them. (2) Properly retain --tts when the default is selected by just pressing return. (3) Only append --tts and --language if they weren't already specified on the commandline, preventing duplication on 'make reconf'. (4) Never append --ttsopts and --encopts for the same reason. These are commandline only anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31637 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 13:59:15 +00:00
Thomas Jarosch
949e6398c8 FS #11859: Enable optimizations for SDL application builds.
Only disable them for the simulator (like before).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31547 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 22:33:47 +00:00
Thomas Martitz
84f651f9b6 android: Adjust gcc/linker cmdline. Fixes build with ndk r7.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31542 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 21:15:17 +00:00
Rafaël Carré
4ef988bfb4 new include directory for targets with common SoC : cpu/soc
for now, only arm/pp

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31529 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:23:08 +00:00
Thomas Martitz
249bba03f1 Initial commit of the Samsung YP-R0 port.
This port is a hybrid native/RaaA port. It runs on a embedded linux system,
but is the only application. It therefore can implement lots of stuff that
native targets also implement, while leveraging the underlying linux kernel.

The port is quite advanced. User interface, audio playback, plugins work
mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page).

Included in utils/ypr0tools are scripts and programs required to generate
a patched firmware. The patched firmware has the rootfs modified to load
Rockbox. It includes a early/safe USB mode.

This port needs a new toolchain, one that includes glibc headers and libraries.
rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may
also work.

Most of the initial effort is done by Lorenzo Miori and others (on ABI),
including reverse engineering and patching of the original firmware,
initial drivers, and more. Big thanks to you.

Flyspray: FS#12348
Author: Lorenzo Miori, myself

Merry christmas to ypr0 owners! :)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
2011-12-24 11:56:46 +00:00
Thomas Martitz
c00938e4a3 Configure: Fix endianess detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31409 a1c6a512-1295-4272-9138-f99709370657
2011-12-23 09:13:36 +00:00
Thomas Martitz
013cc9dedf Resolve CROSS/CROSS_COMPILE dualism in configure to use only CROSS_COMPILE (only used for SDL builds so far), which should be the de facto environment variable for this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31408 a1c6a512-1295-4272-9138-f99709370657
2011-12-23 09:03:31 +00:00
Rafaël Carré
08fd8adbf5 configure: factorize -D${target}
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31277 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 17:50:33 +00:00
Thomas Jarosch
c0c5a13b18 Pandora port: Fix borked compile flags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31204 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 19:23:51 +00:00
Rafaël Carré
bd691efae9 Sansa Clip Zip: enable all plugins
use too big graphics when needed (some plugins will be ugly)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31113 a1c6a512-1295-4272-9138-f99709370657
2011-12-02 20:28:20 +00:00
Andrew Ryabinin
b6252abb25 fix target id for HiFiMAN HM-801
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31001 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 16:07:06 +00:00
Tomasz Moń
e8a8a1be43 Sandisk Sansa Connect port (FS #12363)
Included are drivers for buttons, backlight, lcd, audio and storage.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31000 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 14:08:01 +00:00
Amaury Pouly
040e06f6e9 fuze+: scramble bootloader file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30913 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 13:27:34 +00:00
Andrew Ryabinin
2164aab902 Added HiFiMAN HM-801 target. FS#12355. This also renames tda1543.{ch} used by HM-60x to dummy_codec.{ch} as it works for PCM1704 used by HM-801.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30891 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 11:53:02 +00:00
Bertrik Sikken
58543296c9 Sansa clip zip: attempt to fix the pixel format swappedness for good
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30873 a1c6a512-1295-4272-9138-f99709370657
2011-10-31 20:17:04 +00:00
Marcin Bukat
32f763c39a Add HiFiMAN HM-60x target(s). FS#12319 by Andrew Ryabinin with some (small) modification by me. This also splits rk27xx lcd driver into lcdif-rk27xx and lcd controller specific part. Some modifications to the pcm driver have been made to allow using codecs in slave mode (as TDA1543 used in hifiman is slave only i2s codec).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30765 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 10:32:19 +00:00
Jens Arnold
81ff054d80 Fix 'make reconf' for iriver H10 5/6GB. Model name contains an underscore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30702 a1c6a512-1295-4272-9138-f99709370657
2011-10-03 20:36:46 +00:00
Amaury Pouly
7e8877e871 imx233/fuze+: enable plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30700 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 20:33:14 +00:00
Bertrik Sikken
f323300b82 Sansa clipzip: make main build compile (plugins still disabled)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30588 a1c6a512-1295-4272-9138-f99709370657
2011-09-24 11:21:01 +00:00
Dominik Riebeling
e6317d51e9 Improve sim win32 cross compiling.
- Extend configure to allow setting the cross compiler prefix using the
  environment variable CROSS. This allows using a compiler that is prefixed
  differently than the prefix configure does assume.
- When searching for sdl-config also check for a prefixed version. Some
  toolchains prefix sdl-config (like mingw-cross-env).

This enables cross compiling the sim with at least the MinGW packages provided
by Fedora (different prefix) and mingw-cross-env (different prefix and prefixes
sdl-config. There's a non-prefixed version as well, but that folder also
includes the non-prefixed compiler, so using the prefixed version is
preferable.)

starting

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30484 a1c6a512-1295-4272-9138-f99709370657
2011-09-08 17:48:18 +00:00
Frank Gevaerts
2b9e944021 Rework c200wipe to use proper partitioning and formatting code, which makes the code size-independent.
Also support the e200 with this code. Apparently it's also possible to get the e200 in a state where .fmt files don't help.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30413 a1c6a512-1295-4272-9138-f99709370657
2011-09-02 21:34:28 +00:00
Dominik Riebeling
e9eb5b31ad Quote command arguments to avoid the shell trying to expand them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30412 a1c6a512-1295-4272-9138-f99709370657
2011-09-02 21:28:25 +00:00
Bertrik Sikken
463b3ed8b2 Initial framework for the Sandisk Sansa Clip Zip
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30365 a1c6a512-1295-4272-9138-f99709370657
2011-08-27 16:21:19 +00:00
Thomas Martitz
c6ca81329a Android: Fix a few java warnings. Upgrade ndk platform to 2.0 (don't support 1.6 anymore).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30293 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 08:55:16 +00:00
Rafaël Carré
3fda72aa86 configure: don't use sed for autoconf.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30291 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:39:58 +00:00
Rafaël Carré
bd89a4123f typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30290 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:32:34 +00:00
Rafaël Carré
f56bb4e505 configure: avoid double escaping of $ (single quote + backslash)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30289 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:29:15 +00:00
Rafaël Carré
e1d33c07c6 configure: remove redundant ENC_CMD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30288 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:07:01 +00:00
Rafaël Carré
cea0654d18 configure: don't use sed to generate the Makefile
remove a few obsolete options

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30286 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:03:23 +00:00
Amaury Pouly
3f8bf5e041 imx233/fuze+: fix memory size and appextra configuration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30198 a1c6a512-1295-4272-9138-f99709370657
2011-07-23 11:45:03 +00:00
Thomas Martitz
9e8d7dc07c Fix FS#12179 - Simulator build fails when using "configure --sdl-threads"
Change the logic in configure to record the entire command line from the
beginning and filter out options that are set again by configure.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30134 a1c6a512-1295-4272-9138-f99709370657
2011-07-09 08:23:36 +00:00
Jonas Häggqvist
ed0f1aec5d Add --lcdwidth and --lcdheight to help output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30102 a1c6a512-1295-4272-9138-f99709370657
2011-06-29 23:10:41 +00:00
Andree Buschmann
dc0abc7744 Fix build problems for win32 cross compilation and cygwin which were introduced with r29983.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30052 a1c6a512-1295-4272-9138-f99709370657
2011-06-22 17:46:26 +00:00
Dominik Riebeling
1d1fa41b20 Remove Manual option from configure script.
Building the manual requires to use the manual make target, and it can be
invoked from a normal build configuration. Having a separate configure option
isn't necessary anymore.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29994 a1c6a512-1295-4272-9138-f99709370657
2011-06-12 11:40:20 +00:00
Thomas Jarosch
6c571361ff Pandora port: Fix rockbox share directory path (it has to end on /rockbox)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29990 a1c6a512-1295-4272-9138-f99709370657
2011-06-09 20:28:44 +00:00
Nils Wallménius
331b23d15b FS#12144, Use -fPIC -fvisibility=hidden only for plugins on sim and app builds and enable it for 32 bit too. Fixes linking errors on simbuilds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29983 a1c6a512-1295-4272-9138-f99709370657
2011-06-07 11:56:23 +00:00
Dominik Riebeling
26a92fa9e1 Android: adjust screen orientation based on LCD size.
If the screen size specified is wider than higher specify the orientation as
landscape in AndroidManifest.xml. This usually applies to tablets where Rockbox
in portrait mode feels unnatural.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29951 a1c6a512-1295-4272-9138-f99709370657
2011-06-04 10:36:34 +00:00
Marcin Bukat
976a1699da Rockchip rk27xx port initial commit. This is still work in progress.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29935 a1c6a512-1295-4272-9138-f99709370657
2011-05-30 21:10:37 +00:00
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