Bertrik Sikken
7e35619fb6
power-meizu.c: fix usage of USB_TR name
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23341 a1c6a512-1295-4272-9138-f99709370657
2009-10-25 09:54:23 +00:00
Michael Sparmann
c9dd93e286
Adjust the iPod Nano 2G CPU clock freq again, this time to an exact value. Also add hardware defines for the 9th DMA channel we discovered on the S5L8701, and fix the µsec timer (there were missing braces).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23338 a1c6a512-1295-4272-9138-f99709370657
2009-10-24 23:27:13 +00:00
Michael Sparmann
ef6e1c4eaa
Plumb an iPod Nano 2G battery leak that started spilling as soon as USB was used at least once until a reboot.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23335 a1c6a512-1295-4272-9138-f99709370657
2009-10-24 20:31:40 +00:00
Jack Halpin
5897249c1e
Add #ifdef HAVE_MULTIDRIVE to HS timings switch for uSD cards.
...
Internal cards are v1 sd cards so no need to include this code for the clip.
Move transition from STBY -> TRAN-> STBY states inside the if(sd_v2) conditional check for HS switch as it's not needed for non HS cards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23331 a1c6a512-1295-4272-9138-f99709370657
2009-10-24 16:42:24 +00:00
Thomas Martitz
e4921d6ab5
Speed up lcd_update_rect by ~2.5% by counting towards 0 in the loop.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23329 a1c6a512-1295-4272-9138-f99709370657
2009-10-24 16:01:53 +00:00
Michael Sparmann
4e617332ff
Hide yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23327 a1c6a512-1295-4272-9138-f99709370657
2009-10-24 00:05:13 +00:00
Michael Sparmann
6599932f2f
Fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23326 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 23:58:54 +00:00
Michael Sparmann
49d4c428dc
Implement iPod Nano 2G storage active indicator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23325 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 23:50:32 +00:00
Michael Sparmann
16a956c4f3
Finally a click, pop and other distortion free PCM driver for that fishy bufferless S5L870x I2S controller.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23324 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 23:47:38 +00:00
Dominik Wenger
5b4938a8ca
Working Bootloader for mini2440.
...
Flyspray: FS#10701
Author: Bob Cousins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23316 a1c6a512-1295-4272-9138-f99709370657
2009-10-22 17:45:02 +00:00
Michael Sparmann
4a63ac7c00
Add iPod Nano 2G µsec timer, and use it in the clickwheel driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23309 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 18:53:41 +00:00
Michael Sparmann
7bff585d83
iPod Nano 2G: "Fix" the latest PCM issues, channel swap and vinyl popping. The latter is a revert of the cache coherency patch for now, we need to find a better solution in the long term...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23308 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 18:52:09 +00:00
Michael Sparmann
0c89c0ef7c
Fix another bunch of iPod Nano 2G FTL bugs. It seems to work fine for me now, but this doesn't necessarily mean that it's bug-free.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23307 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 15:28:11 +00:00
Thomas Martitz
d85c3ec410
Convert lcd_activation callbacks to use the event system to allow for multiple parallel callbacks (for custom statusbar).
...
Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing).
Removed corresponding functions from the core and plugin api. Bump min version and sort.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 21:54:59 +00:00
Rob Purchase
d94c3c47f9
D2: Remove the hardcoded driver-level touchscreen calibration, since it's done at apps level as well now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23299 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 20:57:26 +00:00
Rob Purchase
cb2db20a32
Cleanup and expand D2 charger detection (not yet implemented for D2+).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23297 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 20:38:35 +00:00
Michael Sparmann
1668cfa3dd
Fixed a bunch of iPod Nano 2G FTL bugs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23296 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 20:20:39 +00:00
Michael Sparmann
d03fe64dcf
iPod Nano 2G USB support based on the S3C6400X datasheet. Disabled by default for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23285 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 06:37:07 +00:00
Jens Arnold
2dd45f7c6d
Make RoLo work on PP5002. * Rename CACHE_CTL flag values on PP5002 for consistency.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23277 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:38:52 +00:00
Dominik Wenger
41c497025f
Initial mini2440 port.
...
Flyspray: FS#10627
Author: Bob Cousins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23265 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 18:14:27 +00:00
Jack Halpin
c5a3f93ac3
AMS Sansa: Adjust SD Card frequency to Identification frequency at beginning of card init instead of the end of pl180 controller init.
...
If a card is reinitialized now the ident frequency is used instead of the bypass frequency during the identification phase.
Added comments throughout sd_init_card() to help follow init process and highlight indent stage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23256 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 05:34:25 +00:00
Bertrik Sikken
d24d885aa4
Use wrap-safe TIME_BEFORE/TIME_AFTER macros to compare times with current_time, instead of comparing them directly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23246 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 15:50:30 +00:00
Rafaël Carré
735b522929
Split ARMv6 code from mmu-arm.S
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23244 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 13:07:14 +00:00
Michael Sparmann
b424b852e5
iPod Nano 2G storage performance improved by not copying around buffers unneccessarily if they are aligned anyways and using cache coherency functions instead of bypassing the caches altogether.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23243 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 12:36:17 +00:00
Michael Sparmann
bde0231803
Add dcache cleaning to the S5L870x PCM driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23240 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 23:08:51 +00:00
Michael Sparmann
3ac50ca9ff
Fix S5L870x cache coherency functions. They were split into a different file, as changes were needed all over the place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23239 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 23:06:45 +00:00
Michael Sparmann
4562e683a2
Implement iPod Nano 2G nand_get_info()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23238 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 23:00:49 +00:00
Michael Sparmann
8f1709f434
Adjust iPod Nano 2G CPU speed to 192MHz, which measurements show it to be. Timers will be more accurate now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23237 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 22:32:46 +00:00
Nils Wallménius
11fbfae20d
fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23234 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 18:12:24 +00:00
Nils Wallménius
f34a841b0c
Revise r23225 a bit, removing the debug_printf function and implementing more generic lcd_(remote)_putsf function(s) instead and use those in more places
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23233 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 18:02:48 +00:00
Rob Purchase
b91ae3c3cd
Fix logic error in D2+ touchscreen driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23217 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 22:14:27 +00:00
Jack Halpin
000cff5bae
AMS Sansa: Lower ADC checkvalue for voltage scaling to 1.175V as some players run slightly low.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23205 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 17:44:23 +00:00
Rob Purchase
d29114c671
Touchscreen support for newer Cowon D2+ hardware revisions (using TSC200x touchscreen controller).
...
Flyspray: FS#10671
Author: Jonas Aaberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23194 a1c6a512-1295-4272-9138-f99709370657
2009-10-15 20:13:29 +00:00
Jack Halpin
562e41bae5
AMS Sansa: FS#10669 Reimplement Voltage scaling.
...
Reimplement voltage scaling on AMS Sansas at 1.10v during unboosted operation to improve runtimes. The voltage is now also boosted during disk access if a µSD is present. This prevents the µSD problems we saw on the last implementation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23193 a1c6a512-1295-4272-9138-f99709370657
2009-10-15 19:48:26 +00:00
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
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
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
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
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
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
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
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
Michael Sparmann
6cea8c1e1a
Fix the latest iPod Nano 2G NAND issues
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23115 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 18:21:15 +00:00
Michael Sparmann
b729a7d75e
iPod Nano 2G PMU rework, added backlight brightness setting and USB charging speed setting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23114 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 18:20:56 +00:00
Michael Sparmann
3b549fedbb
iPod Nano 2G: Reset NAND banks after powering the chip up.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23110 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 13:48:12 +00:00
Jens Arnold
e13c600133
H300 LCD update: Use interrupt driven background DMA transfers, giving other threads a
...
chance to run while the LCD updates. * Add an optimisation for partial updates with width ==
LCD_WIDTH.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23109 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 13:30:06 +00:00
Bertrik Sikken
b68d7f54ae
Samsung YP-S3: make bootloader compile again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23107 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 13:15:23 +00:00
Michael Sparmann
264d877889
Add a thread to power down the NAND after inactivity on the iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23106 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 12:45:27 +00:00
Michael Sparmann
c3dc24b479
S5L870x: Fix PCLK freq
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23103 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 11:35:14 +00:00
Michael Sparmann
9f18e1958f
Fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23102 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 10:22:07 +00:00
Michael Sparmann
b84ef86871
Fix another anti-double-inclusion define for iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23100 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 10:12:32 +00:00
Michael Sparmann
e6c8a185e5
Implement NAND power management for iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23099 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 10:10:49 +00:00
Michael Sparmann
0260b0ad5a
S5L870x crt0.S: Streamline things a bit, and close unneeded clock gates on iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23098 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 09:52:39 +00:00
Dave Chapman
7f836fd869
Nano2G - remove HAVE_RECORDING from config-ipodnano2g.h as it's not implmented yet, and properly #ifdef audio-nano2g.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23095 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 09:17:12 +00:00
Karl Kurbjun
d6227edbb5
M:Robe 500: Correct power down pin assignment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23091 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 06:58:43 +00:00
Karl Kurbjun
173d854e7f
M:Robe 500: Add support for more audio frequencies, initialize and set the touchscreen PWD pin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23089 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 06:08:14 +00:00
Jack Halpin
14079c39f0
AMS Sansa: If SD card is HS capable set High Speed timings.
...
This still doesn't solve the problem of the cards being overclocked at 62MHz but we can mitigate this a bit by switching to HS timings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23088 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 03:11:13 +00:00
Dave Chapman
4ea4ce4cfb
Kill some warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23085 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 01:45:50 +00:00
Dave Chapman
b04a7a86e1
Make the Nano2G bootloader actually function as a bootloader. The resulting bootloader-ipodnano2g.ipod file needs to be encrypted on a target using the crypt_firmware plugin to create bootloader-ipodnano2g.ipodx, which can then be written to the firmware partition using the ipodpatcher patch at FS#10609. Dual-booting doesn't work yet - only Rockbox can be run.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23084 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 01:37:12 +00:00
Michael Sparmann
55fc2ea314
Increase iPod Nano 2G stack size to 16KiB
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23080 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 22:02:22 +00:00
Rob Purchase
e6ec5414e8
D2: Don't read touchscreen co-ordinates when hold is enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23079 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 17:42:36 +00:00
Rob Purchase
16ada4cb81
Initial support for runtime detection of the PMU used in newer D2+ models (PCF50635). The backlight and battery monitoring should work, but the RTC and touchscreen are not yet implemented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23078 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 17:35:02 +00:00
Michael Sparmann
31464f7930
Add a timeout for I2C transfers (S5L870x)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23077 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 17:22:06 +00:00
Michael Sparmann
e2aeef7501
Fix panic caused by r23074
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23076 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 16:58:37 +00:00
Michael Sparmann
6be1d8b8a8
Revert the S5L870X I2C driver to busy waiting because of some issues with interrupts, and increase the bus speed from 24kHz to 390kHz.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23074 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 16:36:55 +00:00
Dave Chapman
72271af7df
Squash a warning when FTL_READONLY is defined
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23073 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 16:18:14 +00:00
Dave Chapman
3c362fa8c6
Nano2G - implement "Pause on headphone unplug" feature
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23072 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 15:37:05 +00:00
Dave Chapman
8c078f34ff
Nano2G - reboot into disk mode when USB is inserted.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23070 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 15:26:38 +00:00
Dave Chapman
4ff7666388
Implement __dbg_ports for S5L870X targets (Nano2G and Meizus)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23069 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 13:23:07 +00:00
Michael Sparmann
51b00c9b0b
Fixed some mutex issues in the iPod Nano 2G NAND driver and FTL.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23066 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 10:51:07 +00:00
Thomas Martitz
faddb57482
Fuze/e200v2: Fix inaccuracy when moving the wheel slowly (fixes FS#10667).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23059 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 23:27:38 +00:00
Michael Sparmann
a931acd3ab
Added S5L870X cache coherency support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23058 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 21:41:57 +00:00
Michael Sparmann
f0a96580ae
Core changes to allow storage drivers to do cleanup on shutdown, and iPod Nano 2G shutdown code rework (FS#10668)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23057 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 20:36:09 +00:00
Michael Sparmann
e74daf2973
Reduce iPod Nano 2G NAND timeouts to a sane value (20ms)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23054 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 18:54:48 +00:00
Michael Sparmann
1fa5d49380
Implemented iPod Nano 2G power_off()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23014 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 20:56:51 +00:00
Rob Purchase
998db963ca
Remove an unused #define
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23008 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 16:00:13 +00:00
Rob Purchase
292a53da4b
D2: Use a common function for reading ADC values from the PMU
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23007 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 15:47:43 +00:00
Rafaël Carré
7cc6202c03
Sansa AMS SD: relax requirement for APP_CMD response, some uSD cards seem to not set correctly the response bits
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23001 a1c6a512-1295-4272-9138-f99709370657
2009-10-07 20:34:58 +00:00
Michael Sparmann
304d7175b9
Make iPod Nano 2G FTL return -1 on write() call, if read-only, to prevent panic.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23000 a1c6a512-1295-4272-9138-f99709370657
2009-10-07 18:46:53 +00:00
Dave Chapman
ee21a5322e
Implement lcd_blit_yuv() for the 2nd gen Nano, based on the implementation for the iPod Color and 1st gen Nano. mpegplayer now works.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22992 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 21:48:11 +00:00
Michael Sparmann
5abd9686f4
Encoding fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22970 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 20:54:37 +00:00
Michael Sparmann
be25469b9b
Reworked iPod Nano 2G PMU code, added RTC and battery ADC.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22967 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 20:21:33 +00:00
Michael Sparmann
271c67e802
Fix the user timer on iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22959 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 16:01:26 +00:00
Michael Sparmann
79bf2da1ef
iPod Nano 2G NAND/ECC driver and FTL improvements (still polling)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22958 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 14:42:25 +00:00
Michael Sparmann
c1c86d89c3
Make iPod Nano 2G audio work
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22954 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 12:29:21 +00:00
Michael Sparmann
57b51830d6
Reduce impact of lost interrupts on S5L8700 I2C
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22953 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 12:29:14 +00:00
Michael Sparmann
385e821d04
Fix a #ifdef typo and the reds hidden by it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22952 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 12:29:08 +00:00
Dave Chapman
b349d8b0ea
Implement lcd_update_rect()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22924 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 17:32:51 +00:00
Dave Chapman
ad0a0569ea
Another patch from FS#10633 by Michael Sparmann (with a couple of minor cosmetic tweaks by me) - cleanly unmount the flash when powering off or rebooting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22920 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 16:08:33 +00:00
Dave Chapman
fbf034fcff
Another part of FS#10633 by Michael Sparmann - correct cache/protection unit init for the Nano 2G. This should be unified with the Meizu code at some point, but is currently #ifdef'd as it is known (for some as yet unknown reason) to break the Meizu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22919 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 15:38:36 +00:00
Dave Chapman
a7ea270e9c
Read/write Nano2G FTL/NAND driver by Michael Sparmann (FS#10633).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22918 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 15:02:40 +00:00
Dave Chapman
98d7203eca
Correct the IRAM definitions for the S5L8700/8701 and add definitions for plugins/codecs. The current split (64/64 core/plugins for S5L8700 and 96/80 core/plugins for S5L8701) is arbitrary and should probably be tweaked later
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22905 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 02:04:49 +00:00
Rafaël Carré
71db2d74b5
Samsung YH920 : fix lcd_blit_mono displaying twice too wide
...
lcd_write_data() wrote twice too much pixels to the controller
The fix is the same than r22885, vertically packed 2bpp displays use
8-bits fb_data while horizontally packed 2bpp use 16-bits fb_data
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22893 a1c6a512-1295-4272-9138-f99709370657
2009-10-03 13:56:23 +00:00
Rafaël Carré
fcc6a68c6e
Samsung YH920 LCD
...
Remove unused lcd_mono_data
Replace a loop in partial update function by asm lcd_write_data()
Remove a variable only used in this loop (x) and rename x0 to x
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22888 a1c6a512-1295-4272-9138-f99709370657
2009-10-03 13:05:08 +00:00
Jens Arnold
840fb66bc9
Bugfix: On vertically packed 2bpp LCDs a grey pixel block is only 4 pixels, so don't process twice as much data as intended. This was the cause for the mpegplayer crashes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22885 a1c6a512-1295-4272-9138-f99709370657
2009-10-03 12:20:35 +00:00
Dave Chapman
8d5acd64c9
Final changes to get a Nano 2G main build compiling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22879 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 23:45:53 +00:00
Dave Chapman
f5feb13cc5
Unify the button driver for the Nano 2G with the driver for earlier clickwheel ipods. The clickwheel hardware appears to be the same - the differences are just related to the hardware init and how the data is read.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22878 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 23:04:30 +00:00
Rafaël Carré
f690cfdb44
Forgotten in r22876 : remove (void)arg;
...
These arguments are now used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22877 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 19:14:14 +00:00
Rafaël Carré
c46b44f20b
Samsung YH920 : greylib support based on ipod/lcd-as-gray.S
...
Demo plugins run fine, mpegplayer data aborts for yet unknown reasons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22876 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 17:51:05 +00:00
Dave Chapman
2b7bc42deb
Patch #2 from FS#10633 (Nano 2G developments) by Michael Sparmann - Some hardware define corrections for the S5L8701, needed for the FTL.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22875 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 16:53:26 +00:00
Jack Halpin
1c36835b80
AMS Sansa: Replace another simple delay with a more intelligent MCI FIFO status check.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22864 a1c6a512-1295-4272-9138-f99709370657
2009-10-01 03:54:36 +00:00
Thomas Martitz
29c06f6c63
e200v2/Fuze: Improve scrollwheel a little bit by assuming the previous wheel value if no new value was found (which happens if a single wheel value was skipped). Only assume it once to not get wrong readings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22863 a1c6a512-1295-4272-9138-f99709370657
2009-10-01 00:28:03 +00:00
Jack Halpin
bf3d60b25e
AMS Sansa: Rename variable sdhc to sd_v2 to more accurately reflect the information it holds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22862 a1c6a512-1295-4272-9138-f99709370657
2009-09-30 20:33:40 +00:00
Rafaël Carré
6bd92a74d3
Fix "lcd driver speed up" on e200v2
...
Flyspray: FS#10272
Author: Michael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22859 a1c6a512-1295-4272-9138-f99709370657
2009-09-30 18:54:42 +00:00
Jack Halpin
37265d308b
AMS Sansa: Replace simple write delay with a smarter check on status of MCI FIFO.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22850 a1c6a512-1295-4272-9138-f99709370657
2009-09-29 16:32:24 +00:00
Bertrik Sikken
69b40e704d
Clean up duplicate #includes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22845 a1c6a512-1295-4272-9138-f99709370657
2009-09-27 14:46:44 +00:00
Rob Purchase
65f1a94a08
Improved Cowon D2 touchscreen driver.
...
Flyspray: FS#10615
Author: Carsten Schreiter and myself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22842 a1c6a512-1295-4272-9138-f99709370657
2009-09-26 17:31:30 +00:00
Bertrik Sikken
66d5bd7cf8
Sansa Fuze/e200v2: protect lcd a little better against concurrent access
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22838 a1c6a512-1295-4272-9138-f99709370657
2009-09-26 10:47:10 +00:00
Jack Halpin
68089db6db
AMS Sansa: Add delay for µSD writes to fix CRC failures with class 6 µSD cards.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22825 a1c6a512-1295-4272-9138-f99709370657
2009-09-25 01:38:51 +00:00
Vitja Makarov
d9490178ff
ata-nand-telechips: tcc77x have now USEC_TIMER
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22763 a1c6a512-1295-4272-9138-f99709370657
2009-09-21 08:53:24 +00:00
Vitja Makarov
14ac374ffe
i7: pcm-telechips fix sampling rate that was about 40000 instead of 44100
...
- remove test case
- remove trailing spaces
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22761 a1c6a512-1295-4272-9138-f99709370657
2009-09-20 19:53:15 +00:00
Vitja Makarov
f43c0aba32
i7: _backlight_init() turn backlight on, as we can miss panic message
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22730 a1c6a512-1295-4272-9138-f99709370657
2009-09-18 06:01:56 +00:00
Vitja Makarov
36e8fc0872
tcc77x: add tcc77x_cscfg_bw() helper for external memory bus width setup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22729 a1c6a512-1295-4272-9138-f99709370657
2009-09-18 05:48:37 +00:00
Vitja Makarov
be3c62f9ab
i7: Fix memory bus initialization, thanks to Genia Bezman!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22722 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 21:03:28 +00:00
Dave Chapman
75e301dabb
Fix a comment so that it matches the code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22718 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 08:24:59 +00:00
Dave Chapman
997e6bd7e9
Fix unreliable LCD updates on the "type 0" LCD. Plus add some comments and a stub lcd_blit_yuv()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22717 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 08:08:58 +00:00
Dave Chapman
43ec944e3c
TIMERB is in a different location on the S5L8701
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22716 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 08:05:19 +00:00
Dave Chapman
8dae933293
Add an app.lds and some stub functions for the Nano 2G - this isn't enough to make rockbox.bin compile, but it's a step towards it (more commits coming soon).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22714 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 07:26:08 +00:00
Jack Halpin
589e1f0072
AMS Sansa: Adjust View HW info page to display SD and uSD MCICLK freqs instead
...
of 400 khz Ident freq. Also misc formatting changes.
Displaying the 400 khz ident frequency for the SD and uSD cards was not really
useful information. This change displays the MCICLK frequency that we are
running the cards at. The page now displays 0MHz until a card access and then
will displays the set frequency and the actual frequency. The uSD display is
now only displayed for those players with a uSD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22684 a1c6a512-1295-4272-9138-f99709370657
2009-09-12 20:50:11 +00:00
Thomas Martitz
e2ccabf89d
Samsung YH925: Reset the LCD orientation to what the OF expects before branching to it in dualbooting
...
Author: Mark Arigo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22659 a1c6a512-1295-4272-9138-f99709370657
2009-09-08 13:57:13 +00:00
Thomas Martitz
b54b066516
Higher the button delay on the fuze a bit more, the wrong hold button reads aren't happening anymore apparently even for plugins with heavy lcd updates.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22658 a1c6a512-1295-4272-9138-f99709370657
2009-09-07 23:48:51 +00:00
Karl Kurbjun
47611321c0
M:Robe 500: Fix glitches when using DMA for LCD updates.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22650 a1c6a512-1295-4272-9138-f99709370657
2009-09-07 17:12:57 +00:00
Bertrik Sikken
533c29b2f2
Sansa c200v2: update DBOP button reading mechanism, this enables readout of the volume buttons, rec and hold button.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22635 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 18:56:59 +00:00
Thomas Martitz
e91fe1e543
Increase the button delays slightly to aid against sporadic missreads of the hold button an sporadic blue pixels on the display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22628 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 03:50:11 +00:00
Thomas Martitz
46c719aac8
Make the Fuze usable again by inserting a few delays in the lcd functions, core rockbox should be fine now. NOTE: *After exiting* plugins (e.g. doom, plasma, pictureflow) which do heavy lcd updates, the Fuze still fails (backlight goes off) -- I have no idea how that happens yet, Unless I find a fix for that within the next few days, I'm probably going to revert one/both of the lcd speedup commits.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22627 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 03:50:04 +00:00
Mark Arigo
bcb3d52582
Fix display bug in the Samsung YH-920 on partial lcd updates.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22626 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 00:46:49 +00:00
Vitja Makarov
b5e39c15a5
iaudio7: Implement udelay, mostly based on D2 port, except Z-clock initialization
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22620 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 09:36:53 +00:00
Vitja Makarov
9131b16938
i7: Notify the backlight driver when the HOLD button is toggled, same as D2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22607 a1c6a512-1295-4272-9138-f99709370657
2009-09-02 12:03:37 +00:00
Karl Kurbjun
0f3452e0be
M:Robe 500: fix warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22600 a1c6a512-1295-4272-9138-f99709370657
2009-09-02 01:42:18 +00:00
Karl Kurbjun
6ed463501a
M:Robe 500: Add low-level support for vertical strides
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22599 a1c6a512-1295-4272-9138-f99709370657
2009-09-02 01:33:32 +00:00
Rob Purchase
db287c0971
D2: Obey the SD card write-protect tab
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22596 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 21:57:38 +00:00
Rob Purchase
19a5dfea28
D2: Enable ARM cache coherency functions (eg. during codec load), which should eliminate data aborts/freezes on track changes. NOTE: The linker script reserves space at the end of DRAM for the TTB, but this is not currently used.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22595 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 21:35:37 +00:00
Rafaël Carré
f81cadad2a
YH920 : enable battery reading (uncalibrated yet)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22592 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 14:36:50 +00:00
Mark Arigo
eb369bf50f
Enable sound on the Samsung YH-920
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22588 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 04:42:33 +00:00
Thomas Martitz
6f9fde95a5
Move the FIFO emptying up, as having it after lcd_write_single_data16() causes problems with uneven transfers (I'm not sure why).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22581 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 02:06:37 +00:00
Thomas Martitz
b9093b2b35
Fuze/e200v2: Speed up the LCD further by letting the FIFO fill until it's full instead of keeping it almost empty.
...
The blue bars I previously had with this way are fixed by blocking DBOP output while reading buttons from GPIO.
We reached the maximum fps even at unboosted now (100.0 fps at lcd_update(), DBOP can't do more). Optimisation to YUV stuff is still possible though.
The e200v2 scrollwheel is very improved due to the this and the previous speedup since the chance of getting the wheel read blocked is greatly decreased with faster updates.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22578 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 00:42:22 +00:00
Dominik Wenger
a56199c49e
Apply the lcd speed fix from fuze also to e200v2. Improves speed by a factor ~2.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22575 a1c6a512-1295-4272-9138-f99709370657
2009-08-31 20:45:26 +00:00
Thomas Martitz
7dd548c697
Speed up the Fuze's LCD by a factor of ~2.1 (lcd_update()) by using 32bit transfers when possible.
...
Unaligned (to 4byte boundary) and odd (where the amount of data is not an integer multiple of 32bit) are still supported. Even those still have a speedup of >2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22574 a1c6a512-1295-4272-9138-f99709370657
2009-08-31 15:54:25 +00:00
Thomas Martitz
a4e2d1f071
Fix x_offset for YUV blitting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22556 a1c6a512-1295-4272-9138-f99709370657
2009-08-30 02:42:47 +00:00
Thomas Martitz
ffa83b484c
Dreaded last minute changes at 4am :( Fix red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22555 a1c6a512-1295-4272-9138-f99709370657
2009-08-30 02:29:33 +00:00
Thomas Martitz
9ed1a154a5
Samsung YH925: Implement lcd flipping. Although it's a questionable feature, it should enable us to fix the problem that the OF's display is flipped after the Rockbox bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22554 a1c6a512-1295-4272-9138-f99709370657
2009-08-30 02:01:45 +00:00
Bertrik Sikken
400cd026f3
Meizu M6SP: initial LCD driver (compiles but is untested)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22500 a1c6a512-1295-4272-9138-f99709370657
2009-08-24 17:37:53 +00:00
Thomas Martitz
a482e6b017
Samsung YH925: Correct a typo in the battery calibration.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22495 a1c6a512-1295-4272-9138-f99709370657
2009-08-24 12:29:08 +00:00
Maurus Cuelenaere
249392c2d3
Add a BTN_MASK for the VX777 (aka fix red)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22461 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 22:50:50 +00:00
Maurus Cuelenaere
9f6d3a758f
* Onda VX777: add support for its single physical button
...
* Use real wakeup events in the battery ADC driver
* Adjust battery charge information a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22458 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 21:35:12 +00:00
Nils Wallménius
c9d0961138
fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22441 a1c6a512-1295-4272-9138-f99709370657
2009-08-20 17:03:50 +00:00
Karl Kurbjun
7b4d709f9d
M:Robe 500: Add support for DMA based LCD updates when in Portrait mode. TestFPS measures 190 FPS with the DMA updates vs. 58 FPS for the non-DMA updates.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22435 a1c6a512-1295-4272-9138-f99709370657
2009-08-20 00:36:39 +00:00
Nils Wallménius
6515d7f81f
fix svn properties
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22434 a1c6a512-1295-4272-9138-f99709370657
2009-08-19 22:41:14 +00:00
Nils Wallménius
304c622899
fix more red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22433 a1c6a512-1295-4272-9138-f99709370657
2009-08-19 22:36:39 +00:00
Nils Wallménius
47608e06b3
fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22432 a1c6a512-1295-4272-9138-f99709370657
2009-08-19 22:15:45 +00:00
Maurus Cuelenaere
caf2011311
Onda's: add touchscreen boot menu for targets without/not much physical buttons (VX777)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22416 a1c6a512-1295-4272-9138-f99709370657
2009-08-19 00:26:06 +00:00
Bertrik Sikken
6b12928035
Samsung YP-S3: add backlight-target.h for the YP-S3 (contains target specific backlight and buttonlight declarations)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22327 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 15:59:39 +00:00
Rafaël Carré
6932fa397b
Sansa Clip & m200v4 : calls backlight_hold_changed() when hold button is toggled
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22323 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 15:02:51 +00:00
Karl Kurbjun
1474b93011
Fix Yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22315 a1c6a512-1295-4272-9138-f99709370657
2009-08-14 23:16:20 +00:00
Karl Kurbjun
7ca4c7358d
Hopefully get all of the touchscreen drivers to act the same so release events get the appropriate data.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22314 a1c6a512-1295-4272-9138-f99709370657
2009-08-14 23:08:50 +00:00
Robert Kukla
65eaf60b35
mrobe100: power off HDD (courtesy of lowlight) ~2h extra playtime
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22313 a1c6a512-1295-4272-9138-f99709370657
2009-08-14 21:11:08 +00:00
Frank Gevaerts
e98c198fd8
don't treat extremely quick transfers as errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22294 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 18:50:43 +00:00
Karl Kurbjun
ce00e283b5
M:Robe 500: Forgot one.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22288 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 04:21:36 +00:00
Karl Kurbjun
5ca8bf022c
M:Robe 500: Put more interrupts in iram, reduce stack usage when ARM/DSP transfers happen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22287 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 04:20:46 +00:00
Rob Purchase
e783d0c82a
TCC: Implement ECC error correction for sectors read from NAND. Tested on D2 (78x, MLC) and M200 (77x, SLC).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22284 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 19:26:04 +00:00
Karl Kurbjun
4b7a2ba276
M:Robe 500: Put the irq stack and fiq stack in iram. Reduce memory for fiq stack since it is currently unused.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22263 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 02:34:07 +00:00
Frank Gevaerts
cc4be72d15
Fix endpoint allocation
...
Flyspray: FS#10510
Author: Amaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22261 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 21:01:00 +00:00
Rafaël Carré
be6dd6dd0a
Sansa AMS: identify interrupts with no source set
...
They would previously appear like coming from the (disabled) watchdog
module
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22251 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 13:20:55 +00:00
Thomas Martitz
4210ff584a
Remove the comment also, Thanks to Rafaël Carré for spotting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22245 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 22:01:35 +00:00
Thomas Martitz
653db606cf
Fix FS#10486 - "fuze screen not drawn correctly on backlight turn-on if playlist ends while the backlight is off" by adding a lcd_update() to lcd_enable() as other targets do. Remove the delay as it seems unneeded nowadays.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22244 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 21:38:10 +00:00
Karl Kurbjun
e1a83b9e99
M:Robe 500: Get MPEGPlayer running at 320x240. Screen is zoomed so larger videos than 320x240 will only show center.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22233 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 02:57:13 +00:00
Bertrik Sikken
5aeaa84cab
Samsung YP-S3: add beginning of a low-level NAND driver and update bootloader demo program to display the NAND ids.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22221 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 16:12:36 +00:00
Karl Kurbjun
7aaa544f09
Fix ZVM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22218 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 05:30:16 +00:00
Karl Kurbjun
5a2e19db64
M:Robe 500: Start Building at 640x480 by default.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22216 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 05:17:10 +00:00
Bertrik Sikken
978f3798a9
Apply FS#10447 - e200v2 lcd driver cleanup by Michael Chicoine
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22210 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 14:37:42 +00:00
Bertrik Sikken
c8e39403f4
Samsung yp-s3: clean up the lcd and button driver (making things static, rename variables etc.)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22203 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 09:24:42 +00:00
Thomas Martitz
703773aab5
Samsung YH925: Battery calibration for charging and dischharging.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22195 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 13:32:48 +00:00
Thomas Martitz
0f50302b1d
Samsung YH925: Support for battery monitoring and charging. Discharge curve not yet calibrated.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22194 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 13:32:35 +00:00
Bertrik Sikken
a26ea3f67a
Revert static-ing of iim_prod_rev, this function is never used so it causes a compiler warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22185 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 09:44:09 +00:00
Bertrik Sikken
d767883a41
Various files: make functions static if they're local or make sure there is a proper #include if not
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22184 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 09:28:25 +00:00
Bertrik Sikken
4632fc0682
Samsung YP-S3: allow player to stay powered up without the USB cable plugged and implement power_off
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22175 a1c6a512-1295-4272-9138-f99709370657
2009-08-05 16:16:17 +00:00
Bertrik Sikken
ee0ab03286
Samsung YP-S3: update backlight brightness curve again (can't go all the way down to 1/256 brightness) and update yp-s3 bootloader demo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22117 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 16:43:58 +00:00
Karl Kurbjun
0131a3873e
Pluginlib: Add support for general buttons. Add menu and quit buttons to Reversi. MRobe 500: Modify touch handler to return the previous data always rather than 0 when there is no touch.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22110 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 07:05:30 +00:00
Maurus Cuelenaere
e9b061a717
Fix red: only use SW_VOLUME_MIN if HAVE_SW_VOLUME_CONTROL is defined
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22107 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 21:50:19 +00:00
Maurus Cuelenaere
3c7c79189e
* Move DSP_CALLBACK_* enum to sound.h
...
* Add software based volume control for a certain range (SW_VOLUME_MIN -> SW_VOLUME_MAX)
* Make Onda VX747 use it
* Don't change volume or frequency in Ingenic Jz4740 codec driver when they're already set
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22106 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 21:38:18 +00:00
Bertrik Sikken
e454d88b88
Samsung YP-S3: update backlight brightness curve so backlight is still on at the minimum brightness setting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22103 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 18:53:29 +00:00
Bertrik Sikken
1b2fe50f3d
Meizu: update backlight brightness curve so backlight is still on at the minimum brightness setting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22102 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 18:28:25 +00:00
Mark Arigo
fc570147e6
Philips SA9200: initialize i2c, i2s, and as3514 as the OF does. Fixes clicks/pops heard when reading the adc.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22101 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 17:51:00 +00:00
Bertrik Sikken
4e7517dfb1
Samsung YP-S3: implement button lights
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22100 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 17:27:22 +00:00
Bertrik Sikken
0f0bf7b258
Samsung YP-S3: implement headphones detection
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22099 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 17:13:47 +00:00
Maurus Cuelenaere
ddd82d6ab5
Ingenic Jz4740 timer driver: fix stupid mistake
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22096 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 16:06:41 +00:00
Karl Kurbjun
f3298a4612
M:Robe 500/M66591: Add support for full-speed USB transfers, and fix the UART interrupt clearing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22095 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 15:41:40 +00:00
Bertrik Sikken
bcd510db66
Samsung YP-S3: implement button driver for the touch keys (and the hold/power switch)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22093 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 14:58:52 +00:00
Bertrik Sikken
95d043b26d
Meizu M3: check LCD_STATUS in the lcd driver instead of using delay loops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22090 a1c6a512-1295-4272-9138-f99709370657
2009-07-30 18:33:17 +00:00
Bertrik Sikken
2fb73842a9
Start of a Rockbox port to the Samsung YP-S3.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22085 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 20:42:02 +00:00
Jonathan Gordon
d10f9511cf
Fix FS#5230 - reinit the opto-i2c after disabling hold so the buttons work again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22078 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 01:57:48 +00:00
Bertrik Sikken
30e3350030
Meizu: fix mask for GPIO function selection used for fmradio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22076 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 23:06:31 +00:00
Maurus Cuelenaere
d0a132a7a4
Jz4740 timer driver: only init timer in timer_set() when start is true
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22075 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 19:01:40 +00:00
Maurus Cuelenaere
e38f3abac9
Jz4740 PCM driver: do 32-bit or 16-bit burst sizes if 16-byte ones won't fit (improves PDBox)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22074 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 18:58:22 +00:00
Maurus Cuelenaere
86ef57b975
Jz4740 PCM driver: check whether pcm_callback_for_more isn't NULL (fixes metronome)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22072 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 17:00:26 +00:00
Rob Purchase
c6309633a1
Re-work D2 power off behaviour.
...
* Inhibit PCF timeout during shutdown and while charging
* Power off the player using the same mechanism as the OF (GPIO)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22056 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 19:41:24 +00:00
Robert Kukla
275a30092e
initial commit of remote support for m:robe 100 courtesy of lowlight; simulator support including small fixes for the m:robe 500
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22053 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 14:26:14 +00:00
Maurus Cuelenaere
682a991f0f
Ingenic Jz4740 targets: turn backlight on when an exception occurs and EXTENDED_EXCEPTION_DESC is defined
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22052 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 14:00:25 +00:00
Maurus Cuelenaere
4ce26ff328
Onda VX747: don't fully init the LCD when not doing an USB_BOOT compile (fixes flashes when booting up)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22051 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 13:27:12 +00:00
Rob Purchase
fee24eefa9
D2: Fix the POWER button check after an exception/panic. Make this power the player off, since we don't know how to force a reboot yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22036 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 18:44:57 +00:00
Rob Purchase
aa97ba100a
Revert r22034 since the backlight handling functions are not consistently named between targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22035 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 18:42:30 +00:00
Rob Purchase
ccb52bd72c
Make the panic and UIE handlers turn on the backlight (needed for various colour LCDs that are unreadable without it). UIE is only changed on ARM for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22034 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 18:23:06 +00:00
Dave Chapman
332da92189
Oops, too many files were committed in r22025, revert this one. The other changes committed as r22025 were initial button and audio drivers for the Nano2G - more work is needed on both, but they work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22026 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 00:54:31 +00:00
Dave Chapman
5b3f333dd7
Correct the memory sizes (IRAM and DRAM) for the Nano2G.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22025 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 00:49:13 +00:00
Rob Purchase
07a6aac401
D2: Notify the backlight driver when the HOLD button is toggled. Fixes FS#10451.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22007 a1c6a512-1295-4272-9138-f99709370657
2009-07-22 22:59:08 +00:00
Thomas Martitz
5c9fe52629
Commit part of FS#9873 - Utilise buttons for playlisting
...
It adds a shortcut (combo or button) to directly go from the wps to the playlist viewer. The combos could possibly be improved on some targets, but I tried to keep a tad bit of consistency (was hardly possible).
I also added a corresponding touchscreen region and adapted cabbiev2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22003 a1c6a512-1295-4272-9138-f99709370657
2009-07-22 22:10:25 +00:00
Dave Chapman
808938220a
Nano2G Backlight driver improvements - the previous version didn't work reliably.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21986 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 21:30:07 +00:00
Frank Gevaerts
534cd216a0
sd_first_drive is only used when HAVE_HOTSWAP is defined, so add appropriate #ifdefs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21985 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 19:46:36 +00:00
Frank Gevaerts
a7548d3bc7
Make sd_present() and mmc_present() look only at the actual presence of a card, not at initialisation state
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21981 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 13:47:21 +00:00
Frank Gevaerts
3e1b9d5fdd
take first_drive into account when handling hotswap. This is not important as long as this is the only driver in use, but it avoids bugs as soon as things like ramdisks are used
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21980 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 13:23:28 +00:00
Rob Purchase
3a88746780
D2: A working read/write SD(HC) driver, based on the PP equivalent. See CowonD2Info wiki for usage notes/restrictions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21967 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 17:31:56 +00:00
Bertrik Sikken
17b8805b49
S5L8700: fix off-by-one error in kernel timer and fix incorrect interrupt mask in pcm driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21950 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 11:54:01 +00:00
Dave Chapman
9be28179e4
Nano2g button driver - currently only implementing the hold switch. Should have been part of previous commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21949 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 11:36:35 +00:00
Dave Chapman
386503502b
Various Nano2g changes - enable the rest of crt0.S (including clock setup) and make the nano2g bootloader do something useful (displaying gpio ports). Also add checks for the fifo-full condition in the LCD driver - required after enabling all the crt0.S inits
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21948 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 11:31:19 +00:00
Michael Giacomelli
e362aeb61f
Commit FS#10413 by Michael Chicoine. Fixes upside down menu in mpegplayer when watching videos with the screen inverted.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21942 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 01:38:17 +00:00
Frank Gevaerts
c247483ef1
fix ata-nand-s5l8700 compilation properly this time
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21938 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 23:19:21 +00:00
Dave Chapman
6432941f10
Basic backlight driver for Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21935 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:40:36 +00:00
Frank Gevaerts
c0a5a67387
Commit FS#9545, storage cleanup and multi-driver support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21933 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:28:49 +00:00
Robert Kukla
bb3b57f645
make ELIO_TPJ1022 bootloader compile again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21932 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:07:06 +00:00
Thomas Martitz
fd17a8d637
Apply the same fix as r21930 did for the ramdisk for the AMS Sansa driver.
...
Nothing should change, since the value of transfer didn't change in the == case, but it saves executing this case at least.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21931 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 21:50:36 +00:00
Robert Keevil
a0d630f3de
Add information gleaned from disassembling the main firmware image. Detect lcd type in use. Still no actual output
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21929 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 20:40:40 +00:00
Dave Chapman
11c3f67a1e
Improvments to Nano 2G LCD driver. This now works reliably on both LCD types.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21926 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 17:58:43 +00:00
Rafaël Carré
9191b3c16e
remove nand_soft_reset and nand_disk_is_active already voided in storage.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21924 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 16:34:41 +00:00
Rafaël Carré
bdb5974c0e
Revert r21912 : "Storage API : remove undeeded target-specific functions"
...
After a discussion mixed on mailing list and irc, it was agreed that
more abstraction for plugins is better (so developers don't have to add
a check to HAVE_DISK_STORAGE when writing disk-specific code)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21923 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 16:34:34 +00:00
Maurus Cuelenaere
cf9935d636
Onda VX747: add dual-boot capability + make it possible to permanently 'stick' Rockbox to your DAP
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21919 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 14:30:42 +00:00
Rafaël Carré
8eba69f91b
Storage API : remove undeeded target-specific functions
...
storage_sleep, storage_spin, storage_spindown are only defined if #defiend (HAVE_DISK_STORAGE), not for MMC/ATA/SD
remove already unneeded nand_disk_is_active, nand_soft_reset
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21912 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 00:09:14 +00:00
Dave Chapman
715d8c63d9
Add auto-detection of Nano 2G LCD type, and an initial attempt at lcd_update() for the second lcd type. This lcd_update works, but not reliably.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21905 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 18:03:09 +00:00
Thomas Martitz
009733c51d
Fix Philips sa9200 red (HAVE_LCD_SLEEP is not defined in the bootloader so there's also no lcd_sleep()).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21901 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 07:35:10 +00:00
Dave Chapman
0270e4c591
Get the Nano2G bootloader running - it now runs and displays a logo on one type of Nano2G LCD.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21900 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:57:02 +00:00
Dave Chapman
02f5a001fe
Working LCD driver for half the Nano2Gs. It now appears that there are two types of LCD though.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21895 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:00:16 +00:00
Jens Arnold
989021ed3c
Apply some ARMv6 optimisations to YUV blitting. Speeds up mpegplayer on Gigabeat S by ~2% in undithered and ~7.5% in dithered mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21889 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 22:14:21 +00:00
Robert Keevil
eea149bd13
FS#10436 - add the Sansa View to the build system. The bootloader builds but doesn't do anything useful yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21848 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 21:09:39 +00:00
Dave Chapman
afe43d3fcb
Basic changes to add nano 2g to the build system, based on the Meizu M3 port. The bootloader builds, but does nothing due to lack of any drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21828 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 22:16:51 +00:00
Bertrik Sikken
92fed35da6
S5L8700/Meizu: miscellaneous minor fixes, stubs added, keywords set
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21820 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 19:36:27 +00:00
Bertrik Sikken
111af64e74
Meizu M3: initial version of battery readout and (uncalibrated) charge/discharge curves
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21812 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 15:33:58 +00:00
Bertrik Sikken
59b9e3ab3f
Meizu: implement power driver (USB power detect / charging status / poweroff)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21805 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 14:32:38 +00:00
Jack Halpin
f9e7a5ad39
AMSSansa: Use single adc_read instead of multiple ascodec_reads to read voltage for display in View HW info.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21804 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 14:12:45 +00:00
Bertrik Sikken
61394b725b
S5L8700: implement timer driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21801 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 10:44:02 +00:00
Thomas Martitz
467999ac9c
Remove svn:executable from these files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21797 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 09:16:55 +00:00
Jens Arnold
47d4c4739b
ARM asm LCD and ATA driver functions: Don't save r12 as it is a scratch reg. Saves a bit of stack and execution time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21795 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 23:43:44 +00:00
Bertrik Sikken
47d857981a
S5L8700: fix buttons used in debug menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21792 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 22:34:56 +00:00
Bertrik Sikken
5db8098bfd
Meizu M3: implement rudimentary button driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21787 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 20:00:07 +00:00
Rafaël Carré
17ac0d7ff9
fix yellow : panicf() is declared in panic.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21780 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 15:26:58 +00:00
Bertrik Sikken
27c60fde0d
S5L8700: add skeleton for __dbg_hw_info and __dbg_ports items in the debug menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21777 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 14:41:43 +00:00
Rafaël Carré
405d12de7e
Sansa AMS: panic with the PL180 controller status register in case of errors
...
The maximum number of errors is 10 (arbitrary)
A recovery mechanism is not in place (yet) but could be implemented in the future
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21776 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 14:27:26 +00:00