Commit graph

5419 commits

Author SHA1 Message Date
Maurus Cuelenaere
e3b2f4ffed Switch screen 90 degrees clockwise
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18069 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 12:54:43 +00:00
Maurus Cuelenaere
ffddab1e66 Use register defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18068 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 12:25:27 +00:00
Bertrik Sikken
a12894c6dc Ensure consistency between header file and implementation for iPod drivers, by #including the appropriate header file and #ifdef'fing out unused code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18066 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 11:02:14 +00:00
Rob Purchase
635ad63539 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18064 a1c6a512-1295-4272-9138-f99709370657
2008-07-15 21:46:46 +00:00
Rob Purchase
3352b265e6 Update the Telechips NAND driver to use the nand_identify() function introduced in r18052.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18063 a1c6a512-1295-4272-9138-f99709370657
2008-07-15 21:32:20 +00:00
Rob Purchase
7776c7a6f4 Fix red for target with insanely wide LCDs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18060 a1c6a512-1295-4272-9138-f99709370657
2008-07-15 18:59:05 +00:00
Rob Purchase
adb6a00c59 Update lcd-as-memframe.S to only rotate YUV data for portrait LCDs (and remove the D2's temporary C implementation). Enable MpegPlayer dithering option for D2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18055 a1c6a512-1295-4272-9138-f99709370657
2008-07-15 17:54:58 +00:00
Maurus Cuelenaere
ebb612fbcc Onda VX747:
1) Improve touchscreen handling
2) Add RTC driver
4) Add NAND Flash ID scanning
3) Other minor fixes

Nand_ID:
Add a generic NAND ID database (currently only containg Samsung chips)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18052 a1c6a512-1295-4272-9138-f99709370657
2008-07-15 17:17:01 +00:00
Maurus Cuelenaere
b632ddf9ca And set svn:eol-style ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18034 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 15:19:29 +00:00
Maurus Cuelenaere
e6248f2e5d Remove svn:executable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18033 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 15:09:22 +00:00
Maurus Cuelenaere
0709f0a5c6 Add preliminary support for the Onda VX747 (MIPS target)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18032 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 15:03:10 +00:00
Marc Guay
4f19981748 Revert r18029 as well. It's more complicated than I thought as Rockbox currently seems to assume that all targets have microphone recording abilities. Will recheck, and verify more thoroughly before committing from now on.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18031 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 14:13:28 +00:00
Marc Guay
37400f8d4d Revert most of r18029 as recording through line-in is possible on the H10, just not currently functional. Leave the /nopt for line-in on the Sansas.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18030 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 06:17:40 +00:00
Marc Guay
4bcd54e75a Remove the Mic Recording capacity from the iPod Nano and Video as they can only record through the dock connector. Manual updated accordingly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18029 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 04:34:26 +00:00
Marc Guay
beb3b6b039 Fix FS#7541 by removing the line-in recording capacity and the manual entry for the H10 (and Sansas). More work needs to be done in this department.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18028 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 03:58:19 +00:00
Rob Purchase
4d97165bf6 Fix a slightly misleading logf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18026 a1c6a512-1295-4272-9138-f99709370657
2008-07-13 17:34:58 +00:00
Rob Purchase
586437656c Delete an empty file that does not appear to be included by any target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18021 a1c6a512-1295-4272-9138-f99709370657
2008-07-12 23:11:14 +00:00
Rob Purchase
ee72b3bbc6 Make the TCC780x NAND driver also build for 77x targets. This is work-in-progress stuff and does not yet work fully on 77x, but it's a step in the right direction. Also replace some magic numbers with #defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18019 a1c6a512-1295-4272-9138-f99709370657
2008-07-12 23:01:49 +00:00
Jonathan Gordon
5cb85a81d2 fix the sleeptimer which got broken in r17872
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18006 a1c6a512-1295-4272-9138-f99709370657
2008-07-10 02:33:00 +00:00
Frank Gevaerts
df7d6d0e6e define SERIALIZE_WRITES for all HAVE_ATA_SD, not just the sansas
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18001 a1c6a512-1295-4272-9138-f99709370657
2008-07-09 21:00:38 +00:00
Rob Purchase
b564ac44cd D2: A working implementation of lcd_blit_yuv() by Thibaut Girka.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18000 a1c6a512-1295-4272-9138-f99709370657
2008-07-09 20:51:47 +00:00
Rob Purchase
0eb51e8a73 D2: Add the tuner_power() function which was missing from the previous FM commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17999 a1c6a512-1295-4272-9138-f99709370657
2008-07-09 20:42:47 +00:00
Frank Gevaerts
3f3bb75d6a Don't do overlapping USB transactions and SD writes. This seems to avoid FS#8663
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17997 a1c6a512-1295-4272-9138-f99709370657
2008-07-09 19:56:09 +00:00
Jens Arnold
105eef98fa AB repeat: define single button mode for the Player so that it becomes usable, and enable AB repeat for the Ondios, also in single button mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17975 a1c6a512-1295-4272-9138-f99709370657
2008-07-07 07:04:07 +00:00
Marc Guay
a5ed793fe1 Get rid of useless bits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17973 a1c6a512-1295-4272-9138-f99709370657
2008-07-06 21:38:29 +00:00
Marc Guay
f6cde72ce9 Fix a few dead references in the manual and add an 's' where one was missing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17972 a1c6a512-1295-4272-9138-f99709370657
2008-07-06 21:32:59 +00:00
Marc Guay
a5f99f2a51 Bring the H300 charging-only button in line with the other targets. Hold the AB button on connect for this feature. To discuss a greater reworking of the function, see FS#8702.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17940 a1c6a512-1295-4272-9138-f99709370657
2008-07-04 18:12:01 +00:00
Christian Gmeiner
1ffa86fed1 cleanup some audio driver headers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17924 a1c6a512-1295-4272-9138-f99709370657
2008-07-02 23:01:21 +00:00
Jonathan Gordon
144f39b4ea revert that scroll engine stuff... good in theory, but broken.
commit a band-aid fix for FS#9140 which is fine untill someone decides to not use the whole screen for it...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17916 a1c6a512-1295-4272-9138-f99709370657
2008-07-02 13:02:57 +00:00
Jonathan Gordon
d69573e314 going out for a while and dont want to leave it partially broken.. ill re-enable this code later tonight/tomorow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17915 a1c6a512-1295-4272-9138-f99709370657
2008-07-02 10:03:53 +00:00
Jonathan Gordon
4d2e91d252 fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17914 a1c6a512-1295-4272-9138-f99709370657
2008-07-02 09:55:01 +00:00
Jonathan Gordon
88055b2f2e fix FS#9140 by changing stop_scroll so it stops scrolling lines which would overlap the current viewport. This shouldnt cause any problems because when this happens the vp owning the line should redraw when the new vp's screen is exited.
Also fix a potential bug where only one scrolling line in a viewport was stopped


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17913 a1c6a512-1295-4272-9138-f99709370657
2008-07-02 09:42:36 +00:00
Andree Buschmann
a0bf57c7f1 Fix possible ATA-error on startup for iPod nano. Was introduced with r17721.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17908 a1c6a512-1295-4272-9138-f99709370657
2008-07-01 20:42:19 +00:00
Frank Gevaerts
b9f0c2b385 fix a stray yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17896 a1c6a512-1295-4272-9138-f99709370657
2008-06-30 19:38:19 +00:00
Maurus Cuelenaere
bbcb790129 Don't handle a touchscreen press when backlight is off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17877 a1c6a512-1295-4272-9138-f99709370657
2008-06-29 14:52:04 +00:00
Jens Arnold
0884582228 Colour targets: Revert an optimisation from almost 18 months ago that actually turned out to slow down things. Speeds up mono bitmap drawing by ~15..60% depending on target and drawmode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17876 a1c6a512-1295-4272-9138-f99709370657
2008-06-29 12:56:01 +00:00
Bertrik Sikken
4e15aead43 Move declaration of button_int and clickwheel_int to the proper header file instead of declaring it locally in the .c file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17874 a1c6a512-1295-4272-9138-f99709370657
2008-06-29 11:03:12 +00:00
Jonathan Gordon
6f6fcfc3a8 fix FS#8187 - charging breaks sleep timer. Now if the timer goes off and the player is charging or connected to USB it will turn off the audio, but stay on
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17872 a1c6a512-1295-4272-9138-f99709370657
2008-06-29 09:44:07 +00:00
Bertrik Sikken
604447c475 Moved microsd_int declaration from system-pp502x.c to ata-sd-target.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17855 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 19:36:21 +00:00
Daniel Stenberg
2acc0ac542 Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Marcoen Hirschberg
aab068631b fix typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17824 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 00:02:07 +00:00
Marcoen Hirschberg
b2ce7e2801 set the s5l8700 i2c define to a unique number
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17822 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 00:02:03 +00:00
Marcoen Hirschberg
1d04485789 remove leftover debug stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17820 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 23:44:17 +00:00
Marcoen Hirschberg
7b10ef9a7c initial Meizu M6SL port (take 2)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17819 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 23:24:34 +00:00
Dominik Wenger
7135f2d9f4 make mrobe100 touchstrip driver less sensitive by checking for the finger bit. Also little cleanup in driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17810 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 20:19:27 +00:00
Mark Arigo
22e7bf32b8 My Devcon 2008 contribution: port for Philips GoGear HDD1630 (PP5022-based). Current status is that the bootloader works to load Rockbox, but dual boot does not work: it freezes after decrypting the OF. When Rockbox boots, it freezes somewhere between showing the logo and the main menu. And there's no driver for the touchpad. So lots of work left.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17809 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 18:40:25 +00:00
Rob Purchase
39aaa2f2b5 D2: Small optimisation to the PCM FIQ (only stack registers when necessary).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17806 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 12:39:03 +00:00
Rob Purchase
38b02f3d7a D2: Make the nand driver's sanity checks a little more... sane. This should allow booting on a few older D2's.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17805 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 12:35:50 +00:00
Rob Purchase
ed95be983c D2: Editing config.h wasn't enough to fully disable IRAM - also disable it in *.lds for a crash fix and further 100% increase in codec performance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17779 a1c6a512-1295-4272-9138-f99709370657
2008-06-24 07:38:35 +00:00
Rob Purchase
e7a31c16dc Disable IRAM usage on TCC780x, giving at least a 2x speedup in codecs and elsewhere. To be re-instated only when the issue is fully understood.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17774 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 22:25:33 +00:00
Rob Purchase
3ca42e4aac D2: Take notice of the hold button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17773 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 21:38:11 +00:00
Rob Purchase
9aa7ceb0df Fix the D2 click/popping every second. Lesson from PCM-driver 101: don't disable FIQs unless you really, really need to.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17765 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 18:23:56 +00:00
Jonathan Gordon
bdbdb97f19 FS#9051 - remove LCD margins... use viewports if you need them...
NOTE to WPS people....
%m has been removed, but (i think) because of the other %m tags it wont fail if you try loading a wps with %m|..|, it will just be ignored.
Also note that if the statusbar is enabled the default viewport is 8 pixels shorter than when its not, i.e (0,0) is really (0,8) if the statusbar is shown... I dont think this will be a major issue because almost no WPS show the bar and use bitmaps... text only WPS shouldnt be affected.

Please report problem screens in http://forums.rockbox.org/index.php?topic=17358.0


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17763 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 13:20:35 +00:00
Rob Purchase
e62aa9e156 Oops, fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17754 a1c6a512-1295-4272-9138-f99709370657
2008-06-22 19:01:44 +00:00
Rob Purchase
d6159ea7d7 Initial D2 sound playback support (known issues to follow on the CowonD2Info wiki page).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17753 a1c6a512-1295-4272-9138-f99709370657
2008-06-22 18:48:22 +00:00
Marc Guay
b362b7f9ea Hopefully update the keywords. Thanks bluebrother.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17744 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 16:07:59 +00:00
Marc Guay
1ccc3e72f0 Forgot the export/config file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17743 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 15:22:33 +00:00
Marc Guay
b93667b306 Add the Sansa c100 as a build target with basic drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17742 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 15:18:36 +00:00
Andree Buschmann
3d40144e34 Commit FS#9076, unification of PCF-initialization for iPod Video and nano. The nano's runtime will increase by about 45min.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17721 a1c6a512-1295-4272-9138-f99709370657
2008-06-14 22:22:51 +00:00
Jens Arnold
538a387cca Blind-add some code from ipodlinux that hopefully fixes the colour problem on iPod Photo reported on the forums.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17715 a1c6a512-1295-4272-9138-f99709370657
2008-06-12 05:56:34 +00:00
Rob Purchase
0efad8d925 D2: Configure NAND GPIO lines /before/ attempting to use them. Should fix 16Gb support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17713 a1c6a512-1295-4272-9138-f99709370657
2008-06-10 18:03:13 +00:00
Rob Purchase
bca9703b83 D2: Fixes for 16Gb models with four NAND banks: update MAX_BANKS, configure the chip select GPIO as output and use a couple of #defines to tidy things up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17705 a1c6a512-1295-4272-9138-f99709370657
2008-06-09 08:11:11 +00:00
Rob Purchase
51d6d4054f Update the LV24020 FM driver so that it can be used on the D2. Register read/write and chip_id detection works now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17703 a1c6a512-1295-4272-9138-f99709370657
2008-06-07 19:23:57 +00:00
Frank Gevaerts
6d9f55efff corrected sign of error return value
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17693 a1c6a512-1295-4272-9138-f99709370657
2008-06-05 15:49:35 +00:00
Frank Gevaerts
27ad822a44 add usb_allowed_current() function, so powermanagement code can know when it's allowed to charge from usb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17688 a1c6a512-1295-4272-9138-f99709370657
2008-06-04 18:55:58 +00:00
Michael Sevakis
fa5bd07f6b Oops. Lost sync on a few instances and 'HI' registers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17684 a1c6a512-1295-4272-9138-f99709370657
2008-06-03 05:19:32 +00:00
Michael Sevakis
191320cd0f Rename CPU/COP_INT_CLR to CPU/COP_INT_DIS since it's really a 'write one to disable' register and hasn't anything to do with acknowledging interrupts-- that's handled at the module level.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17683 a1c6a512-1295-4272-9138-f99709370657
2008-06-03 05:08:24 +00:00
Michael Sevakis
606d9d0c83 Reinstate the awful ATA hack that has no proper reason to exist for iPod 5.5g 60GB and/or 80GB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17682 a1c6a512-1295-4272-9138-f99709370657
2008-06-03 04:23:09 +00:00
Rob Purchase
3f7f5d7431 D2: Stop panic screen from crashing instantly (seems this has been broken for a while).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17670 a1c6a512-1295-4272-9138-f99709370657
2008-05-31 11:30:24 +00:00
Michael Sevakis
023cd578fa Commit FS#9024 - apply proper line-in gain for h10's radio by Przemyslaw Holubowski with one change: make "0x1e" "0x1f" since that's actually +12dB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17665 a1c6a512-1295-4272-9138-f99709370657
2008-05-31 08:31:46 +00:00
Karl Kurbjun
9ba4864d73 Simplify the button handling code on the Gigabeat F/X a bit for the side buttons. Plugins should be updated with this revision, or the buttons in plugins will not operate properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17659 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 22:22:44 +00:00
Jens Arnold
d52bea8a90 Fix FS #8840 for irivers by slowing down the driver some more. Signal quality is obviously varying a lot among the iriver remotes. Speed is now around halfway between pre-r16832 and r17006 when boosted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17657 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 21:41:47 +00:00
Michael Sevakis
c541e04632 Gigabeat F/X:
Allow chaning of touchpad sensitivity in the System settings menu. Some
units are dodgey at "Normal" senitivity and some at "High". "High" can make
some units difficult to navigate and may even require a settings reset so try
it and don't use "High" again if it doesn't work out :-). Defaults to "Normal"
 which behaves like older builds.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17656 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 21:27:44 +00:00
Peter D'Hoye
f76122f0e7 Accept FS #9052 by Alexander Levin with a fix by me. Changes HAS_BUTTONBAR into HAVE_BUTTONBAR to bring it in line with the other defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17655 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 20:32:39 +00:00
Jonathan Gordon
43f0770943 move the HAS_BUTTONBAR define to the config-<target>.h files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17652 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 09:14:32 +00:00
Linus Nielsen Feltzing
07bfba21ae Add the ADC_ACCESSORY channel on the ipod, to allow for accessory detection once we figure that out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17648 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 06:12:08 +00:00
Michael Sevakis
0f7f5f2267 Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17642 a1c6a512-1295-4272-9138-f99709370657
2008-05-28 10:49:00 +00:00
Michael Sevakis
adf2e4c9a0 Targets with HAVE_LCD_ENABLE: Provide a means to receive notifications when the lcd is enabled and the image is refreshed so overlayed drawing can also be refreshed. Chiefly mpegplayer needs this so it can redraw the YUV data after the backlight is turned on while paused or when using 'Set Start Time'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17640 a1c6a512-1295-4272-9138-f99709370657
2008-05-28 10:17:16 +00:00
Bertrik Sikken
705e703f45 Increased MAX_SYS_EVENTS from 10 to 16, since there are potentially more than 10 events that can registered. Should fix FS#9039 - *PANIC* event line full (reproduceable).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17632 a1c6a512-1295-4272-9138-f99709370657
2008-05-26 06:54:57 +00:00
Peter D'Hoye
825d89fe28 Accept FS #9021 by James Vasile and apply the fix to the other drivers that have the same issue.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17630 a1c6a512-1295-4272-9138-f99709370657
2008-05-25 21:19:07 +00:00
Michael Sevakis
69f4ffe686 Fix a comment since it was very wrong.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17627 a1c6a512-1295-4272-9138-f99709370657
2008-05-25 02:43:51 +00:00
Michael Sevakis
d892214d88 Gigabeat S: Add charge current and battery temp readout in power management and display in the battery screen. Thermistor data was obtained experimentally from one pulled off a dead board and appears basically correct when read back on a working device (which requires letting it settle to ambient temperature - a long wait so not easy to do). Sending me more thermistors would help improve accuracy *fingers crossed that it's close enough*. :-) This commit does NOT add charging but is a step towards implementing it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17626 a1c6a512-1295-4272-9138-f99709370657
2008-05-25 01:38:08 +00:00
Jens Arnold
4a6190dd13 Hopefully fix FS #8840 for iAudio M3, M5 and X5. Reduce greyscale update frequency on M3 in order to reduce CPU load (was >50% before, but this fix would have made it even worse).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17621 a1c6a512-1295-4272-9138-f99709370657
2008-05-24 08:53:12 +00:00
Dave Chapman
5e9732367d Make life easier for people working on new ports (audio drivers are normally one of the last things written), and revert r17511. Also take the opportunity to use more typical dummy values for VOLUME_MIN and VOLUME_MAX.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17620 a1c6a512-1295-4272-9138-f99709370657
2008-05-24 08:03:15 +00:00
Rob Purchase
03de6c67ab TCC78x NAND driver: Split the initial bank scan into two passes (appears to improve block translation reliability). Also some cleanups for readability, eg remove chip vs. bank ambiguity and remove leftover debug code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17598 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 21:07:49 +00:00
Michael Sevakis
804bb8e38d Correct an oopsy when finishing off the MC13783 header. No wonder ADC readings seemed a wee odd.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17597 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 20:59:07 +00:00
Thom Johansen
c0f7eb9f9d FS #8680. MOD codec by Rainer Sinsch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17595 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 11:19:58 +00:00
Michael Sevakis
c78bb5a00e Oops. Forgot to put the pmic thread stack size back to normal.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17594 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 08:54:02 +00:00
Michael Sevakis
a9c20f5789 Gigabeat S:
1) Rework event handling and static registration mechanism. No target-
     specific code in mc13783 driver. GPIO event driver interfaces more
     cleanly.

  2) Somewhat related - enable thread priority for bootloader which is
     desireable here (ffs is used for GPIO event enabling  anyway and that
     goes along with priority).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17593 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 08:42:11 +00:00
Mark Arigo
b4275d4941 Philips GoGear SA9200 port. Working bootloader and normal builds, including sound. No touchpad now, buttons limited to using vol+/vol-/power for up/down/select. Rockbox USB is enabled since the OF is MTP only...read the warnings on the PortalPlayerUsb wiki page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17591 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:55:17 +00:00
Karl Kurbjun
4c99f9a749 Contrast settings for the gigabeat F/X
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17590 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:50:48 +00:00
Karl Kurbjun
7a4d1609ee Make some functions static, point to the wiki, and comit the code to invert the screen, but don't enable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17589 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:30:57 +00:00
Bertrik Sikken
869fbfc1f1 Made events table static and moved MAX_SYS_EVENTS from events.c to events.h to make it private.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17586 a1c6a512-1295-4272-9138-f99709370657
2008-05-20 19:20:28 +00:00
Michael Sevakis
cb1b388a57 Get a good start on cleaning up powermgmt.c
1) Consolidate charging types' code as much as possible at the moment.

2) Remove the iRiver code for the moment. It so happens that it isn't being
   compiled anyway so it's just noise. Grab it out of the revision history
   when needed again.

3) A small fix to CHARGING_CONTROL where changing of #defines somewhere in
   earlier revisions actually ended up having it use the wrong battery filter
   constant.  A few state variables that were locals but stay in scope for
   the life of the power thread get static storage to help separate algorithms.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17580 a1c6a512-1295-4272-9138-f99709370657
2008-05-19 03:59:52 +00:00
Karl Kurbjun
359045655d Enable Gigabeat F/X LCD flipscreen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17578 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 23:33:09 +00:00
Dominik Riebeling
551319c4c8 fix a comment typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17576 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 16:21:52 +00:00
Bertrik Sikken
ad04e9d42b Spelling fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17574 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 14:34:29 +00:00
Jonathan Gordon
c67a7b12be "fix" usb detection on mr500.. by fix I mean tell it we havnt implemented that yet properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17572 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 14:01:36 +00:00
Jonathan Gordon
5716f734dd remove a stupid infinite loop which stopped the mr500 booting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17570 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 13:48:29 +00:00
Michael Sevakis
be28f8441b Refine meg-fx pad changes. Actually watch the other <dir>+ lines and ignore them if center is detected but sill allow the combo if one really means to do that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17559 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 17:16:12 +00:00
Michael Sevakis
d587247ebd Actually remove the ata lock hack code for that had been used for iPod Video 60/80. It has been disabled for awhile anyway and the problem that nescessitated it really appears resolved.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17558 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 16:19:58 +00:00
Maurus Cuelenaere
c8c0f4590b Forgot this also
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17557 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 16:02:41 +00:00
Maurus Cuelenaere
affa4f668e Use OF's firmware loading mechanism instead of Rockbox's.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17553 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 14:20:09 +00:00
Jens Arnold
ab46e463bd Greyscale ipods: Use a somewhat darker shade for lightgrey, improving appearance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17551 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 09:55:23 +00:00
Michael Sevakis
7d67df94a6 Commit Davide Gentile's patch to make the Gigabeat F/X pad less finicky.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17549 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 00:29:24 +00:00
Maurus Cuelenaere
ac67d70173 Add beginning of DSP code (done by Catalin Patulea), but don't enable it
yet as there's no C54xx compiler in the toolchain yet..


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17547 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 21:16:01 +00:00
Maurus Cuelenaere
7a8fc3fd9d 1) Put USB in IRAM
2) Use defines from usb_drv.h


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17546 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 21:05:18 +00:00
Christian Gmeiner
2ea6da1ebf fix some problems with missing HAVE_RECORDING checks #2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17545 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 20:51:56 +00:00
Christian Gmeiner
56fceacfeb fix some problems with missing HAVE_RECORDING checks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17544 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 20:40:59 +00:00
Christian Gmeiner
112656b7a6 simplify this #if statement too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17542 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 20:26:20 +00:00
Christian Gmeiner
dfa28e69f6 fix FS#8992 - hope all sound bass/treble problems are gone now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17541 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 20:06:50 +00:00
Christian Gmeiner
48f3eed1e5 simplify #if statement
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17538 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 19:53:01 +00:00
Christian Gmeiner
59357d48c1 add AUDIOHW_CAP for bass cutoff and treble cut off and fix a wrong ifdef for simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17537 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 19:28:45 +00:00
Michael Sevakis
95d76f2da2 Cleanup some .h files in the imx31 target branch - #include guard style, headers, obsolete prototypes, etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17536 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 18:40:28 +00:00
Michael Sevakis
3c102ffd4d Fix a couple mistakes. Forgot to add a few definitions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17535 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 08:02:14 +00:00
Michael Sevakis
cda664b701 MC13783 (Gigabeat S PMIC): Complete the header file. Distinguish status, sense and mask bit defines to avoid conflicts within the definitions. Much care taken but give a double check before making new use of anything.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17534 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 06:21:11 +00:00
Jens Arnold
3cec5e2b6a Check for a supported partition type before trying to mount a partition. This will reduce the risk of irregular mounts, e.g. due to stray FAT boot sectors when probing the logical sector size on iPod Video.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17530 a1c6a512-1295-4272-9138-f99709370657
2008-05-15 22:23:14 +00:00
Maurus Cuelenaere
1ea884b531 1) Add ZVM60GB and ZV simulator builds (ZVM60GB sim equals to ZVM30GB)
2) Correct typo which'll break build system for ZV currently
3) Split up keymaps for ZV & ZVM


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17525 a1c6a512-1295-4272-9138-f99709370657
2008-05-15 18:01:14 +00:00
Karl Kurbjun
808568983d Forgot about the buttonlights. Removing for now since this will not work properly if the buttonlights are set to a time longer than the backlight.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17523 a1c6a512-1295-4272-9138-f99709370657
2008-05-15 12:52:17 +00:00
Karl Kurbjun
6450de3eae Save around a hundred uA - not much, but why not? - No functional change for users.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17519 a1c6a512-1295-4272-9138-f99709370657
2008-05-15 01:04:47 +00:00
Christian Gmeiner
05e8488ad8 Introduce PRESCALER_CAP and move some driver specific code to the correct place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17516 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 21:35:19 +00:00
Michael Sevakis
955d889a15 Oops. Left a couple things in a bad state when using fading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17515 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 21:29:43 +00:00
Christian Gmeiner
4b07cc13f5 Fail with an error and kick suspect looking default values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17511 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 20:54:07 +00:00
Maurus Cuelenaere
4cf90663fa Fix yellows and reds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17510 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 20:36:25 +00:00
Michael Sevakis
41b235dacf Fix red. No bother with lcd power management calls in bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17508 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 20:26:20 +00:00
Michael Sevakis
009cebeab2 Straigten-out lcd sleeping on Gigabeat F/X. Add a service function to backlight.c to handle lcd sleep timer. Make HAVE_LCD_SLEEP useable without a setting and use HAVE_LCD_SLEEP_SETTING when a setting is available in addition to HCD_HAVE_SLEEP. If a setting isn't used, the target must define the timeout to be used in the config.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17505 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 19:29:25 +00:00
Maurus Cuelenaere
bdc6e624bc 1) Enable USBOTG for ZVM 60GB, even if the driver isn't implemented yet,
so it compiles
2) Disable BUTTON_DEBUG


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17504 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 19:28:06 +00:00
Maurus Cuelenaere
e031db4b87 1) Use a separate config-<target>.h for Zen Vision(:M) (60GB)
2) Other unrelated cleanups


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17503 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 18:55:19 +00:00
Maurus Cuelenaere
727a8059d7 1) Split ZVM into 30GB and 60GB
2) Clean up config
3) Add scramble description


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17502 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 13:51:47 +00:00
Michael Sevakis
403abb94bc Add svn:kewords and svn:eol-style properties. Fix a comment in as3514.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17500 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 00:39:24 +00:00
Karl Kurbjun
449a7a6643 Cleanup some unneeded debug code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17499 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 00:32:43 +00:00
Karl Kurbjun
6e322c8786 Reduce power consumed on the F/X by as much as 12% when the LCD is disabled. Timing is tighter on the SPI interface, if the screen does not come up let me know and we can space it out more - Works on the devices I tested. There will be a brief time (around 15ms) that the screen is all white after coming back on.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17498 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 00:26:28 +00:00
Michael Sevakis
50ad342530 Gigabeat S system setup changes. Unaligned loads/stores on. Mixed-endian support on. VIC on early.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17495 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 14:05:28 +00:00
Maurus Cuelenaere
6148a94432 Commit Zen Vision key patches by Falafel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17490 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 07:57:46 +00:00
Christian Gmeiner
785e776246 add BALANCE_CAP and CLIPPING_CAP and move some mas35xx code into audio driver mas35xx.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17489 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 06:19:16 +00:00
Mark Arigo
3e743ec6c9 Preparing for the Philips SA9200 part 2. Since the SA9200 doesn't have a microsd card (no hotswap), use HAVE_ATA_SD for the Sansa flash driver so we don't rely on HAVE_HOTSWAP in some places.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17488 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 02:50:31 +00:00
Mark Arigo
7656748221 Preparing for the Philips SA9200 part 1. Move the Sansa ADC & ATA drivers up one level.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17487 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 01:53:19 +00:00
Maurus Cuelenaere
93b280a42c Add (preliminary) Zen Vision support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17485 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 21:28:13 +00:00
Christian Gmeiner
207fc5c51c hopefully fix problems with setting bass/treble on wm8751 tragets (mrobe100,...)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17478 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 18:42:20 +00:00
Andree Buschmann
e8df7c4904 Undo r17470 because of regressions in some debug menus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17472 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 15:37:03 +00:00
Andree Buschmann
0b81405225 Fix for FS#5162. Being able to read scrollwheel action via button_read_device() for iPod's and e200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17470 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 08:27:53 +00:00
Michael Sevakis
248194164d Disable the ata locking hack since a recent test strongly suggests it has been resolved as of r17426. Leave the code for now just in case.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17468 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 20:56:27 +00:00
Michael Sevakis
71372162b1 Enable write buffering for the 1MB device memory section. This means using a different device framebuffer address too. You must update the firmware _and_ bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17458 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 15:39:00 +00:00
Maurus Cuelenaere
ba3cfca6dd Use LTV350QV register definitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17452 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 08:10:57 +00:00
Karl Kurbjun
f177de9aff Fix the bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17450 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 22:12:57 +00:00
Michael Sevakis
209aa8eda5 Real fake IRAM by placing .i.... section in the analagous DRAM sections in the linker scripts that hasn't done this yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17449 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 22:03:45 +00:00
Karl Kurbjun
66010b9f30 Fix high power consumption at powerup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17445 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 19:43:23 +00:00
Michael Sevakis
1ec35841d6 Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17444 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 18:32:34 +00:00
Karl Kurbjun
0220a5fbc3 Fix the ARM assembly to ensure that the stack is not used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17443 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 18:30:46 +00:00
Michael Sevakis
80278e45aa Bring Gigabeat S bootloader one step close to a release version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17442 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 18:00:11 +00:00
Michael Sevakis
6df1a86e99 Remove inner loop from button scanning on Gigabeat S. Requires changing the button codes but it's not a "functional port" so no plugin API version increase is done though a full update will be needed since any using the values will be incompatible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17432 a1c6a512-1295-4272-9138-f99709370657
2008-05-09 21:19:58 +00:00
Michael Sevakis
25583656d9 Backlight brightness setting for Gigabeat S. Cleanup headers in target backlight file too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17428 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 22:03:49 +00:00
Jens Arnold
8291cd76de Fix the short audio dropout at disk spinup from power-off on portalplayer targets (observed on Mini G2, probably affected others as well).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17426 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 21:36:50 +00:00
Nils Wallménius
ad5c4b6511 Add two missing rockbox headers and set svn:eol-style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17418 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 16:47:24 +00:00
Nils Wallménius
f24eaabcad Disable clocks for most modules in the imx31l on startup, individual drivers handle enabling/disabling clocks for used modules
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17417 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 16:27:23 +00:00
Nils Wallménius
89aca6aa77 Oops, it's called mc13783...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17416 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 15:49:46 +00:00
Michael Sevakis
3ff1d584ef Hehe. Should probably implement ide_powered if implementing ide_power_enable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17415 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 14:11:26 +00:00
Michael Sevakis
6dd6ea74af Gigabeat S RoLo: Properly execute firmware copy from an IRAM stub because the currently running image was being overwritten in place. Minor tweak to rolo.c based on imx31 errata sheet about not masking FIQ without masking IRQ which is fine to use on all ARM anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17414 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 12:09:14 +00:00
Michael Sevakis
e616092fd5 Gigabeat S: Might as well show the actual CPU frequency to avoid confusion.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17413 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 10:10:09 +00:00
Michael Sevakis
e574efa8f7 Gigabeat S: Allow battery selection from 700mAh to 1200mAh. Default to the stock capacity of 700mAh. Correct selection will be important for proper charging control.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17412 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 10:02:19 +00:00
Michael Sevakis
86680e7f4b Gigabeat S: Put in (so it appears) proper delays for USB PHY reset. Use the atomic regmod functions to change bits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17411 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 09:03:19 +00:00
Michael Sevakis
6e5e20b1e1 Remove an unneeded #include and a lone "#" on a line (it's early).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17410 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 08:09:24 +00:00
Michael Sevakis
df4bd0697d Gigabeat S: Add ATA/IDE power management. Fix parameter order of regmod32 as it was intended (had some things mixed up :P).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17409 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 08:03:08 +00:00
Jens Arnold
f18e4db81b Apply 2 small size optimisations. * Put ICODE_ATTR into the function definitions where applicable, saving the separate declaration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17408 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 05:39:29 +00:00
Maurus Cuelenaere
910fd7858c Move interrupt clearing up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17404 a1c6a512-1295-4272-9138-f99709370657
2008-05-07 13:33:29 +00:00
Jens Arnold
82cda9b091 H10: Disable IDE controller when the disk is powered down like on ipods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17402 a1c6a512-1295-4272-9138-f99709370657
2008-05-07 06:51:28 +00:00
Michael Sevakis
607b63a827 Gigabeat S technical correction: Fix instruction order because clean dcache operand is SBZ.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17401 a1c6a512-1295-4272-9138-f99709370657
2008-05-07 06:13:35 +00:00
Frank Gevaerts
bc1ce741c9 typo fixes (; instead of , at the end of two assignments) (same as r17398 for usb_serial. lesson learned : always check if there are similar bugs elsewhere)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17400 a1c6a512-1295-4272-9138-f99709370657
2008-05-06 21:00:07 +00:00
Frank Gevaerts
ee8ebc9160 typo fixes (; instead of , at the end of two assignments)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17398 a1c6a512-1295-4272-9138-f99709370657
2008-05-06 20:48:50 +00:00
Michael Sevakis
35e7b25472 ata_hard_reset should be synchronized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17397 a1c6a512-1295-4272-9138-f99709370657
2008-05-06 10:12:05 +00:00
Michael Sevakis
6edb95d050 Gigabeat S: Make sure ATA interface is idle before a reset.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17396 a1c6a512-1295-4272-9138-f99709370657
2008-05-06 10:02:46 +00:00
Rob Purchase
ab40aa9477 Remove the last D2 yellows (user timer is not yet implemented).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17391 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 19:43:01 +00:00
Maurus Cuelenaere
0f1a0405e0 Of course don't forget the init code..
+ add interrupt priority handling


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17389 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 16:07:57 +00:00
Maurus Cuelenaere
3ae70b3195 Fix red + add some extra defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17388 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 15:54:50 +00:00
Maurus Cuelenaere
fd0eed96b0 Woops, remove debug statements..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17387 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 15:50:17 +00:00
Maurus Cuelenaere
e025cb1c38 Split up DMA and ATA, but don't enable it (yet).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17386 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 15:47:26 +00:00
Michael Sevakis
0218397cf4 Gigabeat S bootloader: 1) Switch order of .vectors to be contiguous with initialized sections. 2) Clean all caches in main before doing anything else because vector copying counts as self-modifying code. Up to v.00000012.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17381 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 13:30:29 +00:00
Barry Wardell
9a54d9645d Change the default background colour to black on colour targets. It fits better with the default theme and also with the bootloaders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17380 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 13:11:38 +00:00
Michael Sevakis
57cbd77788 Gigabeat S: Do the controller timing settings a more cleanly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17379 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 13:00:08 +00:00
Nils Wallménius
c8130b2666 Oops^2, probably a good idea to initialize this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17378 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 12:59:15 +00:00
Nils Wallménius
680bf86fce Oops, forgot one file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17377 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 12:53:03 +00:00
Nils Wallménius
90a4a43430 Alarm wake up support for Gigabeat S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17376 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 12:37:42 +00:00
Michael Sevakis
9560ba6696 Mind repeat calls to ata_device_init.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17373 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 11:21:04 +00:00
Michael Sevakis
12884bd1b7 Don't need the extra idle check.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17372 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 10:57:34 +00:00
Michael Sevakis
be0c7d0ff3 Gigabeat S: Use the fastest PIO mode the installed drive allows instead of always PIO0. Centralize clock information in clkctl-imx31.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17371 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 10:53:06 +00:00
Nicolas Pennequin
357ffb3c46 Convert the whole codebase to UTF-8, except docs/COMMITTERS and tools/creative.c, which need checking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 10:32:46 +00:00
Michael Sevakis
cc486c9032 The presence of the run list corelocks are dependent on core number and not building with priority scheduling. Fix building for multiprocessor without HAVE_PRIORITY_SCHEDULING defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17362 a1c6a512-1295-4272-9138-f99709370657
2008-05-04 17:12:37 +00:00
Barry Wardell
27f59f64c6 Make the H10 bootloader work again. Also fix the same problem that might be affecting other PP bootloaders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17357 a1c6a512-1295-4272-9138-f99709370657
2008-05-04 14:42:53 +00:00
Bertrik Sikken
9cd291989b Disabled unused ata_led function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17342 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 23:37:48 +00:00
Bertrik Sikken
6a0340fc21 More static / header file cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17341 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 23:18:56 +00:00
Maurus Cuelenaere
a969e85e17 Forgot a file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17340 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 22:33:09 +00:00
Maurus Cuelenaere
41a82f96a8 More LCD stuff..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17339 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 22:27:55 +00:00
Michael Giacomelli
5fc95a301d Fix tabs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17338 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 22:07:31 +00:00
Bertrik Sikken
19425909c3 Another round of making local functions static and making sure that source files are in sync with their header files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17337 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 21:33:00 +00:00
Michael Giacomelli
e243db65b4 Commit FS#8920, fixed headphone detection for the Ipod 2G by Mark Fawcus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17336 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 21:15:13 +00:00
Maurus Cuelenaere
9e6cd921a1 Forgot 0x
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17335 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 18:54:47 +00:00
Maurus Cuelenaere
2b0e436739 Add OF LCD init
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17334 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 18:51:20 +00:00
Michael Sevakis
8f0a1b3e6c It's better not to use fixed constants since the lower volume limit may not be constant.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17329 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 16:10:46 +00:00
Nicolas Pennequin
28df6bf869 The Gigabeat S can do album art.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17328 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 15:38:15 +00:00
Michael Sevakis
5df4405317 Gigabeat S: Man it's so loud in here. We have SOUND! Someone please make keymaps consistent; it's rather messy atm.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17327 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 15:14:52 +00:00