Commit graph

18855 commits

Author SHA1 Message Date
Frank Gevaerts
ac355de664 Don't print partition sizes in megabytes, as that is buggy on 5.5G. Use sectors instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19170 a1c6a512-1295-4272-9138-f99709370657
2008-11-21 15:20:25 +00:00
Björn Stenberg
6640978129 Altered mkdepfile to use a single gcc call and post-process the output. This speeds up the dependency generation, especially in cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19169 a1c6a512-1295-4272-9138-f99709370657
2008-11-21 15:07:15 +00:00
Nils Wallménius
7ef2a053b8 Turns out that using likely in the loop condition gives a nice little speedup to so let's do it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19168 a1c6a512-1295-4272-9138-f99709370657
2008-11-21 14:23:34 +00:00
Björn Stenberg
8a7c4af27c Added a proper rule for rockbox-info.txt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19167 a1c6a512-1295-4272-9138-f99709370657
2008-11-21 13:21:25 +00:00
Björn Stenberg
344ad683be FS#9566: Change regex to make it work on old versions of sed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19166 a1c6a512-1295-4272-9138-f99709370657
2008-11-21 13:01:03 +00:00
Maurus Cuelenaere
c0b43a5ac2 Commit some USB and ATA rework/refactoring (+ USB GPIO detection).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19165 a1c6a512-1295-4272-9138-f99709370657
2008-11-21 12:50:06 +00:00
Maurus Cuelenaere
0a61b71f73 Fix segmentation fault when no key was found.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19164 a1c6a512-1295-4272-9138-f99709370657
2008-11-21 12:37:00 +00:00
Robert Menes
2527ebff3d Minor fix of the word "color" in the color settings; it is now spelled
in British English "colour".


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19163 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 23:06:55 +00:00
Nils Wallménius
1284c127f8 Introduce likely() and unlikely() macros, use to give gcc hints about which branch is likely to be taken in a conditional, use them in the midi player for a small speedup, use instead of similar EXPECT macros in tremor and use in mpegplayer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19162 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 20:20:43 +00:00
Björn Stenberg
7bdf9a3392 Remove .a files before running ar, to avoid problems with renamed files remaining in the library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19161 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 16:51:13 +00:00
Björn Stenberg
303b455ceb Remove .a files before running ar, to avoid problems with renamed files remaining in the library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19160 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 16:49:55 +00:00
Nils Wallménius
7677916aa0 Restore specific compiler flags for the midi plugin lost in r19146
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19159 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 16:30:58 +00:00
Björn Stenberg
d834a0c7e6 Bootbox needs --gc-sections.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19158 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 16:17:22 +00:00
Björn Stenberg
7167a7a874 Make sure plugin directory exists before creating link file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19157 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 16:07:01 +00:00
Björn Stenberg
21b5c76c09 .map and .bin files have moved to the root.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19156 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 16:05:06 +00:00
Björn Stenberg
4846b30607 codec.link must be created with -DCODEC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19155 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 15:54:47 +00:00
Björn Stenberg
a3864b0313 Disabled input section garbage collection in linker for now. This makes sansas boot again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19154 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 15:04:30 +00:00
Nils Wallménius
2bfb69c6f1 Correct name of midi plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19153 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 14:42:42 +00:00
Björn Stenberg
20fb305b0b Don't objcopy simulator plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19152 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 14:17:09 +00:00
Björn Stenberg
d273f663a1 Make sure codec directory exists before creating link file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19151 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 13:45:57 +00:00
Björn Stenberg
8910b28375 Midiplay.rock changed name to midi.rock.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19150 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 12:49:18 +00:00
Björn Stenberg
8ce3556236 Bug fix again. Moved cp outside of $(shell) to force make to run it sequentially.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19149 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 12:44:49 +00:00
Björn Stenberg
d96ce0a87d Bug fix for previous bug fix. Too much copy/paste.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19148 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 12:17:43 +00:00
Björn Stenberg
838c74f79d Bug fix for simulator: Plugins and codecs were objcopied isntead of left as ELF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19147 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 12:09:36 +00:00
Björn Stenberg
c6b3d38a15 New makefile solution: A single invocation of 'make' to build the entire tree. Fully controlled dependencies give faster and more correct recompiles.
Many #include lines adjusted to conform to the new standards.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 11:27:31 +00:00
Michael Sevakis
f66c303467 Gigabeat S: Make MIN_BRIGHTNESS_SETTING to be 1, not 0; the backlight already has "off".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19145 a1c6a512-1295-4272-9138-f99709370657
2008-11-19 23:49:36 +00:00
Jens Arnold
2a5053f58c Several tweaks and cleanups: * Use .rept instead of repeated macros for repeating blocks. * Use MUL (variant) instead of MLA (variant) in the first step of the ARM scalarproduct() if there's no loop. * Unroll ARM assembler functions to 32 where not already done, plus the generic scalarproduct().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19144 a1c6a512-1295-4272-9138-f99709370657
2008-11-19 21:31:33 +00:00
Michael Sevakis
14d37cb455 Add some watchdog timer definitions for IMX31L
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19143 a1c6a512-1295-4272-9138-f99709370657
2008-11-19 06:32:06 +00:00
Michael Sevakis
1dcee69fd2 MC13783 PMIC: Make some defines more strictly correct-- interrupts, etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19142 a1c6a512-1295-4272-9138-f99709370657
2008-11-19 06:22:09 +00:00
Michael Sevakis
20477d024e Gigabeat S: Fix PCM being cut off at the beginning. The DAC L-R swapping isn't needed now either. Fixes voice clips on the Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19141 a1c6a512-1295-4272-9138-f99709370657
2008-11-19 03:12:34 +00:00
Jens Arnold
77934cbc96 Compile-time choice between 16 bit and 32 bit integers for the filters. 32 bit filters are faster on ARMv4 (with assembler code), so use them there. Nice speedup on PP and Gigabeat F/X.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19140 a1c6a512-1295-4272-9138-f99709370657
2008-11-19 00:34:48 +00:00
Rafaël Carré
73b3f5417f Sansa Clip: backlight brightness is not possible, so remove references to it
We don't need to mess with CCU_IO register (it's only needed for targets
with a SD slot) so don't keep its value when changing buttonlight

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19139 a1c6a512-1295-4272-9138-f99709370657
2008-11-18 17:40:32 +00:00
Robert Menes
69845703bd Now to make sure Walloon is actually included... :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19138 a1c6a512-1295-4272-9138-f99709370657
2008-11-18 17:38:30 +00:00
Rafaël Carré
678b6d02ac Sansa AMS: Use IRAM (in app linker script and crt0.S)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19137 a1c6a512-1295-4272-9138-f99709370657
2008-11-18 17:15:56 +00:00
Dave Chapman
b18eda1c95 SVN property policing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19136 a1c6a512-1295-4272-9138-f99709370657
2008-11-18 13:44:27 +00:00
Dave Chapman
903cc1a398 Set SVN properties
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19135 a1c6a512-1295-4272-9138-f99709370657
2008-11-18 13:25:01 +00:00
Robert Menes
b0b4a4244a Add Stephane Quertinmont to the credits for his Walloon language.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19134 a1c6a512-1295-4272-9138-f99709370657
2008-11-18 12:44:10 +00:00
Robert Menes
b514a8c9cf New language: Walloon by Stephane Quertinmont.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19133 a1c6a512-1295-4272-9138-f99709370657
2008-11-18 12:38:32 +00:00
Michael Sevakis
e53fce0279 MC13783 cleanup. Remove functions proving themselves not so useful and add mc13783_write_masked which is pretty useful. Add an error code definition for invalid data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19132 a1c6a512-1295-4272-9138-f99709370657
2008-11-18 02:19:50 +00:00
Rob Purchase
3a631f9f64 D2: Adjust the timing delay in ltv250qv_write() since several users still report seeing the 'repeated lines' display bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19131 a1c6a512-1295-4272-9138-f99709370657
2008-11-17 21:56:08 +00:00
Rob Purchase
131c6c2670 Remove iAudio references from the Cowon D2 build, since it is not an iAudio branded player. The binary name has changed to rockbox.d2, so you will need to re-configure and update your bootloader after this change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19130 a1c6a512-1295-4272-9138-f99709370657
2008-11-17 21:16:07 +00:00
Rob Purchase
9f0fbec999 Show the Rockbox logo in the Telechips bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19129 a1c6a512-1295-4272-9138-f99709370657
2008-11-17 21:16:00 +00:00
Dave Chapman
de89a00cca Correct the xoffset used when display_flipped is false - fixes the display in the main Rockbox build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19128 a1c6a512-1295-4272-9138-f99709370657
2008-11-17 20:08:09 +00:00
Nils Wallménius
b36f6db0d6 Turn on more compiler optimizations on other targets than the coldfire based ones, gives a nice speed boost on sansa c200
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19127 a1c6a512-1295-4272-9138-f99709370657
2008-11-17 18:54:03 +00:00
Rafaël Carré
5302448e68 Sansa AMS: Don't make sd_init() fail if a SD card is not present in the slot
Fix contributed by kugel

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19126 a1c6a512-1295-4272-9138-f99709370657
2008-11-17 16:06:46 +00:00
Linus Nielsen Feltzing
7afbb491bf Patch FS#9556 by Alex Bennee - clean up buildzip.pl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19125 a1c6a512-1295-4272-9138-f99709370657
2008-11-17 10:14:48 +00:00
Jonathan Gordon
ee1c231779 move the scrobbler and playlist shutdown/restart calls out of tree.c and move them into the regular usb/shutdown handlers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19124 a1c6a512-1295-4272-9138-f99709370657
2008-11-17 07:34:00 +00:00
Rafaël Carré
aeb60e20a3 Sansa AMS: when not in the bootloader, disable fast hardware power off
A button press of ~10s will trigger the hardware power off instead of ~1s

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19123 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 22:36:13 +00:00
Rafaël Carré
d3e783b268 Fix the Sansa AMS SD driver
- Make write_sectors() function fail.
- Disable interrupts while transferring data and do not yield(), so we are sure the FIFO is not overflowed
Note this solution is only temporary since it's not friendly to other threads and confuse kernel tick precision
This will be reverted when we will be using DMA to access the SD card, but for now it permits further development
- PL180: Rename the MMC_* registers into MCI_*, to not make people believe it is a MMC only controller
- Supports non aligned destination buffers when reading
- Correct the timeout units which were lamely copied from ata-sd-pp.c and were in milliseconds (note that the timeouts are disabled now)
- Higher a bit the stack size
- Use the full initialization procedure in the bootloader and the loaded firmware
- Use the CCU_IO register only when a SD slot is present
- Put some panicf() around to catch problems

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19122 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 22:26:50 +00:00
Jens Arnold
1b14167861 Centralise compile-time configuration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19121 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 17:49:37 +00:00