Commit graph

81 commits

Author SHA1 Message Date
Michael Sparmann
5de615132d Don't parallelize Nano2G NAND reads, just do pipelined ECC. (10% performance loss :-/ )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25168 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 15:41:40 +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
afd7a86056 Add the new Nano2G NAND functions to nand-target.g
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25156 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 21:55:23 +00:00
Michael Sparmann
a99f8fae79 Nano2G NAND interleaved erase support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25155 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 21:45:23 +00:00
Michael Sparmann
382b6dca08 Nano2G NAND interleaved write support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25154 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 21:44:39 +00:00
Michael Sparmann
cb41b2f245 Nano2G NAND parallel read support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25153 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 21:41:14 +00:00
Michael Sparmann
af77b1842c Nano2G lowlevel NAND operation transaction splitting support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25152 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 21:38:18 +00:00
Michael Sparmann
0d6784fee2 Reset the Nano2G NAND idle timer also when leaving a NAND function, not just when entering them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25151 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 21:35:53 +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
462bdfe612 Implement (unused) ADC wrapper for Nano2G to fix the red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25114 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 14:02:59 +00:00
Michael Sparmann
20980e6e72 Nano2G __dbg_hw_info (courtesy of Franz-Josef Haider)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25111 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 03:07:51 +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
0592704ab7 Detect iPod Nano 2G charging state correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25100 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 03:01:02 +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
226cd04f74 Nano2G battery calibration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25086 a1c6a512-1295-4272-9138-f99709370657
2010-03-09 05:12:20 +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
04ea85fb88 Revert accidental changes from r24723
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24724 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 16:12:21 +00:00
Michael Sparmann
e5c815272d Add more information to the battery debug screen for Nano2G
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24723 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 15:57:53 +00:00
Michael Sparmann
b3c18aeb4d Somewhat calibrated battery parameters for Nano2G - still not very accurate though, especially while charging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24722 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 15:56:30 +00:00
Michael Sparmann
8f33879fed Enable iPod Nano 2G boosting (without undervolting for now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24721 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 15:54:48 +00:00
Michael Sparmann
48e38b8759 Increase iPod Nano2G NAND stack size (fixes FS#11030)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24720 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 15:49:19 +00:00
Michael Sparmann
40a3e80697 Fix iPod Nano 2G bank detection broken in r24414.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24431 a1c6a512-1295-4272-9138-f99709370657
2010-02-01 01:23:43 +00:00
Michael Sparmann
12e302262d iPod Nano 2G NAND fixes by Franz-Josef Haider
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24414 a1c6a512-1295-4272-9138-f99709370657
2010-01-31 13:46:25 +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
Andree Buschmann
56d972ad57 Fix tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24153 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 10:19:43 +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
890444c917 Hopefully fix the remaining iPod Nano 2G flash issues, by adding a tiny sleep after resetting the chip. Also remove some evil tabs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23489 a1c6a512-1295-4272-9138-f99709370657
2009-11-02 22:18:09 +00:00
Michael Sparmann
49d4c428dc Implement iPod Nano 2G storage active indicator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23325 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 23:50:32 +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
4562e683a2 Implement iPod Nano 2G nand_get_info()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23238 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 23:00:49 +00:00
Michael Sparmann
008f01348b Fix iPod Nano 2G charging detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23146 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 09:04:51 +00:00
Michael Sparmann
6cea8c1e1a Fix the latest iPod Nano 2G NAND issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23115 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 18:21:15 +00:00
Michael Sparmann
b729a7d75e iPod Nano 2G PMU rework, added backlight brightness setting and USB charging speed setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23114 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 18:20:56 +00:00
Michael Sparmann
3b549fedbb iPod Nano 2G: Reset NAND banks after powering the chip up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23110 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 13:48:12 +00:00