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
92a7418415
don't try to call nand_soft_reset() or nand_disk_is_active(), they don't exist
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21934 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:39:41 +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
Frank Gevaerts
8cba8447f8
Allow access to the last sector of the ramdisk as well
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21930 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 21:02:44 +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
Karl Kurbjun
9660a8589c
M:Robe 500: Fix simulator build and include some small changes for the 640x480 setup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21914 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 04:29:34 +00:00
Karl Kurbjun
c97a3bf180
M:Robe 500: Start of interrupt support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21913 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 03:44:01 +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
a677e1ba26
Oops, r21896 used the wrong #if check. Thanks to Thomas Martitz for spotting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21897 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:19:39 +00:00
Dave Chapman
c969047fea
The S5L8701 has the LCD controller in a different place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21896 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:12:46 +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
Dave Chapman
0d484bad5e
Introduce S5L8701 CONFIG_CPU definition for Nano2G and a new CPU_S5L870X "family" define - the 8700 and 8701 are proving to be different. Also move all the cpu-specific defines earlier in config.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21886 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 21:34:31 +00:00
Rob Purchase
75b27eaacc
Guard the Timeout API declarations with the correct #ifdef
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21869 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 20:04:26 +00:00
Nils Wallménius
5905b0be3e
Missed one strncpy call
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21864 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 14:15:33 +00:00
Nils Wallménius
3d4701a6e4
FS#10080
...
* Move strncpy() from core to the pluginlib
* Introduce strlcpy() and use that instead in most places (use memcpy in a few) in core and some plugins
* Drop strncpy() from the codec api as no codec used it
* Bump codec and plugin api versions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21863 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 13:57:45 +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
Jens Arnold
36eeecbe9a
* Fix overlooked r12 usage possibility in mpegplayer ARM idct
...
* ARM dualcore: Don't save r12 in switch_thread_core()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21830 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 22:43:24 +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
Frank Gevaerts
11f9f3cd46
Add data structures
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21811 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 15:29:22 +00:00
Frank Gevaerts
7528674626
Remove OHCI registers from s3c2440.h and move them to their own header. Since s3c2440 seems to be very close to the OHCI spec, there's no reason not to use a generic driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21808 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 15:01:10 +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
0dd0e4e072
Correct svn:keywords and svn:eol-style on a few more files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21798 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 09:43:44 +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
Alexander Levin
bc27e0f57c
Fix red for sansa m200v4 (it also should have the pitchscreenif sansa m200 has it)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21783 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 17:40:52 +00:00
Alexander Levin
7765158513
Fix red in bootloaders
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21782 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 17:16:23 +00:00
Alexander Levin
cc7c665d9b
Improvements to the pitch screen UI (FS#10359 by David Johnston)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21781 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 16:46:19 +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
Bertrik Sikken
24cf6ce2f3
S5L8700: mask away status bits from ADC conversion result
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21775 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 14:12:02 +00:00
Rafaël Carré
75fa699814
Sansa AMS: handle properly SD transfer errors
...
clocks disabling and mutex unlocking were not made in case of errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21773 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 13:46:10 +00:00
Bertrik Sikken
306753b1ed
Meizu: use hardware PWM instead of interrupts+GPIO to set the backlight brightness level
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21772 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 13:43:04 +00:00
Rob Purchase
7ad3a333a3
D2: Remove unnecessary ide_power functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21757 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 20:02:35 +00:00