summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31
AgeCommit message (Collapse)Author
2008-12-03Straighten out some powermanagement stuff. Give target complete control over ↵Michael Sevakis
how power inputs are sensed. Clean SIMULATOR stuff out of target files. Get rid of USB charging option on targets that don't support it or don't implement it yet. Menu string remains to avoid language incompatibility but should be removed on next cleanup for targets not using it (notice in english.lang). global_settings becomes incompatible for some builds and so plugin API version is incremented. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19315 a1c6a512-1295-4272-9138-f99709370657
2008-11-27Gigabeats S: Simply ignore that occasional spurious unknown IRQ (-1) that ↵Michael Sevakis
goes through irq_handler even if the AVIC is used. If no pending interrupt is indicated (anything else should be vectored), simply returning from the handler appears to have no ill effect. The cause for entering irq_handler is unknown for now (or I missed something important :\). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19245 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Fix red in GBS bootloader.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19238 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Add hardware backlight fading on Gigabeat S with fade up and down options in ↵Michael Sevakis
LCD Settings. USE_BACKLIGHT_CUSTOM_FADING_BOOL is used to specify the setting type needed but leave the fading code itself implementation-defined. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19237 a1c6a512-1295-4272-9138-f99709370657
2008-11-22Audio samplerate control for Gigabeat S: 8, 11.025, 12, 16, 22.050, 24, 32, ↵Michael Sevakis
44.1 and 48 kHz. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19178 a1c6a512-1295-4272-9138-f99709370657
2008-11-19MC13783 PMIC: Make some defines more strictly correct-- interrupts, etc.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19142 a1c6a512-1295-4272-9138-f99709370657
2008-11-19Gigabeat S: Fix PCM being cut off at the beginning. The DAC L-R swapping ↵Michael Sevakis
isn't needed now either. Fixes voice clips on the Gigabeat S. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19141 a1c6a512-1295-4272-9138-f99709370657
2008-11-18MC13783 cleanup. Remove functions proving themselves not so useful and add ↵Michael Sevakis
mc13783_write_masked which is pretty useful. Add an error code definition for invalid data. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19132 a1c6a512-1295-4272-9138-f99709370657
2008-10-27Strange little kernel optimization to ease targeting the timer tick and to ↵Michael Sevakis
limit the number of loops in the tick function to the number of tasks added rather than always looping the max number. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18893 a1c6a512-1295-4272-9138-f99709370657
2008-09-21Define the various CPUFREQ_* macros so that Gigabeat S compiles with ↵Jens Arnold
test_codec enabled, and use the correct value. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18562 a1c6a512-1295-4272-9138-f99709370657
2008-07-18Fix missing #includes and make local functions static for gigabeatBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18091 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-23FS#9051 - remove LCD margins... use viewports if you need them...Jonathan Gordon
NOTE to WPS people.... %m has been removed, but (i think) because of the other %m tags it wont fail if you try loading a wps with %m|..|, it will just be ignored. Also note that if the statusbar is enabled the default viewport is 8 pixels shorter than when its not, i.e (0,0) is really (0,8) if the statusbar is shown... I dont think this will be a major issue because almost no WPS show the bar and use bitmaps... text only WPS shouldnt be affected. Please report problem screens in http://forums.rockbox.org/index.php?topic=17358.0 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17763 a1c6a512-1295-4272-9138-f99709370657
2008-05-25Fix a comment since it was very wrong.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17627 a1c6a512-1295-4272-9138-f99709370657
2008-05-25Gigabeat S: Add charge current and battery temp readout in power management ↵Michael Sevakis
and display in the battery screen. Thermistor data was obtained experimentally from one pulled off a dead board and appears basically correct when read back on a working device (which requires letting it settle to ambient temperature - a long wait so not easy to do). Sending me more thermistors would help improve accuracy *fingers crossed that it's close enough*. :-) This commit does NOT add charging but is a step towards implementing it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17626 a1c6a512-1295-4272-9138-f99709370657
2008-05-21Oops. Forgot to put the pmic thread stack size back to normal.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17594 a1c6a512-1295-4272-9138-f99709370657
2008-05-21Gigabeat S:Michael Sevakis
1) Rework event handling and static registration mechanism. No target- specific code in mc13783 driver. GPIO event driver interfaces more cleanly. 2) Somewhat related - enable thread priority for bootloader which is desireable here (ffs is used for GPIO event enabling anyway and that goes along with priority). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17593 a1c6a512-1295-4272-9138-f99709370657
2008-05-16Cleanup some .h files in the imx31 target branch - #include guard style, ↵Michael Sevakis
headers, obsolete prototypes, etc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17536 a1c6a512-1295-4272-9138-f99709370657
2008-05-16MC13783 (Gigabeat S PMIC): Complete the header file. Distinguish status, ↵Michael Sevakis
sense and mask bit defines to avoid conflicts within the definitions. Much care taken but give a double check before making new use of anything. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17534 a1c6a512-1295-4272-9138-f99709370657
2008-05-13Gigabeat S system setup changes. Unaligned loads/stores on. Mixed-endian ↵Michael Sevakis
support on. VIC on early. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17495 a1c6a512-1295-4272-9138-f99709370657
2008-05-11Enable write buffering for the 1MB device memory section. This means using a ↵Michael Sevakis
different device framebuffer address too. You must update the firmware _and_ bootloader. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17458 a1c6a512-1295-4272-9138-f99709370657
2008-05-10Real fake IRAM by placing .i.... section in the analagous DRAM sections in ↵Michael Sevakis
the linker scripts that hasn't done this yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17449 a1c6a512-1295-4272-9138-f99709370657
2008-05-10Fix yellow.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17444 a1c6a512-1295-4272-9138-f99709370657
2008-05-10Bring Gigabeat S bootloader one step close to a release version.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17442 a1c6a512-1295-4272-9138-f99709370657
2008-05-09Remove inner loop from button scanning on Gigabeat S. Requires changing the ↵Michael Sevakis
button codes but it's not a "functional port" so no plugin API version increase is done though a full update will be needed since any using the values will be incompatible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17432 a1c6a512-1295-4272-9138-f99709370657
2008-05-08Backlight brightness setting for Gigabeat S. Cleanup headers in target ↵Michael Sevakis
backlight file too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17428 a1c6a512-1295-4272-9138-f99709370657
2008-05-08Add two missing rockbox headers and set svn:eol-styleNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17418 a1c6a512-1295-4272-9138-f99709370657
2008-05-08Disable clocks for most modules in the imx31l on startup, individual drivers ↵Nils Wallménius
handle enabling/disabling clocks for used modules git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17417 a1c6a512-1295-4272-9138-f99709370657
2008-05-08Oops, it's called mc13783...Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17416 a1c6a512-1295-4272-9138-f99709370657
2008-05-08Hehe. Should probably implement ide_powered if implementing ide_power_enable.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17415 a1c6a512-1295-4272-9138-f99709370657
2008-05-08Gigabeat S RoLo: Properly execute firmware copy from an IRAM stub because ↵Michael Sevakis
the currently running image was being overwritten in place. Minor tweak to rolo.c based on imx31 errata sheet about not masking FIQ without masking IRQ which is fine to use on all ARM anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17414 a1c6a512-1295-4272-9138-f99709370657
2008-05-08Gigabeat S: Put in (so it appears) proper delays for USB PHY reset. Use the ↵Michael Sevakis
atomic regmod functions to change bits. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17411 a1c6a512-1295-4272-9138-f99709370657
2008-05-08Remove an unneeded #include and a lone "#" on a line (it's early).Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17410 a1c6a512-1295-4272-9138-f99709370657
2008-05-08Gigabeat S: Add ATA/IDE power management. Fix parameter order of regmod32 as ↵Michael Sevakis
it was intended (had some things mixed up :P). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17409 a1c6a512-1295-4272-9138-f99709370657
2008-05-07Gigabeat S technical correction: Fix instruction order because clean dcache ↵Michael Sevakis
operand is SBZ. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17401 a1c6a512-1295-4272-9138-f99709370657
2008-05-06Gigabeat S: Make sure ATA interface is idle before a reset.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17396 a1c6a512-1295-4272-9138-f99709370657
2008-05-05Gigabeat S bootloader: 1) Switch order of .vectors to be contiguous with ↵Michael Sevakis
initialized sections. 2) Clean all caches in main before doing anything else because vector copying counts as self-modifying code. Up to v.00000012. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17381 a1c6a512-1295-4272-9138-f99709370657
2008-05-05Gigabeat S: Do the controller timing settings a more cleanly.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17379 a1c6a512-1295-4272-9138-f99709370657
2008-05-05Alarm wake up support for Gigabeat SNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17376 a1c6a512-1295-4272-9138-f99709370657
2008-05-05Mind repeat calls to ata_device_init.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17373 a1c6a512-1295-4272-9138-f99709370657
2008-05-05Don't need the extra idle check.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17372 a1c6a512-1295-4272-9138-f99709370657
2008-05-05Gigabeat S: Use the fastest PIO mode the installed drive allows instead of ↵Michael Sevakis
always PIO0. Centralize clock information in clkctl-imx31.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17371 a1c6a512-1295-4272-9138-f99709370657
2008-05-03Gigabeat S: Man it's so loud in here. We have SOUND! Someone please make ↵Michael Sevakis
keymaps consistent; it's rather messy atm. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17327 a1c6a512-1295-4272-9138-f99709370657
2008-05-02Remove some cruft not being used that interferes with building rockboy on ↵Michael Sevakis
Gigabeat S. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17302 a1c6a512-1295-4272-9138-f99709370657
2008-05-02Fix an oops in ARMv6 flush_icache.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17301 a1c6a512-1295-4272-9138-f99709370657
2008-04-29Remove wrong usage of '.global'. These symbols are imported, not exported.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17290 a1c6a512-1295-4272-9138-f99709370657
2008-04-29Make sure the linker considers crt0*.o before all files specified on the ↵Jens Arnold
command line by using STARTUP() instead of INPUT() in the .lds. Using INPUT() makes the linker process crt0*.o after all files specified on the command line, making linking fail if there are librockbox.a members which are only referenced by crt0*.o. Remove the hackaround that was needed for building the gigabeat S bootloader before (aka UIE() problem). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17289 a1c6a512-1295-4272-9138-f99709370657
2008-04-27Gigabeat S: Define the used ADC channels, get the channel order correct, ↵Michael Sevakis
enable charge current channel conversion. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17272 a1c6a512-1295-4272-9138-f99709370657
2008-04-27IMX31: Try to catch the interrupt that was the reason irq_handler was called ↵Michael Sevakis
since it never should be. The bootloader occasionally shows one but it's not saying what. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17271 a1c6a512-1295-4272-9138-f99709370657
2008-04-27IMX31: Use template structures to access modules' registers from a base ↵Michael Sevakis
address (as for i2c) which makes drivers look nicer and makes array accesses of registers simpler. Throw in minor fix to fiq_handler dispatcher, otherwise no functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17270 a1c6a512-1295-4272-9138-f99709370657