summaryrefslogtreecommitdiff
path: root/firmware/target
AgeCommit message (Collapse)Author
2008-04-12D2: Implement battery voltage readout from PCF50606 (levels not yet ↵Rob Purchase
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 Sevakis
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 Purchase
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 Sevakis
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 Sevakis
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 Sikken
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 Cuelenaere
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 Purchase
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 Purchase
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 Purchase
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 Arnold
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 Kukla
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 Gordon
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 Sevakis
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 Sevakis
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 Arnold
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 Arnold
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 Sevakis
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 Sevakis
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 Purchase
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 Arnold
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 Purchase
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 Arnold
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 Kukla
- 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 Arnold
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 Arnold
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 Arnold
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 Sevakis
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 Arnold
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 Arnold
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 Sevakis
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 Sevakis
"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 Purchase
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 Sevakis
disable/enable/restore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16897 a1c6a512-1295-4272-9138-f99709370657
2008-03-31Fixes FS#8552. On some c200s, the second parameter in setting R_Y_ADDR_AREA ↵Mark Arigo
was being interpreted as a separate command (most commonly initiating standby mode where the screen goes blank). While this may be a timing issue, some NOPs seem to fix it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16896 a1c6a512-1295-4272-9138-f99709370657
2008-03-31meg-fx: Add headers to files in the target directory that were missing them. ↵Michael Sevakis
Fix the Id marker in a couple. Fix svn properties in some others. Please have a look at the copyrights added and make any corrections that you feel should be made since this particular tree branch has a twisted history so I just pasted them in based on the target header and used my name for files that have a preponderance of my junk. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16895 a1c6a512-1295-4272-9138-f99709370657
2008-03-31meg-fx: It's important to make sure certain interrupt-related registers have ↵Michael Sevakis
bits changed atomically. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16894 a1c6a512-1295-4272-9138-f99709370657
2008-03-30Fix red and clean up meg-fx firmware sources. Remove an unused file.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16887 a1c6a512-1295-4272-9138-f99709370657
2008-03-30Have meg-fx i2c driver use the wakeup functionality by making it ↵Michael Sevakis
interrupt-based (and serves as a simple usage example). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16886 a1c6a512-1295-4272-9138-f99709370657
2008-03-29Implement set_cpu_frequency() for TCC780x, but leave it disabled for now as ↵Rob Purchase
switching can cause an occasional freeze. Reduce default speed from maximum to 48Mhz. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16882 a1c6a512-1295-4272-9138-f99709370657
2008-03-29Updated TCC780x NAND driver. Still work-in-progress but lots better than the ↵Rob Purchase
previous version. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16878 a1c6a512-1295-4272-9138-f99709370657
2008-03-28Stop saving more registers than necessary.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16866 a1c6a512-1295-4272-9138-f99709370657
2008-03-27split boot.lds and move it into the target treeMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16855 a1c6a512-1295-4272-9138-f99709370657
2008-03-27Revert "initial Meizu M6SL port"Marcoen Hirschberg
This reverts commit b7bd17ce1715c3a8acbf74a63694c28b6075da5b. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16846 a1c6a512-1295-4272-9138-f99709370657
2008-03-27initial Meizu M6SL portMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16844 a1c6a512-1295-4272-9138-f99709370657
2008-03-27Save a few registers in assembler routines for iPod 5Gs LCD driver and YUV ↵Andree Buschmann
conversion. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16840 a1c6a512-1295-4272-9138-f99709370657
2008-03-27Make H10 bootloader successfully boot the OF again.Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16837 a1c6a512-1295-4272-9138-f99709370657
2008-03-27Fix red - adc.h used to be in lcd-remote.hDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16835 a1c6a512-1295-4272-9138-f99709370657
2008-03-26Slightly better instruction order, added comment.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16833 a1c6a512-1295-4272-9138-f99709370657
2008-03-26Iriver H1x0/H300: Speed up remote LCD updates when boosted by implementing ↵Jens Arnold
an idea from the iaudio remote LCD driver. Speedup is ~75 with ticking reduction disabled. Ticking reduction should also be more effective due to the better pulse/pause ratio (update speed with ticking reduction aims at a constant 60fps as before). * SLight speedup when not boosted due to simplifications. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16832 a1c6a512-1295-4272-9138-f99709370657