summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2009-05-17Ingenic Jz4740 PCM driver: set correct sample rateMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20981 a1c6a512-1295-4272-9138-f99709370657
2009-05-17Don't define LOGF_ENABLE..Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20979 a1c6a512-1295-4272-9138-f99709370657
2009-05-17Get interrupt endpoints fully working on Ingenic Jz4740 targetsMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20978 a1c6a512-1295-4272-9138-f99709370657
2009-05-17Fix duplicate #includesBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20977 a1c6a512-1295-4272-9138-f99709370657
2009-05-16Try at implementing interrupt endpoints in the Ingenic Jz4740 USB driverMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20973 a1c6a512-1295-4272-9138-f99709370657
2009-05-16fix DEBUGF statement to print variables that actually exist (FS#10212 by ↵Frank Gevaerts
Tomer Shalev) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20964 a1c6a512-1295-4272-9138-f99709370657
2009-05-16Add usb_hid_usage_tables.h for HID to actually compileFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20963 a1c6a512-1295-4272-9138-f99709370657
2009-05-16Add working USB HID driver, by Tomer Shalev (part of his GSoC work).Frank Gevaerts
This needs support for usb interrupt transfers, so there are some changes in various USB drivers as well (only usb-drv-arc supports it at this point, others won't have working HID yet). HID is disabled for now, as the apps/ part is not included yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20962 a1c6a512-1295-4272-9138-f99709370657
2009-05-15M:Robe 500: Commit some minor changes and some keymap changes (short press ↵Karl Kurbjun
power takes you out of the WPS) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20942 a1c6a512-1295-4272-9138-f99709370657
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