summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2010-05-11Gigabeat F/X: Let us clear up confusion about just what the core frequency ↵Michael Sevakis
is. Fix frequency display in buffering screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25953 a1c6a512-1295-4272-9138-f99709370657
2010-05-11HD200 - fix in asm optimised ATA reads&writesMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25948 a1c6a512-1295-4272-9138-f99709370657
2010-05-11r25940 oops. No, no, no, that wasn't quite right. Must be truthful about the ↵Michael Sevakis
level in decidecibels for subsequent code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25941 a1c6a512-1295-4272-9138-f99709370657
2010-05-11MRobe100, HD200, Gigabeat F/X (anything with wm8750 or wm8751). Properly ↵Michael Sevakis
prescale bass and treble controls to avoid clipping. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25940 a1c6a512-1295-4272-9138-f99709370657
2010-05-10No need to use alternating registers for dual register read/write sequence. ↵Andree Buschmann
Correct comment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25939 a1c6a512-1295-4272-9138-f99709370657
2010-05-10Minor speed up (+3%) of iPod Video screen updates.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25938 a1c6a512-1295-4272-9138-f99709370657
2010-05-10sd-as3525v2: Set LP bits in MCI_CLKENA for cards after they have been ↵Jack Halpin
initialized. The OF does this and while we don't have the documentation to be sure I think it's highly likely this is a low power mode referred to in one of the product "briefs". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25936 a1c6a512-1295-4272-9138-f99709370657
2010-05-10sd-as3525v2: Add delay after SD_SWITCH_FUNC to while switching to high ↵Jack Halpin
speed timings and wait until after this switch to bring the card clock back up to full speed. This seems to make switching the uSD card to high speed timing much more reliable. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25935 a1c6a512-1295-4272-9138-f99709370657
2010-05-10See 0x429c in OF (lcd_init), B6 is lcd reset line.Tobias Diedrich
Hopefully setting this properly to output will cure the random lcd resets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25933 a1c6a512-1295-4272-9138-f99709370657
2010-05-10as3525(v1) : correct CPU_FREQRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25932 a1c6a512-1295-4272-9138-f99709370657
2010-05-10HD200 - Disable asm optimised reads as it showed to be broken. Enable asm ↵Marcin Bukat
optimised writes. test_disk was failing because of broken read routine. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25931 a1c6a512-1295-4272-9138-f99709370657
2010-05-10HD200 - Remove checks if driver is initialized. lcd_init_device() is always ↵Marcin Bukat
called first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25928 a1c6a512-1295-4272-9138-f99709370657
2010-05-10HD200 - Reduce wait states when writing to lcd.Marcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25927 a1c6a512-1295-4272-9138-f99709370657
2010-05-10as3525v2: disable adjustable CPU frequencyRafaël Carré
When the rest of the code is confirmed to work properly without CPU frequency changes, it will be possible to reliabily test set_cpu_frequency() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25924 a1c6a512-1295-4272-9138-f99709370657
2010-05-09Undo a change of r25850 which broke SDL audio on some (older kernels?) systems.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25920 a1c6a512-1295-4272-9138-f99709370657
2010-05-09Update current usage for Fuzev1/e200v2/Clipv1Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25912 a1c6a512-1295-4272-9138-f99709370657
2010-05-08Sansa Cliv2: calibrated discharge curveRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25901 a1c6a512-1295-4272-9138-f99709370657
2010-05-08as3525*: stop MPMCCLKOUT when all SDRAMs are idleRafaël Carré
Get a bit more battery life (between 30 minutes and 2 hours) as3525v2: only enabled in bootloader, we need a new binary release anwyway as3525v1: enabled in rockbox.sansa as well, so we can continue using the current bootloaders Flyspray: FS#11246 Author: myself git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25900 a1c6a512-1295-4272-9138-f99709370657
2010-05-08Clean the DCache just before going to main because areas were written by ↵Michael Sevakis
init code that need to be coherent (.ncbss and .sdmacode). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25896 a1c6a512-1295-4272-9138-f99709370657
2010-05-08Gigabeat S: Reclaim about 800K of memory that was laying unused. Get rid of ↵Michael Sevakis
DEVBSS_ATTR for this target and implement as NOCACHEBSS_ATTR. Plugin and codec buffers move so all that is now incompatible (do full update). No version increase for plugins/codecs because the loader will reject them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25895 a1c6a512-1295-4272-9138-f99709370657
2010-05-07as3525v2: make sure volume is normal by writing Audioset2 registerRafaël Carré
If the bit 6 is set volume is much lower, without writing it explicitely it is undefined. According to linux sources this bit is related to mixer. Initialize Audioset2 with low power 'hph' (probably headphones) quality, as I couldn't make a difference with 'high quality' setting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25890 a1c6a512-1295-4272-9138-f99709370657
2010-05-07Fuzev1: calibrated discharge curveRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25874 a1c6a512-1295-4272-9138-f99709370657
2010-05-07i.MX31/Gigabeat S minor cleaning: Make HW access more obvious in places I ↵Michael Sevakis
forgot to do earlier. Reduce the number of structs that need to be filled-out for some drivers just to simplify a little. Change some types. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25870 a1c6a512-1295-4272-9138-f99709370657
2010-05-07Fuzev2: calibrated discharge curveRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25869 a1c6a512-1295-4272-9138-f99709370657
2010-05-07Remove stray function prototype used only for long-ago-removed codec ↵Michael Sevakis
swapping. Function definition was removed when adding internal voice codec. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25868 a1c6a512-1295-4272-9138-f99709370657
2010-05-07i.MX31: Make some style changes to some driver code so that hardware vs. ↵Michael Sevakis
variable access is more obvious to the eye. Change a few data types and qualifiers. No functional differences. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25865 a1c6a512-1295-4272-9138-f99709370657
2010-05-07Remove last traces of sprintf.hJeffrey Goode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25864 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Define size_t the way the gcc/glibc people intendedFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25862 a1c6a512-1295-4272-9138-f99709370657
2010-05-06string.h shouldn't include stddef.hFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25860 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Fix last sprintf warning.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25859 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Fix the remaining reds.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25858 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Revert r25854 which was bad for the database tool (I forgot it still needs ↵Thomas Martitz
the wrappers from uisimulator/common/io.c). Fix it so it works for both. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25856 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Fix gigabeat S includes so it builds againFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25855 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Fix checkwps by using host system's file IO (thanks to r25843/r25844) and by ↵Thomas Martitz
including a work around for systems that try to get intN_t via sys/types.h (which should be wrong, but well). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25854 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Fix some more snprintf related warnings.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25853 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz
directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Ingenic Jz4740: Use lcd_putsf() instead of lcd_puts() in exception handlerMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25849 a1c6a512-1295-4272-9138-f99709370657
2010-05-06ad-as3525v2: Ask for a reponse from SD_APP_CMD to help with timing issues ↵Jack Halpin
when switching to 4 bit widebus. Some SD cards were having problems switching to 4 Bit widebus and this solution appears to remedy that. Thanks to Luca_S! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25846 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Make open() posix compliant api-wise. A few calls (those with O_CREAT) need ↵Thomas Martitz
the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25844 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Make creat() posix compliant API-wise. Shouldn't affect the core as it's ↵Thomas Martitz
wrapped via a static inline. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25843 a1c6a512-1295-4272-9138-f99709370657
2010-05-06HD200 - fix stupid bug in lcd_grey_dataMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25842 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Gigabeat S bootloader: Fix archaic call placement in dptc_stop which hangs ↵Michael Sevakis
the bootloader before jumping to FW. Let the backlight LED ramp up after unplugging USB which just looks better. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25840 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Gigabeat S: There's no compelling reason to start automatic scaling in the ↵Michael Sevakis
bootloader only stop it milliseconds later. Do init to default frequency and working point, however. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25839 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Changed a macro to a raw in int constant. Didn't mean to do that. Put it ↵Michael Sevakis
back right. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25838 a1c6a512-1295-4272-9138-f99709370657
2010-05-06i.MX31/Gigabeat S: This should fix stability problems. One problem was to ↵Michael Sevakis
start using the DVFS controller properly so that interrupts will be masked at the lowest and highest frequency indexes. Millions of useless interrupts were occurring at 132MHz because its index was 2, not 3, which masks it automatically when it can't go slower. Stopping the flood was enough to actually see the difference in general. IRQ must be disabled when fiddling with the CCM registers and only enabled when waiting for voltage ramp as having them enables also causes spurious DVFS ints. Implement interruptible ISR pro/epilogue more safely (always using IRQ stack even in SVC mode handling). Fix an improper inequality in DVFS code (which set regs for down when going up and v.v.). Misc. support changes. Have internal tables take less RAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25837 a1c6a512-1295-4272-9138-f99709370657
2010-05-05sd-as3525v2.c: Set MCI interrupt mask immediately prior to enabling DMA for ↵Jack Halpin
the transfer. These INT's shouldn't be unmasked until the transfer is just about to happen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25836 a1c6a512-1295-4272-9138-f99709370657
2010-05-05as3525v2: don't modify audioset2 as it seems the bits have changedRafaël Carré
restore loud volume on Clip+ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25831 a1c6a512-1295-4272-9138-f99709370657
2010-05-05Clip+: current usage estimation based on battery benchRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25830 a1c6a512-1295-4272-9138-f99709370657
2010-05-05i.MX31/Gigabeat S: The nested IRQ code was just totally wrong and not ↵Michael Sevakis
actually working anyway (which is why it wasn't crashing). AVIC doesn't seem truthful about priority of current ISR either :\. Sometimes there were channel swaps during really active DVFS due to FIFO underflow from a needed long delay in the ISR (100us, and IIS TX only has 45us reserve) and DMARQ *must* be serviced low-latency. Get it doing as was intended. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25822 a1c6a512-1295-4272-9138-f99709370657
2010-05-05Use settings for DAC AGC, cpeaker driver bias current (which is unused in ↵Michael Giacomelli
rockbox), dither, and headphone bias current taken from c200v2 firmware. These should result in several mA power savings on all as3525, and probably an improvement on AS3525v2 as well as the c200v1 and e200v1. RMAA tests on the e200v1, clipv1 and clipv2 show no measurable difference in output when driving a 16 ohm load. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25821 a1c6a512-1295-4272-9138-f99709370657