Commit graph

24032 commits

Author SHA1 Message Date
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
Andree Buschmann
24c0474472 Fix comment on interpolation macro.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25136 a1c6a512-1295-4272-9138-f99709370657
2010-03-12 20:09:55 +00:00
Andree Buschmann
76e8701626 Fix playback of atrac3 joint stereo encoded files. Define the interpolation macro in the right way.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25135 a1c6a512-1295-4272-9138-f99709370657
2010-03-12 20:07:28 +00:00
Andree Buschmann
2ac401f486 Make atrac3 streams in wav containers work again (error was introduced with r24782). Add additional info to atrac3 debug information.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25134 a1c6a512-1295-4272-9138-f99709370657
2010-03-12 18:47:13 +00:00
Andree Buschmann
c82cac4c3d Restore musepack's IRAM configuration to pre r25127 for non PP5022/24.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25133 a1c6a512-1295-4272-9138-f99709370657
2010-03-12 18:36:01 +00:00
Torne Wuff
86dc6c1204 Change USB HID mode string from just "Multimedia Mode" (or similar) to say "USB keypad mode: Multimedia" (or similar).
This will hopefully reduce the huge confusion from new users who think that multimedia mode means it's doing MTP or some other thing which is not MSC.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25132 a1c6a512-1295-4272-9138-f99709370657
2010-03-12 17:32:24 +00:00
Yoshihisa Uchida
2a9c42d1ed libpcm: output depth corrects for the sign 1bit. linear pcm corrects bits shift.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25131 a1c6a512-1295-4272-9138-f99709370657
2010-03-12 11:34:09 +00:00
Amaury Pouly
c7517f5662 Add experimental support for isochronous transfers in the usb ARC driver. There are several details to tweaks however.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25130 a1c6a512-1295-4272-9138-f99709370657
2010-03-12 10:59:34 +00:00
Andree Buschmann
263e4d5cbf Minor optimization for musepack codec through moving functions to IRAM on PP processors. Speed ups codec by 0.25 MHzon PP5022.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25127 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 20:58:38 +00:00
Andree Buschmann
398ec52817 Refacturate IRAM configuration for musepack codec. No functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25126 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 20:19:31 +00:00
Dominik Riebeling
b4401e589e Implement speed adjustment for OS X TTS.
Note that some voices don't support speed adjustment. These voices will ignore
the selected value. The current implementation doesn't mark those voices in any
way.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25125 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 20:09:22 +00:00
Dominik Riebeling
c8752b428d Rearrange libraries linking order to work with --as-needed linker option.
If the linker uses the --as-needed option linking failed due to the order of
the libraries on the command line. Arch Linux seems to default to this option,
and the Gentoo documentation mentiones it as experimental feature.  Changing
the library order fixes the link issue.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25124 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 19:14:33 +00:00
Jack Halpin
405f6e6dbc SansaAMS: debug-as3525.c Allow View HW info page to display correct info for both V1 & V2 versions of as3525.
calc_freq(CLK_PLLA) for as3525v2 simply returns 240MHz instead of calculating until we understand how it is calculated.
Now displays 922T or 926ejs depending on version.
Remove SD and uSD info from as3525v2 as it is not useful due to different SD controller.
Increased the lines used for each page of display on clip screen size.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25120 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 19:01:49 +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
Szymon Dziok
1fd57a2a87 Packard Bell Vibe 500: add specific strings to the languages.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25116 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 17:12:23 +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
Jens Arnold
029e74866a Move (small) data into DRAM on PP5020, it's ~4.5% faster that way. Closes about half of the performance gap towards PP5022. The (relatively large) buffers for decoded data stay in IRAM, as does the reciprocal table. Clarify some comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25108 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 21:39:12 +00:00
Yoshihisa Uchida
20f5a533ae Oops. forget static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25107 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 11:19:17 +00:00
Yoshihisa Uchida
207a84a381 unify the wave/wave64 parser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25106 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 10:55:01 +00:00
Amaury Pouly
56069476be Get rid of the parent_dir field in dir_uncached.c by using the same FAT trick as in dircache. This should save ~20KB on 512B/sector targets and ~80KB on 2K/sector ones.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25105 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 08:56:27 +00:00
Michael Sparmann
0be28e819f Disable HID on Nano2G for now - it's causing some instability that needs to be debugged
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25104 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 03:20:48 +00:00
Michael Sparmann
32ffcfa495 Some Nano2G define corrections / updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25103 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 03:19:56 +00:00
Michael Sparmann
f61fb3739a Add the raw battery voltage to the Nano2G battery debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25102 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 03:18:58 +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
Jens Arnold
3710ae92cc Coldfire targets: tiny optimisation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25098 a1c6a512-1295-4272-9138-f99709370657
2010-03-09 23:44:25 +00:00
Jens Arnold
1dfa0e92dc Get rid of unnecessary alignment of struct member which also caused arm-elf-eabi-gcc to mess up parameter passing to mpeg2_idct_add().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25092 a1c6a512-1295-4272-9138-f99709370657
2010-03-09 20:02:27 +00:00
Szymon Dziok
ec73e790c8 Packard Bell Vibe 500: reset all allowed devices like in the OF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25089 a1c6a512-1295-4272-9138-f99709370657
2010-03-09 19:09:17 +00:00
Rafaël Carré
1f251ea30d mkamsboot: Use audio master irq_enrd0 usb_status bit instead of gpio on C200V2
FlySpray: FS#11085
Author: Tobias Diedrich

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25088 a1c6a512-1295-4272-9138-f99709370657
2010-03-09 16:29:38 +00:00
Rafaël Carré
8d720f4d4e Display Fault status address register on data/prefetch aborts
Display Address status address register on data aborts

Work on all ARM cpus but arm7tdmi (no MMU/MPU there)

FlySpray: FS#10296
Author: myself with help of Torne Wuff

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25087 a1c6a512-1295-4272-9138-f99709370657
2010-03-09 16:19:50 +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
Nils Wallménius
6c12fc20d9 Statically init array to 0 instead of runtime memset
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25085 a1c6a512-1295-4272-9138-f99709370657
2010-03-09 03:23:05 +00:00
Nils Wallménius
c7f4773cf6 Simplify makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25084 a1c6a512-1295-4272-9138-f99709370657
2010-03-09 03:20:14 +00:00
Rafaël Carré
d2c1765800 Use bx lr unconditionally in setjmp_arm.S
Rockbox doesn't support ARMv4 non T CPUs

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25083 a1c6a512-1295-4272-9138-f99709370657
2010-03-09 00:22:23 +00:00
Thomas Martitz
9a3c0778c6 Fix two warnings that appear with gcc4.4.3. The one in recording.c ("compact_view is used uninitialized" seems to be false positive unfortunately).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25082 a1c6a512-1295-4272-9138-f99709370657
2010-03-08 23:56:54 +00:00
Thomas Martitz
61320ce0eb Make mini2440 compile again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25081 a1c6a512-1295-4272-9138-f99709370657
2010-03-08 23:43:11 +00:00