summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2007-03-16Partition type 0x84 is "OS/2 hidden C: drive"Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12805 a1c6a512-1295-4272-9138-f99709370657
2007-03-16FM Radio mishmash: Make a quieter screen for the SWCODEC targets esp. for ↵Michael Sevakis
the benefit of x5; I wasn't sure if it was good to alter timeouts for HW codec. Simplify things and prepare for eventual scanning and tuning changes (which should help quiet x5 down even more). Make things behave themselves better in general. Enable SWCODEC FM Recording menu and screen for sim as a bonus. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12804 a1c6a512-1295-4272-9138-f99709370657
2007-03-16In preparation for use with sansapatcher, change portalplayer bootloaders to ↵Barry Wardell
read firmwares in mi4 format. When loading the OF: 1) first try to load from a hidden disk partition 2) try loading /System/OF.mi4 3) finally fall back to loading /System/OF.bin which is what the old bootloader used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12802 a1c6a512-1295-4272-9138-f99709370657
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-15Jan 1 1980 was a tuesdayLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12789 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-12Fix typo. We only need to keep bit 6 set on HPH_OUT_L. Setting it on ↵Barry Wardell
HPH_OUT_R does something completely different and probably not wanted. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12743 a1c6a512-1295-4272-9138-f99709370657
2007-03-12Disable bootloader messages in the H10 and Sansa bootloaders unless the PLAY ↵Barry Wardell
(on H10) or RIGHT (on Sansa) button is being held. Messages are still displayed if an error occurs. This has already been implemented for iPod bootloaders, but still needs implementing for the other bootloaders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12742 a1c6a512-1295-4272-9138-f99709370657
2007-03-12Sorted and updated FILES for both apps and firmware, included features.txt ↵Nils Wallménius
preparing for the lang v2 cleanup, should fix FS# 6805 unless Lear's previous committ got it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12741 a1c6a512-1295-4272-9138-f99709370657
2007-03-12Add missing files (for Archos and iRiver M5) to the source archive.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12739 a1c6a512-1295-4272-9138-f99709370657
2007-03-11Make private function static on variable CPU frequency targets. Kill it on ↵Jens Arnold
fixed frequency targets, regaining 1/3 of the waste on archos... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12731 a1c6a512-1295-4272-9138-f99709370657
2007-03-11Enable balance control on SansaDaniel Ankers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12730 a1c6a512-1295-4272-9138-f99709370657
2007-03-11Oops, missed a file from r12727Daniel Ankers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12728 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-11Optimized the gui list code performance, including automatic frame dropping ↵Miika Pekkarinen
and cpu boosting when button events are getting queued. Improved scrollwheel acceleration code is needed to notice a real change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12721 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-10Fix red builds and make udelay actually work as it should again.Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12703 a1c6a512-1295-4272-9138-f99709370657
2007-03-10Make udelay() wrap-safe.Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12702 a1c6a512-1295-4272-9138-f99709370657
2007-03-09Guess there were more changes to it.:) Odd that mine built until a make clean.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12694 a1c6a512-1295-4272-9138-f99709370657
2007-03-09Install the single stage synchronous audio initialization I cooked up awhile ↵Michael Sevakis
back. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12693 a1c6a512-1295-4272-9138-f99709370657
2007-03-09Back to green?Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12690 a1c6a512-1295-4272-9138-f99709370657
2007-03-09As usual I left experimental stuff in a file. Forgot to add that ↵Michael Sevakis
set_irq_level_and_block thread is per core now too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12689 a1c6a512-1295-4272-9138-f99709370657
2007-03-09Put an end to priority inversion in the ata driver. Gave up trying to have ↵Michael Sevakis
fully atomic dual use mutexes so just replaced the ata driver locking with spins. Maybe I'll have better luck later. Things should run smoothly with database updates and such happening in the background. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12688 a1c6a512-1295-4272-9138-f99709370657
2007-03-07Use the new DSP callback functionality in firmware/sound.c to deal with ↵Thom Johansen
SWCODEC stereo width and channel configuration instead of the old more spread out #ifdef based approach. Rename the DSP functions involved for more consistent naming. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12677 a1c6a512-1295-4272-9138-f99709370657
2007-03-07Hack around the lack of a hardware prescaler on a number of WM codecs. Bass ↵Thom Johansen
and treble controls should work on DAPs using these chips now, but will be prone to distort when boosting bass. Gut out UDA1380 code(!!) and switch to high bass cutoff and low treble cutoff in WM8975 driver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12673 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-06Fix problem with recording screen creep and bag a bigfoot. Voice clips ↵Michael Sevakis
aren't long enough now to untrigger the thread boost that was supposed to be applied to the codec thread. The voice thread was needlessly boosting the codec thread and leaving it boosted which explains the encoders' ability to flood the output buffer when everything else was stopped in its tracks. Check which thread is calling pcmbuf_under_watermark and only initiate the boost when it's the codec thread. Always return the codec thread to its usual priority in pcmbuf_play_stop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12649 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-05Forgot that too...hrmph.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12621 a1c6a512-1295-4272-9138-f99709370657
2007-03-05Use a larger font cache on the targets that can afford the (quite small) RAM ↵Linus Nielsen Feltzing
usage git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12620 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-05Some more M5 adjustments.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12616 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-04Fix RoLo on PortalPlayer targetsDaniel Ankers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12609 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