summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2009-03-21D2: Enable FM radio (based on FS#10035 by Michael Burtin with some changes ↵Rob Purchase
by myself). Also updates the LV24020 driver to add optional logf debugging. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20420 a1c6a512-1295-4272-9138-f99709370657
2009-03-20Don't forget to fix these too...Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20419 a1c6a512-1295-4272-9138-f99709370657
2009-03-20Actually kill them..Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20418 a1c6a512-1295-4272-9138-f99709370657
2009-03-20Implement udelay() for D2 and remove the old hacks from USB & FM drivers.Rob Purchase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20417 a1c6a512-1295-4272-9138-f99709370657
2009-03-20Kill some yellowMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20416 a1c6a512-1295-4272-9138-f99709370657
2009-03-17Make USB on sansas more reliable (FS#10026). Both fixes by Toni HellmannFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20344 a1c6a512-1295-4272-9138-f99709370657
2009-03-17FS#10018 general pp bootloader: start the OF if loading rockbox fails. ↵Nils Wallménius
Resolves a bug where the c200 bootloader would loop flashing the logo if loading rockbox failed and drop support for loading old .e200 and .h10 rockbox main binaries for the e200 resp h10, affects e200, c200, h10 (both kinds) and mrobe 100. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20342 a1c6a512-1295-4272-9138-f99709370657
2009-03-17Update the comment about our changes too.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20341 a1c6a512-1295-4272-9138-f99709370657
2009-03-17Restore behavior of the original implementation strnatcmp to not ignore ↵Thomas Martitz
leading zeros. Fixes FS#10029 (Files being sorted incorrectly in latest builds), leads to better sorting of decimal numbers. It also doesn't sort 2 before 03 (but still before 10) anymore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20340 a1c6a512-1295-4272-9138-f99709370657
2009-03-17Fix very last yellows.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20337 a1c6a512-1295-4272-9138-f99709370657
2009-03-17Okay, this should be the last. I'm sorry for the trouble, but now everything ↵Thomas Martitz
*should* be properly #ifdef'd (which wasn't before) :/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20336 a1c6a512-1295-4272-9138-f99709370657
2009-03-17One more try: Fix remaining reds and yellowsThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20335 a1c6a512-1295-4272-9138-f99709370657
2009-03-17Fix reds and yellows (hopefully). Some targets apparently didn't properly ↵Thomas Martitz
#ifdef lcd_enable and lcd_sleep code out, so that it got partly active in the bootloader; rename the ui simulator stub fixes most reds; for the clip: move the hook code into lcd-1bit-vert.c which should fix the bootloader red. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20333 a1c6a512-1295-4272-9138-f99709370657
2009-03-17The c200 didn't got in for some reason.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20332 a1c6a512-1295-4272-9138-f99709370657
2009-03-17Rework lcd_enabled and lcd_set/call_enable hookThomas Martitz
a) lcd_enabled() is now lcd_active(), and is available for HAVE_LCD_SLEEP only targets (e.g. ipod video) too. It was depandent on HAVE_LCD_ENALE only before b) rename the hook accordingly, and implement the hook for other other targets too (e.g. the clip [the only mono target with lcd_enable/lcd_sleep yet, so the code is still in the lcd driver], ipod, fuze, c200) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20331 a1c6a512-1295-4272-9138-f99709370657
2009-03-14SansaAMS: Add a comment to clarifing a bit that the dcache is inactive ↵Thomas Martitz
without mmu; Show the cp15 control register in the "View I/O Pots menu". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20324 a1c6a512-1295-4272-9138-f99709370657
2009-03-14Philips SA9200 fixes: (1) boost in the bootloader like the e200 and c200, ↵Mark Arigo
(2) use the right GPIOs and inits in the SD driver, and (3) add charger detection. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20323 a1c6a512-1295-4272-9138-f99709370657
2009-03-13Sansa Fuze Buttons: cleanup slightly, prevent button_counter from wrapping, ↵Thomas Martitz
and implement a (imo) decent wheel acceleration. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20317 a1c6a512-1295-4272-9138-f99709370657
2009-03-12Move powermgmt-target.h up one directory (from as3525/sansa-clip to as3525) ↵Bertrik Sikken
in preparation to enable charging for other ams sansa targets. AMS sansas. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20314 a1c6a512-1295-4272-9138-f99709370657
2009-03-12Allow mkinfo.pl to read the RAM usage correctly. All other targets define ↵Jens Arnold
both loadaddress and _loadaddress as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20300 a1c6a512-1295-4272-9138-f99709370657
2009-03-12Gigabeat S: Implement MDMA and UDMA disk access for bootloader and main ↵Michael Sevakis
binary. Add a needed SDMA API to check channel errors. Increase audio DMA channels' priority as required. Reads and writes measure faster accross all test_disk tests and especially at 4KB and 1MB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20299 a1c6a512-1295-4272-9138-f99709370657
2009-03-12Commit the common portion of FS#9708: ATA (IDE) DMA by Boris Gjenero with a ↵Michael Sevakis
couple cosmetic tweaks and without the inclusion of 'FS#9721: No error check after writes in ata.c'changes (which can be done separately). No code is changed for targets without HAVE_ATA_DMA defined other than to not display DMA modes in the View Disk Info debug screen if not using DMA (Gigabeat F/X/S were). No target uses the code yet but Gigabeat S use will follow shortly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20298 a1c6a512-1295-4272-9138-f99709370657
2009-03-11Make Onda VX767 compile + restructure firmware/SOURCES a bit (wrt Jz4740 ↵Maurus Cuelenaere
specific files) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20297 a1c6a512-1295-4272-9138-f99709370657
2009-03-11Get rid of the last "backlight thread fading" remnant, and of the ↵Thomas Martitz
calculation of the delay. It actually wasn't more than those 3 cases before anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20295 a1c6a512-1295-4272-9138-f99709370657
2009-03-11Don't swamp the system with broadcast messages that nobody is listening to ↵Frank Gevaerts
yet anyway. Also, these messages should probably be done in a different way, like an update every second (or maybe half-second) This should fix FS#10006 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20294 a1c6a512-1295-4272-9138-f99709370657
2009-03-11Commit FS#9970 by Yoshihisa Uchida: fix building when HAVE_SERIAL & ↵Maurus Cuelenaere
ROCKBOX_HAS_LOGF is defined in a simulator build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20291 a1c6a512-1295-4272-9138-f99709370657
2009-03-11Sound working with rockbox PCM interface on the M:Robe 500. Doom and ↵Karl Kurbjun
Rockboy run with sound. There are stability problems that need to be looked into causing the player to reset when music playback is attempted. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20284 a1c6a512-1295-4272-9138-f99709370657
2009-03-10Small comment correctionKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20278 a1c6a512-1295-4272-9138-f99709370657
2009-03-10More DM320 sound work. Buffers that are smaller, even multiples of ↵Karl Kurbjun
DSP_BUFFER_SIZE should work fine. Larger and non-even multiples do not work correct. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20277 a1c6a512-1295-4272-9138-f99709370657
2009-03-09Add support for Onda VX747 simulator (and yes, it needs a better picture)Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20273 a1c6a512-1295-4272-9138-f99709370657
2009-03-09Move USB_DEVBSS_ATTR & USB_NUM_ENDPOINTS to SoC-specific header.Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20270 a1c6a512-1295-4272-9138-f99709370657
2009-03-09Onda VX747:Maurus Cuelenaere
* Fix warnings * Add fake battery level information to make sure Rockbox doesn't shutdown * Enable switching between touch modes by pressing (VOL_DOWN|VOL_UP) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20269 a1c6a512-1295-4272-9138-f99709370657
2009-03-09Make strnatcmp() and strnatcasecmp() call strcmp() or strcasecmp() if ↵Frank Gevaerts
strings otherwise sort the same. This is done to make sure that strings always sort the same. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20265 a1c6a512-1295-4272-9138-f99709370657
2009-03-09A few tweaks to get USB support compiling again on TCC targets (part of ↵Rob Purchase
FS#9917 by Michaël Burtin). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20264 a1c6a512-1295-4272-9138-f99709370657
2009-03-09* Onda VX767: fix some redundant files + add some missing functions for ↵Maurus Cuelenaere
apps/ compilation (still needs keymap though). * Add Onda VX767 SADC driver * Unify Onda VX747(+) and Onda VX767 backlight driver * Also be more consistent wrt file naming. * Add speaker-onda_vx747.c to SOURCES (forgot to commit this) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20259 a1c6a512-1295-4272-9138-f99709370657
2009-03-09 * Unify Onda VX747 and VX747+ config filesMaurus Cuelenaere
* Conditionalise (void)drive; in NAND & SD drivers git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20256 a1c6a512-1295-4272-9138-f99709370657
2009-03-09Gigabeat S: Switch SSI1 and 2 around so that playback can use the shared ↵Michael Sevakis
peripheral DMA with SSI2 which doesn't require use of the peripheral DMA unit-- SSI2 is mapped to the SDMA core address space. Fix some break keywords in get_script_pc(). Use the patched script for mcu_2_app (BSP appears to have neglected to update that). Use _SHP instead of _SP for shared peripheral constants (consistency). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20254 a1c6a512-1295-4272-9138-f99709370657
2009-03-08Allow the user to leave MSC mode by pressing the USB POWER button (the one ↵Frank Gevaerts
that's used to go to usb power mode on plugin) when the host OS hasn't locked the device. This only works for devices that expose a removable device, so for now the gigabeat S is out of luck. (slightly modified from FS#9993) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20244 a1c6a512-1295-4272-9138-f99709370657
2009-03-08Optimize hline, fillrect and mono bitmap drawing for chunky displays (16 bit ↵Jens Arnold
colour and greylib). Speeds up text rendering by 20..45% on colour coldfire, by 30..50% on colour ARM, and is noticeable in archos pictureflow. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20242 a1c6a512-1295-4272-9138-f99709370657
2009-03-08Ondio SP needed the same fix as Ondio FM. Thanks to Marianne Arnold for ↵Magnus Holmgren
pointing it out (and nagging me about it :). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20240 a1c6a512-1295-4272-9138-f99709370657
2009-03-08Move the multivolume definition to a better place for the Ondio FM to fix ↵Magnus Holmgren
the red. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20237 a1c6a512-1295-4272-9138-f99709370657
2009-03-07Fix FS#9949 - Song not playing, noise instead. Stale code was left from ↵Michael Sevakis
before transferring in segments and one calculation was just wrong for limiting trasfer size. Make buffer aligning consistent, change <= 0 on size_t variable to == 0 and remove pointless limit on overall buffer size. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20227 a1c6a512-1295-4272-9138-f99709370657
2009-03-07Make Philips SA9200 build againMark Arigo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20226 a1c6a512-1295-4272-9138-f99709370657
2009-03-05Use total_sectors in ata_get_info() instead of calculating it all over ↵Frank Gevaerts
again. This should fix LBA48 issues. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20208 a1c6a512-1295-4272-9138-f99709370657
2009-03-04Cosmetic fix: remove duplicate semicolonsBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20198 a1c6a512-1295-4272-9138-f99709370657
2009-03-03GigabeatFX: Change the way that the LCD copy routine works: Do the copy and ↵Karl Kurbjun
translation in one step. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20195 a1c6a512-1295-4272-9138-f99709370657
2009-03-03Get the volume controls working on the M:Robe 500 along with some minor code ↵Karl Kurbjun
changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20194 a1c6a512-1295-4272-9138-f99709370657
2009-03-03Simplify generic_i2c, removing the link between i2c address and i2c ↵Bertrik Sikken
interface, adding the concept of an i2c bus index. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20193 a1c6a512-1295-4272-9138-f99709370657
2009-03-02TCC NAND: The BLOCKS_PER_SEGMENT define was actually the number of planes ↵Rob Purchase
mentioned in the Samsung NAND datasheet. Add this to the nand_id struct, so that it can be runtime detected (required for some D2s to boot). Use the struct directly instead of making a local copy, and format the nand_info table to 80 columns. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20186 a1c6a512-1295-4272-9138-f99709370657
2009-03-02Make the H10 5GB bootloader able to load the OF again. From FS#9955.Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20185 a1c6a512-1295-4272-9138-f99709370657