Jens Arnold
|
605cf4c779
|
Fix: my previous adjustments broke access to external MMC on newer Ondio models (mask bit 2 == 1). Xor operator works bitwise, so both operators need to be logical values here
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5422 a1c6a512-1295-4272-9138-f99709370657
|
2004-11-17 21:24:21 +00:00 |
|
Jens Arnold
|
2cf1a89560
|
Ondio: adjustments for models with mask bit 2 == 0 (different MMC clock select circuitry)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5421 a1c6a512-1295-4272-9138-f99709370657
|
2004-11-17 20:14:43 +00:00 |
|
Jens Arnold
|
aeedd7d499
|
Increased MMC init timeout (again), and sleep() between consecutive tries.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5408 a1c6a512-1295-4272-9138-f99709370657
|
2004-11-14 13:50:03 +00:00 |
|
Jens Arnold
|
31e2e01cac
|
Increased init timeout to account for some very slow (SD) cards
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5407 a1c6a512-1295-4272-9138-f99709370657
|
2004-11-14 07:35:48 +00:00 |
|
Jens Arnold
|
f540e5cecf
|
Unique error codes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5390 a1c6a512-1295-4272-9138-f99709370657
|
2004-11-07 22:40:24 +00:00 |
|
Jens Arnold
|
5789ee9928
|
MMC hotswap handling in USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5247 a1c6a512-1295-4272-9138-f99709370657
|
2004-10-10 19:51:11 +00:00 |
|
Jens Arnold
|
f5bdf6952c
|
First part of MMC hotswap handling; removed unnecessary MMC thread
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5241 a1c6a512-1295-4272-9138-f99709370657
|
2004-10-10 00:35:19 +00:00 |
|
Jens Arnold
|
0660105af2
|
Fixed busy timeout handling; better comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5240 a1c6a512-1295-4272-9138-f99709370657
|
2004-10-09 22:48:10 +00:00 |
|
Jens Arnold
|
a450e34770
|
Major MMC driver rework: DMA for sector transfers (except for single sector writes), bitswap while DMA transfer is running, optimized SCI handling (back-to-back transfer for polled writes), yield()s once per sector transfer. Speed is now close to the theoretical maximum
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5231 a1c6a512-1295-4272-9138-f99709370657
|
2004-10-09 01:14:55 +00:00 |
|
Jens Arnold
|
6f9a7eb2c7
|
Enhanced MMC handling: Driver cleanup, timeout calculation fixed, allowed voltage check, maintain disk activity info (fixes immediate shutdown at end of playback). MMC debug menu item populated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5193 a1c6a512-1295-4272-9138-f99709370657
|
2004-10-06 20:43:12 +00:00 |
|
Björn Stenberg
|
b60b29f442
|
Compile ata_mmc.c for targets with mmc, ata.c for all others.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5174 a1c6a512-1295-4272-9138-f99709370657
|
2004-10-05 08:11:11 +00:00 |
|
Jens Arnold
|
a15386bb9d
|
(Re-)added the delayed write feature to avoid wearing the flash unnecessarily
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5162 a1c6a512-1295-4272-9138-f99709370657
|
2004-10-04 22:29:06 +00:00 |
|
Jens Arnold
|
36813086e6
|
MMC: 10 % faster reading and 15 % faster writing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5161 a1c6a512-1295-4272-9138-f99709370657
|
2004-10-04 17:53:53 +00:00 |
|
Jens Arnold
|
a2b5681ca5
|
Removed disabled code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5154 a1c6a512-1295-4272-9138-f99709370657
|
2004-10-03 23:35:14 +00:00 |
|
Jens Arnold
|
dc6caf9ce8
|
Implemented multiple block reading and writing. Significant speedup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5153 a1c6a512-1295-4272-9138-f99709370657
|
2004-10-03 23:32:09 +00:00 |
|
Jens Arnold
|
fc9aadaf8b
|
Some cleanup, and a quick fix to make battery status reading and idle poweroff work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5149 a1c6a512-1295-4272-9138-f99709370657
|
2004-10-01 21:41:44 +00:00 |
|
Jens Arnold
|
212f18f9ea
|
Fix: card initialization on card_select()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5142 a1c6a512-1295-4272-9138-f99709370657
|
2004-10-01 17:01:40 +00:00 |
|
Jörg Hohensohn
|
c4b326c215
|
Ondio PACR inits for cold start
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5141 a1c6a512-1295-4272-9138-f99709370657
|
2004-10-01 16:57:54 +00:00 |
|
Jens Arnold
|
7d8598f30e
|
Writing to mmc does work now, but not always correct yet. It caused a corrupt file system once, so beware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5132 a1c6a512-1295-4272-9138-f99709370657
|
2004-09-29 22:44:02 +00:00 |
|
Jens Arnold
|
6cb799174b
|
Small fix for the card init
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5128 a1c6a512-1295-4272-9138-f99709370657
|
2004-09-29 01:10:32 +00:00 |
|
Jens Arnold
|
de6f799ace
|
MMC driver is now write enabled, and should no longer lock up. Still preliminary and rather slow, polling everywhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5127 a1c6a512-1295-4272-9138-f99709370657
|
2004-09-29 00:50:40 +00:00 |
|
Jens Arnold
|
90cbd3b06d
|
First working MMC driver (very preliminary, and read-only), and some adaptions of the debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5123 a1c6a512-1295-4272-9138-f99709370657
|
2004-09-28 06:23:57 +00:00 |
|
Jens Arnold
|
56cbda370d
|
Chip selects for internal & external card were reversed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5098 a1c6a512-1295-4272-9138-f99709370657
|
2004-09-20 22:54:13 +00:00 |
|
Jörg Hohensohn
|
3f7c508a09
|
Ondio USB mode works with both internal and external MMC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5073 a1c6a512-1295-4272-9138-f99709370657
|
2004-09-14 23:06:10 +00:00 |
|
Jörg Hohensohn
|
eb8fef7cce
|
Ondio USB mode works, but only with external MMC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5072 a1c6a512-1295-4272-9138-f99709370657
|
2004-09-14 22:27:52 +00:00 |
|
Jörg Hohensohn
|
c4e8bed5a7
|
some fixes for Ondio USB passthrough (but still doesn't work yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5067 a1c6a512-1295-4272-9138-f99709370657
|
2004-09-11 15:18:10 +00:00 |
|
Jörg Hohensohn
|
00be7469d6
|
prepared Ondio USB passthrough (but doesn't work yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5066 a1c6a512-1295-4272-9138-f99709370657
|
2004-09-11 09:06:58 +00:00 |
|
Jörg Hohensohn
|
57ea92cae1
|
prepared an empty MMC driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5065 a1c6a512-1295-4272-9138-f99709370657
|
2004-09-11 03:48:05 +00:00 |
|