Commit graph

30205 commits

Author SHA1 Message Date
Rafaël Carré
a22e161e0f sh/debug-target.h: move in .c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31562 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 06:33:50 +00:00
Rafaël Carré
02c79d37a3 dbg_pcf(): use action_userabort
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31561 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 06:21:16 +00:00
Rafaël Carré
393f427a11 dbg_hw_info(): remove duplicate prototypes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31560 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 05:29:30 +00:00
Rafaël Carré
db7bce570d dbg_hw_info() : add prototype to system.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31559 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 05:29:22 +00:00
Rafaël Carré
b959497670 dbg_ports(): remove duplicate prototype
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31558 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 05:21:52 +00:00
Rafaël Carré
ec398340cd dbg_ports() : move proto to system.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31557 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 05:21:44 +00:00
Rafaël Carré
af7606776a dbg_partitions: make static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31556 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 05:21:31 +00:00
Rafaël Carré
925dacf96d *frequency_linux(): factorize
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31555 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 00:34:02 +00:00
Thomas Martitz
d07c1d57a4 Fix oops. Too late now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31554 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 00:23:04 +00:00
Thomas Martitz
eb488ac792 Fix intermittent warning on sdl app build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31553 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 00:19:24 +00:00
Thomas Martitz
d6db4cc105 Fix beast warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31552 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 00:13:06 +00:00
Thomas Martitz
0f71475606 android: move pcm_shutdown() to audiohw_close() now that it's properly called from powermgmt.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31551 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 00:10:47 +00:00
Thomas Martitz
5d9759a76e Fix reds by implementing a few more stubs, and undefining HAVE_STORAGE_FLUSH in the sim.
Also slight change on how to measure seconds.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31550 a1c6a512-1295-4272-9138-f99709370657
2012-01-04 00:07:27 +00:00
Thomas Martitz
3fdb48b3fe android: Add preliminary eclipse support for building the native code, disabled by default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31549 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 23:44:51 +00:00
Thomas Martitz
c1bd9b0361 Rework powermgmt to enable code re-use on appliation and sims.
* Introduce CONFIG_BATTERY_MEASURE define, to allow targets (application)
to break powermgmt.c's assumption about the ability to read battery voltage.
There's now additionally percentage (android) and remaining time measure
(maemo). No measure at all also works (sdl app). If voltage can't be measured,
then battery_level() is king and it'll be used for power_history and runtime
estimation.

* Implement target's API in the simulator, i.e. _battery_voltage(), so it
doesn't need to implement it's own powermgmt.c and other stubs. Now
the sim behaves much more like a native target, although it still
changes the simulated battery voltage quickly,

* Other changes include include renaming battery_adc_voltage() to
_battery_voltage(), for consistency with the new target functions and
making some of the apps code aware that voltage and runtime estimation
is not always available.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31548 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 23:44:38 +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
Dominik Riebeling
f36f7825d7 Update displayed settings on startup.
Update the target values in the main window immediately on startup. Downloading
the target information might not complete successfully, and in that case a
previously selected target will not be shown. If the target information
download finishes the displayed values are updated again (to show target status
information).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31546 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 21:52:19 +00:00
Dominik Riebeling
2b04f7bba5 Remove trailing whitespaces.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31545 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 21:48:27 +00:00
Thomas Martitz
c08ce1b829 ypr0: Enable headphone detection
Author: Lorenzo Miori
Flyspray: FS#12348

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31544 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 21:15:27 +00:00
Thomas Martitz
e9cb9538c7 android: Update build system for recent SDK versions and target ice cream sandwich.
As a result, the java parts can now be build using ant (in the android dir).
Just issue "ant debug" after "make libs". Building the java parts from eclipse
also still works.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31543 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 21:15:21 +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
Thomas Martitz
0bc64a6bb3 Adjust a few makefiles to generate smaller (upto 80%) binaries on RaaA through
stripping.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31541 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 21:15:11 +00:00
Thomas Jarosch
a53d1c6dc5 Fix warning about missing newline at the EOF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31540 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 20:59:09 +00:00
Michael Sevakis
c9dad05554 i.MX31: need an additional ISR lockout instance when closing driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31539 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 16:08:28 +00:00
Michael Sevakis
68ccefed5a Gigabeat S: Dump some now-irrelevant comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31538 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 15:57:55 +00:00
Andrew Ryabinin
40786042df rk27xx: Fix cache broken in r31339. Remove deprecated aliases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31537 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 15:01:16 +00:00
Michael Sevakis
30c4efcd16 i.MX31: Fix a couple oopses from r31528
Enabled a PMIC event where it should be disabled. Used constant from wrong enum
to get sense bits (??) which messed up main charger detection.

Also remove an obsolete struct declaration.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31536 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 06:13:59 +00:00
Rafaël Carré
4c917f76c6 Fix path to PP USB bootloader crt0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31535 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:47:29 +00:00
Rafaël Carré
7ef13eed38 Fix path to PP crt0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31534 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:44:27 +00:00
Rafaël Carré
5cf79723ec move PP specific files to pp/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31533 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:39:56 +00:00
Rafaël Carré
bbe5845f04 arm/pp : assume CPU_PP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31532 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:33:26 +00:00
Rafaël Carré
0ff5c5d3ed The connect is not a PP and doesn't have ATA storage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31531 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:31:12 +00:00
Rafaël Carré
a9b9977083 Move PP-specific headers to pp/ directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31530 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:23:24 +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
Michael Sevakis
5a8da163c8 i.MX31 - Dethreading operations continue
Dispense with "pmic" thread and process PMIC events directly within ISR. Add
sense bit reading as part of the handling.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31528 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 18:32:35 +00:00
Dominik Riebeling
1f0e653038 Fix cross compiling on OS X.
- The OS X specific flags must not be set when cross compiling. Check for a
  MinGW compiler on OS X before adding them.
- Do not set CC explicitly in chinachippatcher, it will be set from Rockbox
  Utility's Makefile.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31527 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 17:45:16 +00:00
Dominik Riebeling
d7b8b10fec Remove unnecessary include.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31526 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 17:09:30 +00:00
Dominik Riebeling
97ac4c0e34 Rockbox Utility: update building libs.
- Build libs in a libs/ folder below the build folder. This makes it easier to
  remove them when cleaning the build directory.
- Pass flags via environment instead as parameters to make. Hopefully fixes
  problems when using QtCreator on Windows.
- Respect silent config option when calling the lib Makefiles.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31525 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 16:59:29 +00:00
Dominik Riebeling
c5530d9258 Allow passing additional CFLAGS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31524 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 16:59:26 +00:00
Dominik Riebeling
8c6c6a6b20 libtools.make: allow overriding variables via environment.
Simplify a bit while at it as well.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31523 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 16:59:22 +00:00
Thomas Martitz
de6c203b53 ypr0: Tiny cleanup in ypr0 config file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31522 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 14:11:28 +00:00
Thomas Martitz
81aac5ac1a ypr0: Proper current values measured with battery_bench.
The battery benches were done by Lorenzo Miori, thus credits to him
for this and r31472.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31521 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 14:11:24 +00:00
Thomas Martitz
263b080b3b ypr0: Fix power off at low battery.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31520 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 14:11:07 +00:00
Amaury Pouly
0f4dda78e2 imx233: add AUDIOIN registers, cosmetics
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31519 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 11:10:17 +00:00
Amaury Pouly
abd51ff640 fuze+: keymap cleanup, correction and simplification (FS #12504 by Jean-Louis Biasini)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31518 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 11:09:55 +00:00
Dominik Riebeling
32aa4d9e56 Remove duplicate note from manual.
The note on how to recursively insert files into the dynamic playlist is
present twice so remove one of them. Since this makes the "Useful Hints"
subsection empty remove that as well, there are no hints left that aren't
merged into the text. (FS#12504 by Jean-Louis Biasini).

While at it remove some hard coded newlines. We really don't want them, if we
want a different spacing for new paragraphs this needs to get adjusted in the
preamble, not after each paragraph.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31517 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 10:52:34 +00:00
Michael Sparmann
d46afc629e Make USB work again on iPod Nano 2G and iPod Classic. Still not 100% stable on Nano 2G, and HID is still broken.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31516 a1c6a512-1295-4272-9138-f99709370657
2012-01-01 21:28:03 +00:00
Rafaël Carré
815eba92fd GHWCFG* are not as3525v2 specific
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31515 a1c6a512-1295-4272-9138-f99709370657
2012-01-01 19:21:49 +00:00
Boris Gjenero
403decf65d Fix FS#12243 : On 20GB H10, restore correct upside down state when waking LCD.
In lcd_power_on(), R_DRV_OUTPUT_CONTROL and R_GATE_SCAN_START_POS are now
initialized like in lcd_set_flip(), so the display wakes up properly when it
is supposed to be upside down.

Thanks to Neil Sharrow for reporting the problem and testing the patch.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31514 a1c6a512-1295-4272-9138-f99709370657
2012-01-01 17:39:30 +00:00
Jonathan Gordon
2dc19005b6 oops, somehow a leading \ went missing making these checks a bit silly!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31513 a1c6a512-1295-4272-9138-f99709370657
2012-01-01 11:34:00 +00:00