summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm
AgeCommit message (Collapse)AuthorFilesLines
2007-04-13Fix 3G errors.Michael Sevakis1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13145 a1c6a512-1295-4272-9138-f99709370657
2007-04-13Portal Player: Add invalidate_icache and flush_icache. Flush the cache on ↵Michael Sevakis4-12/+207
the core for newborn threads. In doing so, move more ARM stuff to the target tree and organize it to make a clean job of it. If anything isn't appropriate for some particular device give a hollar or even just fix it by some added #ifdefing. I was informed that the PP targets are register compatible so I'm going off that advice. The Sansa likes it though. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13144 a1c6a512-1295-4272-9138-f99709370657
2007-04-12Moved archos backlight code to target tree. Changed old mutlivalue ↵Jens Arnold4-0/+4
CONFIG_BACKLIGHT to a simple HAVE_BACKLIGHT. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13136 a1c6a512-1295-4272-9138-f99709370657
2007-04-12Switch to mi4 format for Rockbox binary on H10 and Sansa. This means we now ↵Barry Wardell1-1/+1
only have one binary format to deal with on this target. Users with bootloaders older than 20 March 2007 will have to update. Up to date ones are already on download.rockbox.org since that date. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13134 a1c6a512-1295-4272-9138-f99709370657
2007-04-12Fix the backlight and led bugs from my last commitKarl Kurbjun2-22/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13119 a1c6a512-1295-4272-9138-f99709370657
2007-04-11Moved SH1 system code to target tree. * First shot at hwcompat cleanup.Jens Arnold8-8/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
2007-04-11Gigabeat: Pin initialization for the USB and ATA interface. This also adds ↵Karl Kurbjun2-17/+48
proper coldstart detection for the ATA interface. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13103 a1c6a512-1295-4272-9138-f99709370657
2007-04-06Optimized lcd_yuv_blit() (used by mpegplayer) for the Sansa E200. This is ↵Dave Chapman2-104/+256
just a copy-and-paste of the Gigabeat version by Michael Sevakis with no attempt to adapt to the different CPU in the E200 - so there could be room for further improvement. Reported to increase the FPS for the 224x128 version of Elephants Dream from 21fps to 27fps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13042 a1c6a512-1295-4272-9138-f99709370657
2007-04-02Minor code policing. Correct a comment and remove a stray comment delimiter.Michael Sevakis1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12999 a1c6a512-1295-4272-9138-f99709370657
2007-04-02Gigabeat: Add an assembly lcd_yuv_blit. Seems to be good for a modest ↵Michael Sevakis2-94/+254
speedup. ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12998 a1c6a512-1295-4272-9138-f99709370657
2007-03-30Correct the YCbCr to RGB conversionMarcoen Hirschberg1-14/+17
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12969 a1c6a512-1295-4272-9138-f99709370657
2007-03-24PNX0101 changes:Tomasz Malesinski3-24/+580
Make PNX0101-specific system.c and crt0.S. Add new register names from LPC2880 user manual. Add support for timer. Enable CPU frequency changing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12904 a1c6a512-1295-4272-9138-f99709370657
2007-03-21Fix blitting on Sansa so Mpegplayer works againDaniel Ankers1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12879 a1c6a512-1295-4272-9138-f99709370657
2007-03-20Oops, shouldn't have committed this just yet.Barry Wardell1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12866 a1c6a512-1295-4272-9138-f99709370657
2007-03-20Oops, the mi4 magic was being looked for in the wrong place when decrypting. ↵Barry Wardell1-1/+1
Also decrease verbosity of PP bootloader a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12865 a1c6a512-1295-4272-9138-f99709370657
2007-03-20Sansa LCD: Make the second framebuffer staticDaniel Ankers1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12849 a1c6a512-1295-4272-9138-f99709370657
2007-03-20Improved LCD driver for Sansa. Uses double-buffering to cure the ↵Daniel Ankers1-10/+40
flickering. Stops DMA during device initialization, which should stop the occasional hangs - based on FS#6859 by Antonius Hellmann git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12848 a1c6a512-1295-4272-9138-f99709370657
2007-03-19SWCODEC: Get rid of extra swap buffer and get back 512K of RAM or 100K if ↵Michael Sevakis1-0/+44
the players RAM is <= 1MB. Make any needed changes to things to stabilize and facilitate this including removing flattening out initialization. Comment some things heavily. Fix a few logfs I didn't want to see the compiler complaining about. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12843 a1c6a512-1295-4272-9138-f99709370657
2007-03-16Fix problem where power_off() on the H10 returns before the device is ↵Barry Wardell1-0/+1
actually powered off. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12801 a1c6a512-1295-4272-9138-f99709370657
2007-03-15Fix problem where power_off() on the Sansa returns before the device is ↵Barry Wardell1-0/+2
actually powered off. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12788 a1c6a512-1295-4272-9138-f99709370657
2007-03-13Improved ADC driver for AS3514 (used in PP5024 - ie. Sansa e200) based off ↵Barry Wardell2-14/+32
datasheet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12745 a1c6a512-1295-4272-9138-f99709370657
2007-03-11Sound for Sansa E200 - based on work by myself, Rene Peinthor, Barry Wardell ↵Daniel Ankers2-35/+38
and Christian Gmeiner from the AS3514 datasheet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12727 a1c6a512-1295-4272-9138-f99709370657
2007-03-11Audio Init: Just can't stand that heirarchy. Add one level of abstraction. ↵Michael Sevakis2-12/+12
Might come in handy anyhow. Use sound.h instead of the conditional includes for audio hardware headers. If someone doesn't like that, yell at my evil twin. :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12718 a1c6a512-1295-4272-9138-f99709370657
2007-03-11Pop a stub in there for the e200 until playback is ready. Move it to the ↵Michael Sevakis1-0/+3
proper place at that time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12717 a1c6a512-1295-4272-9138-f99709370657
2007-03-11Reenable aynchronous audio init stage. Really just single stage with ↵Michael Sevakis2-0/+8
aynchronous enabling of outputs. Keeps audio_init last so prior init steps can use the audiobuffer in any desired way. Audio will be fully initialized by the time the UI is entered. Playback of voice or audio will be delayed properly until audio hardware is ready. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12714 a1c6a512-1295-4272-9138-f99709370657
2007-03-05More catching up on old work. Refine audio interface setup on Coldfire. Stop ↵Michael Sevakis1-2/+1
the funky glitching on the iAudio stuff when starting recording esp. at 88.2kHz. (probably due to the bidi interface). iRivers don't seem to care what you do. TLV320 still seems to have a little trouble selecting it's filters correctly for 88.2kHz or it could be some odd phasing effect. Get rid of the horrible reset parameter in pcm_apply_settings as it can decide for itself. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12618 a1c6a512-1295-4272-9138-f99709370657
2007-03-04Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - ↵Daniel Ankers2-1/+19
iPod G3 will be coming soon.) This allows threads to be run on either core provided that all communications between the cores is done using uncached memory. There should be no significant change in battery life from doing this. Documentation (on the RockboxKernel wiki page) will follow shortly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12601 a1c6a512-1295-4272-9138-f99709370657
2007-03-04Get rid of C99 style variable declaration. Also, add one more use of #define ↵Barry Wardell1-1/+1
instead of inl/outl that I missed last time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12591 a1c6a512-1295-4272-9138-f99709370657
2007-03-03Some more replacing of inl/outl with register #define's (doesn't change ↵Barry Wardell2-7/+6
end-result binary). Add lots more #define's based on the ipodlinux wiki and some extrapolation. Also add PortalPlayer SoC version to the HW info debug screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12575 a1c6a512-1295-4272-9138-f99709370657
2007-03-03Replace some inl/outl with register #define's instead. Also tidy up pp5020.h ↵Barry Wardell6-18/+18
so that it's in increasing address order. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12574 a1c6a512-1295-4272-9138-f99709370657
2007-02-26disable LCD poweroff for now until problems with the remote control and ↵Marcoen Hirschberg1-1/+1
headphone detection are fixed (and it doesn't seem to save any battery anyway) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12494 a1c6a512-1295-4272-9138-f99709370657
2007-02-25Moved ipod LCD code to target tree.Jens Arnold3-0/+1169
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12479 a1c6a512-1295-4272-9138-f99709370657
2007-02-21Get rid of some outl/inl in favour of #define.Barry Wardell2-11/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12442 a1c6a512-1295-4272-9138-f99709370657
2007-02-20Introduced LCD_FBHEIGHT in addition to the already existing LCD_FBWIDTH to ↵Jens Arnold1-3/+3
ease framebuffer handling a bit. Added equivalent definitions for the remote LCD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12419 a1c6a512-1295-4272-9138-f99709370657
2007-02-20Battery reading support for Sansa. Still needs calibration of ↵Barry Wardell2-83/+16
voltage->percent mappings and remaining time. Thanks to Rene Peinthor for doing most of the work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12417 a1c6a512-1295-4272-9138-f99709370657
2007-02-19FS#6675: Add lcd_yuv_blit() for the Sansa. Thanks to Rene Peinthor. This ↵Barry Wardell1-10/+106
makes mpegplayer run on the Sansa. Button detection in mpegplayer doesn't work because it is done in the audio thread and that thread locks up because we don't have audio support yet. So for now it's necessary to do a hardware power off to quit mpegplayer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12404 a1c6a512-1295-4272-9138-f99709370657
2007-02-18Fix remaining CONFIG_TUNER checks.Jens Arnold2-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12385 a1c6a512-1295-4272-9138-f99709370657
2007-02-18really fix red builds this timeJonathan Gordon1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12380 a1c6a512-1295-4272-9138-f99709370657
2007-02-17build with -Wundef to make sure we have spelled the defines right in #if linesDaniel Stenberg1-1/+1
and have the proper includes included etc git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12360 a1c6a512-1295-4272-9138-f99709370657
2007-02-17ARM targets: Making a few functions non-static allows us to get rid of ↵Jens Arnold1-6/+6
-ffunction-sections, significantly decreasing binary size and making things run a bit faster because static functions are no longer long_call. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12349 a1c6a512-1295-4272-9138-f99709370657
2007-02-17Move dr_controller_setup() to usb_init_device() and add a call to ↵Dave Chapman1-1/+6
dr_controller_stop() if we detect USB disconnection. This seems to improve reliability when connecting to Mac OS X - Rockbox previously killed its USB stack since the introduction of the new USB detection code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12342 a1c6a512-1295-4272-9138-f99709370657
2007-02-16No functional changes, just reorganising code:Barry Wardell1-87/+16
1) Move ARC OTG USB (used in PP502x) driver code into it's own file, drivers/arcotg_udc.c. Hopefully in the future we will be able to adapt more of the Linux driver and add it to this file. 2) Rename mx31.h to arcotg_udc.h to reflect the file the code came from. It's also a more accurate name for the USB controller. 3) Get rid of one more inl()/outl() in usb-pp.c and use the relevant #define instead. 4) Add dr_controller_stop(). Not used yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12340 a1c6a512-1295-4272-9138-f99709370657
2007-02-12Gigabeat Cradle USB SupportKarl Kurbjun1-11/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12284 a1c6a512-1295-4272-9138-f99709370657
2007-02-08Fix the delay loops. Without scaling the CPU is always at 300MHz.Marcoen Hirschberg2-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12229 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Fix USB detection on ipods and other portalplayer targets - Rockbox now ↵Dave Chapman2-116/+99
correctly distinguishes between a USB connection to a computer and a connection to a USB AC charger. Based on the experimental USB code in FS #6494 by Barry Wardell. Closes FS #4724. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12198 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Work around a bug in the Sansa flash driverDaniel Ankers1-21/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12187 a1c6a512-1295-4272-9138-f99709370657
2007-02-03Backlight support for Sansa, including brightness. Thanks to Rene Barry Wardell2-0/+17
Peinthor and FS#6608. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12186 a1c6a512-1295-4272-9138-f99709370657
2007-02-01Increase disk thread stack on the Sansa in line with the changes in r12093. ↵Daniel Ankers1-1/+1
Fixes the recent Sansa crashes. Thanks to Rene Peinthor git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12177 a1c6a512-1295-4272-9138-f99709370657
2007-01-31Power off on the Sansa more in line with how the OF does it (just change the ↵Barry Wardell1-1/+4
relevant bit rather than the whole byte). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12166 a1c6a512-1295-4272-9138-f99709370657
2007-01-31Add power off for the Sansa. Thanks to Antonius Hellmann for figuring out ↵Barry Wardell1-0/+2
how using the Sansa emulator in FS #6524. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12165 a1c6a512-1295-4272-9138-f99709370657