Commit graph

3643 commits

Author SHA1 Message Date
Amaury Pouly
ea8570b48c imx233: remove virtual 5V channel (value doesn't make sense), fix battery conversion (need to trigger delay)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30986 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:42:43 +00:00
Amaury Pouly
f791a81e87 imx233: add include for future use of adc to read battery
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30985 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:10:25 +00:00
Amaury Pouly
0cd832a6d4 imx233: fix comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30984 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:07:52 +00:00
Amaury Pouly
d8666336a7 imx233: add adc debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30983 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:07:48 +00:00
Amaury Pouly
e167c1d8d7 imx233: add automatic battery conversion using delay channel, make 5V a virtual channel since it has a builtin divider
fuze+: use 5V virtual channel

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30982 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:05:14 +00:00
Amaury Pouly
a9d56ac5de imx233: use generic code for both channels and delays arbiter code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30981 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:05:10 +00:00
Amaury Pouly
9a4213c8f3 imx233: cosmetic changes in adc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30980 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 19:48:45 +00:00
Amaury Pouly
1852dd89ed imx233/fuze+: add a small delay before powering off to allow the user to release the power button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30979 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 19:46:13 +00:00
Amaury Pouly
7fec08927b fuze+: fix backlight to have a real zero
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30978 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 19:46:09 +00:00
Amaury Pouly
2a45f7772b fuze+: fix backlight calculations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30977 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 19:14:34 +00:00
Bertrik Sikken
fdc906743f Sansa clip zip: update lcd_update_rect to even-align horizontal coordinates for the wisechip display type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30969 a1c6a512-1295-4272-9138-f99709370657
2011-11-12 20:14:44 +00:00
Amaury Pouly
7aac4188d2 fuze+: fix typo (mdelay vs udelay) in register read (shouldn't change anything) and be sure lcdif is ready
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30958 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 17:29:57 +00:00
Michael Sparmann
6229d623b0 Rework FS#12310 fix (r30906) for better readability. No functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30953 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 10:37:02 +00:00
Boris Gjenero
415f579bf3 Fix assembler .size directives. Currently used binutils don't complain, but 2.21.1 treats these as errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30945 a1c6a512-1295-4272-9138-f99709370657
2011-11-09 19:20:33 +00:00
Michael Giacomelli
64c73c4751 Disable the clock the built in AS3525(v2) bootrom. This is only useful for reverse engineering purposes, so disable during normal operation in case it uses power.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30930 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 02:07:26 +00:00
Amaury Pouly
bbbc2e8877 fuze+: fix typo in lcd init sequence for second lcd type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30926 a1c6a512-1295-4272-9138-f99709370657
2011-11-07 09:18:24 +00:00
Torne Wuff
569285794b Bulk convert all DOS line endings to UNIX.
For the git migration we want a nice clean repository with UNIX line
endings. git does not use svn:eol-style, we just need the file contents to be
sane.

Sorry everybody. I know this messes up blame.

Scumbag *NIX developer says migrating to git will make line ending issues go
away; commits giant change to svn which changes line endings anyway. :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30924 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 22:44:25 +00:00
Michael Sparmann
2ce48832d8 iPod Classic: Set LCD controller configuration register during initialization and don't rely on the bootloader doing that (closes FS#12233)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30908 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 11:35:21 +00:00
Michael Sparmann
33d6bd61b5 usb-s3c6400x.c: Fix memory corruption bug (closes FS#12310)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30906 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 00:56:26 +00:00
Michael Sparmann
052231748f usb-s3c6400x.c: Remove an unused variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30905 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 00:04:52 +00:00
Marcin Bukat
f4b74b269a MPIO HD300: vastly improve sound quality. This unfortunately means reverting r28797 which introduced poping noise
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30904 a1c6a512-1295-4272-9138-f99709370657
2011-11-05 14:01:22 +00:00
Bertrik Sikken
9310fc0b4c Sansa clip zip: do not enable display if it's already enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30903 a1c6a512-1295-4272-9138-f99709370657
2011-11-05 12:30:19 +00:00
Bertrik Sikken
2181ef3288 Sansa clip zip: swap RGB<>BGR for WiseChip display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30898 a1c6a512-1295-4272-9138-f99709370657
2011-11-04 08:04:25 +00:00
Bertrik Sikken
e71750b7a3 Make local functions and variables static where possible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30897 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 23:32:49 +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
50211e2054 Sansa clip zip: show AMSv2 variant in debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30890 a1c6a512-1295-4272-9138-f99709370657
2011-11-02 22:40:35 +00:00
Amaury Pouly
856fb705c2 fuze+: use macro and add a few static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30889 a1c6a512-1295-4272-9138-f99709370657
2011-11-02 17:48:04 +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
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