summaryrefslogtreecommitdiffstats
path: root/firmware/target
AgeCommit message (Collapse)AuthorFilesLines
2008-04-15m:robe 100 - enable setting for buttonlight brightnessRobert Kukla2-16/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17134 a1c6a512-1295-4272-9138-f99709370657
2008-04-15Use real ARM 11 instructions for cache operations. Probably will factor out ↵Michael Sevakis1-0/+50
later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17131 a1c6a512-1295-4272-9138-f99709370657
2008-04-15FS#8898 - Prefix AS3514 registers with AS3514_Bertrik Sikken4-7/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17130 a1c6a512-1295-4272-9138-f99709370657
2008-04-15Kill some D2 yellows with a simplistic Rolo implementation and NAND driver ↵Rob Purchase2-9/+8
cleanup. Correct some comments in crt0.s and remove two erroneous null words from rockbox.bin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17127 a1c6a512-1295-4272-9138-f99709370657
2008-04-15Kill warnings that annoy me when building for Gigabeat S.Michael Sevakis2-1/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17120 a1c6a512-1295-4272-9138-f99709370657
2008-04-15Make the transparent bitmaps work on Gigabeat S.Michael Sevakis1-11/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17118 a1c6a512-1295-4272-9138-f99709370657
2008-04-15woops... fix red and some svn keywords.Jonathan Gordon2-5/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17115 a1c6a512-1295-4272-9138-f99709370657
2008-04-15Setup the touchpads to have two modes - stylus and button - and set them in ↵Jonathan Gordon3-10/+65
button mode by default. in button mode the touchpad is split into a 3x3 grid for 9 seperate buttons which can be used by the action system like real buttons. Unify the keymap file for the touchpads in button mode. the target keymap file only needs to worry about real buttons. (As these ports mature each screen will need to be fixed seperatly to be able to use stylus mode (the lists can already but don't change mode just yet.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17114 a1c6a512-1295-4272-9138-f99709370657
2008-04-14Gigabeat S: Make ADC battery voltage reading correct. Tiny tweak to ADC ↵Michael Sevakis2-6/+3
driver traffic limiting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17105 a1c6a512-1295-4272-9138-f99709370657
2008-04-14Oops...simple math proves elusive at times. Get the array calcs right.Michael Sevakis1-11/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17104 a1c6a512-1295-4272-9138-f99709370657
2008-04-13ADC driver for Gigabeat S - a bit on the general side for now. Needs to have ↵Michael Sevakis4-53/+145
scales set properly (what physical value a reading represents isn't clear from the docs or I'm just lazy atm). Throw-in a _bunch_ more reg defines for the PMIC. Show all 16 raw channels values in debug menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17100 a1c6a512-1295-4272-9138-f99709370657
2008-04-13ASM optimization for fiq_playback(). Saves about 0.4MHz of CPU while ↵Andree Buschmann1-23/+61
playback on PP502x/PP5002. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17097 a1c6a512-1295-4272-9138-f99709370657
2008-04-13Charger detection for Gigabeat SNils Wallménius3-3/+44
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17093 a1c6a512-1295-4272-9138-f99709370657
2008-04-12Fix cut'n'pasterelated yellows.Rob Purchase1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17089 a1c6a512-1295-4272-9138-f99709370657
2008-04-12D2: Charging detection, plus basic PCF50606 interrupt handler.Rob Purchase1-0/+40
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17088 a1c6a512-1295-4272-9138-f99709370657
2008-04-12Add GPIO manager. Get the PMIC interrupt handling working (along with power ↵Michael Sevakis12-19/+593
button and HP detect). Add some reg field defined instead of using raw numbers. Add PMIC info to debug ports screen. Refine PMIC driver ops a little bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17086 a1c6a512-1295-4272-9138-f99709370657
2008-04-12D2: Implement battery voltage readout from PCF50606 (levels not yet ↵Rob Purchase2-12/+35
calibrated). Adjust I2C delay to ensure this also works when boosted. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17085 a1c6a512-1295-4272-9138-f99709370657
2008-04-12Big oops. Fix enum spi_module_number to set right enum values. :p.Michael Sevakis1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17079 a1c6a512-1295-4272-9138-f99709370657
2008-04-11D2: Remove USB detection as it's not actually on GPIOC26 (that's a charging ↵Rob Purchase1-5/+2
indicator). Remove those warnings as I'm well aware USB isn't implemented. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17078 a1c6a512-1295-4272-9138-f99709370657
2008-04-11Add a "View I/O Ports" screen for imx31. Show all GPIO contents.Michael Sevakis3-3/+115
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17072 a1c6a512-1295-4272-9138-f99709370657
2008-04-11Serial driver for imx31. Perhaps not 100% but maybe 80-90% (future ↵Michael Sevakis8-60/+687
developments will tell). Factor-out the mc13783 stuff and make that driver a layer above the SPI. TODO: start processing PMIC interrupts. Start a clkctl API for imx31 (we'll see if this sticks around but it seems reasonable here). Misc. stuff for convenience/neatness. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17070 a1c6a512-1295-4272-9138-f99709370657
2008-04-10Properly clear clear-on-write bits in the PP502x USB controllerBertrik Sikken1-6/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17066 a1c6a512-1295-4272-9138-f99709370657
2008-04-09Add DM320 I²C driver, although not (yet) enabled in the sources.Maurus Cuelenaere2-42/+116
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17050 a1c6a512-1295-4272-9138-f99709370657
2008-04-08D2: Implement power-off by putting the PCF50606 to sleep (and reduce timeout ↵Rob Purchase3-31/+37
to 10 ticks). Set PCF outputs on init as per OF. Fix erroneous BOOTDIR definition and make HW Info screen show some more useful info. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17039 a1c6a512-1295-4272-9138-f99709370657
2008-04-08D2: Update dual boot to use the hold switch. Update bootloader to show ↵Rob Purchase1-3/+3
messages until HOLD released, keep holding POWER to show old debug screen (these modes will eventually be removed). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17032 a1c6a512-1295-4272-9138-f99709370657
2008-04-07Make the TCC780x ADC driver work again in the bootloader.Rob Purchase1-10/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17031 a1c6a512-1295-4272-9138-f99709370657
2008-04-07Make the greyscale library work on the m:robe 100. Testing on target done by ↵Jens Arnold2-20/+135
Robert Kukla & Dominik Riebeling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17028 a1c6a512-1295-4272-9138-f99709370657
2008-04-07explicitly align the ibss section by adjusting _iramend - fixes hang on ↵Robert Kukla8-1/+8
m:robe (and potential problem on other arm targets) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17024 a1c6a512-1295-4272-9138-f99709370657
2008-04-07Hopefully fix FS#8506 (OF cant be loaded on some PP targets). also hopefully ↵Jonathan Gordon1-5/+4
fixes usb detection for at least e200 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17017 a1c6a512-1295-4272-9138-f99709370657
2008-04-07Wow. Fix those irq #defines for ARM and use the right one in ↵Michael Sevakis2-5/+5
power-c200_e200.c. How'd that happen? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17010 a1c6a512-1295-4272-9138-f99709370657
2008-04-07Better sansa shutdown sequence in power_off.Michael Sevakis1-9/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17009 a1c6a512-1295-4272-9138-f99709370657
2008-04-07Save a couple of bytes by using moveq.l where possible.Jens Arnold1-7/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17007 a1c6a512-1295-4272-9138-f99709370657
2008-04-06Iriver remote LCD driver: * Split out assembler parts. * Reintroduced the 2 ↵Jens Arnold2-204/+309
transfer routine variants (low/high CPU clock), and made the version for high CPU clock a little slower because there were problems reported. The function can be slowed down more if there are still problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17006 a1c6a512-1295-4272-9138-f99709370657
2008-04-06e200: Get the UNCACHED_ADDR macro and phys_fb_address use out of the lcd driver.Michael Sevakis1-29/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16982 a1c6a512-1295-4272-9138-f99709370657
2008-04-06Enable nocache sections using the linker. PP5022/4 must use SW_CORELOCK now ↵Michael Sevakis17-52/+204
with shared variables in DRAM (it seems swp(b) is at least partially broken on all PP or I'm doing something very wrong here :\). For core-shared data use SHAREDBSS/DATA_ATTR. NOCACHEBSS/DATA_ATTR is available whether or not single core is forced for static peripheral-DMA buffer allocation without use of the UNCACHED_ADDR macro in code and is likely useful on a non-PP target with a data cache (although not actually enabled in config.h and the .lds's in this commit). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16981 a1c6a512-1295-4272-9138-f99709370657
2008-04-04Tick/IRQ driven ADCs for TCC780x. Solves the weird button behaviour ↵Rob Purchase1-23/+52
mentioned on the D2 wiki page. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16974 a1c6a512-1295-4272-9138-f99709370657
2008-04-04Greyscale library: Optionally put the greyscale ISR on COP on ↵Jens Arnold1-4/+26
portalplayertargets (only use with the grey_info structure in IRAM atm\!). This speeds up doom by ~50%, and makes mpegplayer work without stuttering audio on targets using it (measured on iPod 2nd Gen and Mini 2nd Gen). It needs corelocking certain functions in the LCD driver on 1st/2nd Gen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16973 a1c6a512-1295-4272-9138-f99709370657
2008-04-04D2: Adjustable backlight brightness (sometimes fails when boosted, suggests ↵Rob Purchase3-40/+63
I2C timing needs adjustment). Tweak lcd_enable() to behave more like other targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16967 a1c6a512-1295-4272-9138-f99709370657
2008-04-041st/2nd Gen: Backlight inversion needs to be protected from interrupts, ↵Jens Arnold3-14/+16
because it can happen any time, even while the greyscale lib or something else is writing to the LCD from an ISR. Also make backlight inversion only hit the LCD if necessary. * Use register definition in the 1st..3rd Gen backlight drivers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16962 a1c6a512-1295-4272-9138-f99709370657
2008-04-03m:robe 100 Robert Kukla1-93/+175
- lcd driver tidied up and optimised - lcd flip and inverse display enabled (based on logikdax driver and work by lowlight) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16944 a1c6a512-1295-4272-9138-f99709370657
2008-04-02Revert... stupid svn doesn't complain when passing -m twice :(Jens Arnold1-39/+75
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16939 a1c6a512-1295-4272-9138-f99709370657
2008-04-02Make the measured LCD scanrates from the greylib known to the scanrate test ↵Jens Arnold1-75/+39
plugin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16938 a1c6a512-1295-4272-9138-f99709370657
2008-04-02LCD driver tweaks for greyscale iPods: * Use 1/7 bias, 5x step-up and the ↵Jens Arnold1-41/+13
highest step-up frequency on all 1st..3rd gen iPods, simplifying the driver this way. The default contrast for those iPods has changed - reset settings in case the display becomes unreadable. * Set n-line inversion drive to 9 lines, improving image quality on 1st..3rd gen iPods somewhat. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16932 a1c6a512-1295-4272-9138-f99709370657
2008-04-02gigabeat S: Set the tick speed correctly (calced from clocking regdump). Use ↵Michael Sevakis1-20/+41
bit #defines instead as well. Throw a header in the file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16928 a1c6a512-1295-4272-9138-f99709370657
2008-04-01Use a better place to enable the interrupts.Jens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16918 a1c6a512-1295-4272-9138-f99709370657
2008-04-01iPod 1st..3rd Gen and Mini 1st Gen fixes/improvements: * Remove the ↵Jens Arnold3-51/+24
unnecessary 'reverse' parameter from handle_scroll_wheel() (a remnant from IPL that's not needed in rockbox), and make it static. * Wheel power saving on 1st Gen needs to disable the respective GPIO interrupts as well, otherwise every wheel check might fire interrupts. Make wheel power saving more self-contained as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16916 a1c6a512-1295-4272-9138-f99709370657
2008-04-01Make the gigabeat S boot again.Michael Sevakis1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16908 a1c6a512-1295-4272-9138-f99709370657
2008-04-01Change a #define constant that conflicts with a mingw definition. Change ↵Michael Sevakis1-1/+1
"WAIT_*" to "OBJ_WAIT_*". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16906 a1c6a512-1295-4272-9138-f99709370657
2008-03-31Introduce sanity check and extra nop to stabilise TCC780x ↵Rob Purchase1-3/+4
set_cpu_frequency(). Re-enable HAVE_ADJUSTABLE_CPU_FREQ and kill a few warnings by setting HAVE_SW_TONE_CONTROLS. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16904 a1c6a512-1295-4272-9138-f99709370657
2008-03-31Change the remaining set_interrupt_status usage to the more parsimonious ↵Michael Sevakis7-16/+14
disable/enable/restore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16897 a1c6a512-1295-4272-9138-f99709370657