summaryrefslogtreecommitdiff
path: root/firmware/target
AgeCommit message (Collapse)Author
2007-03-16Fix problem where power_off() on the H10 returns before the device is ↵Barry Wardell
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 Wardell
actually powered off. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12788 a1c6a512-1295-4272-9138-f99709370657
2007-03-15Fixed backlight voltage for M5. Now the backlight is as bright as in the ↵Jens Arnold
original firmware. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12787 a1c6a512-1295-4272-9138-f99709370657
2007-03-14x5/M5: Finally get rid of filter selection aberrations when switching to ↵Michael Sevakis
88.2kHz sampling rate which affected both the DAC and ADC. Turning off the DAC and ADC before changing the internal codec frequency seems to cure the remaining glitch of the filters not being correctly selected by the TLV320. Some FIFO reset changes that help keep it stable as well. Supporting 88.2KHz on iAudio has been a tricky ordeal. Also made sure to ok the HW tone controls on iRiver. :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12757 a1c6a512-1295-4272-9138-f99709370657
2007-03-13H100 Series: Fix FS#6810 - Distortion on Bass/Treble usage. Coldfire PCM ↵Michael Sevakis
needed a refinement in the init sequence for the UDA1380 after audio init changes. Apparently it doesn't like its registers altered before the Coldfire I2S is properly initialized. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12752 a1c6a512-1295-4272-9138-f99709370657
2007-03-13Improved ADC driver for AS3514 (used in PP5024 - ie. Sansa e200) based off ↵Barry Wardell
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 Ankers
and Christian Gmeiner from the AS3514 datasheet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12727 a1c6a512-1295-4272-9138-f99709370657
2007-03-11Squeeze the serial number code down a few more bytes and call it a day. Will ↵Michael Sevakis
try to reduce by a significant amount later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12726 a1c6a512-1295-4272-9138-f99709370657
2007-03-11Fix a late error that only let it read at default CPU frequency. Disable ↵Michael Sevakis
interrupts during ds2411 read since it's timing sensitive. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12724 a1c6a512-1295-4272-9138-f99709370657
2007-03-11iAudio X5: Enable reading of DS2411 serial number. See it under ↵Michael Sevakis
System|Debug|View HW info. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12723 a1c6a512-1295-4272-9138-f99709370657
2007-03-11Audio Init: Just can't stand that heirarchy. Add one level of abstraction. ↵Michael Sevakis
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 Sevakis
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 Sevakis
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-07Coldfire targets: Shuffle IRQ levels around to have all interaction between ↵Michael Sevakis
low level audio function calls and DMA be atomic. Make recording and playback independently startable and stoppable so one can be running and not interfere with the other. All tests I can do at the moment check out ok (play, record, play+record, FM radio on iRivers, S/PDIF on H120 (w/running optical on/off), and on-the-fly samplerate changes). Recording tested for well over an hour run and no problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12658 a1c6a512-1295-4272-9138-f99709370657
2007-03-05Add extra filtering to the X5 and M5 button drivers to prevent erratic ↵Jens Arnold
button events (ported from H300). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12627 a1c6a512-1295-4272-9138-f99709370657
2007-03-05More catching up on old work. Refine audio interface setup on Coldfire. Stop ↵Michael Sevakis
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-05Forget to commit this one deleted fileJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12611 a1c6a512-1295-4272-9138-f99709370657
2007-03-05Bring up the M5 port to a working stage: Extended numerous explicit checks ↵Jens Arnold
for IAUDIO_X5 to also check for IAUDIO_M5, moved code around the target tree, added preliminary background for the sim. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12610 a1c6a512-1295-4272-9138-f99709370657
2007-03-04iRiver H100 series: Catching up on old work. Use a better way to keep ↵Michael Sevakis
playback going when switching optical output. Doesn't mess with the DMA peripheral requests to do it like before but just writes a sample to the FIFO. Would really like to reformulate interrupt scheme on Coldfire to allow DMA interrupts to be blocked specifically but not normally. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12605 a1c6a512-1295-4272-9138-f99709370657
2007-03-04Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - ↵Daniel Ankers
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 Wardell
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-04Added new iAudio M5 target, including some adjustments to make the ↵Jens Arnold
bootloader compile (with a small change against the committed tools/tonfigure, and it won't actually work yet). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12588 a1c6a512-1295-4272-9138-f99709370657
2007-03-03Some more replacing of inl/outl with register #define's (doesn't change ↵Barry Wardell
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 Wardell
so that it's in increasing address order. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12574 a1c6a512-1295-4272-9138-f99709370657
2007-03-02H300 bootloader: (Work in progress) Boot Rockbox on RTC alarm, add charging ↵Linus Nielsen Feltzing
screen, move to a separate source file, backlight is on during USB mode (again) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12546 a1c6a512-1295-4272-9138-f99709370657
2007-02-28FS#6419 - driver for H1x0 series RTC Mod with runtime detectionRobert Kukla
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12520 a1c6a512-1295-4272-9138-f99709370657
2007-02-26disable LCD poweroff for now until problems with the remote control and ↵Marcoen Hirschberg
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-25Well, it seems that caused problems for others but my magic bug correcting ↵Michael Sevakis
DAPs don't experience trouble after a full update. Revert to setting the macsr in system_init. Watch your ears when using EQ on the 25 Feb 21:43 build...so I hear. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12487 a1c6a512-1295-4272-9138-f99709370657
2007-02-25X5: Move the remote tick to target tree.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12486 a1c6a512-1295-4272-9138-f99709370657
2007-02-25Move target specific parts of the H100 remote LCD driver to target tree.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12485 a1c6a512-1295-4272-9138-f99709370657
2007-02-25Add CPU-model-specific init to newborn threads. Add default %macsr for each ↵Michael Sevakis
thread created on coldfire (EMAC_FRACTIONAL | EMAC_SATURATE). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12483 a1c6a512-1295-4272-9138-f99709370657
2007-02-25Moved ipod LCD code to target tree.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12479 a1c6a512-1295-4272-9138-f99709370657
2007-02-22Move the MPARK init to system_init()Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12452 a1c6a512-1295-4272-9138-f99709370657
2007-02-22Correct LCD DMA init on the H300Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12450 a1c6a512-1295-4272-9138-f99709370657
2007-02-21Get rid of some outl/inl in favour of #define.Barry Wardell
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 Arnold
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 Wardell
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 Wardell
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 Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12385 a1c6a512-1295-4272-9138-f99709370657
2007-02-18CONFIG_CHARGINGJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
2007-02-18Do the CONFIG_USBOTG define correctlyJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12382 a1c6a512-1295-4272-9138-f99709370657
2007-02-18really fix red builds this timeJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12380 a1c6a512-1295-4272-9138-f99709370657
2007-02-18CONFIG_USBOTG fixesJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12377 a1c6a512-1295-4272-9138-f99709370657
2007-02-17Keep delay loop from being optimized away.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12367 a1c6a512-1295-4272-9138-f99709370657
2007-02-17build with -Wundef to make sure we have spelled the defines right in #if linesDaniel Stenberg
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 Arnold
-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 Chapman
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 Wardell
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 Kurbjun
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 Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12229 a1c6a512-1295-4272-9138-f99709370657