summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2009-07-16Fix Philips sa9200 red (HAVE_LCD_SLEEP is not defined in the bootloader so ↵Thomas Martitz1-0/+2
there's also no lcd_sleep()). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21901 a1c6a512-1295-4272-9138-f99709370657
2009-07-16Get the Nano2G bootloader running - it now runs and displays a logo on one ↵Dave Chapman1-3/+11
type of Nano2G LCD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21900 a1c6a512-1295-4272-9138-f99709370657
2009-07-16Oops, r21896 used the wrong #if check. Thanks to Thomas Martitz for spottingDave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21897 a1c6a512-1295-4272-9138-f99709370657
2009-07-16The S5L8701 has the LCD controller in a different place.Dave Chapman1-11/+17
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21896 a1c6a512-1295-4272-9138-f99709370657
2009-07-16Working LCD driver for half the Nano2Gs. It now appears that there are two ↵Dave Chapman1-20/+54
types of LCD though. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21895 a1c6a512-1295-4272-9138-f99709370657
2009-07-15Apply some ARMv6 optimisations to YUV blitting. Speeds up mpegplayer on ↵Jens Arnold1-1/+67
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-15Introduce S5L8701 CONFIG_CPU definition for Nano2G and a new CPU_S5L870X ↵Dave Chapman4-62/+71
"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-14Guard the Timeout API declarations with the correct #ifdefRob Purchase1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21869 a1c6a512-1295-4272-9138-f99709370657
2009-07-14Missed one strncpy callNils Wallménius1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21864 a1c6a512-1295-4272-9138-f99709370657
2009-07-14FS#10080Nils Wallménius15-160/+84
* 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-13FS#10436 - add the Sansa View to the build system. The bootloader builds ↵Robert Keevil16-3/+1062
but doesn't do anything useful yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21848 a1c6a512-1295-4272-9138-f99709370657
2009-07-12* Fix overlooked r12 usage possibility in mpegplayer ARM idct Jens Arnold1-2/+2
* 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-12Basic changes to add nano 2g to the build system, based on the Meizu M3 ↵Dave Chapman6-5/+424
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-12S5L8700/Meizu: miscellaneous minor fixes, stubs added, keywords setBertrik Sikken7-27/+57
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21820 a1c6a512-1295-4272-9138-f99709370657
2009-07-12Meizu M3: initial version of battery readout and (uncalibrated) ↵Bertrik Sikken1-0/+67
charge/discharge curves git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21812 a1c6a512-1295-4272-9138-f99709370657
2009-07-12Add data structuresFrank Gevaerts1-3/+24
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21811 a1c6a512-1295-4272-9138-f99709370657
2009-07-12Remove OHCI registers from s3c2440.h and move them to their own header. ↵Frank Gevaerts2-27/+56
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-12Meizu: implement power driver (USB power detect / charging status / poweroff)Bertrik Sikken2-2/+94
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21805 a1c6a512-1295-4272-9138-f99709370657
2009-07-12AMSSansa: Use single adc_read instead of multiple ascodec_reads to read ↵Jack Halpin1-3/+2
voltage for display in View HW info. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21804 a1c6a512-1295-4272-9138-f99709370657
2009-07-12S5L8700: implement timer driverBertrik Sikken2-0/+106
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21801 a1c6a512-1295-4272-9138-f99709370657
2009-07-12Correct svn:keywords and svn:eol-style on a few more files.Thomas Martitz14-190/+190
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21798 a1c6a512-1295-4272-9138-f99709370657
2009-07-12Remove svn:executable from these files.Thomas Martitz2-0/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21797 a1c6a512-1295-4272-9138-f99709370657
2009-07-11ARM asm LCD and ATA driver functions: Don't save r12 as it is a scratch reg. ↵Jens Arnold12-261/+256
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-11S5L8700: fix buttons used in debug menuBertrik Sikken2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21792 a1c6a512-1295-4272-9138-f99709370657
2009-07-11Meizu M3: implement rudimentary button driverBertrik Sikken2-15/+79
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21787 a1c6a512-1295-4272-9138-f99709370657
2009-07-11Fix red for sansa m200v4 (it also should have the pitchscreenif sansa m200 ↵Alexander Levin1-1/+1
has it) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21783 a1c6a512-1295-4272-9138-f99709370657
2009-07-11Fix red in bootloadersAlexander Levin2-2/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21782 a1c6a512-1295-4272-9138-f99709370657
2009-07-11Improvements to the pitch screen UI (FS#10359 by David Johnston)Alexander Levin2-10/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21781 a1c6a512-1295-4272-9138-f99709370657
2009-07-11fix yellow : panicf() is declared in panic.hRafaël Carré1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21780 a1c6a512-1295-4272-9138-f99709370657
2009-07-11S5L8700: add skeleton for __dbg_hw_info and __dbg_ports items in the debug menuBertrik Sikken2-0/+126
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21777 a1c6a512-1295-4272-9138-f99709370657
2009-07-11Sansa AMS: panic with the PL180 controller status register in case of errorsRafaël Carré1-12/+14
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-11S5L8700: mask away status bits from ADC conversion resultBertrik Sikken1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21775 a1c6a512-1295-4272-9138-f99709370657
2009-07-11Sansa AMS: handle properly SD transfer errorsRafaël Carré1-4/+8
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-11Meizu: use hardware PWM instead of interrupts+GPIO to set the backlight ↵Bertrik Sikken1-54/+19
brightness level git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21772 a1c6a512-1295-4272-9138-f99709370657
2009-07-10D2: Remove unnecessary ide_power functions.Rob Purchase2-13/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21757 a1c6a512-1295-4272-9138-f99709370657
2009-07-10D2: Update the battery discharge curve to observed values, and add a crude ↵Rob Purchase2-7/+12
runtime estimation (this is based on playback from SD card, other usage will vary). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21754 a1c6a512-1295-4272-9138-f99709370657
2009-07-10Add missing mutex_init to i2c driverBertrik Sikken1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21749 a1c6a512-1295-4272-9138-f99709370657
2009-07-10Make the TCC NAND driver use the (virtual) disk activity LED.Rob Purchase1-5/+15
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21748 a1c6a512-1295-4272-9138-f99709370657
2009-07-10Adding last minutes comments to explain things is only cool if you close it ↵Thomas Martitz1-1/+2
also (aka fix yellow). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21745 a1c6a512-1295-4272-9138-f99709370657
2009-07-10Rearrange things a bit for less #ifdefs and less duplication.Thomas Martitz1-13/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21744 a1c6a512-1295-4272-9138-f99709370657
2009-07-10Sansa AMS SD driver: fix error checking in µSD insertionRafaël Carré1-14/+28
If µSD init fails, rockbox will panic and give an error number Use a maximal delay of 1 second for µSD (and internal storage) init, as specified in the SD Specification 2.00 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21742 a1c6a512-1295-4272-9138-f99709370657
2009-07-09S5L8700: use wakeup_wait/wakeup_signal instead of polling for i2c communicationBertrik Sikken1-7/+20
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21735 a1c6a512-1295-4272-9138-f99709370657
2009-07-09S5L8700: Implement ADC driverBertrik Sikken5-77/+100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21734 a1c6a512-1295-4272-9138-f99709370657
2009-07-08Numbered filename creation: Make the search for pre-existing files ↵Jens Arnold1-3/+8
independent of the requested number length. This way it will also increment properly if the requested number length changes or overflows (more than 99 files for numberlen == 2). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21732 a1c6a512-1295-4272-9138-f99709370657
2009-07-08M:Robe 500: fix a bug where the remote LCD was not properly sleepingKarl Kurbjun1-1/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21714 a1c6a512-1295-4272-9138-f99709370657
2009-07-08M:robe 500 - Set the mask on the remote so that it indicates the battery statusKarl Kurbjun1-8/+22
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21710 a1c6a512-1295-4272-9138-f99709370657
2009-07-07Meizu: implement i2c for the meizu fmradio and update the tea5760 tuner driverBertrik Sikken5-38/+296
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21703 a1c6a512-1295-4272-9138-f99709370657
2009-07-07Philips SA9200: fix the buttons to work with flip screen mode (does anyone ↵Mark Arigo3-8/+22
use this?). Change to conventional BUTTON_LEFT/BUTTON_RIGHT names and flip the remaining directional buttons. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21698 a1c6a512-1295-4272-9138-f99709370657
2009-07-06Sansa AMS: display the virtual led icon on disk transfersRafaël Carré2-10/+8
Sansa PP: directly use led() function, remove useless sd_led() Thanks to mc2739 (Michael Chicoine) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21693 a1c6a512-1295-4272-9138-f99709370657
2009-07-06sAMSa: Turn the backlight off before rebooting to avoid irritating lcd flash.Thomas Martitz1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21692 a1c6a512-1295-4272-9138-f99709370657