Commit graph

38 commits

Author SHA1 Message Date
Michael Sparmann
f6ada7c30c ftl-nano2g.c: s/\(\*([^)]+)\)\./\1->/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25186 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 22:22:47 +00:00
Michael Sparmann
af38e0960b Finally fast Nano2G NAND reading, also works on remapped blocks this time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25181 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 20:25:58 +00:00
Michael Sparmann
3e9222de38 Nano2G: switch over to slow writes at VFL level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25176 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 17:26:06 +00:00
Michael Sparmann
1a38f380b8 Re-enable fast reads in the Nano2G VFL/FTL. (Using the wrapper API in the NAND driver)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25175 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 16:33:55 +00:00
Michael Sparmann
b09f624cdf Nano2G FTL: Enlarge FTL buffers for faster write operations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25173 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 16:13:15 +00:00
Michael Sparmann
c99d4fd709 Nano2G VFL/FTL: Use fast writes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25172 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 16:12:28 +00:00
Michael Sparmann
7e4b53892e Revert Nano2G fast VFL reads for now. They just won't work on some hardware.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25170 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 16:06:54 +00:00
Michael Sparmann
183e9f1520 Nano2G VFL: reset the bank again before the second slow read try
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25167 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 15:26:59 +00:00
Michael Sparmann
884147c5e2 Nano 2G VFL: try slow read twice if fast read failed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25166 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 15:12:08 +00:00
Michael Sparmann
2e32502ce5 More detailed panic message for Nano2G VFL fast read problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25163 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 12:43:27 +00:00
Michael Sparmann
9c2baa6b17 Make the Nano2G FTL use the new parallel read function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25157 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 21:55:42 +00:00
Michael Sparmann
9859381c08 Nano2G FTL: Increase spare buffer size to 4, values below that lead to problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25150 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 21:17:37 +00:00
Michael Sparmann
1fd3221198 Use the new read API and introduce fast highlevel FTL code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25149 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 20:31:18 +00:00
Michael Sparmann
a9e732c6df Fix a bug introduced in r25145
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25148 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 20:28:59 +00:00
Michael Sparmann
16587900da Implement fast VFL read API (as a dummy) for Nano2G
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25147 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 20:27:21 +00:00
Michael Sparmann
4a6d160f75 Re-commit another small Nano2G FTL bugfix that got lost
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25146 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 20:21:18 +00:00
Michael Sparmann
2cfd0f2e73 Implement Nano2G VFL multi-page read API (as a dummy for now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25145 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 20:20:07 +00:00
Michael Sparmann
1a7e090b41 Make Nano2G FTL buffer size configurable, no (intended) function changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25144 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 18:25:42 +00:00
Michael Sparmann
4a7b2cc9f3 Isolate and commit some innocent Nano2G FTL bugfixes that were introduced as part of the performance improvements
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25143 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 18:07:42 +00:00
Michael Sparmann
131bb698ad Revert r25099, r25101, r25109 and r25137 for now. This doesn't seem to be quite stable on some NAND types yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25139 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 00:43:34 +00:00
Michael Sparmann
9f8e76bf22 Hopefully fix the latest Nano2G NAND issues. (FS#11092) Transfers for some of the chips apple is using will be slow until someone implements cached writes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25137 a1c6a512-1295-4272-9138-f99709370657
2010-03-12 20:44:03 +00:00
Michael Sparmann
62c011c8fb Even more Nano2G FTL speedup. Now 8% faster than disk mode, 10% slower than the OFW. 4.5MB/s sustained (contiguous) write, 6.0MB/s read for me now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25109 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 00:59:17 +00:00
Michael Sparmann
6945aa9914 Fix bootloader red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25101 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 03:11:39 +00:00
Michael Sparmann
287eff2149 iPod Nano 2G FTL performance enhancements. Still not quite as fast as the OFW, but way better than before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25099 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 03:00:43 +00:00
Michael Sparmann
aadecdd77e Fix numerous non-critical iPod Nano 2G FTL bugs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24999 a1c6a512-1295-4272-9138-f99709370657
2010-03-03 02:36:15 +00:00
Michael Sparmann
49592128b2 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24296 a1c6a512-1295-4272-9138-f99709370657
2010-01-20 11:41:18 +00:00
Michael Sparmann
9631f815ac iPod Nano 2G: Fix FTL panics caused by a bogus check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24295 a1c6a512-1295-4272-9138-f99709370657
2010-01-20 11:25:21 +00:00
Michael Sparmann
64ac121e2c Squash another bunch of iPod Nano 2G NAND bugs by moving the idle powerdown code down into the lowlevel driver. Move even more things from the FTL to the bss instead of the stack to prevent USB stkovs. Also fix some evil whitespace.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23570 a1c6a512-1295-4272-9138-f99709370657
2009-11-08 14:55:30 +00:00
Michael Sparmann
0c89c0ef7c Fix another bunch of iPod Nano 2G FTL bugs. It seems to work fine for me now, but this doesn't necessarily mean that it's bug-free.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23307 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 15:28:11 +00:00
Michael Sparmann
1668cfa3dd Fixed a bunch of iPod Nano 2G FTL bugs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23296 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 20:20:39 +00:00
Michael Sparmann
b424b852e5 iPod Nano 2G storage performance improved by not copying around buffers unneccessarily if they are aligned anyways and using cache coherency functions instead of bypassing the caches altogether.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23243 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 12:36:17 +00:00
Michael Sparmann
9f18e1958f Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23102 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 10:22:07 +00:00
Dave Chapman
4ea4ce4cfb Kill some warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23085 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 01:45:50 +00:00
Dave Chapman
72271af7df Squash a warning when FTL_READONLY is defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23073 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 16:18:14 +00:00
Michael Sparmann
51b00c9b0b Fixed some mutex issues in the iPod Nano 2G NAND driver and FTL.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23066 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 10:51:07 +00:00
Michael Sparmann
304d7175b9 Make iPod Nano 2G FTL return -1 on write() call, if read-only, to prevent panic.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23000 a1c6a512-1295-4272-9138-f99709370657
2009-10-07 18:46:53 +00:00
Michael Sparmann
79bf2da1ef iPod Nano 2G NAND/ECC driver and FTL improvements (still polling)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22958 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 14:42:25 +00:00
Dave Chapman
a7ea270e9c Read/write Nano2G FTL/NAND driver by Michael Sparmann (FS#10633).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22918 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 15:02:40 +00:00