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
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
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
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
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
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
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
Karl Kurbjun
3ef51c5cbb
Add the shutdown routine necessary when bootloader is flashed. Normal build/bootloader still operate as expected.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18651 a1c6a512-1295-4272-9138-f99709370657
2008-09-26 03:08:19 +00:00
Karl Kurbjun
143b8f1c30
More Gigabeat F flash work. This sets the bootloader up for dual boot functionality and allows the player to shutdown cleanly (with the help of the OF). This does not effect the normal build or non-flash bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18650 a1c6a512-1295-4272-9138-f99709370657
2008-09-26 02:54:29 +00:00
Jens Arnold
3a0e1cab69
Make a local function static.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18639 a1c6a512-1295-4272-9138-f99709370657
2008-09-25 00:09:45 +00:00
Jens Arnold
21893dcada
Limit the buil-in font to ASCII for bootloaders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18636 a1c6a512-1295-4272-9138-f99709370657
2008-09-24 21:29:18 +00:00
Jens Arnold
e823b2e488
Fix red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18633 a1c6a512-1295-4272-9138-f99709370657
2008-09-24 21:17:53 +00:00
Jens Arnold
938ef22c02
Repair bootbox on the archoses (that bug went undetected for >2.5 years), and get rid of some old debug cruft in order to save space.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18631 a1c6a512-1295-4272-9138-f99709370657
2008-09-24 21:09:46 +00:00
Jens Arnold
498985669b
Bootloaders don't need idle callbacks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18614 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 22:12:21 +00:00
Jens Arnold
ae878ffbe0
Disable the whole loadable font code including font caching for bootloaders/ bootbox.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18609 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 21:35:54 +00:00
Jens Arnold
15d996a023
Disable bidirectional text handling and arabic joining in the bootloaders in order to save space. * Disable greyblitting in archos bootloaders for the same reason.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18584 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 18:46:27 +00:00
Dave Chapman
726a63f309
Correct version of memory sizes in config-logikdax.h (previous values were just experimental and should not have been committed). We also need to remove two more codecs for this codec buffer size (128KB). The m200 and DAX builds now actually build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18568 a1c6a512-1295-4272-9138-f99709370657
2008-09-22 19:38:28 +00:00
Vitja Makarov
9e13e365d6
Add some missed bits + change MODE to TMODE
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18567 a1c6a512-1295-4272-9138-f99709370657
2008-09-22 19:27:21 +00:00
Dave Chapman
85807cd44e
Trivial changes to make the main Rockbox builds for the Sansa m200 and Logik DAX ports compile. Note that some codecs are currently disabled (due to lowmem on these targets), but that needs more work and analysis to decide how much RAM we want to allocate to codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18566 a1c6a512-1295-4272-9138-f99709370657
2008-09-22 19:15:18 +00:00
Vitja Makarov
80458b6222
Prepare for usb-telechips testing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18565 a1c6a512-1295-4272-9138-f99709370657
2008-09-22 18:49:37 +00:00
Jens Arnold
3e9ca1de90
Define the various CPUFREQ_* macros so that Gigabeat S compiles with test_codec enabled, and use the correct value.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18562 a1c6a512-1295-4272-9138-f99709370657
2008-09-21 22:32:56 +00:00
Jens Arnold
f748d3b49f
Some more size optimisations, giving a tiny write speedup as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18552 a1c6a512-1295-4272-9138-f99709370657
2008-09-19 20:17:17 +00:00
Jens Arnold
5b17f37e84
Change the way send_cmd() returns data to make it cleaner and save binsize. Also change the command composition for the same reasons.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18551 a1c6a512-1295-4272-9138-f99709370657
2008-09-19 07:27:08 +00:00
Vitja Makarov
eab5498484
Fix ata2501 serial reading
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18550 a1c6a512-1295-4272-9138-f99709370657
2008-09-19 05:55:11 +00:00
Frank Gevaerts
7983ab6cd0
M3 (and probably non-sl M6) code gets loaded at 0x22020000 by dfu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18546 a1c6a512-1295-4272-9138-f99709370657
2008-09-18 18:20:51 +00:00
Marcoen Hirschberg
48e45f5751
add Meizu M6SP and M3 ports
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18544 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 23:22:11 +00:00
Maurus Cuelenaere
9407ae838e
Onda VX747:
...
* Button driver rework
* Backlight driver rework
* LCD driver rework
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18543 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 21:44:47 +00:00
Jens Arnold
3655a32a3e
Further MMC driver touchup: * Save a tiny amount of power by not enabling the internal flash clock when accessing the MMC. * R2W factors > 32 are valid in newer MMC specs, so don't limit to 32 anymore. * Revise the port setup, and only do the basic setup once.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18541 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 18:53:11 +00:00
Frank Gevaerts
d29faf07a3
set svn properties
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18540 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 18:50:34 +00:00
Frank Gevaerts
0a584fb06c
annotate init sequence
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18539 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 18:50:18 +00:00
Jens Arnold
cf978b9fa3
Fix wrong #endif placement.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18534 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 21:59:01 +00:00
Jens Arnold
3a2bc2a617
Make Ondio builds without multivolume and hotswap support compile again (only relevant for testing purposes).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18533 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 17:42:36 +00:00
Frank Gevaerts
66045bca7d
add s6d0154 register definitions, and flesh out lcd_init_device()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18532 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 17:38:33 +00:00
Frank Gevaerts
c0e898ae29
Now reads the LCD controller ID succesfully and flashes it using the backlight
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18531 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 16:51:25 +00:00
Frank Gevaerts
95bc9fd596
fix off-by-one error when reading spi data
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18530 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 16:47:13 +00:00
Rob Purchase
1a08f46329
Commit fs#9404 (iAudio 7 updates by vitja). Also fixes play/pause behaviour on D2.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18528 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 08:09:44 +00:00
Jens Arnold
e42a7373f6
Fix error handling in multiple block read and multiple block write state. When an error occurs, the host still needs to send CMD_STOP_TRANSMISSION resp. the STOP_TRAN token.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18524 a1c6a512-1295-4272-9138-f99709370657
2008-09-15 21:10:08 +00:00
Bertrik Sikken
1a904eb1eb
Revert v18522 for firmware/backlight.c, it breaks a couple of bootloaders
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18523 a1c6a512-1295-4272-9138-f99709370657
2008-09-15 20:01:07 +00:00
Bertrik Sikken
f13184e472
Fix some more #includes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18522 a1c6a512-1295-4272-9138-f99709370657
2008-09-15 19:50:55 +00:00
Frank Gevaerts
816eea85de
use bitwise operators to manipulate bits
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18521 a1c6a512-1295-4272-9138-f99709370657
2008-09-15 18:48:11 +00:00
Jens Arnold
36e311f68b
Implement chasing bitswap for reading. Speeds up reading single 512-byte blocks by 15..20%. * Restructure the write buffer handling a bit, making it more readable and a bit smaller. Also fixes an old corner case bug: writing data from address 0x0 (archos boot ROM dump) would have written wrong data.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18516 a1c6a512-1295-4272-9138-f99709370657
2008-09-14 23:38:31 +00:00
Jens Arnold
b1a584a1b6
Simplify & fix the MMC driver. After more than 3 years I found that the MMC specs were a bit misleading, and the 'large' MMC which state a block size of 1024 or 2048 bytes and no partial read and/or partial write capability are happily accepting a block size of 512 bytes. So go KISS and remove all the variable/partial block handling code. This fixes the driver for the Transcend 4GB MMCplus, which doesn't cope when we actually set the 2048 byte block size it states. It also makes write operations involving small blocks faster and more reliable. * Note: The 4GB Transcend still doesn't work when plugged at boot, but works when hotplugged.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18515 a1c6a512-1295-4272-9138-f99709370657
2008-09-14 20:33:24 +00:00
Maurus Cuelenaere
ebe652b51a
Forgot this..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18513 a1c6a512-1295-4272-9138-f99709370657
2008-09-14 16:28:35 +00:00
Maurus Cuelenaere
1e294e3f25
Onda VX747:
...
* Get rid of bug when interrupts are enabled
* Get threading to work (although with some weirdness)
* Other fixes/optimizations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18512 a1c6a512-1295-4272-9138-f99709370657
2008-09-14 16:26:08 +00:00
Jens Arnold
6938083e4f
iPod Video: Fix playback after recording (FS #7402 ). Implement recording gain adjustment. * Enable timeout for zero-crossing detection (SLOWCLK), avoids hanging volume/ gain due to DC offsets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18509 a1c6a512-1295-4272-9138-f99709370657
2008-09-13 19:34:16 +00:00
Bertrik Sikken
56e2764116
Make local function static and add missing #includes for Archos player
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18505 a1c6a512-1295-4272-9138-f99709370657
2008-09-12 21:11:06 +00:00