summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
AgeCommit message (Collapse)AuthorFilesLines
2015-01-11Improve readability by adding parenthesisThomas Jarosch1-1/+1
Change-Id: Iff51ab441a59f1ba842132b809a49d1fe7232e05
2010-12-01Remove tabsAndree Buschmann1-31/+31
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28719 a1c6a512-1295-4272-9138-f99709370657
2010-11-13iPod Nano 2G FTL: Remove some meaningless code in ftl_initMichael Sparmann1-27/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28570 a1c6a512-1295-4272-9138-f99709370657
2010-10-25Fix screendump on iPod Nano 2G by increasing the usb thread stack size and ↵Michael Sparmann1-27/+13
reducing the stack usage of FAT and storage functions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28356 a1c6a512-1295-4272-9138-f99709370657
2010-08-21Some Nano2G FTL cosmeticsMichael Sparmann1-21/+22
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27851 a1c6a512-1295-4272-9138-f99709370657
2010-08-17Fix two rather annoying Nano2G FTL bugs: 1. Fix a null pointer ↵Michael Sparmann1-18/+21
dereference/write, 2. Make sure all error return codes are negative. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27841 a1c6a512-1295-4272-9138-f99709370657
2010-08-12emBIOS backports part four: Add a lot of DEBUGF()s to the FTL code, and ↵Michael Sparmann1-48/+157
return proper error codes instead of panicing in a lot of error cases. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27783 a1c6a512-1295-4272-9138-f99709370657
2010-08-08ipod nano 2g: make functions/variables static where possible, add missing ↵Bertrik Sikken1-67/+67
#includes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27752 a1c6a512-1295-4272-9138-f99709370657
2010-06-20Use STORAGE_ALIGN_ATTR for instead of hardwired alignment in the Nano2G FTL ↵Michael Sparmann1-5/+6
and NAND driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26983 a1c6a512-1295-4272-9138-f99709370657
2010-03-14ftl-nano2g.c: s/\(\*([^)]+)\)\./\1->/Michael Sparmann1-150/+150
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25186 a1c6a512-1295-4272-9138-f99709370657
2010-03-14Finally fast Nano2G NAND reading, also works on remapped blocks this time.Michael Sparmann1-5/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25181 a1c6a512-1295-4272-9138-f99709370657
2010-03-14Nano2G: switch over to slow writes at VFL levelMichael Sparmann1-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25176 a1c6a512-1295-4272-9138-f99709370657
2010-03-14Re-enable fast reads in the Nano2G VFL/FTL. (Using the wrapper API in the ↵Michael Sparmann1-9/+46
NAND driver) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25175 a1c6a512-1295-4272-9138-f99709370657
2010-03-14Nano2G FTL: Enlarge FTL buffers for faster write operationsMichael Sparmann1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25173 a1c6a512-1295-4272-9138-f99709370657
2010-03-14Nano2G VFL/FTL: Use fast writesMichael Sparmann1-34/+53
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25172 a1c6a512-1295-4272-9138-f99709370657
2010-03-14Revert Nano2G fast VFL reads for now. They just won't work on some hardware.Michael Sparmann1-56/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25170 a1c6a512-1295-4272-9138-f99709370657
2010-03-14Nano2G VFL: reset the bank again before the second slow read tryMichael Sparmann1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25167 a1c6a512-1295-4272-9138-f99709370657
2010-03-14Nano 2G VFL: try slow read twice if fast read failedMichael Sparmann1-6/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25166 a1c6a512-1295-4272-9138-f99709370657
2010-03-14More detailed panic message for Nano2G VFL fast read problemsMichael Sparmann1-1/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25163 a1c6a512-1295-4272-9138-f99709370657
2010-03-13Make the Nano2G FTL use the new parallel read functionMichael Sparmann1-9/+46
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25157 a1c6a512-1295-4272-9138-f99709370657
2010-03-13Nano2G FTL: Increase spare buffer size to 4, values below that lead to problemsMichael Sparmann1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25150 a1c6a512-1295-4272-9138-f99709370657
2010-03-13Use the new read API and introduce fast highlevel FTL code.Michael Sparmann1-44/+117
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25149 a1c6a512-1295-4272-9138-f99709370657
2010-03-13Fix a bug introduced in r25145Michael Sparmann1-1/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25148 a1c6a512-1295-4272-9138-f99709370657
2010-03-13Implement fast VFL read API (as a dummy) for Nano2GMichael Sparmann1-0/+29
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25147 a1c6a512-1295-4272-9138-f99709370657
2010-03-13Re-commit another small Nano2G FTL bugfix that got lostMichael Sparmann1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25146 a1c6a512-1295-4272-9138-f99709370657
2010-03-13Implement Nano2G VFL multi-page read API (as a dummy for now)Michael Sparmann1-9/+23
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25145 a1c6a512-1295-4272-9138-f99709370657
2010-03-13Make Nano2G FTL buffer size configurable, no (intended) function changesMichael Sparmann1-81/+84
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25144 a1c6a512-1295-4272-9138-f99709370657
2010-03-13Isolate and commit some innocent Nano2G FTL bugfixes that were introduced as ↵Michael Sparmann1-1/+3
part of the performance improvements git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25143 a1c6a512-1295-4272-9138-f99709370657
2010-03-13Revert r25099, r25101, r25109 and r25137 for now. This doesn't seem to be ↵Michael Sparmann1-306/+124
quite stable on some NAND types yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25139 a1c6a512-1295-4272-9138-f99709370657
2010-03-12Hopefully fix the latest Nano2G NAND issues. (FS#11092) Transfers for some ↵Michael Sparmann1-30/+19
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-11Even more Nano2G FTL speedup. Now 8% faster than disk mode, 10% slower than ↵Michael Sparmann1-158/+123
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-10Fix bootloader redMichael Sparmann1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25101 a1c6a512-1295-4272-9138-f99709370657
2010-03-10iPod Nano 2G FTL performance enhancements. Still not quite as fast as the ↵Michael Sparmann1-123/+347
OFW, but way better than before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25099 a1c6a512-1295-4272-9138-f99709370657
2010-03-03Fix numerous non-critical iPod Nano 2G FTL bugsMichael Sparmann1-15/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24999 a1c6a512-1295-4272-9138-f99709370657
2010-01-20Fix yellowMichael Sparmann1-4/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24296 a1c6a512-1295-4272-9138-f99709370657
2010-01-20iPod Nano 2G: Fix FTL panics caused by a bogus checkMichael Sparmann1-8/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24295 a1c6a512-1295-4272-9138-f99709370657
2009-11-08Squash another bunch of iPod Nano 2G NAND bugs by moving the idle powerdown ↵Michael Sparmann1-78/+85
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-10-21Fix another bunch of iPod Nano 2G FTL bugs. It seems to work fine for me ↵Michael Sparmann1-25/+50
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-20Fixed a bunch of iPod Nano 2G FTL bugs.Michael Sparmann1-10/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23296 a1c6a512-1295-4272-9138-f99709370657
2009-10-18iPod Nano 2G storage performance improved by not copying around buffers ↵Michael Sparmann1-2/+2
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-11Fix yellowMichael Sparmann1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23102 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Kill some warningsDave Chapman1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23085 a1c6a512-1295-4272-9138-f99709370657
2009-10-10Squash a warning when FTL_READONLY is definedDave Chapman1-1/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23073 a1c6a512-1295-4272-9138-f99709370657
2009-10-10Fixed some mutex issues in the iPod Nano 2G NAND driver and FTL.Michael Sparmann1-2/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23066 a1c6a512-1295-4272-9138-f99709370657
2009-10-07Make iPod Nano 2G FTL return -1 on write() call, if read-only, to prevent panic.Michael Sparmann1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23000 a1c6a512-1295-4272-9138-f99709370657
2009-10-05iPod Nano 2G NAND/ECC driver and FTL improvements (still polling)Michael Sparmann1-8/+88
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22958 a1c6a512-1295-4272-9138-f99709370657
2009-10-04Read/write Nano2G FTL/NAND driver by Michael Sparmann (FS#10633).Dave Chapman1-0/+1789
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22918 a1c6a512-1295-4272-9138-f99709370657