Commit graph

18808 commits

Author SHA1 Message Date
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
Jens Arnold
66ff812c4a Make it compile again on linux...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19120 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 17:44:59 +00:00
Jens Arnold
dfafd67948 Make the standalone decoder actually work on Windows (need to open the output file in binary mode).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19119 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 17:30:02 +00:00
Rob Purchase
93f3367f42 Telechips NAND: much improved read reliability on D2/iAudio7. More work is required for M200/DAX, but an improvement is evident nonetheless. LPT buffers are now buffer_alloc'd after determining the required size, so most targets should also see a healthy reduction in RAM usage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19118 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 15:44:49 +00:00
Jens Arnold
bd49ec97b2 Make the standalone decoder build on cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19117 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 12:59:03 +00:00
Jens Arnold
b5c0afc442 Move the contents of rangecoding.h into entropy.c, and remove the former. It was only used there, and defined some variables in the .h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19116 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 12:58:15 +00:00
Dominik Riebeling
a0584aec74 The HTML manual requires features.txt to be processed first, so add this as prerequisite. Fixes building if no pdf has been built before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19115 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 12:42:08 +00:00
Dominik Riebeling
5c1b47dd1a Make autodetection show a busy cursor (hourglass) during detection to improve visual feedback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19114 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 11:00:27 +00:00
Dave Chapman
29d9fadae9 Add the required #include for the HZ define - fixes compilation of checkwps broken by r18773
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19113 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 10:32:44 +00:00
Jens Arnold
5ba11af855 Avoid unnecessary register copies on ARMv5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19112 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 10:12:38 +00:00
Jonathan Gordon
c41bd04722 revert the previous commit to find a nice way to fix the yellow...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19111 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 09:56:38 +00:00
Jonathan Gordon
76d2dd9c0e FS#9477 - new WPS tag (%mo) which lets the WPS have different "modes" which are changed with the usual "back to browser" button (This button is ONLY stolen if the WPS you use uses this tag.
an example use:
%?mo<one|two|three>
meaning that when the WPS is first opened "one" will be displayed, pressing select will change it to showing two, pressing it again will show three, and once more will go back to showing one. The text there could be any wps tags (conditional viewports for example...)
There is no real limit on the amount of modes, but remember that if you create a WPS which uses this tag more than once that every use HAS to have the same amount of choices or bad things will happen.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19110 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 09:38:15 +00:00
Michael Sevakis
db5965ff9e Gigabeat S/WM8978: Fix problem of volume getting silenced after settings are applied. There still seems to be a problem of cutting of voice samples from the beggining of clips when music isn't playing-- next to be investigated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19109 a1c6a512-1295-4272-9138-f99709370657
2008-11-15 23:48:19 +00:00
Dominik Wenger
a4c0660537 add the OF offset also for sansa fuze, and make it only for internal SD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19108 a1c6a512-1295-4272-9138-f99709370657
2008-11-15 19:24:51 +00:00
Dave Chapman
3e8a2bfa12 Make the standalone demac program compile again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19107 a1c6a512-1295-4272-9138-f99709370657
2008-11-15 00:35:07 +00:00
Dave Chapman
dcb0e43148 Clean up the Makefile a little - no functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19106 a1c6a512-1295-4272-9138-f99709370657
2008-11-14 22:16:22 +00:00
Dave Chapman
11b5d5a37e Remove some unneeded #includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19105 a1c6a512-1295-4272-9138-f99709370657
2008-11-14 22:14:40 +00:00
Dominik Wenger
83dc89f751 m200v4: make buttons work again (added a small delay). make m200 keymap better. Add button mappings for the sim. Remove some config defines temporary to make building work again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19104 a1c6a512-1295-4272-9138-f99709370657
2008-11-14 21:57:43 +00:00
Jens Arnold
9a0224fd28 Fix comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19102 a1c6a512-1295-4272-9138-f99709370657
2008-11-12 18:20:25 +00:00
Jens Arnold
60e16e8e7a Tiny speedup by simplifying the filter wrap check.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19101 a1c6a512-1295-4272-9138-f99709370657
2008-11-12 18:16:27 +00:00
Dave Chapman
c8d0a6522e Assume that AS3514_I2C_ADDR is not target-specific. If it turns out to be different to 0x46 in a future target, then perhaps move this definition into the ascodec-target.h files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19100 a1c6a512-1295-4272-9138-f99709370657
2008-11-12 11:23:44 +00:00
Jens Arnold
1600e4918e Tiny performance improvement for the (not yet usable) compression levels >= -c2000 on ARM7TDMI, utilizing the multiplier's early termination.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19099 a1c6a512-1295-4272-9138-f99709370657
2008-11-12 09:18:36 +00:00
Karl Kurbjun
f32336e4a5 Last commit for the flash bootloader. The bootloader build works properly either flashed or unflashed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19098 a1c6a512-1295-4272-9138-f99709370657
2008-11-12 05:11:18 +00:00
Karl Kurbjun
d922f31a09 Fix a bug when shutting down the player with the charger plugged in with the flashed bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19097 a1c6a512-1295-4272-9138-f99709370657
2008-11-12 04:41:22 +00:00
Karl Kurbjun
18316f670a (really) commit the crt0.S changes needed for the wakeup alarm.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19096 a1c6a512-1295-4272-9138-f99709370657
2008-11-12 04:34:53 +00:00
Karl Kurbjun
59d4d2025c Revert last commit (accidentally committed the whole tree)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19095 a1c6a512-1295-4272-9138-f99709370657
2008-11-12 04:15:34 +00:00
Karl Kurbjun
d42041043b Add in the needed crt0.S code for the wakeup alarm also
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19094 a1c6a512-1295-4272-9138-f99709370657
2008-11-12 03:57:32 +00:00
Karl Kurbjun
68c686957b Make the wakeup alarm code work (Needs the flashed bootloader)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19093 a1c6a512-1295-4272-9138-f99709370657
2008-11-12 03:52:33 +00:00
Karl Kurbjun
f6791faedd Fix a small bug in %x when padding is being added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19092 a1c6a512-1295-4272-9138-f99709370657
2008-11-12 03:50:11 +00:00
Alessio Lenzi
c46d9867e3 Updated italian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19091 a1c6a512-1295-4272-9138-f99709370657
2008-11-11 22:54:12 +00:00
Dave Chapman
e25c1c6e43 Add more driver stubs to make the Fuze and e200v2 main builds compile; Correct the memory definition for the Fuze (8MB)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19090 a1c6a512-1295-4272-9138-f99709370657
2008-11-11 14:46:13 +00:00
Dave Chapman
5c7d9f1015 Correct svn:keywords and svn:eol-style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19089 a1c6a512-1295-4272-9138-f99709370657
2008-11-11 14:29:29 +00:00
Frank Gevaerts
e86d651647 make the meizu bootloaders compile again with the new storage infrastructure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19088 a1c6a512-1295-4272-9138-f99709370657
2008-11-11 14:11:49 +00:00
Jonathan Gordon
8e90c0f1ed forgot to svn add the keymap file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19087 a1c6a512-1295-4272-9138-f99709370657
2008-11-11 11:32:07 +00:00
Jonathan Gordon
0d812dd235 FS#9535 - Sansa Fuze sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19086 a1c6a512-1295-4272-9138-f99709370657
2008-11-11 11:26:07 +00:00
Jonathan Gordon
ce505b8a01 the delay in the as3525 bootloader was driving me mad so remove it and get the bootloader closer to where a "finished" one should be (only show info if sometrhing needs to be shown, which is always for now.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19085 a1c6a512-1295-4272-9138-f99709370657
2008-11-11 11:01:55 +00:00
Jonathan Gordon
d5ea63a1e8 fix configure for the same change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19084 a1c6a512-1295-4272-9138-f99709370657
2008-11-11 00:27:00 +00:00
Jonathan Gordon
92864423f2 fix scramble to use m2v4 instead of m2v2 for the m200v4/2/ams target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19083 a1c6a512-1295-4272-9138-f99709370657
2008-11-11 00:25:34 +00:00
Björn Stenberg
381723cd7d Build rombox.elf the same way as rockbox.elf. This avoids problems with make -j.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19082 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 23:54:24 +00:00
Dave Chapman
d809685c3e Fix a warning introduced by r18940
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19081 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 23:20:19 +00:00
Rafaël Carré
527a1dbc70 Fix red: e200/c200 use ADC_UNREG_POWER define (for compatibility)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19080 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 21:40:30 +00:00
Rafaël Carré
79e56a7410 as3514: do not error out if included by files which don't use AS3514_I2C_ADDR
If the model is unknown and try to use it, the build will fail anyway
because it will not be defined

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19079 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 21:10:27 +00:00
Rafaël Carré
c48001b172 Sansa AMS: remove symbol already defined in audio/as3514.c driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19078 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 21:04:32 +00:00
Rafaël Carré
d4c4faaec8 Sansa AMS: declare ascodec_init() function in the header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19077 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 20:59:10 +00:00
Rafaël Carré
02dfae031a Sansa AMS: use the AS3514 ADC driver
Move the ADC defines to as3514.h, and make adc-target.h only include as3514.h
Implement the missing API (ascodec_readbytes, ascodec_(un)lock)

Revert the changes to the PP-specific arm/ascodec-target.h in r19073,
use a AS3525 specific ascodec-target.h while moving the AS3514 specific
code in export/as3514.h

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19076 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 20:55:56 +00:00
Rafaël Carré
f7b1d806e6 Sansa AMS bootloader: use the correct (renamed) header file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19075 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 20:36:02 +00:00
Rafaël Carré
7ff0ef9020 debug menu : use debug-target.h for AS3525
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19074 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 20:35:46 +00:00
Rafaël Carré
22c450a7f4 Merge target/arm/as3525/as3525-codec.h into target/arm/ascodec-target.h
The AMS Sansa use the same AS3514 registers (except USB_UTIL which was added)
Use the register defines in AMS Sansa code instead of hardcoded values

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19073 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 19:53:12 +00:00