summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2009-05-14Sansa AMS i2c : fix 2 problems identified by Jack Halpin & Bertrik SikkenRafaël Carré
i2c clock frequency uses pclk as reference, not plla i2c clock divider is only 10 bits, not 16 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20929 a1c6a512-1295-4272-9138-f99709370657
2009-05-13Remove the HAVE_RADIO_REGION from the platform config since it's already ↵Alexander Levin
defined in the tuner driver's header git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20926 a1c6a512-1295-4272-9138-f99709370657
2009-05-13Sansa AMS : remove mci_set_clock_divider()Rafaël Carré
Inline the 2 uses, and use a preprocessor sanity check for identification frequency git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20924 a1c6a512-1295-4272-9138-f99709370657
2009-05-13Sansa AMS: Various fixes/enhancements for clock frequenciesRafaël Carré
Fix CGU_DBOP setting Set PCLK to the exact frequency (62MHz, not the maximal frequency) Use a better comment for CLK_DIV macro Use preprocessor safety checks for clock divider sizes to avoid future mistakes (not for SD_IDENT frequency since that check is handled by mci_set_clock_divider) Use maximal IDE frequency of 66MHz (like OF), not 90MHz like written in AS3525 datasheet. The IDE chip is somehow linked to internal storage, and a too high frequency could affect the storage driver. Use the same DBOP frequency of 32MHz for all models (like OF, verified clip, fuze, e200v2 and m200v4), compromise between performance and battery life could be added in the future for each target Performance increase on Sansa Fuze with DBOP freq. set to 64MHz: +12% fps for lcd_update, +1% fps for yuv Thanks to daytona955 on the forums for his help git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20923 a1c6a512-1295-4272-9138-f99709370657
2009-05-12FS#9730 by Torne Wuff - support installing Rockbox in the firmware partition ↵Dave Chapman
in place of the main Apple firmware. This image is only loaded if no rockbox.ipod is found so does not affect current behaviour. The advantage is a small increase in boottime. This patch also adds documentation to bootloader/ipod.c in the form of a comment describing the booting behaviour. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20921 a1c6a512-1295-4272-9138-f99709370657
2009-05-12Sansa Clip : remove unused variable xoffset from lcd driverRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20920 a1c6a512-1295-4272-9138-f99709370657
2009-05-12FS#10118 & FS#10165 : lcd_blit_yuv() for Sansa Fuze & Sansa e200v2Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20919 a1c6a512-1295-4272-9138-f99709370657
2009-05-11fix send_command_result() size checking for the SCSI_REQUEST_SENSE case ↵Frank Gevaerts
(thanks to Tomer Shalev, FS#10203) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20914 a1c6a512-1295-4272-9138-f99709370657
2009-05-07Jz4732: add hack to fix stack overflow in the power thread (fixes USB on ↵Maurus Cuelenaere
non-bootloader) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20867 a1c6a512-1295-4272-9138-f99709370657
2009-05-06MIPS: don't save gp register when switching threadsMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20863 a1c6a512-1295-4272-9138-f99709370657
2009-05-06Ingenic Jz4740: add a delay between enabling the RTC clock and setting the ↵Maurus Cuelenaere
RTC time git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20862 a1c6a512-1295-4272-9138-f99709370657
2009-05-06Allow a clock divider larger than 255 for the internal i2c bus to the as3525 ↵Bertrik Sikken
ascodec. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20861 a1c6a512-1295-4272-9138-f99709370657
2009-05-05Remove an #ifdef SIMULATOR in favor of using a stubThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20853 a1c6a512-1295-4272-9138-f99709370657
2009-05-04Make JPEG and BMP scaler optional with HAVE_JPEG and HAVE_BMP_SCALING, both ↵Andrew Mahone
defined for all targets that have HAVE_ALBUMART. Disable JPEG in PictureFlow and pluginlib album art search with 32KiB plugin buffer until PictureFlow gets overlay support. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20851 a1c6a512-1295-4272-9138-f99709370657
2009-05-04CONFIG_BACKLIGHT_FADING is always defined, so better ask for ↵Thomas Martitz
BACKLIGHT_NO_FADING. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20850 a1c6a512-1295-4272-9138-f99709370657
2009-05-04M:Robe 500: Add backlight cleanups and fix power management so that ↵Karl Kurbjun
dangerous and shutoff voltages are taken care of, carge discharge curves are better modeled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20849 a1c6a512-1295-4272-9138-f99709370657
2009-05-03Fix redKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20847 a1c6a512-1295-4272-9138-f99709370657
2009-05-02M:Robe 500 - Fix some of the Keymaps, touchscreen improvements to decrease ↵Karl Kurbjun
inacurate reads, add support for dynamic frequency (was running at 87.5 MHz, now it runs at 175 MHz when boosted), disable clock to unneded modules (decreased power by 20 mA), LCD turnoff now works without graphic glitches, battery ADC read now returns scaled voltage, define backlight fading git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20846 a1c6a512-1295-4272-9138-f99709370657
2009-05-01Fix another FS#10130 issue - Set backlight and button light brightness via ↵Boris Gjenero
the backlight thread to avoid potential concurrency issues. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20834 a1c6a512-1295-4272-9138-f99709370657
2009-04-29Fix reds. libuisimulator.a apparently needs to be linked twice (aka quick ↵Thomas Martitz
fix as I don't know a better solution yet) :/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20830 a1c6a512-1295-4272-9138-f99709370657
2009-04-29Simulate lcd_enable and lcd_sleep in the simulator. Therefore, turn ↵Thomas Martitz
backlight-sim.h into a .c too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20829 a1c6a512-1295-4272-9138-f99709370657
2009-04-29FS#10151 - e200v2: scrollwheel acceleration by Dustin Skoracki. Improves the ↵Thomas Martitz
scroll wheel acceleration on the e200v2 mainly by not decrementing the counter which which causes the acceleration if a wheel read was missed due to lcd operation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20822 a1c6a512-1295-4272-9138-f99709370657
2009-04-28Hopefully fix lcd_sleep() from not be being called for targets without ↵Thomas Martitz
fading at all and being and being called too early for backlight always of on PWM fading targets. Also, clean up the code a bit by renaming the function that initiates fading on PWM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20820 a1c6a512-1295-4272-9138-f99709370657
2009-04-28M:Robe 500: Fix red, commit missing work, reduce lcd wakeup time.Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20819 a1c6a512-1295-4272-9138-f99709370657
2009-04-28M:Robe 500: Rearrage TSC2100 reads to make touchscreen more reliable, add ↵Karl Kurbjun
hack to get lcd_sleep working/called again, fix the panic handler so that it waits for the power button to be pressed instead of freezing the player git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20818 a1c6a512-1295-4272-9138-f99709370657
2009-04-26Enable FM radio on the sansa c200v2 (untested).Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20809 a1c6a512-1295-4272-9138-f99709370657
2009-04-26Remove workaround for FS#10130 from 5G iPod LCD sleep codeBoris Gjenero
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20806 a1c6a512-1295-4272-9138-f99709370657
2009-04-26FS#10126 - lcd_e200v2 cleanup by Michael ChicoineThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20801 a1c6a512-1295-4272-9138-f99709370657
2009-04-26FS#10158 - e200v2 button delay revisited by Michael Chicoine to fix some ↵Thomas Martitz
weirdnesses with button reading. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20800 a1c6a512-1295-4272-9138-f99709370657
2009-04-26Move the sim stubs into a seperate file to clean backlight.c up a bit.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20796 a1c6a512-1295-4272-9138-f99709370657
2009-04-26Remove two calls backlight_lcd_sleep_countdown() more, this time in backlight.cThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20795 a1c6a512-1295-4272-9138-f99709370657
2009-04-26Replace the condition with a more obvious function call, which is the same.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20794 a1c6a512-1295-4272-9138-f99709370657
2009-04-26Remove the calls to backlight_lcd_sleep_countdown from target specific code ↵Thomas Martitz
and move it into backlight.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20793 a1c6a512-1295-4272-9138-f99709370657
2009-04-26Remove the backlight tick task in favor of handling timeouts through a 1s ↵Thomas Martitz
timeout in the backlight thread. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20792 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Remove unnecessary #include "adc.h"Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20791 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Remove unnecessary #include "backlight.h"Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20790 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Restructure backlight timeout management a bit by factoring out the ↵Thomas Martitz
get_current_timeout code. No functional change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20789 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Merge Onda VX7?7 backlight-target.hMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20788 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Fix onda red. Unlike all other targets, it built the whole backlight driver ↵Thomas Martitz
in the bootloader. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20787 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Fix red.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20785 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Rename _buttonlight_timeout and use a function call instead of extern'ing ↵Thomas Martitz
buttonlight_timeout to be more inline with backlight, and use a #define instead of a const variable for !HAVE_LCD_SLEEP_SETTING (no functional changes) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20784 a1c6a512-1295-4272-9138-f99709370657
2009-04-24Add forgotton colon and fix red.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20779 a1c6a512-1295-4272-9138-f99709370657
2009-04-24Fix FS#10130 (Concurrent backlight function calls from backlight timeout ↵Thomas Martitz
settings menu) by ensuring that all calls of target-specific backlight code happen from backlight thread git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20778 a1c6a512-1295-4272-9138-f99709370657
2009-04-21FS#10129 - Start LCD sleep timer after PWM fadeout is completeBoris Gjenero
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20774 a1c6a512-1295-4272-9138-f99709370657
2009-04-21Gigabeat FX: Use the bootsplash stored in flash when bootloader is started ↵Karl Kurbjun
from flash git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20769 a1c6a512-1295-4272-9138-f99709370657
2009-04-21Gigabeat FX: Small comment format change to MMU setup codeKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20767 a1c6a512-1295-4272-9138-f99709370657
2009-04-21Add second buffer for YUV blitting, progressbar and FPS display in ↵Karl Kurbjun
mpegplayer work correct now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20766 a1c6a512-1295-4272-9138-f99709370657
2009-04-20Disable usage of USB serial descriptor when no unique one is availableMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20761 a1c6a512-1295-4272-9138-f99709370657
2009-04-20Fix yellow (forgot file)Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20759 a1c6a512-1295-4272-9138-f99709370657
2009-04-20Fix FS#10128 - The View IO Ports debug menu showed weird dbop values ↵Thomas Martitz
(sometimes FFFF prepended), due to sign-extension. Switch to unsigned short to fix it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20757 a1c6a512-1295-4272-9138-f99709370657