Commit graph

18417 commits

Author SHA1 Message Date
Frank Gevaerts
d16fe2d36a implement usb_drv_release_endpoint() and usb_drv_request_endpoint() (a.k.a. fix red)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18705 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 23:08:11 +00:00
Frank Gevaerts
20e704ba78 disable logf again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18704 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 22:49:36 +00:00
Frank Gevaerts
478fc5baed reorganise the USB stack a bit to allow for easier integration of non-ARC controller drivers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18703 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 22:43:16 +00:00
Jens Arnold
6219f4c862 Fix warnings on non-arm targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18702 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 21:52:47 +00:00
Jens Arnold
d1b19be423 Various speedups: (1) Put actual decoding functions into IRAM on PP5002. (2) Put the insane filter buffer into IRAM on coldfire and PP502x (just for completeness, as long as there's no better use). (3) Use the ARMv6 'ssat' instruction for saturation on Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18701 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 21:40:32 +00:00
Jens Arnold
66fe9a462c Speed up decoding on Gigabeat F/X and S by lowering BLOCKS_PER_LOOP. This helps keeping things in the (L1) cache (except for -c5000).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18700 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 16:34:25 +00:00
Jens Arnold
5d29f5188f Put the rangecoder struct into IRAM for a nice speedup on coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18699 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 15:54:34 +00:00
Robert Menes
27c7977068 Fix red on Players, hopefully.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18698 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 14:35:07 +00:00
Jens Arnold
d456460707 Further speedup for ARMv6 by better pipelining in scalarproduct().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18697 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 12:30:18 +00:00
Frank Gevaerts
7fc446263f fix yellow. Don't do the spindown/usb things in the bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18696 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 11:56:01 +00:00
Robert Menes
0acaecef81 Recommit FS #9428 by David Hall. The SWCODEC targets should all work with this patch applied.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18695 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 11:51:50 +00:00
Jens Arnold
67554591d9 Fix static noise on armv6.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18694 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 10:09:57 +00:00
Jens Arnold
46bf6bd493 Add preliminary ARMv5te optimisations (verified working, but can probably be sped up further), and fix a comment in the ARMv6 code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18693 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 09:33:36 +00:00
Jens Arnold
6fcf2765dd Add armv6 specific asm code for the APE filters, speeding up -c2000..-c5000 a bit on Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18692 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 08:54:34 +00:00
Nils Wallménius
c42f22cb87 Correct test to avoid drawing outside display, fixes a problem in sim with spacerocks, could possibly fix things on target too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18691 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 08:10:38 +00:00
Nils Wallménius
069f5420d6 Fix FS#9397 - calendar plugin shows incorrect calendars, fix suggested by Thomas Schott
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18690 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 06:47:07 +00:00
Robert Menes
79171b7370 Revert r18687, as the patch appears to break battery_bench on the Archos Player. Should also fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18689 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 01:36:54 +00:00
Jonathan Gordon
dfec613bac fix yellow... should also actyually fix the issue...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18688 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 01:25:44 +00:00
Robert Menes
ff940bcfa5 Commit FS#9428 by David Hall: change battery bench messages on SWCODEC targets. The plugin should display the proper "canel" button on each target now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18687 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 01:04:06 +00:00
Jonathan Gordon
28f1f50ab7 Hopefully fix crashes if the start screen is set to previous and nvram.bin becomes invalid
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18686 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 00:43:09 +00:00
Frank Gevaerts
fcdffd68af Accept FS#8943, allow disk spindown during USB connection for software usb
Implementation by Linus Nielsen Feltzing


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18685 a1c6a512-1295-4272-9138-f99709370657
2008-10-02 20:51:14 +00:00
Dave Chapman
6d5b54081a Change the MODEL_NUMBER for various new ports so that it is unique again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18684 a1c6a512-1295-4272-9138-f99709370657
2008-10-02 18:08:41 +00:00
Dave Chapman
82131ac98c Fix some new ports to ensure target_id is unique
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18683 a1c6a512-1295-4272-9138-f99709370657
2008-10-02 17:53:35 +00:00
Dave Chapman
c2933cd46e Remove the dependency on sufficient free space in the padding at the end of the firmware block by storing the ucl unpack function in the main firmware block, immediately before the compressed firmware image. Also simplify the memcpy function in test.S. This has been tested successfully on a Clip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18682 a1c6a512-1295-4272-9138-f99709370657
2008-10-02 12:37:47 +00:00
Dave Chapman
d1d8b4ca55 Add Rafael Carre (funman) for his work on SansaV2 hacking and contributions to mkamsboot and related code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18681 a1c6a512-1295-4272-9138-f99709370657
2008-10-02 11:29:34 +00:00
Nils Wallménius
6fea8887a6 Fix FS#9296 by catching repeat events for wheel targets too, moved a bit of code around to simplify things.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18680 a1c6a512-1295-4272-9138-f99709370657
2008-10-02 08:22:44 +00:00
Dave Chapman
2c096e463d It turns out that in-place UCL decompression isn't as easy as we thought, so we copy the OF to an unused part of RAM before decompressing it. This works - I have successfully patched m300a-1.1.17A.bin and installed on my Clip with this code. Thanks to Rafael Carre (funman) for the actual patch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18679 a1c6a512-1295-4272-9138-f99709370657
2008-10-01 23:19:14 +00:00
Dave Chapman
caeaf76930 Correct the content of an error message (thanks to Jens for spotting) and fix a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18678 a1c6a512-1295-4272-9138-f99709370657
2008-10-01 19:54:12 +00:00
Dave Chapman
fc7221649d We need to strip the header (26 bytes) from the UCL file - based on the information in tools/ucl2src.pl. Also add some sanity checking of the UCL file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18677 a1c6a512-1295-4272-9138-f99709370657
2008-10-01 18:28:55 +00:00
Dave Chapman
5891a38486 Bug fix #1 for mkamsboot - pass the correct parameters to the ucl unpack function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18676 a1c6a512-1295-4272-9138-f99709370657
2008-10-01 10:25:31 +00:00
Dave Chapman
757f5112e2 Untested (i.e. will almost certainly brick your device if you attempt to use it) first attempt at making mkamsboot store the original firmware as a UCL compressed image. If it works, then this means we have about 40KB (depending on target and OF version) for our bootloader code. I repeat: This is UNTESTED and needs reviewing fully before attempting to install on a device.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18675 a1c6a512-1295-4272-9138-f99709370657
2008-10-01 09:15:44 +00:00
Dave Chapman
fe72d57996 Original, unmodified version of the ARM thumb implementation of the UCL ucl_nrv2e_decompress_8 function from upx-3.03 - licensed under the GPL (v2 or later). This will be used to decompress the original firmware image in the next version of mkamsboot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18674 a1c6a512-1295-4272-9138-f99709370657
2008-10-01 08:13:10 +00:00
Peter D'Hoye
66f5eec8f0 Fix samplerate setting for mini 1g/2g
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18673 a1c6a512-1295-4272-9138-f99709370657
2008-09-30 20:26:25 +00:00
Jens Arnold
e10a5a5ef5 Revert unnecessary fix for broken Interix-gcc 4.2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18670 a1c6a512-1295-4272-9138-f99709370657
2008-09-30 07:21:31 +00:00
Peter D'Hoye
f60c1ae050 More samplerates for playback for ipod 1g/2g, and fix the ipod mini 1g/2g which also use WM8721.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18669 a1c6a512-1295-4272-9138-f99709370657
2008-09-29 21:41:38 +00:00
Peter D'Hoye
b297eb9d9d Codepolice: the patch I accepted contained some tabs. Oops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18668 a1c6a512-1295-4272-9138-f99709370657
2008-09-29 20:50:26 +00:00
Jens Arnold
a28154940d Fixes for building the MIPS toolchain on Interix: (1) Binutils need -Werror disabled, because compiling binutils (and also gcc) spits a lot of alignment warings. (2) Gcc tries to call 'sh' without path in by default (#!sh), but Interix 3.5+ doesn't allow that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18666 a1c6a512-1295-4272-9138-f99709370657
2008-09-29 20:31:31 +00:00
Nils Wallménius
173b411b87 Fix FS#9418 'Player unresponsive while searching playlist with directory cache enabled'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18665 a1c6a512-1295-4272-9138-f99709370657
2008-09-29 19:29:42 +00:00
Nils Wallménius
b82fd56e0f Delete unused function, const police, minor style police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18664 a1c6a512-1295-4272-9138-f99709370657
2008-09-29 16:29:51 +00:00
Dave Chapman
0326055f91 We don't know how to increase the firmware size, so abort instead of creating a bricking firmware. Suggested by Rafaël Carré (funman).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18663 a1c6a512-1295-4272-9138-f99709370657
2008-09-29 09:27:35 +00:00
Peter D'Hoye
11ef4ce1f9 Accept FS #9394 by Christian Lees and extend it to all PP targets with a WM8731: More samplerates for playback and recording. Only tested on H10 but should work on the others too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18662 a1c6a512-1295-4272-9138-f99709370657
2008-09-28 23:25:07 +00:00
Jens Arnold
aa8a76b659 Interix also doesn't like the m68040.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18661 a1c6a512-1295-4272-9138-f99709370657
2008-09-28 21:48:33 +00:00
Dominik Riebeling
316b8b81a6 Small punctuation fixes to german rbutil translation (FS#9425 by Alexander Levin).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18660 a1c6a512-1295-4272-9138-f99709370657
2008-09-28 18:52:41 +00:00
Maurus Cuelenaere
9d4e6d17f6 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18659 a1c6a512-1295-4272-9138-f99709370657
2008-09-28 17:51:11 +00:00
Maurus Cuelenaere
1a253d1de5 MkZenBoot:
* Add warning for big endian players
  * Remove FRESC keys
  * Add support for Zen Mozaic


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18658 a1c6a512-1295-4272-9138-f99709370657
2008-09-28 17:46:27 +00:00
Dominik Riebeling
197c24c5d3 Completely rework the bootloader installation class:
- create a base class and make derived classes for each installation type.
- sort installations by type, not by player model.
- remove duplicated code for iriver (de)scrambling functionality and use the functions inside of the tools folder directly -- we already do the same for rbspeex.
- make bootloader file backup optional and allow choosing a target location.
- clean up some wording and add some more guiding messages.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18657 a1c6a512-1295-4272-9138-f99709370657
2008-09-28 17:02:36 +00:00
Robert Menes
063d37b08f Oops, big oops: revert the PID values back to their proper values. Oversight on my part. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18656 a1c6a512-1295-4272-9138-f99709370657
2008-09-27 16:51:46 +00:00
Robert Menes
f83fc36d88 Gave meizu_dfu's source the official Rockbox header. No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18655 a1c6a512-1295-4272-9138-f99709370657
2008-09-27 16:37:16 +00:00
Dominik Wenger
6a012210d0 rbutil: hopefully fix sapi voice engine support. (sapi_voice.vbs wants now utf16)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18654 a1c6a512-1295-4272-9138-f99709370657
2008-09-27 00:05:54 +00:00
Maurus Cuelenaere
1ab86bb370 Update Dutch RBUtility translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18653 a1c6a512-1295-4272-9138-f99709370657
2008-09-26 10:07:04 +00:00