Commit graph

24074 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
Rafaël Carré
c3c7306098 sd-as3525: do not reverse 2 times long responses, read them directly in the needed order
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25185 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 21:46:25 +00:00
Rafaël Carré
db7aedf93a sd-as3525v2: do not reverse 2 times long responses, read them directly in the needed order
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25184 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 21:38:36 +00:00
Rafaël Carré
291e2b1ae6 sd-as3525v2: delay a bit before reading the command response
Especially when using caches we might read the response too fast and get
the response for the previous command instead.

Now Clip+ boots fine with both instruction & data caches enabled, the
delay might need to be lowered though: boot time is a bit longer.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25183 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 21:38:30 +00:00
Michael Sparmann
9b416c0652 Nano2G NAND: Don't continue reading on that bank if starting the read failed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25182 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 20:55:43 +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
Alexander Levin
5cf262c95e Rename some glyphs in 08-Atadore font to standard unicode names (part 2 of FS#11082)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25180 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 19:45:11 +00:00
Alexander Levin
6d066ab6f5 Polish character set for 08-Atadore font (FS#11082 by Tomasz Kowalczyk), part 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25179 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 19:42:01 +00:00
Andree Buschmann
c736696390 Minor clean up in playback.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25178 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 18:25:42 +00:00
Dominik Riebeling
b6ed0b606f Fix rbspeex on big endian hosts.
Big endian hosts need to byteswap the wave data when reading or writing to
disk. Should fix speex based voice- and talkfiles only containing garbage on
PPC machines.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25177 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 18:20:18 +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
64b9586443 Implement Nano2G fast NAND read API as a wrapper around the slow one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25174 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 16:32:29 +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
4d8bf06bf3 Nano2G NAND: Detect if the chip supports interleaved and/or cached writes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25171 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 16:10:53 +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
Andree Buschmann
c18e80e127 Implement resume for alac codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25169 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 16:05:12 +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
Magnus Holmgren
a0692a40b2 Make resume handling in the AAC codec less confusing. No functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25165 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 13:37:41 +00:00
Andree Buschmann
1f725ebe34 Fix FS#11103. Resuming musepack files was handled wrong since ages. This change converts the decoders exact sample position to an estimated byte position within the file. The resume position in samples is calculated the reverse way,
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25164 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 13:32:16 +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
Jonathan Gordon
0f69a8152f fiddle with the skin debug output so the load lines arnt shown unless debugwps is enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25162 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 11:32:03 +00:00
Yoshihisa Uchida
2d1937a158 wave metadata parser reduces binsize.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25161 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 05:41:02 +00:00
Dominik Riebeling
efeb43b341 Make voicefont produce proper files on big endian machines.
Voicefont writes most data as integer values which need bitswapping depending
on the architecture. Fixes voicefont creating invalid files on OS X PPC.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25160 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 23:34:19 +00:00
Jonathan Gordon
1759a299f1 fix FS#11100 - statusbar would show up on multiscreen targets if either screen had it enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25159 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 22:26:03 +00:00
Dominik Riebeling
1e67a28cff Fix wavtrim not working correctly on PPC.
Don't rely on the host being little endian -- PPC Macs are not, resulting in
wavtrim not trimming files at all. Also fix a printf warning while at it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25158 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 22:25:21 +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
Alex Parker
394b579c4d Add a note to the gigabeat F manual to be in the correct USB mode before installing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25142 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 10:50:39 +00:00
Yoshihisa Uchida
0996bbd278 corrects the smaf parser the following.
- It is normally retrieved even if the position of wave data is not in given position from the head.
- The problem that artist/title/composer cannot be given normally when the character code != iso8859-1, utf-8.
- The problem that the position of chunk does not given correctly some mmf files.
- artist/title/composer stored in not id3v1buf but id3v2buf.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25141 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 05:53:54 +00:00
Yoshihisa Uchida
4446d1bc85 reduce firmware and sun audio codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25140 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 05:19:40 +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
Dominik Riebeling
a4caff91f9 Respect the exit code of external encoder called.
Return an error if the exit code differs from 0. Fixes voice file creation
getting displayed as successful even if encoding didn't work (f.e. due to wrong
command line parameters set in the configuration dialog).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25138 a1c6a512-1295-4272-9138-f99709370657
2010-03-12 21:52:25 +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