Commit graph

209 commits

Author SHA1 Message Date
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
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
e39b653947 Fix Nano2G rolo once again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25117 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 18:08:28 +00:00
Michael Sparmann
72f0d265bc Fix scrolling direction in the Nano2G __dbg_hw_info screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25115 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 15:18:43 +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
52b4a1ef38 Remove a bunch of superfluous stuff from the Nano2G bootloader and fix __dbg_hw_info for Nano2G yet again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25113 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 13:51:24 +00:00
Michael Sparmann
db569e6bbc Fix bootloader red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25112 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 03:22:43 +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
14b1f00244 Increase Nano2G main stack size to 16K again. We won't get rid of the stkov's at 8K easily.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25110 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 02:58:39 +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
Thomas Martitz
a2e788b557 Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25080 a1c6a512-1295-4272-9138-f99709370657
2010-03-08 23:32:46 +00:00
Thomas Martitz
02660557ad Fix a bunch of boot.lds files so that they build with newer ld. The stack/bss sections need NOLOAD. otherwise the linker would try to include those into the binary. I don't know why this ever worked with our current ld version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25078 a1c6a512-1295-4272-9138-f99709370657
2010-03-08 23:16:57 +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
9ba7cff6c1 Reduce Nano2G main thread stack size to the default value again. The huge sector buffers of the FTL have been moved to the bss some time ago, so this isn't needed any more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24725 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 16:31:19 +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
6b22614944 Hopefully fix Nano2G rolo again. We have enough IRAM anyways.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24710 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 22:57:49 +00:00
Michael Sparmann
3d7983e5c7 Fix iPod Nano 2G channel swapping issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24589 a1c6a512-1295-4272-9138-f99709370657
2010-02-10 21:20:51 +00:00
Andrew Mahone
5e9282829a Label dma_callback in pcm-s5l8700.c as used so that gcc won't discard it, and cause a link failure on eabi.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24487 a1c6a512-1295-4272-9138-f99709370657
2010-02-03 16:36:55 +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
Rafaël Carré
b2323be33b ARM: lr addresses the next instruction after the failing one in undefined instruction vector
Substract 4 before passing the argument to UIE so the correct address is displayed

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24321 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 15:04:21 +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