Michael Sevakis
cda8cbf455
imx31: Correct a register name typo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20171 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 06:20:11 +00:00
Michael Sevakis
2d8813e26b
imx31 ATA: Correct a register #define error (due to error in user's manual). Fix timing for PIO tAX.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20169 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 06:10:13 +00:00
Thomas Martitz
7125b9ebcb
Actually apply the patch...thanks again to Bryan Vandyke (and Tom Ross for notifying me about my commit-fail).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20167 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 02:30:39 +00:00
Thomas Martitz
4fd02fdd42
FS#9972 - Simplify strnatcmp. As we do ignore leading zeros (as opposed to the original version), we can remove some unused code.
...
Also, change the header to state that we changed it and do not use the original version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20166 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 02:07:13 +00:00
Tom Ross
c645752314
Fix some memset calls that use the wrong order for arguments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20165 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 01:40:41 +00:00
Thomas Martitz
d13f1a485f
Commit FS#8314. This adds strnat[case]cmp written by Martin Pool, which respects numbers within strings, and gives a more intuitive
...
sorting. This also adds a setting, so that the sorting can be used in the file browser. The implementation is very generic, and can possibly
be used in other places.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20155 a1c6a512-1295-4272-9138-f99709370657
2009-03-01 17:55:59 +00:00
Maurus Cuelenaere
e6c023cb64
Fix Onda VX747 bootloader build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20154 a1c6a512-1295-4272-9138-f99709370657
2009-03-01 16:52:57 +00:00
Jens Arnold
6421f94c0d
Silence warning from 'ar' if the archive had to be created.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20151 a1c6a512-1295-4272-9138-f99709370657
2009-03-01 09:04:15 +00:00
Frank Gevaerts
ec602b7e75
send the USB broadcast events at a less busy time
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20142 a1c6a512-1295-4272-9138-f99709370657
2009-02-28 19:39:28 +00:00
Frank Gevaerts
3b141d9c80
Also broadcast transfer information for use by fancy USB screens
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20140 a1c6a512-1295-4272-9138-f99709370657
2009-02-28 16:25:07 +00:00
Frank Gevaerts
afedfcf44e
Leave "usb mode" when all LUNs are ejected again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20139 a1c6a512-1295-4272-9138-f99709370657
2009-02-28 15:16:54 +00:00
Frank Gevaerts
b6a1af2a9b
Adds the possibility to show nice "do not disconnect" screens/icons on the USB screen. A proof-of-concept for the actual screen is at FS#9969
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20138 a1c6a512-1295-4272-9138-f99709370657
2009-02-28 14:47:18 +00:00
Tom Ross
cf7a71c302
r20124 broke codecs on targets without IRAM such as Gigabeat F. Behavior should be identical to r20123 on all sim builds and targets and apply a more correct fix for OS X.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20135 a1c6a512-1295-4272-9138-f99709370657
2009-02-27 23:15:59 +00:00
Tom Ross
5d190bc13c
Mac doesn't handle placing variables in specific sections very well. Building the sim on OS X is now possible once again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20124 a1c6a512-1295-4272-9138-f99709370657
2009-02-27 07:30:41 +00:00
Maurus Cuelenaere
4ae4e2307d
Ingenic Jz4740 RTC: actually write date to RTC
...
Touchscreen DAPs: add timescreen keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20122 a1c6a512-1295-4272-9138-f99709370657
2009-02-26 22:58:10 +00:00
Maurus Cuelenaere
dfd32efc63
Onda VX747: redo keymap (which fixes the not-working emulated touchscreen buttons). Also make check for & CONTEXT_REMOTE conditional in keymap-touchscreen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20120 a1c6a512-1295-4272-9138-f99709370657
2009-02-26 22:05:34 +00:00
Karl Kurbjun
5e058e0bfe
Clean up warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20119 a1c6a512-1295-4272-9138-f99709370657
2009-02-26 21:43:14 +00:00
Karl Kurbjun
9e1d00c9fb
Get the M:Robe 500 main build booting again, fix a bug and commit the rest of Cat's work to get sound working. The code is messy right now, but it plays a file (test.raw) in a normal build when you go into the debug ports screen. Take 1.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20118 a1c6a512-1295-4272-9138-f99709370657
2009-02-26 21:24:40 +00:00
Karl Kurbjun
1e3f529921
Get the M:Robe 500 main build booting again, fix a bug and commit the rest of Cat's work to get sound working. The code is messy right now, but it plays a file (test.raw) in a normal build when you go into the debug ports screen. Take 2.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20116 a1c6a512-1295-4272-9138-f99709370657
2009-02-26 21:23:10 +00:00
Maurus Cuelenaere
38436038a9
Ingenic Jz4740:
...
* Add initial RoLo support
* Don't enable IRAM in plugins for now
* Initial try at getting PCM working (doesn't crash anymore at least)
* Replace hard-coded constant with #define in usb-jz4740
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20115 a1c6a512-1295-4272-9138-f99709370657
2009-02-26 21:15:40 +00:00
Frank Gevaerts
86b4543fed
Enable USB mass storage on PP5020, PP5022 and PP5024 targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20105 a1c6a512-1295-4272-9138-f99709370657
2009-02-25 22:40:15 +00:00
Frank Gevaerts
c9e08ba01a
Don't use inverted button behaviour on H10 when using Rockbox USB (as opposed to the OF diskmode)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20104 a1c6a512-1295-4272-9138-f99709370657
2009-02-25 22:36:35 +00:00
Thomas Martitz
884dc711b8
DBOP_DIN is 16bit wide.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20102 a1c6a512-1295-4272-9138-f99709370657
2009-02-25 15:04:24 +00:00
Frank Gevaerts
80410f21b9
remove SERIALIZE_WRITES. The reason for it (the SD bug) is gone, so there's no point in keeping this
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20098 a1c6a512-1295-4272-9138-f99709370657
2009-02-24 18:30:32 +00:00
Maurus Cuelenaere
9bcb96f490
Ingenic Jz4740:
...
* Fix USB issues + add DMA support (doesn't work fully)
* Make exception handler a bit more descriptive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20091 a1c6a512-1295-4272-9138-f99709370657
2009-02-23 16:10:46 +00:00
Daniel Stenberg
2e6d604bb6
Stop hiding errors by redirecting stderr to /dev/null. If we really need to do re-introduce somewhere we should rather make it dependent on the V variable so that make V=1 would still show the error and only "normal" builds would hide it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20090 a1c6a512-1295-4272-9138-f99709370657
2009-02-23 08:45:16 +00:00
Michael Sevakis
b1dccc47fd
PP502x: Improve accuracy of header file. It looks as though DMA channels share the same interrupt enable (tested that 0 and 2 do at least).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20089 a1c6a512-1295-4272-9138-f99709370657
2009-02-23 04:33:33 +00:00
Dave Chapman
dff46d20e6
Commit my patch from FS#9940 - fix the invalid active flags in the Gigabeat S MBR on the fly in the UMS driver. It is hypothosized that actually changing these on the disk will make the OF more likely to reformat the data partition during recovery - but that is not confirmed. So we play it safe.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20085 a1c6a512-1295-4272-9138-f99709370657
2009-02-22 18:25:16 +00:00
Andree Buschmann
65d404ff6a
Submit FS#9863 by Boris Gjenero. Correct ATA wakeup and power on in case of SYS_USB_CONNECTED. This way HDDs are spun down properly afterwards before rebooting to USB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20082 a1c6a512-1295-4272-9138-f99709370657
2009-02-22 13:24:58 +00:00
Frank Gevaerts
9698c3bb5c
replace USB_IPODSTYLE by USB_HANDLED_BY_OF as that's what it actually means. Fix various configs to use it correctly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20078 a1c6a512-1295-4272-9138-f99709370657
2009-02-21 17:56:31 +00:00
Frank Gevaerts
3e7715d2f5
small usb serial fixes. This seems to work fine on imx31, but for some reason it sometimes stops sending data on portalplayer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20077 a1c6a512-1295-4272-9138-f99709370657
2009-02-21 16:36:54 +00:00
Andree Buschmann
c567fc9be2
Submit FS#9890 by Boris Gjenero. Enabling option for iPod Video to shut down LCD and BCM (controller) after backlight was switched off. With this option the user can decide whether to keep the transflective LCD switched on (e.g. during daylight use) or to switch it off (to save power). The power saving is extreme and increases the battery runtime by far (measured >30%).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20076 a1c6a512-1295-4272-9138-f99709370657
2009-02-21 11:10:50 +00:00
Andree Buschmann
34e1209284
Submit FS#9749 by Boris Gjenero for missing PP-targets. Do not reset IDE0 on startup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20075 a1c6a512-1295-4272-9138-f99709370657
2009-02-21 09:43:21 +00:00
Frank Gevaerts
5ee28017fd
Only enable drivers if they exist. This should probably be handled differently to avoid #ifdef hell, but at least this way works
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20074 a1c6a512-1295-4272-9138-f99709370657
2009-02-21 01:07:46 +00:00
Frank Gevaerts
88eb592cf4
more fixes. There's still something wrong as it sometimes suddenly stops sending data. Disconnecting and reconnecting gets it going again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20072 a1c6a512-1295-4272-9138-f99709370657
2009-02-21 00:28:40 +00:00
Jens Arnold
3e67e3b1f0
Add a rockbox kernel thread for simulator specific tasks, and use that for calling the screendump function(s). Fixes screendump in simulators for backlight-less targets (Ondio), and reduces mixing of unrelated functionality a bit (screendump was called from backlight thread, triggered by a sim-only system wide event).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20065 a1c6a512-1295-4272-9138-f99709370657
2009-02-20 17:13:08 +00:00
Frank Gevaerts
2c3517d67a
Fix ringbuffer handling. This will hopefully fix the hang-on-fast-send issue
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20064 a1c6a512-1295-4272-9138-f99709370657
2009-02-20 15:20:31 +00:00
Thomas Martitz
f6f426eda4
e200v2: fix broken lcd driver and cleanup a little bit further.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20063 a1c6a512-1295-4272-9138-f99709370657
2009-02-20 15:10:49 +00:00
Michael Sevakis
ec67912b63
Reclaim .iram areas in DRAM by overlapping their load addresses with the uninitialized data sections. I did what I could test out-- not any flash image linker scripts or other target processors. Move any .iram copies in crt0.S's to be the first operation even if not _strictly_ necessary to be emphatic (aka. 'beware').
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20061 a1c6a512-1295-4272-9138-f99709370657
2009-02-20 02:33:40 +00:00
Maurus Cuelenaere
56ad29bab8
... and fix M:Robe 500 red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20059 a1c6a512-1295-4272-9138-f99709370657
2009-02-19 22:55:14 +00:00
Thomas Martitz
7d0b9f7fb7
Fix occasional power button ghost presses and get rid of the delay which was needed to reduce the ghost presses (i.e. don't read power button too during lcd updates)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20058 a1c6a512-1295-4272-9138-f99709370657
2009-02-19 22:54:48 +00:00
Maurus Cuelenaere
4d32457410
Hopefully finally fix red .. (/me needs to cleanup his tree)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20057 a1c6a512-1295-4272-9138-f99709370657
2009-02-19 22:33:55 +00:00
Maurus Cuelenaere
f0d3242977
Forgot a file...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20056 a1c6a512-1295-4272-9138-f99709370657
2009-02-19 22:23:05 +00:00
Maurus Cuelenaere
44eba07516
Add generic touchscreen driver which allows calibration (apps/ layer will follow later).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20055 a1c6a512-1295-4272-9138-f99709370657
2009-02-19 22:15:02 +00:00
Thomas Martitz
1cb3ff0ab0
Sansa Fuze buttons:
...
1) fix driver from reading invalid home button while lcd updates (use old value then)
2) put in a 1s delay for power button reading after releasing hold
3) revert r20028, I thought it wasn't needed, since I didn't update the bootloader
4) enable hold for the bootloader (even though not really needed, but is consistent with other targets)
5) let button_dbop return DBOP_DIN, and do the reading in button_read_device
6) various cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20054 a1c6a512-1295-4272-9138-f99709370657
2009-02-19 21:20:42 +00:00
Michael Sevakis
a6a7bac01a
Oops. How'd I miss that one checking diffs? ARC driver test change shouldn't have been there.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20053 a1c6a512-1295-4272-9138-f99709370657
2009-02-19 20:43:48 +00:00
Michael Sevakis
6c399b8254
Use DMA for audio playback on PP502x (FS#9910 + some further mods). I can't say at this point about any change in battery life but it frees up a percent or two of CPU cycles as measured in the buffering screen. No change in recording transfers yet. Testing seemed to check out so put it out for general use and see what happens.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20052 a1c6a512-1295-4272-9138-f99709370657
2009-02-19 20:40:03 +00:00
Thomas Martitz
1ad58f9757
Sansa e200v2: Some LCD driver changes (none with functional changes):
...
1) put window addressing in a seperate function like on the fuze
2) use fb_data instead of unsigned short
3) change clipping a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20051 a1c6a512-1295-4272-9138-f99709370657
2009-02-19 20:40:00 +00:00
Thomas Martitz
28eb803f79
Fix stupid typo...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20048 a1c6a512-1295-4272-9138-f99709370657
2009-02-19 17:43:19 +00:00
Thomas Martitz
740e5a2ffe
Show DBOP in the e200v2's view IO ports menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20042 a1c6a512-1295-4272-9138-f99709370657
2009-02-18 17:46:11 +00:00