Thomas Martitz
c61e89c0ed
Make creat() posix compliant API-wise. Shouldn't affect the core as it's wrapped via a static inline.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25843 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 17:35:04 +00:00
Marcin Bukat
684c70bac5
HD200 - fix stupid bug in lcd_grey_data
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25842 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 14:33:19 +00:00
Jonathan Gordon
49f2709a01
If dircache and database "load to ram" is enabled then get the id3 info from the database in the WPS playlist viewer for non buffered tracks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25841 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 09:22:55 +00:00
Michael Sevakis
0defb8483c
Gigabeat S bootloader: Fix archaic call placement in dptc_stop which hangs 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-06 04:45:05 +00:00
Michael Sevakis
992b7e10b8
Gigabeat S: There's no compelling reason to start automatic scaling in the 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-06 04:17:34 +00:00
Michael Sevakis
021f9e9e56
Changed a macro to a raw in int constant. Didn't mean to do that. Put it back right.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25838 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 03:30:59 +00:00
Michael Sevakis
a36a498c57
i.MX31/Gigabeat S: This should fix stability problems. One problem was to 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-06 03:23:51 +00:00
Jack Halpin
8fd3ec9727
sd-as3525v2.c: Set MCI interrupt mask immediately prior to enabling DMA for 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-05 20:04:16 +00:00
Dominik Wenger
d48b3359fc
fix libmkmpioboot.a building.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25834 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 19:45:08 +00:00
Dominik Wenger
8e2ebc1068
rbutil: fix compiling on windows.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25833 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 19:35:37 +00:00
Jeffrey Goode
ab0a0bf0ad
Another logf fix in voice_thread.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25832 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 16:45:55 +00:00
Rafaël Carré
1801768ae2
as3525v2: don't modify audioset2 as it seems the bits have changed
...
restore loud volume on Clip+
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25831 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 15:38:56 +00:00
Rafaël Carré
bc91c5a823
Clip+: current usage estimation based on battery bench
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25830 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 15:28:39 +00:00
Dominik Wenger
7a0efced16
rbutil: fix fuzev2 entry.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25829 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 15:14:33 +00:00
Jeffrey Goode
ccd113ab77
Remove unneeded include from screens.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25828 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 14:38:28 +00:00
Jonathan Gordon
14532754a7
fix player red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25827 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 13:56:44 +00:00
Jonathan Gordon
efd1f4e49f
Make it possible to move the UI viewport using conditional viewports.
...
%Vi|<label>|<Usual %Vi params>| <- specify the possible viewports to use
%VI<label> <- make the UI viewport use the %Vi definition with the <label> label.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25826 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 13:48:50 +00:00
Marcoen Hirschberg
268f7c42f0
fix mkamsboot compilation on systems where 'make' is not 'GNU make' (FreeBSD for example)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25825 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 10:56:19 +00:00
Rafaël Carré
e77550a52d
rbutil: add fuzev2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25824 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 07:38:49 +00:00
Michael Sevakis
630b4fc555
i.MX31/Gigabeat S: The nested IRQ code was just totally wrong and not 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-05 07:15:20 +00:00
Michael Giacomelli
9dd81ae53d
Use settings for DAC AGC, cpeaker driver bias current (which is unused in 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
2010-05-05 04:47:20 +00:00
Jack Halpin
08641941bb
sd-as3525v2.c: Implement 4 bit widebus for SD Transfers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25820 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 04:35:08 +00:00
Rafaël Carré
145135f99f
Fuzev2: don't disable interrupts in fm code, allow button tick to run
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25819 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 04:13:15 +00:00
Rafaël Carré
a69e1c4a44
Fuzev2: FM - tested on 2 different models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25818 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 04:06:44 +00:00
Rafaël Carré
aec0af5413
as3525 FM i2c : don't assume SCL and SDA are on the same GPIO
...
This seems to be the case for the Fuzev2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25817 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 02:27:18 +00:00
Rafaël Carré
e6bb174c62
Clip+: use correct 290mAh battery capacity
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25816 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 02:12:20 +00:00
Rafaël Carré
d11f5a7e5f
as3525* : all as3525(v1) use ADC_BVDD for reading battery
...
all as3525v2 use ADC_CHG_IN because ADC_BVDD is way too high when charging
Fuzev2 now displays battery icon correctly when charging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25815 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 01:28:37 +00:00
Alexander Levin
00e2252b34
Fix typos in the comment (now in .c)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25814 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 21:02:32 +00:00
Alexander Levin
295da3ffad
Fix typos in the comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25813 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 20:47:52 +00:00
Jack Halpin
adcbb32966
sd-as3525v2: Check for response timeout error in addition to response crc error. Remove TODO comment.
...
Change SD_SELECT/DESELECT_CARD commands to MCI_NO_RESP as we don't need a response here.
Renumber some command errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25811 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 17:29:26 +00:00
Jeffrey Goode
09cd188596
Fix logf behavior in voice_thread.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25810 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 14:43:01 +00:00
Jeffrey Goode
054ddfd0c6
Make some internal things static, add logf line to sound.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25809 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 14:41:30 +00:00
Jeffrey Goode
433cad6446
Add logf line to talk.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25808 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 14:30:47 +00:00
Marcin Bukat
6a2b516f48
HD200 - fix random partition corruption on USB unplug (hopefully)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25807 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 12:25:57 +00:00
Marcin Bukat
69fa42d905
HD200 - rework bootloader logic
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25806 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 11:16:17 +00:00
Marcin Bukat
bccdcf2003
HD200 - move adc channel variable to iram as it is used in ISR
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25805 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 11:15:36 +00:00
Marcin Bukat
5ad4d138d7
HD200 - fix backlight flashes during startup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25804 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 11:14:59 +00:00
Marcin Bukat
5bcdd92626
HD200 - remove fm glue code from bootloader build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25803 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 11:14:03 +00:00
Michael Sevakis
4048a1cf4b
Merely correct a comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25802 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 10:43:32 +00:00
Michael Sevakis
5edcb11f44
i.MX31/Gigabeat S: Just a little paranoid change to switcher write to active regulators method, to keep things localized a bit more from global data pool, for safety's sake. It's going to Mars afterall.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25801 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 10:37:06 +00:00
Michael Sevakis
931e06de64
i.MX31/Gigabeat S: Actually enable DPTC which can set optimal voltage for 528MHz. Requires an SPI and PMIC interface rework because of the low-latency needs for the DPTC to work best with minimal panicing. SPI can work with multitasking and asynchronously from interrupt handlers or normal code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25800 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 10:07:53 +00:00
Rafaël Carré
7480afb3c5
as3525v2: Use CD Interrupt vs. CD polling in send_cmd()
...
Also enable write support, test_disk passes on all targets
Flyspray: FS#11140
Authors: Jack Halpin and myself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25799 a1c6a512-1295-4272-9138-f99709370657
2010-05-03 22:15:56 +00:00
Rafaël Carré
1bc59454d5
rolo: make PP code pp6100-compatible
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25798 a1c6a512-1295-4272-9138-f99709370657
2010-05-03 21:50:48 +00:00
Maurus Cuelenaere
056f608f78
Ingenic Jz4740: eliminate EP0 state machine + small cleanups
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25797 a1c6a512-1295-4272-9138-f99709370657
2010-05-03 20:36:34 +00:00
Maurus Cuelenaere
35f341464b
Ingenic Jz4740: cleanup USB driver a bit (no externally visible functional changes)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25796 a1c6a512-1295-4272-9138-f99709370657
2010-05-03 19:18:10 +00:00
Maurus Cuelenaere
c5abd15088
Stop scrolling when exiting the CPU boost log menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25795 a1c6a512-1295-4272-9138-f99709370657
2010-05-03 16:58:17 +00:00
Thomas Martitz
883e5ce778
Update a comment to reflect the previous commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25794 a1c6a512-1295-4272-9138-f99709370657
2010-05-03 15:19:05 +00:00
Thomas Martitz
69f8e8d277
Move read_line() further down so that it can be used in checkwps and remove checkwps' copy if it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25793 a1c6a512-1295-4272-9138-f99709370657
2010-05-03 15:12:19 +00:00
Michael Sevakis
b3f1eb8bba
Gigabeat S: Those odd calls to irq_handler can still happen rarely after executing WFI. With no explanation forthcoming after trying many things, hide head in sand and ignore them and the IRQ will get vectored to the correct handler anyway. Have vector tables execute an immediate return and remove irq_handler from compilation altogether.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25792 a1c6a512-1295-4272-9138-f99709370657
2010-05-03 07:48:00 +00:00
Delyan Kratunov
bc90a616c3
FFT plugin: The 64-bit sqrt function is no longer needed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25791 a1c6a512-1295-4272-9138-f99709370657
2010-05-02 20:32:41 +00:00