Commit graph

22323 commits

Author SHA1 Message Date
Rafaël Carré
19d70fce20 Sansa Fuze & e200v2 : do not enable USBSTACK in the bootloader
Don't implement usb_enable() is HAVE_USBSTACK is not defined

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23185 a1c6a512-1295-4272-9138-f99709370657
2009-10-15 10:23:18 +00:00
Rafaël Carré
8bd8d06842 Sansa AMS USB driver : still not working
Implement usb_enable()
Reorder/Modify usb_drv_init() to match closer the OF and remove a freeze
(USB registers were accessed before the USB module was enabled)
Add a panic in USB isr to be sure we notice when it's called
Reset GPIOA direction for usb_detect() to notice extraction
Add some comments

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23184 a1c6a512-1295-4272-9138-f99709370657
2009-10-15 10:03:20 +00:00
Rafaël Carré
5303ab101b Sansa AMS SD driver: cleanup defines and comments
Remove useless E200V2 || FUZE || C200V2 : all those models have
MULTIDRIVE and/or HOTSWAP defined and have no specific difference.

Correct some comments

Remove HAVE_MULTIDRIVE within HAVE_HOTSWAP since HOTSWAP imply MULTIDRIVE

Change HOTSWAP to MULTIDRIVE where needed

Use NUM_DRIVES in sd_num_drives()

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23180 a1c6a512-1295-4272-9138-f99709370657
2009-10-15 07:16:38 +00:00
Nils Wallménius
afe08ed8b2 Remove private memcpy wrapper that is no longer needed since r19847 and may cause issues with newer gcc versions, inspired by patch in FS#10676 by Duy Nguyen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23178 a1c6a512-1295-4272-9138-f99709370657
2009-10-14 22:34:11 +00:00
Dave Chapman
a5c1ee5cf1 Working Nano2G UI sim. UI-ipodnano2g.bmp courtesy of Marianne Arnold, based on her SVG for the manual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23176 a1c6a512-1295-4272-9138-f99709370657
2009-10-14 21:40:28 +00:00
Dominik Riebeling
1383be8fb0 Fix a compiler warning showing up with newer gcc versions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23175 a1c6a512-1295-4272-9138-f99709370657
2009-10-14 20:43:50 +00:00
Dominik Riebeling
0fcc84f463 Add cache index file to HttpGet class to maintain a list of hash - file origin mappings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23174 a1c6a512-1295-4272-9138-f99709370657
2009-10-14 20:21:23 +00:00
Dominik Riebeling
96adddaab3 Don't trace every device in the machine when scanning for USB devices on Windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23173 a1c6a512-1295-4272-9138-f99709370657
2009-10-14 20:21:17 +00:00
Thomas Martitz
bc063a3e1e Whoops, I had that warning turned off locally.
See http://www.rockbox.org/irc/log-20091014#08:40:11  gcc warns on that one (it's perfectly valid code). It doesn't warn if you do this on plain arrays and since I have had this warning disabled I thought it would not warn on arrays of structs also.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23172 a1c6a512-1295-4272-9138-f99709370657
2009-10-14 16:00:52 +00:00
Thomas Martitz
0f0d9064c5 Remove wps_reset(), and rename skin_data_init to skin_data_reset() and extend it to zero most of the wps_data members.
As these are called when parsing a skin it doesn't need to be called by the wps or settings, so make it local to skin_parser.c.
Reorder the members of struct wps_data for more effecient alignment.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23171 a1c6a512-1295-4272-9138-f99709370657
2009-10-14 15:49:11 +00:00
Marianne Arnold
ef53cc099e Full set of 2nd gen Nano images for a manual (svg, png and pdf).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23166 a1c6a512-1295-4272-9138-f99709370657
2009-10-14 05:24:00 +00:00
Dominik Riebeling
2e9155c3c5 Add the left brace again that was unintentionally lost.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23165 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:55:56 +00:00
Dominik Riebeling
bc748951b9 Fix building Rockbox Utility when using newer versions of libspeex.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23164 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:53:25 +00:00
Dave Chapman
81ef39bd8d Changes to make the Nano2G sim build. It is still missing a UI-ipodnano2g.bmp
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23163 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:51:28 +00:00
Dominik Wenger
11bd80cd38 rbutil: rework and rename the "dont overwrite talkfiles" option so it really generates only new Talkfiles.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23162 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:51:20 +00:00
Dave Chapman
e3bd45ef81 The Nano2G also qualifies for HAVE_WHEEL_POSITION
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23161 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:36:21 +00:00
Dave Chapman
8a148d2c23 Changes to build a Nano2G manual. It is now just missing the ipodnano2g-front.* images
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23160 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:27:57 +00:00
Dave Chapman
e04d1d5016 Add HAVE_SCROLLWHEEL for the Nano2G, as they have a scrollwheel.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23159 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:25:10 +00:00
Dominik Wenger
3215c09462 rbutil: split tts.cpp/h into individual files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23158 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 19:54:27 +00:00
Tomer Shalev
31c18116de USB: Use explicit casting when setting wTotalLength field in descriptor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23157 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 19:50:23 +00:00
Rafaël Carré
0290094d8a Sansa AMS PCM : replace buggy and confusing one-liner
The bits which are not divider (i2si/i2so enable and clock selection)
would be unset.
This is not a problem in the current code since this function was always
called before starting playback (and setting those bits) but this might
be a problem when recording is enabled.

Finally it is simpler to read.

Thanks to Fred Bauer for pointing this.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23156 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 16:41:20 +00:00
Dave Chapman
9680079496 Add ipodnano2g
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23155 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 15:33:50 +00:00
Dave Chapman
c06bc788c9 Fix Nano2G bootloader installation - no longer assume that the OSOS image is the first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23154 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 14:39:28 +00:00
Rafaël Carré
71e79e7dac rbutil: YH820 Unstable support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23153 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 14:08:32 +00:00
Robert Kukla
ab58cdc0b3 brickmania: There are only 9 powerups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23151 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 12:00:50 +00:00
Michael Sparmann
efeda72626 Fixed a confusing typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23150 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 10:07:13 +00:00
Dave Chapman
745266d309 Re-commit r23070 - reboot to disk mode on the Nano2G when USB is inserted. This was accidentally reverted in r23099
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23148 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 09:23:32 +00:00
Michael Sparmann
008f01348b Fix iPod Nano 2G charging detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23146 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 09:04:51 +00:00
Dave Chapman
8b3433e1c0 Don't touch the clocks in Nano2G bootloader - this breaks the Apple firmware (audio playback didn't work).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23143 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 08:04:52 +00:00
Dave Chapman
8e95cc4329 ipodpatcher and rbutil support for the Nano2G - FS#10609 with a few further changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23142 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 08:02:59 +00:00
Dominik Wenger
e486241c01 rbutil: store the voice language in the correct setting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23141 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 20:40:42 +00:00
Jonathan Gordon
a927db22c4 fix a redraw bug when a static token (like %C) is the only token on a sub/line.. hopefully no bad sideeffects...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23140 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 20:22:50 +00:00
Dave Chapman
a70c7bf862 Nano2G bootloader - fix dual-booting the Apple firmware.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23139 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 19:46:45 +00:00
Rob Purchase
48658eec41 Replace a couple of magic numbers with the appropriate constants.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23138 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 19:00:59 +00:00
Jack Halpin
7331bd5381 AMS Sansa: Remove BUSWIDTH and BLOCKLEN commands and revise strategy for High Speed SD Card.
We are unable to successfully put the pl180 controller into 4 bit mode so we should not put the cards into widebus mode for now.
The blocklength is hardcoded to 512 in sd.c and BLOCKLEN defaults to 512 so this command is not needed.
It appears the internal SD card is not HS capable but sending it the HS switch command does not seem to hinder it's init process.
Assume all SD_V2 cards are HS capable and send them the HS switch command.
If View disk info shows 50.0 MBit/s the card has HS timings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23137 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 18:55:10 +00:00
Jonas Häggqvist
b285a77be5 Change the Windows crosscompiling logic:
- It is now an option under (A)dvanced.
 - Configure will look through PATH for a sdl-config of a crosscompiled SDL.
 - It should now in theory work on other platforms besides Linux.  Untested.
 - Should be easy to adapt to also work for the database and checkwps tools.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23136 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 18:49:29 +00:00
Nils Wallménius
e1439fa010 fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23135 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 18:47:33 +00:00
Nils Wallménius
efdbcc114c Fix typo from r19579 that prevented this code from building, avoid copying lang strings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23134 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 18:11:37 +00:00
Jonas Häggqvist
301f845473 Move to only CC-BY-SA 3.0 for future changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23133 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 16:43:27 +00:00
Tomer Shalev
736ea79e63 Fix FS#10670 - The first letter of a scrolling line starts to appear at the end
of the line

Thanks to Teruaki Kawashima (teru) for providing this solution


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23132 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 16:31:44 +00:00
Jonas Häggqvist
13e23dd496 Clear up theme licensing:
- All theme authors have been contacted and agreed to relicense their theme
    under the CC-BY-SA 3.0 unported license.
  - Themes can still be used as GPLv2 or later if you like.
  - The marquee theme is removed, as the author couldn't be contacted.
  - An AUTHORS and COPYING file is added, containing a list of authors and the
    full license text, respectively.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23131 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 15:40:18 +00:00
Teruaki Kawashima
4d900bd786 New plugin theme_remove which offers a way to remove specified theme.
See the manual for usage.

Flyspray: FS#10187
Author: myself, manual by David Kauffmann

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23130 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 13:55:59 +00:00
Michael Sparmann
7a5904cf1c S5L870x: Implement pcm_play_dma_get_peak_buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23129 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 11:58:36 +00:00
Michael Sparmann
de310fba38 Ditch additional copyright notice quoted from iBugger.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23128 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 11:32:29 +00:00
Michael Sparmann
8afaee6471 Fix the yellow again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23127 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 10:44:48 +00:00
Michael Sparmann
6b17295926 Bring the iPod Nano 2G shutdown FTL panics back.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23126 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 08:54:51 +00:00
Tomer Shalev
461903d80e LCD scrolling - reduce one 'if' nesting level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23125 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 04:29:47 +00:00
Tomer Shalev
aee6901953 LCD scrolling - fix a typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23124 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 04:28:56 +00:00
Dave Chapman
f2bf463d90 Nano2G: Initial (non-working) attempt to load an encrypted copy of the original firmware from the "osbk" image in the firmware partition. Code based on iloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23123 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 00:57:07 +00:00
Michael Sparmann
5a4ce22b77 Fix the iPod Nano 2G clickwheel when releasing the hold switch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23122 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 00:12:02 +00:00