Bertrik Sikken
d11e5201dc
Sansa clip zip: implement lcd_write_data function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30872 a1c6a512-1295-4272-9138-f99709370657
2011-10-30 20:35:03 +00:00
Bertrik Sikken
eb7cf73dcb
Sansa clip zip: use a state machine for scanning buttons to avoid busy-waits
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30871 a1c6a512-1295-4272-9138-f99709370657
2011-10-30 20:15:08 +00:00
Michael Sevakis
4ad62b7656
Gigabeat S: Maintain power thread at realtime priority at all times so it may always service the watchdog on time regardless of playback priority.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30867 a1c6a512-1295-4272-9138-f99709370657
2011-10-30 14:32:42 +00:00
Bertrik Sikken
2774457604
Sansa clip zip: make the simulator work by adding the background bitmap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30861 a1c6a512-1295-4272-9138-f99709370657
2011-10-30 09:06:21 +00:00
Bertrik Sikken
94fc46b730
Sansa clip zip: fix colours of icons, logos, album art
...
* configure display for RGB (instead of BGR) colour coding
* fix logo bitmap to correct size of 96x30
* fix pixel format to RGB565 swapped
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30859 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 22:36:47 +00:00
Bertrik Sikken
9fc1270807
Sansa clip zip: add missing prototype to backlight-target.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30855 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 20:05:40 +00:00
Bertrik Sikken
e90f961593
Sansa clip zip: update mkamsboot and fix various drivers to make it boot to the main firmware
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30853 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 17:08:05 +00:00
Andree Buschmann
b8223d908b
Fix FS#12351: The poweroff timer was not reset on scroll wheel activity for e200 and simulator. Thanks to Nick Peskett.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30847 a1c6a512-1295-4272-9138-f99709370657
2011-10-28 17:23:40 +00:00
Amaury Pouly
f5d664ad93
fuzeplus: rework button handling to use a queue instead of a blocking semaphore in the thread
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30844 a1c6a512-1295-4272-9138-f99709370657
2011-10-27 10:38:19 +00:00
Bertrik Sikken
94c573f3ec
Sansa clipzip: miscellaneous updates
...
* add support for OF version 01.01.17 in mkamsboot
* introduce and implement oled_brightness function
* configure voltage CVDD2 to 2.8V (like the OF does)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30831 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 14:20:47 +00:00
Amaury Pouly
e9575bdf2f
fuze+: fix typo and remove ugly logf construct
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30829 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 14:19:50 +00:00
Andree Buschmann
d2958b9d32
Some iPod Video's need a 2nd call of ub_drv_init() to establish the USB connection. This workaround breaks the USB functionality for other devices. Until there is a proper fix available just use the workaround for iPod Video only. Fixes FS#12324.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30811 a1c6a512-1295-4272-9138-f99709370657
2011-10-20 14:48:20 +00:00
Amaury Pouly
623cbd6e02
imx233/fuze+: implement pcm out and audio codec, update SOURCES
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30800 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:08:41 +00:00
Amaury Pouly
390edd58c8
imx233/fuze+: add prototype for rtc block (only for register defines for now)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30799 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:08:38 +00:00
Amaury Pouly
7b70e5a8fa
imx233/fuze+: implement audioout functions (init, volume, frequency); add stubs for audioin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30798 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:06:05 +00:00
Amaury Pouly
96f0464796
imx233/fuze+: implement hw info debug screen to show dma channels state
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30797 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:06:02 +00:00
Amaury Pouly
b0a20dbc99
imx233/fuze+: allow dma info retrieval; wait for end of channel reset before returning; fix typo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30795 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:03:25 +00:00
Amaury Pouly
d0e8c35862
imx233/fuze+: move to a more generic xtal derived clock enabling function, fix timrot accordingly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30793 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:00:50 +00:00
Amaury Pouly
0b3347e47f
imx233/fuze+: fix typo and add dac dma/error interrupts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30792 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 21:58:18 +00:00
Amaury Pouly
359826aa94
fuze+: fix bootloader not set backlight brightness
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30791 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 21:58:14 +00:00
Amaury Pouly
ed2386c67f
imx233/fuze+: move audio driver to the canonical location
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30790 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 21:55:20 +00:00
Michael Sevakis
859cd4b627
Expunge a commented #include that found its way in in r30771.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30772 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 15:48:41 +00:00
Michael Sevakis
feddfdb2d9
Gigabeat S/i.MX31/wm8978: Clean up clocking information in the general wmcodec/pcm drivers and move it to the target's wmcodec/i2s files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30771 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 15:37:14 +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
Michael Sevakis
e4f64da35f
i.MX31 avic: Fix super-stale comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30748 a1c6a512-1295-4272-9138-f99709370657
2011-10-14 06:19:03 +00:00
Michael Sevakis
830531b7d4
i.MX31: Simplify nested interrupt handling. Give SVC mode its own stack by grabbing the FIQ stack that's just been taking up space. Just get rid of all FIQ setup since it isn't used anyway.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30747 a1c6a512-1295-4272-9138-f99709370657
2011-10-14 00:01:41 +00:00
Marcin Bukat
0dc76136ca
rk27xx - add support for i2s in master mode. Based on patch by Andrew Ryabinin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30746 a1c6a512-1295-4272-9138-f99709370657
2011-10-13 07:09:44 +00:00
Marcin Bukat
e8e06f81f9
rk27xx - fix sys timer clock setup. Spotted by Andrew Ryabinin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30745 a1c6a512-1295-4272-9138-f99709370657
2011-10-13 07:09:33 +00:00
Bertrik Sikken
936fd540c0
Sansa AMSv2: set internal voltages PVDD1 and AVDD17 to the same value as the OF does.
...
* improves audio quality and increases maximum volume
* reduces pop on power-down
* reduces runtime slightly (about 3%)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30743 a1c6a512-1295-4272-9138-f99709370657
2011-10-12 20:09:19 +00:00
Marcin Bukat
bf056d5372
Switch to SYS mode on arm FS#12322 by me
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30741 a1c6a512-1295-4272-9138-f99709370657
2011-10-11 16:06:03 +00:00
Amaury Pouly
eb94b23db0
imx233/fuze+: declare 3d audio capability, update lang accordingly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30732 a1c6a512-1295-4272-9138-f99709370657
2011-10-08 12:29:37 +00:00
Björn Stenberg
8c4941e561
Changed #warning to a TODO comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30717 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 14:42:18 +00:00
Andree Buschmann
6832175412
Add missing usb_drv_init(), fixes FS#12303.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30701 a1c6a512-1295-4272-9138-f99709370657
2011-10-03 06:14:48 +00:00
Amaury Pouly
09b4c7667e
fuze+: implement basic touchpad driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30637 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 14:44:31 +00:00
Amaury Pouly
30f333108c
fuze+: set backlight brightness to default only when there is not backlight infrastructure
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30636 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 14:44:26 +00:00
Marcin Bukat
88455968f4
rk27xx - implement partial lcd updates
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30624 a1c6a512-1295-4272-9138-f99709370657
2011-10-01 08:57:51 +00:00
Amaury Pouly
2546bc59cc
imx233/fuze+: add fuze+ to the simulator framework
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30602 a1c6a512-1295-4272-9138-f99709370657
2011-09-25 15:35:39 +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
Amaury Pouly
1322b58b17
imx233/fuze+: rework crt0 and linker script to be able to load at any address and self-copy at the right one
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30587 a1c6a512-1295-4272-9138-f99709370657
2011-09-23 20:40:52 +00:00
Bertrik Sikken
b1298c2c44
Sansa AMS/AMSv2: analog front-end register CVDD/DCDC3 doesn't exist in AMSv2, so don't modify it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30579 a1c6a512-1295-4272-9138-f99709370657
2011-09-21 21:48:19 +00:00
Szymon Dziok
fd9859ead2
HDD6330: improve the behavior of the lcd during shutdown.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30575 a1c6a512-1295-4272-9138-f99709370657
2011-09-20 10:32:58 +00:00
Bertrik Sikken
1d1e8e4eb7
Sansa AMSv2: initialise PMU (power management unit), inspired by how the OF does it
...
Differences in PMU settings:
- explicitly disable the PLL inside the PMU (we don't use it)
- don't increase the PVDD1/AVDD17 voltages because the impact on runtime is still unclear
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30571 a1c6a512-1295-4272-9138-f99709370657
2011-09-18 15:33:19 +00:00
Frank Gevaerts
382c6974e0
NUM_CARDS can definitely be smaller than NUM_DRIVES, so don't pretend that this is an error
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30570 a1c6a512-1295-4272-9138-f99709370657
2011-09-18 13:13:35 +00:00
Frank Gevaerts
85ad768b6e
Don't use NUM_VOLUMES as array size in sd card drivers. NUM_DRIVES is also wrong (the total number of drives in the system is not really related to the number of sd devices), but at least it's less wrong than NUM_VOLUMES and it matches the (wrong) assumptions the rest of the drivers make
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30569 a1c6a512-1295-4272-9138-f99709370657
2011-09-18 12:51:54 +00:00
Bertrik Sikken
d20f803af0
sansa clipzip: fix rectangle setup of type 1 lcd
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30560 a1c6a512-1295-4272-9138-f99709370657
2011-09-16 14:21:08 +00:00
Michael Sevakis
c222f38c03
Remove obsolete USB_DETECT_BY_DRV define throughout.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30549 a1c6a512-1295-4272-9138-f99709370657
2011-09-14 16:42:43 +00:00
Michael Sevakis
0576e71725
Scrub r30546 bootloader build errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30548 a1c6a512-1295-4272-9138-f99709370657
2011-09-14 16:00:26 +00:00
Michael Sevakis
82259b7af5
Move AMSv1 (AMSv2 had been done already) to using setup packet request to detect a host.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30547 a1c6a512-1295-4272-9138-f99709370657
2011-09-14 15:26:57 +00:00
Michael Sevakis
207131c53b
Convert ARC USB driver code to always use setup packet detection and remove the bus-reset-based detection method for it. This prevents false USB detection from chargers or other accesories that aren't actually a host but can trigger the bus reset condition.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30546 a1c6a512-1295-4272-9138-f99709370657
2011-09-14 14:05:07 +00:00
Amaury Pouly
b25d6e0c96
imx233/fuze+: implement usb enable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30542 a1c6a512-1295-4272-9138-f99709370657
2011-09-14 11:50:06 +00:00
Amaury Pouly
af9c3c9db5
imx233/fuze+: remove useless file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30539 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:40:28 +00:00
Amaury Pouly
b1a97d2c0f
imx233/fuze+: add charger related defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30537 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:40:19 +00:00
Amaury Pouly
80101edcf7
imx233/fuze+: correctly reset i2c block
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30536 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:40:16 +00:00
Amaury Pouly
e55394521b
imx233/fuze+: implement various audio stubs and update source
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30535 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:40:12 +00:00
Amaury Pouly
696b9d146b
imx233/fuze+: implement lradc function and adc on top of it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30534 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:40:09 +00:00
Amaury Pouly
45537a4e87
imx233/fuze+: implement power management stubs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30533 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:40:06 +00:00
Amaury Pouly
06c03b51b2
imx233/fuze+: fix default init code (define lcd kind as 9325 and do 7783 init !)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30532 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:39:22 +00:00
Amaury Pouly
11883f4785
imx233/fuze+: correctly lcdif block
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30531 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:39:18 +00:00
Amaury Pouly
eedbed1040
imx233/fuze+: fix prototype
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30530 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:39:15 +00:00
Amaury Pouly
c36d33ce59
imx233/fuze+: correctly reset timrot block
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30529 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:39:11 +00:00
Amaury Pouly
af9d25611d
imx233/fuze+: define mmc stubs, correctly handle ssp maximum transfer size, correctly handle flash size (including windowing)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30528 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:39:05 +00:00
Amaury Pouly
7ac1b9fb62
imx233/fuze+: define sd stub
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30527 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:38:59 +00:00
Amaury Pouly
1b220f1856
imx233/fuze+: reset dma block correctly and define maximum transfer size
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30526 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:38:56 +00:00
Amaury Pouly
b27d07e094
imx233/fuze+: reset ssp block correctly, define maximum ssp transfer size
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30525 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:38:52 +00:00
Amaury Pouly
b51ecea14a
imx233/fuze+: add more interrupts, rewrite block resetting, reset icoll on boot (useful for firmware)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30524 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:38:49 +00:00
Amaury Pouly
ddb96f1b65
imx233/fuze+: fix ctr0 to use a fresh stack and update firmware linker script
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30523 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:38:45 +00:00
Amaury Pouly
d945c36677
imx233/fuze+: rework linker script to load the bootloader at ram start + 1Mb to leave a load for the firmware
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30521 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:38:08 +00:00
Szymon Dziok
dad541a391
HDD6330: fix the behavior of the lcd during shutdown (fading out), disable poweroff while charging for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30520 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 21:14:11 +00:00
Szymon Dziok
036c5fef46
HDD6330: implement lcd_enable (display on/off).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30519 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 20:35:25 +00:00
Szymon Dziok
a943e7485b
HDD6330: Enable only one led (from five) on the scroll strip in order to save battery life.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30506 a1c6a512-1295-4272-9138-f99709370657
2011-09-11 13:48:14 +00:00
Szymon Dziok
201574d689
HDD6330: Fix random issues with the button light (MENU button sometimes does not light up).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30505 a1c6a512-1295-4272-9138-f99709370657
2011-09-11 12:21:01 +00:00
Szymon Dziok
6f00e82512
HDD6330: Fix random strange behavior of the touchpad. Setting the sensitivity higher than normal is not a good idea for this one.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30504 a1c6a512-1295-4272-9138-f99709370657
2011-09-11 11:58:46 +00:00
Thomas Martitz
dc14de02c2
Exit of SDL_WaitEvent() returns an error.
...
It doesn't appear recoverable, but instead only spams the commandline.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30482 a1c6a512-1295-4272-9138-f99709370657
2011-09-08 14:53:28 +00:00
Bertrik Sikken
101bb25e72
sansa clipzip: fix lcd init delay (remove lcd_delay and replace it with a sleep)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30465 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 16:55:52 +00:00
Marcin Bukat
287c2785fd
rk27xx - enable cache
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30456 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:39:32 +00:00
Marcin Bukat
4072879468
rk27xx - arm7ej-s doesn't have MMU/MPU (just like arm7tdmi)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30453 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:39:17 +00:00
Marcin Bukat
7936649919
rk27xx - disable core_sleep() as it simply hangs when cache is enabled for unknown reason.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30452 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:39:13 +00:00
Marcin Bukat
6d959a0625
rk27xx - implement cache handling functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30451 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:39:06 +00:00
Marcin Bukat
4e6daf0856
rk27xx adc - fix function name
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30450 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:38:59 +00:00
Marcin Bukat
7aca544793
remove references to ipod nano 2g rom ata-nand-rk27xx.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30449 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:38:52 +00:00
Marcin Bukat
6a628c999f
add lcd_blit_yuv() stub to the rk27xx lcd driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30448 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:38:48 +00:00
Marcin Bukat
7d33d83218
rk27xx - tweak a bit sd driver and add some debuging code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30447 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:38:41 +00:00
Marcin Bukat
0b35cdd77d
rk27xx - app linker script
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30445 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:38:30 +00:00
Marcin Bukat
472314ba73
rk27xx - implement pcm driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30444 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:38:22 +00:00
Marcin Bukat
727b98e700
rk27xx - basic power management related functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30443 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:38:18 +00:00
Marcin Bukat
1371dfbc86
rk27xx - nand stub
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30442 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:38:13 +00:00
Marcin Bukat
781e3e3b1e
rk27xx - implement driver for usb controller in rk27xx. This does not quite work now because of the way how controller and our usb stack are implemented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30441 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:38:08 +00:00
Marcin Bukat
9c40939d9c
rk27xx - implement dbg_hw_info() and dbg_ports()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30440 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:38:05 +00:00
Amaury Pouly
2ac668e44c
imx233/fuze+: implement user time api, implement a stub function, protect timrot against irq
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30437 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 00:27:38 +00:00
Amaury Pouly
333b9ed2c3
imx233/fuze+: fix apps linker script, add comment in bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30436 a1c6a512-1295-4272-9138-f99709370657
2011-09-05 18:32:40 +00:00
Amaury Pouly
25f0060d21
imx233/fuze+: don't reboot after usb more, enter usb more after storage init, remove useless printf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30434 a1c6a512-1295-4272-9138-f99709370657
2011-09-05 13:58:29 +00:00
Amaury Pouly
7d4fed53cc
imx233:fuze+: major memory and usb rework
...
- now identity map dram uncached and have a cached and buffered virtual alias
- rework dma to handle virtual to physical pointers conversion
- fix lcd frame pointer
- implement usb detection properly
- implement bootloader usb properly
- allow the bootloader to disable MMC windowing (useful for recovery)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30432 a1c6a512-1295-4272-9138-f99709370657
2011-09-05 11:29:32 +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
Bertrik Sikken
9372063e19
sansa clipzip: annotate lcd registers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30411 a1c6a512-1295-4272-9138-f99709370657
2011-09-02 20:09:51 +00:00
Bertrik Sikken
5b7a150807
sansa clipzip: add lcd_brightness function (to be used later to set the 'backlight' brightness)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30410 a1c6a512-1295-4272-9138-f99709370657
2011-09-02 19:57:29 +00:00
Bertrik Sikken
4991c858a0
sansa clipzip: implement lcd reset in the lcd driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30408 a1c6a512-1295-4272-9138-f99709370657
2011-09-01 17:06:19 +00:00
Bertrik Sikken
6a9aac7a5f
sansa clipzip: implement lcd_enable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30407 a1c6a512-1295-4272-9138-f99709370657
2011-09-01 16:59:30 +00:00
Michael Sevakis
d87f9fc909
Oops. "void void" doesn't work in C :p.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30404 a1c6a512-1295-4272-9138-f99709370657
2011-09-01 12:20:52 +00:00
Michael Sevakis
4db3e89652
Shuffle some functions around so that interfacing with playback.c in particular isn't required. Though playback does finish the audio init, pcm doesn't care who does it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30403 a1c6a512-1295-4272-9138-f99709370657
2011-09-01 12:15:43 +00:00
Bertrik Sikken
e66ad3e8a8
sansa clipzip: implement backlight
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30390 a1c6a512-1295-4272-9138-f99709370657
2011-08-30 19:13:44 +00:00
Bertrik Sikken
99f260ef49
sansa clipzip: fix bounds check/correction in lcd_update_rect
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30389 a1c6a512-1295-4272-9138-f99709370657
2011-08-30 18:14:20 +00:00
Thomas Martitz
d0b72e2590
GSoC/Buflib: Add buflib memory alocator to the core.
...
The buflib memory allocator is handle based and can free and
compact, move or resize memory on demand. This allows to effeciently
allocate memory dynamically without an MMU, by avoiding fragmentation
through memory compaction.
This patch adds the buflib library to the core, along with
convinience wrappers to omit the context parameter. Compaction is
not yet enabled, but will be in a later patch. Therefore, this acts as a
replacement for buffer_alloc/buffer_get_buffer() with the benifit of a debug
menu.
See buflib.h for some API documentation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30380 a1c6a512-1295-4272-9138-f99709370657
2011-08-30 14:01:33 +00:00
Bertrik Sikken
17fcb4cfe3
sansa clipzip: correct GPIO used for backlight
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30377 a1c6a512-1295-4272-9138-f99709370657
2011-08-29 21:08:24 +00:00
Bertrik Sikken
401edf8b48
sansa clipzip: implement more functions in the lcd driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30376 a1c6a512-1295-4272-9138-f99709370657
2011-08-29 21:05:59 +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
7695b0403f
Fix typo in and clarify comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30309 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 15:21:26 +00:00
Thomas Martitz
c0a4c66f9d
Android: Minor changes in ldebugf.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30304 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:58:39 +00:00
Bertrik Sikken
b2d0ea204c
Remove a couple of duplicate #includes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30301 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:42:32 +00:00
Thomas Martitz
dbdbc242ac
Remove hosted_get_volume(), as event data is available in button_get_data().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30300 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:38:10 +00:00
Marcin Bukat
3b0783068b
Fix typos in comments. Thanks ukleinek for pointing out.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30270 a1c6a512-1295-4272-9138-f99709370657
2011-08-08 20:21:29 +00:00
Marcin Bukat
1d2fae4466
rk27xx sd driver fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30269 a1c6a512-1295-4272-9138-f99709370657
2011-08-08 20:09:27 +00:00
Michael Giacomelli
62d666df6f
Convert AMSv2 microphone samples from 14 to 16 bit before storing them.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30209 a1c6a512-1295-4272-9138-f99709370657
2011-07-25 01:00:15 +00:00
Amaury Pouly
855e3c6f0f
imx233/fuze+: implement lcd_blit_yuv (untested)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30207 a1c6a512-1295-4272-9138-f99709370657
2011-07-24 19:12:27 +00:00
Amaury Pouly
1df8072c08
imx233/fuze+: cleanup sd code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30206 a1c6a512-1295-4272-9138-f99709370657
2011-07-24 19:12:23 +00:00
Bertrik Sikken
0157c62418
ipod nano 1g: enable readout of battery current through ADC channel 4066_ISTAT
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30204 a1c6a512-1295-4272-9138-f99709370657
2011-07-24 17:32:50 +00:00
Amaury Pouly
fa0f17d9b0
imx233/fuze+: move page table to dram
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30201 a1c6a512-1295-4272-9138-f99709370657
2011-07-23 13:48:01 +00:00
Amaury Pouly
eb90d95693
imx233/fuze+: huge rework
...
- enable MMU
-rework lcd frame buffer
- add rtc/adc/power stubs (or not)
- fix a few MMC related defines (hopefully)
- implement cache handling for DMA
- more SD work
- add keymap (based on clip)
- add virtual buttons
- update linker scripts
- big step toward apps actually compiling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30200 a1c6a512-1295-4272-9138-f99709370657
2011-07-23 11:45:22 +00:00
Amaury Pouly
06c94740e5
imx233/fuze+: prepare target to enable MMU
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30199 a1c6a512-1295-4272-9138-f99709370657
2011-07-23 11:45:18 +00:00
Amaury Pouly
82f70b8efd
imx233/fuze+: add SD detection support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30196 a1c6a512-1295-4272-9138-f99709370657
2011-07-22 15:45:58 +00:00
Amaury Pouly
85c32dbd12
imx233/fuze+: add pin irq support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30195 a1c6a512-1295-4272-9138-f99709370657
2011-07-22 15:45:50 +00:00
Amaury Pouly
7d1d4c6f07
imx233/fuze+: implement gpio interrupts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30194 a1c6a512-1295-4272-9138-f99709370657
2011-07-22 15:45:46 +00:00
Amaury Pouly
792dd33047
imx233/fuze+: gives bootloader argument to main
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30193 a1c6a512-1295-4272-9138-f99709370657
2011-07-22 15:45:42 +00:00
Thomas Martitz
c2a6214ecc
Android: Fix crash on start up.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30190 a1c6a512-1295-4272-9138-f99709370657
2011-07-22 06:50:41 +00:00
Bertrik Sikken
2f620b8af3
ipod nano 1g: enable LCD invert
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30182 a1c6a512-1295-4272-9138-f99709370657
2011-07-20 22:05:16 +00:00
Bertrik Sikken
1f72825444
ipod nano 1g: show lcd type debug info, make more room for iap debug info
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30181 a1c6a512-1295-4272-9138-f99709370657
2011-07-20 21:21:31 +00:00
Thomas Martitz
b2f52477df
Android: Change headphone detection to call into native.
...
Making a JNI call from tick tasks is not permitted as the underlying thread
is not attached to the Java VM. This is an error and crashes in the emulator
(which has stricter JNI checks enabled by default).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30173 a1c6a512-1295-4272-9138-f99709370657
2011-07-19 23:44:56 +00:00
Frank Gevaerts
aa27d47782
Set the default battery capacity for ipod video properly depending on detected RAM size.
...
Also set up a callback for the battery capacity setting (for all players) so changes take effect without having to reboot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30170 a1c6a512-1295-4272-9138-f99709370657
2011-07-19 20:48:16 +00:00
Marcin Bukat
31b7ecb09b
rk27xx - use more correct function to map between percived lightness and PWM fill factor when setting backlight brightness
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30168 a1c6a512-1295-4272-9138-f99709370657
2011-07-19 18:29:30 +00:00
Marcin Bukat
5d9b230168
rk27xx - implement cache_commit_discard(). Cache is still not enabled in crt0.S
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30167 a1c6a512-1295-4272-9138-f99709370657
2011-07-19 06:49:03 +00:00
Marcin Bukat
f1c7fba5a4
rk27xx - add missing interrupt source
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30166 a1c6a512-1295-4272-9138-f99709370657
2011-07-18 22:30:53 +00:00
Marcin Bukat
8fba4fb937
rk27xx - fix (hopefully) adc readings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30164 a1c6a512-1295-4272-9138-f99709370657
2011-07-18 22:00:17 +00:00
Thomas Martitz
33de9cdaef
Android: Refactor some of the glue code.
...
* Cleanup RockboxService.java by moving the battery and
headphone monitors to separate classes and detaching their instances
* Move those monitors and RockboxTelephony.java into a new
monitors subdirectory
* Call those monitors all the same from native code by creating
the objects there
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30160 a1c6a512-1295-4272-9138-f99709370657
2011-07-18 21:02:47 +00:00
Marcin Bukat
cad91ed938
rk27xx - fix backlight driver - now one can set brightness
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30138 a1c6a512-1295-4272-9138-f99709370657
2011-07-14 17:06:44 +00:00
Amaury Pouly
5a2681161b
imx233/fuze+: make SOURCES more correct, implement i2c for fmradio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30135 a1c6a512-1295-4272-9138-f99709370657
2011-07-09 17:14:05 +00:00
Amaury Pouly
86c64d4151
imx233: add missing i2c file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30121 a1c6a512-1295-4272-9138-f99709370657
2011-07-03 15:22:09 +00:00
Amaury Pouly
e36b20c4a1
imx233/fuze+: replace software i2c by hardware i2c, make some code more correct, reduce code size of lcd init sequences
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30120 a1c6a512-1295-4272-9138-f99709370657
2011-07-03 15:18:41 +00:00
Rafaël Carré
a1e1892b0f
as3525: make interrupts struct static and merge declaration & definition
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30116 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:49:09 +00:00
Amaury Pouly
e34eaf300c
imx233/fuze+: simplify ssp pin code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30113 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:28:06 +00:00
Amaury Pouly
88f75d096e
imx233/fuze+: don't compile {touchpad code,sd} in bootloader mode, fix style in mmc
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30112 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:21:06 +00:00
Amaury Pouly
82ecc75e68
imx233/fuze+: make config.h more correct, remove logo from bootloader, update linker file and crt0 to produce a single blob into dram
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30111 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:12:10 +00:00
Amaury Pouly
617d1e9f6b
imx233/fuze+: ssp, dma, mmc now work properly, partially implement cpu frequency changing, implement panic waiting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30104 a1c6a512-1295-4272-9138-f99709370657
2011-06-30 17:31:40 +00:00
Michael Sevakis
a2b6703a36
Commit FS#12150 - Fully-functional audio mixer - and finally whip old limitations about playback of voice and other sounds when paused. Channels are independent in state and amplitude. Fade on stop/pause is handled by the channel's volume control rather than global volume which means it now works from anywhere. Opens up the possibility of plugin sounds during music playback by merely adding an additional channel enum. If any PCM drivers were not properly modified, see one of the last comments in the task for a description of the simple change that is expected. Some params are tunable in firmware/export/pcm-mixer.h as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30097 a1c6a512-1295-4272-9138-f99709370657
2011-06-29 06:37:04 +00:00
Jens Arnold
91ce4b2a60
Optional dual-boot support in iAudio X5 and M5 bootloader, based on FS#5289.
...
In order to enable it, #define HAVE_DUALBOOT when building the bootloader.
Do not use the automatically created x5_fw.bin or m5_fw.bin, but use mkboot
to create a new firmware file from an OF x5_fw.bin resp. m5_fw.bin and
bootloader.bin.
The dual-boot bootloader boots the OF when pressing Play (main or remote) for
more than 3 seconds. Hold it a bit longer because the OF also checks buttons.
Short press boots rockbox.
As a bonus, the Play button read (for hold check) is done a bit earlier for
single-boot mode as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30018 a1c6a512-1295-4272-9138-f99709370657
2011-06-19 17:23:18 +00:00
Amaury Pouly
2cf3313382
fuze+: add more clocking code, add dma code, add ssp code, add stub usb code, update storage to SD + MMC, beginning of the driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30010 a1c6a512-1295-4272-9138-f99709370657
2011-06-17 22:30:58 +00:00
Michael Sevakis
d4800fa385
Coldfire: Fix the modification of IMR. Interrupts must be masked at the core level at at least the level of the interrupt being masked. Not following the datasheet and relying strictly on and/or_l causes unhandled 'Levelx' exceptions (showing itself quite often in PCM mixer work which more greatly stresses PCM lockout).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30009 a1c6a512-1295-4272-9138-f99709370657
2011-06-17 03:09:47 +00:00
Torne Wuff
754b1572fb
Remove superfluous executable bits on a bunch of files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29986 a1c6a512-1295-4272-9138-f99709370657
2011-06-08 14:22:03 +00:00
Marcin Bukat
1fd7ad8861
fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29966 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 10:33:42 +00:00
Marcin Bukat
dceceef052
Move dbg_hw_info() into target tree. FS#11735 by me
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29964 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 10:26:06 +00:00
Thomas Martitz
dace72166e
Android: Greatly simplify the pcm callback mechanism on both, the Java and the C side. Should be more reliable now (if the old wasn't already).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29963 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 09:44:57 +00:00
Dominik Riebeling
6c22be4a3d
Android: implement headphone detection thus enabling pause on unplug (FS#12097).
...
Listen to headphone plug events. There are currently two glitches with this:
- Android takes a while until it reports the unplug event, so there will be
some delay until playback gets paused. This is an Android limitation.
- Rockbox debounces headphone state changes for one second. Therefore playback
will shortly be routed to the speaker on unplug until Rockbox does the actual
pause.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29956 a1c6a512-1295-4272-9138-f99709370657
2011-06-04 19:17:47 +00:00
Jens Arnold
304312dc2f
iAudio boot: Unify common macro values
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29955 a1c6a512-1295-4272-9138-f99709370657
2011-06-04 19:17:06 +00:00
Marcin Bukat
27ebf86abc
rk27xx - missing semicolon
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29953 a1c6a512-1295-4272-9138-f99709370657
2011-06-04 16:00:55 +00:00
Marcin Bukat
c2829a2573
fix rockchip i2c driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29952 a1c6a512-1295-4272-9138-f99709370657
2011-06-04 10:55:16 +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
Dominik Riebeling
d7d830fa08
Fix an implicit declaration warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29930 a1c6a512-1295-4272-9138-f99709370657
2011-05-29 17:32:49 +00:00
Thomas Jarosch
eec4e9ff6a
Fix SDL touch screen handling on the screen edges
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29925 a1c6a512-1295-4272-9138-f99709370657
2011-05-25 20:11:03 +00:00
Jonathan Gordon
cc9079d24d
Fix a problem where hardware keypresses dont reset the idle poweroff timer on android
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29924 a1c6a512-1295-4272-9138-f99709370657
2011-05-25 08:44:49 +00:00
Amaury Pouly
a43509cc99
fuze+: implement a full-blown debug screen for touchpad with graphical feedback
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29869 a1c6a512-1295-4272-9138-f99709370657
2011-05-13 16:40:22 +00:00
Amaury Pouly
86e8c28330
fuze+: implement Synaptics RMI driver on top of i2c, add touchpad debug screen, bootloader enters debug screen by default
...
Since the bootloader currently always fails at storage point (unimplemented), always enter touchpad debug screen and power off which pressing power button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29859 a1c6a512-1295-4272-9138-f99709370657
2011-05-11 22:38:09 +00:00
Amaury Pouly
2481427b03
fuze+: add init/enable/disable lcd sequences for the second lcd kind (only based on disassembly, untested)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29852 a1c6a512-1295-4272-9138-f99709370657
2011-05-10 17:22:01 +00:00
Bertrik Sikken
9c33dca647
Fix tabs in .c and .h files in firmware/
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29832 a1c6a512-1295-4272-9138-f99709370657
2011-05-08 11:37:18 +00:00
Dominik Riebeling
fcf51bcd92
Fix whitespace errors aka tabs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29826 a1c6a512-1295-4272-9138-f99709370657
2011-05-05 19:20:58 +00:00
Amaury Pouly
ffee0b5e94
fuze+: move defines from .c to .h; implement button reading for volume up/down and power
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29822 a1c6a512-1295-4272-9138-f99709370657
2011-05-04 18:00:22 +00:00
Rafaël Carré
befabb2bab
AMSv2 USB: Write usb_delay() in assembly
...
Ensure no changes when we use different versions of gcc (USB used to panic with gcc 4.6.0)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29818 a1c6a512-1295-4272-9138-f99709370657
2011-05-03 17:17:23 +00:00
Amaury Pouly
3ce7809a84
fuze+: use mdelay and not udelay in lcd sequences
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29816 a1c6a512-1295-4272-9138-f99709370657
2011-05-02 22:52:45 +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
Bertrik Sikken
55a7a31ce3
Split off target-specific parts from firmware/drivers/serial.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29768 a1c6a512-1295-4272-9138-f99709370657
2011-04-23 08:23:07 +00:00
Bertrik Sikken
0dfce1972b
ipod6g: make functions and variables static where possible
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29767 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 21:39:17 +00:00
Andree Buschmann
71e35542dc
Fix issues with iPod nano 2G displays reported on the forums. The voltage supply seems to be too low for several LCDs. The buzz of the display is still significantly lower than with OF.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29764 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 19:06:16 +00:00
Bertrik Sikken
8d1d2f8982
AMS: consistently use bitclr32/bitset32/bitmod32 for register CCU_IO (instead of using |= or &= )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29748 a1c6a512-1295-4272-9138-f99709370657
2011-04-18 21:13:40 +00:00
Bertrik Sikken
c2ca4bec9d
AMSv1 sd: work-around for detection problem with some sd cards (delay after switching to high-speed)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29746 a1c6a512-1295-4272-9138-f99709370657
2011-04-18 20:08:47 +00:00
Thomas Jarosch
e57d3b292a
Define LCD dpi for n900, n8xx and the pandora
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29728 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 20:27:52 +00:00
Bertrik Sikken
59e37cbccb
AMS sd: use defines instead of direct values for drive number
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29696 a1c6a512-1295-4272-9138-f99709370657
2011-04-09 07:57:53 +00:00
Bertrik Sikken
67a4e9befc
Sansa Clip v2: there's no need to use |= or &= to manipulate a GPIO for the button light
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29695 a1c6a512-1295-4272-9138-f99709370657
2011-04-08 21:51:46 +00:00
Bertrik Sikken
f608229f32
Sansa clip+: do not set GPIO B7 in the display driver, it's already used for FM radio I2C
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29668 a1c6a512-1295-4272-9138-f99709370657
2011-04-02 08:24:14 +00:00
Bertrik Sikken
eab630a1e1
AMSv2: fix dependency between button light and sd card control for fuze v2 variant 0
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29667 a1c6a512-1295-4272-9138-f99709370657
2011-04-01 21:29:08 +00:00
Bertrik Sikken
8351a1aa9d
AMSv2 sd: do not try to switch sd cards into high-speed mode.
...
High-speed mode is only half implemented (sd controller still uses normal speed) and causes card detection problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29660 a1c6a512-1295-4272-9138-f99709370657
2011-03-29 20:37:40 +00:00
Bertrik Sikken
5c4c691cd3
AMSv2 sd: correct CLKENA settings (to stop sd clock when idle) for AMSv2 variant 1 players
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29657 a1c6a512-1295-4272-9138-f99709370657
2011-03-28 20:46:56 +00:00
Bertrik Sikken
7d74fdec02
AMSv2 sd: do sd slot switching with GPIO B5 only for AMSv2 variant 1
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29656 a1c6a512-1295-4272-9138-f99709370657
2011-03-28 18:08:03 +00:00
Bertrik Sikken
86c4ec7277
AMSv2 SD: use INTERNAL_AS3525 and SD_SLOT_AS3525 defines instead of a direct value
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29652 a1c6a512-1295-4272-9138-f99709370657
2011-03-26 23:31:29 +00:00
Bertrik Sikken
502e9e97b6
AMSv2 SD: wait for response to command SD_STOP_TRANSMISSION instead of ignoring the response
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29651 a1c6a512-1295-4272-9138-f99709370657
2011-03-26 21:22:30 +00:00
Bertrik Sikken
6512f0fb52
AMSv2 SD: reorganise code to select 4-bit mode data transfer mode a bit and add comments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29648 a1c6a512-1295-4272-9138-f99709370657
2011-03-26 21:12:16 +00:00
Bertrik Sikken
2543340bf4
AMSv2 SD: sd card communication speed can be changed back to full speed after CMD3 (SEND_RCA)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29647 a1c6a512-1295-4272-9138-f99709370657
2011-03-26 19:52:42 +00:00
Michael Sparmann
26f63070c2
iPod Classic storage driver: Fix some implicit casts, typos, ...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29640 a1c6a512-1295-4272-9138-f99709370657
2011-03-24 14:51:23 +00:00
Rafaël Carré
688545ea16
fix warning, use unsigned variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29638 a1c6a512-1295-4272-9138-f99709370657
2011-03-24 10:54:30 +00:00
Rafaël Carré
669313a11d
SD AMSv2: fix r29625
...
The number of blocks could have been checked while the card was not initialized yet.
See FS#11870 for details
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29637 a1c6a512-1295-4272-9138-f99709370657
2011-03-24 10:43:47 +00:00
Bertrik Sikken
d3c796d20e
AMSv2 SD: send 80 idle clocks before sending initial CMD0 (go idle state)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29630 a1c6a512-1295-4272-9138-f99709370657
2011-03-21 23:24:59 +00:00
Bertrik Sikken
fc0ad4c01e
AMSv2 SD: receive sd card command responses during initialisation instead of ignoring them
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29629 a1c6a512-1295-4272-9138-f99709370657
2011-03-21 22:04:25 +00:00
Bertrik Sikken
3d3c0c51ec
AMSv2 SD: wait for previous data transfer completion before sending a command
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29628 a1c6a512-1295-4272-9138-f99709370657
2011-03-21 21:41:50 +00:00
Bertrik Sikken
6bf0f65388
AMSv2 SD: use a sleep instead of a udelay for 100 ms delay
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29627 a1c6a512-1295-4272-9138-f99709370657
2011-03-21 20:41:53 +00:00
Rafaël Carré
82f2bb99ae
SD AMSv2: fix r29169
...
Restore access to the last AMS_OF_SIZE == 0xF000 sectors of internal drive
Mostly visible when using USB (or database?)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29625 a1c6a512-1295-4272-9138-f99709370657
2011-03-20 17:04:31 +00:00
Rafaël Carré
1675e98925
SD amsv2: remove double assignement
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29624 a1c6a512-1295-4272-9138-f99709370657
2011-03-20 17:04:19 +00:00
Bertrik Sikken
faeb4d6aef
Add another delay in the AMSv2 sd controller driver as a work-around for SD initialisation problems, see FS#11870
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29619 a1c6a512-1295-4272-9138-f99709370657
2011-03-20 09:57:43 +00:00
Thomas Martitz
8c46ddf9d7
Android: Implement app shutdown and thus, sleep timer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29602 a1c6a512-1295-4272-9138-f99709370657
2011-03-16 15:17:24 +00:00
Thomas Martitz
046cec3aa7
Android: Partly revert r29569 and only call the new getJavaEnvironment() when needed.
...
The environment is fine to share in general, just not across OS threads, so it's only needed
for functions which are possibly called from multiple OS threads (only 1 currently).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29601 a1c6a512-1295-4272-9138-f99709370657
2011-03-16 14:33:55 +00:00
Björn Stenberg
e50cc0e3d7
Listen to and follow external Android volume changes. (Based on FS#11914 by Maurus Cuelenaere)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29586 a1c6a512-1295-4272-9138-f99709370657
2011-03-14 12:25:48 +00:00
Maurus Cuelenaere
8aa90b6b0b
Android: allocate native_buffer locally, which does away with the need to hold
...
a global reference to it (fixes bug).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29576 a1c6a512-1295-4272-9138-f99709370657
2011-03-12 00:35:18 +00:00
Thomas Martitz
204ac257fe
Android: Switch to pthread_cond+SIGEV_THREAD for tick task handling.
...
The implementation wasn't really safe (sem_post from signal handler), and the new one simplifies things a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29575 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 23:38:36 +00:00
Thomas Martitz
662ba4868a
Create GlobalRef in surfaceCreated, in accordance to r29572.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29574 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 22:48:10 +00:00
Maurus Cuelenaere
0b18522cd0
Android: delete the global reference in surfaceDestroyed
...
This gets rid of the lcd_deinit() boilerplate.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29572 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 19:38:30 +00:00
Maurus Cuelenaere
80a2c80332
Android: no need to keep RockboxPCM_class around
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29571 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 19:25:05 +00:00
Maurus Cuelenaere
c2ee32b22a
Partly revert "Android: use NewGlobalRef for references that are used globally"
...
The added complexity wasn't needed for most subsystems, as main() never returns
so local references can't be freed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29570 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 19:23:00 +00:00
Maurus Cuelenaere
66f2a08f8a
Android: Don't share the JNI environment across threads, but obtain it the
...
correct way
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29569 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 18:34:35 +00:00
Maurus Cuelenaere
2e5b7aebde
Android: use NewGlobalRef for references that are used globally
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29568 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 18:34:31 +00:00
Björn Stenberg
8196f21a94
Enable volume keys in Android.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29559 a1c6a512-1295-4272-9138-f99709370657
2011-03-10 22:53:58 +00:00
Thomas Martitz
294d058034
Return -1 for not implemented RTC functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29546 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 21:36:47 +00:00
Thomas Jarosch
4e42cd712c
RaaA: Add RTC support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29544 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 20:54:42 +00:00
Thomas Jarosch
5c73e34d2d
Bring idle poweroff to RaaA and the sim
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29543 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 19:33:30 +00:00
Thomas Martitz
6538326ef2
Android: Fix black display after unzipping libmisc.so.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29527 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 20:47:49 +00:00
Thomas Martitz
cc889e9d60
Change the thread api a bit.
...
* Remove THREAD_ID_CURRENT macro in favor of a thread_self() function, this allows thread functions to be simpler.
* thread_self_entry() shortcut for kernel.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29521 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 17:48:06 +00:00
Thomas Jarosch
cc54487bdd
Add rockbox copyright header with proper credits for kugel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29517 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 15:38:10 +00:00
Thomas Jarosch
af43d08003
Add svn:keywords to firmware/target/hosted source files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29516 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 15:31:52 +00:00
Frank Gevaerts
5664d8412d
Fix compilation issues for sdl when HAVE_BUTTON_DATA is not defined
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29511 a1c6a512-1295-4272-9138-f99709370657
2011-03-03 17:37:08 +00:00
Thomas Jarosch
a25153be6b
Remove redundant function prototype
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29505 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 20:21:17 +00:00
Thomas Jarosch
b00c8caf2a
Fix red on Archos Recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29504 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 20:15:51 +00:00
Thomas Jarosch
281efd7180
Fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29502 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 19:43:12 +00:00
Thomas Jarosch
15a358099c
Introduce "power" thread for RaaA
...
I tried to move the #ifdefs and the code
in firmware/powermgmt.c around and it was still
a big mess for hosted applications (RaaA/sim builds).
Create our own "power" thread as recently discussed on IRC.
Fixes the sleep timer for RaaA.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29501 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 19:12:55 +00:00
Michael Sevakis
12375d1d3a
Merge functionality of wakeups and semaphores-- fewer APIs and object types. semaphore_wait takes a timeout now so codecs and plugins have to be made incompatible. Don't make semaphores for targets not using them.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29492 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 08:49:38 +00:00
Thomas Jarosch
acd8bffb95
Expose sys_poweroff() and cancel_shutdown() to RaaA. Hopefully fixes android build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29485 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 20:31:20 +00:00
Marcin Bukat
735ea2fd1f
Move drivers/i2c.c into target tree as it contains SH specific bits. Leave associated header file intact as it is used in many places for historical reasons.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29480 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 09:13:48 +00:00
Marcin Bukat
fec3193f8a
Move ata_mmc.c into target tree as it is SH (ondio) specific. Associated header file is left intact as it seems to be used in many places for historical reasons
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29478 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 07:53:46 +00:00
Michael Sparmann
7a7c8f071d
iPod Classic: Use DMA (and double buffering) for LCD updates
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29474 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 01:52:12 +00:00
Thomas Jarosch
2647d11354
Move sleep timer code outside of PLATFORM_NATIVE ifdef so RaaA can access it
...
Also remove redundant RaaA stubs for it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29467 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 23:05:00 +00:00
Michael Sparmann
3bcfd5c106
iPod Classic: Enable RGB LCD update assembler code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29466 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 18:30:19 +00:00
Michael Sparmann
06c1757138
iPod Classic: Fix YUV blitting. Mpegplayer works now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29460 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 11:54:28 +00:00
Jonathan Gordon
a7fb7366b5
brackets are important! fix the mouse being hidden in sims
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29458 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 10:55:02 +00:00
Thomas Martitz
d8f6c75ab9
Hopefully get shutdown/exit handling on SDL/maemo right.
...
Make shutdown_hw() not return as it's supposed to, ensure sim_do_exit() is called from main thread and move sim_kernel_shutdown() into it to simplify things.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29455 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 03:24:48 +00:00
Thomas Jarosch
613a26d507
Pandora port: Exit rockbox by pressing the SELECT button
...
Might get remapped to another button later on, for example
if we map the START button to the main menu, then those two
buttons are too close together.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29453 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 00:03:42 +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
Michael Sparmann
30fb680a4d
iPod Classic CE-ATA Support (Part 4 of 4: S5L8702 ATA driver)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29448 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 22:47:55 +00:00
Michael Sevakis
9f0bad0efe
Byteswap routines don't really need 'asm volatile', just 'asm' since it should be safe to move them for optimizing. Clean up the line endings for ARM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29394 a1c6a512-1295-4272-9138-f99709370657
2011-02-25 00:46:39 +00:00
Michael Sevakis
00e5a9c088
Use thumb-compatible byte swap routines when building with -mthumb.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29391 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 23:12:00 +00:00
Thomas Martitz
95e24dd7a5
Android:
...
* Re-create RockboxFramebuffer instance with every time there's a new Activity.
* Also, allow Rockbox to be started via multimedia buttons, immediately starting playback if wanted.
We don't need to keep the fb instance around when it backround, and it makes us less depending on it and the activity (less race conditions). And this is how you usually do it in Android apps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29384 a1c6a512-1295-4272-9138-f99709370657
2011-02-23 01:10:54 +00:00
Michael Sevakis
da3417706d
Gigabeat S: Smoother bootup. Don't do full drive reset at boot since it's not really a coldstart. Seems to work alright in both the bootloader and firmware.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29383 a1c6a512-1295-4272-9138-f99709370657
2011-02-23 00:34:56 +00:00
Michael Chicoine
f9b05adc91
Return valid tuner ID even when tuner is not detected properly. Fixes FS#11791
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29378 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 13:58:06 +00:00
Michael Sparmann
a18e131282
Calibrate iPod Classic battery gauge a bit better
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29365 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 22:58:45 +00:00
Thomas Martitz
144df92bfb
Android: Rewrite lcd subsystem to use the SurfaceView API.
...
That enables drawing from outside the apps UI thread, i.e. from within the Rockbox native thread, without needing synchronization means, and adds determinism as to when the draw happens.
It simplifies the drawing routines and adds a convinient way of detecting whether drawing should happen or not (surfaceCreated/Destroyed).
It also restores max. fps on my phone which went down drastically with the gingerbread(CM7) update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29333 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 01:13:38 +00:00
Thomas Jarosch
e80bd1df2a
N900: Prevent stuck up/down keys on systems with shared up/down cursor mapping
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29331 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 00:32:05 +00:00
Thomas Martitz
8bc2801e7c
Fix red caused by incorrect includes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29329 a1c6a512-1295-4272-9138-f99709370657
2011-02-18 23:29:11 +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
258626f455
Fix the shutdown sequence for maemo, SDL and simulator builds
...
Do proper shutdown in RaaA builds like writeout of
last.FM scrobbler file and other neat things.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29309 a1c6a512-1295-4272-9138-f99709370657
2011-02-15 19:43:04 +00:00
Michael Sevakis
b15aa47c56
All kernel objects in code shared amongs targets (core, plugins, codecs) should be declared SHAREDBSS_ATTR as any core could potentially touch them even though they seem only to involve threads on one core. The exception is target code for particular CPUs where proper allocation is fixed. playlist.c was a little odd too-- use one mutex for the current playlist and a separate one for created playlists (still pondering the necessity of more than one).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29305 a1c6a512-1295-4272-9138-f99709370657
2011-02-14 11:27:45 +00:00
Andree Buschmann
5ead6a6056
Submit FS#11926, calibrate charge curve for e200v1. Thanks to Martin Ritter.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29282 a1c6a512-1295-4272-9138-f99709370657
2011-02-11 15:58:39 +00:00
Michael Sparmann
40e76916cd
iPod Nano2g/Classic clickwheel: Configure GPIO pins as Hi-Z while hold switch is engaged
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29276 a1c6a512-1295-4272-9138-f99709370657
2011-02-10 19:13:30 +00:00
Michael Sparmann
6f9d2ad130
Fix more red. Two had been hiding.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29274 a1c6a512-1295-4272-9138-f99709370657
2011-02-10 10:22:44 +00:00
Michael Sparmann
42c0c9a619
Fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29273 a1c6a512-1295-4272-9138-f99709370657
2011-02-10 10:16:27 +00:00
Michael Sparmann
cd8e8419f7
iPod Nano 2G: Fix current leak through clickwheel GPIOs when clickwheel is powered down
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29272 a1c6a512-1295-4272-9138-f99709370657
2011-02-10 10:10:27 +00:00
Michael Sparmann
2007d67bce
Fix red (remove accidentally committed debugging code)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29269 a1c6a512-1295-4272-9138-f99709370657
2011-02-10 00:35:46 +00:00
Michael Sparmann
fdf092ebd3
iPod Classic: Do boosting the right way round ;-)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29268 a1c6a512-1295-4272-9138-f99709370657
2011-02-10 00:30:42 +00:00
Michael Sparmann
2db7f00255
iPod Classic: Fix current leak through clickwheel GPIOs when clickwheel is powered down
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29267 a1c6a512-1295-4272-9138-f99709370657
2011-02-10 00:14:21 +00:00