summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2011-09-23imx233/fuze+: rework crt0 and linker script to be able to load at any ↵Amaury Pouly3-5/+48
address and self-copy at the right one git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30587 a1c6a512-1295-4272-9138-f99709370657
2011-09-21Sansa AMS/AMSv2: analog front-end register CVDD/DCDC3 doesn't exist in ↵Bertrik Sikken3-5/+8
AMSv2, so don't modify it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30579 a1c6a512-1295-4272-9138-f99709370657
2011-09-20HDD6330: improve the behavior of the lcd during shutdown.Szymon Dziok1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30575 a1c6a512-1295-4272-9138-f99709370657
2011-09-18Sansa AMSv2: initialise PMU (power management unit), inspired by how the OF ↵Bertrik Sikken2-3/+17
does it Differences in PMU settings: - explicitly disable the PLL inside the PMU (we don't use it) - don't increase the PVDD1/AVDD17 voltages because the impact on runtime is still unclear git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30571 a1c6a512-1295-4272-9138-f99709370657
2011-09-18NUM_CARDS can definitely be smaller than NUM_DRIVES, so don't pretend that ↵Frank Gevaerts1-4/+0
this is an error git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30570 a1c6a512-1295-4272-9138-f99709370657
2011-09-18Don't use NUM_VOLUMES as array size in sd card drivers. NUM_DRIVES is also ↵Frank Gevaerts2-2/+2
wrong (the total number of drives in the system is not really related to the number of sd devices), but at least it's less wrong than NUM_VOLUMES and it matches the (wrong) assumptions the rest of the drivers make git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30569 a1c6a512-1295-4272-9138-f99709370657
2011-09-17Also remove the fat_partition_types array.Torne Wuff1-10/+0
If we aren't going to check for the partition type, we don't need the array of known FAT partition types. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30567 a1c6a512-1295-4272-9138-f99709370657
2011-09-17Allow any partition type, not just known FAT types.Torne Wuff1-3/+2
Instead of only mounting partitions with a FAT partition type, try any partition that isn't type 0 (unallocated) or 5 (extended). This makes it easier to reformat SDXC cards which have the exFAT partition type, and also brings us in line with pretty much every other OS at this point. Anything with a valid-looking FAT superblock will get mounted. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30566 a1c6a512-1295-4272-9138-f99709370657
2011-09-16sansa clipzip: fix rectangle setup of type 1 lcdBertrik Sikken1-29/+17
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30560 a1c6a512-1295-4272-9138-f99709370657
2011-09-14Remove obsolete USB_DETECT_BY_DRV define throughout.Michael Sevakis3-20/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30549 a1c6a512-1295-4272-9138-f99709370657
2011-09-14Scrub r30546 bootloader build errors.Michael Sevakis1-1/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30548 a1c6a512-1295-4272-9138-f99709370657
2011-09-14Move AMSv1 (AMSv2 had been done already) to using setup packet request to ↵Michael Sevakis3-51/+14
detect a host. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30547 a1c6a512-1295-4272-9138-f99709370657
2011-09-14Convert ARC USB driver code to always use setup packet detection and remove ↵Michael Sevakis2-70/+33
the bus-reset-based detection method for it. This prevents false USB detection from chargers or other accesories that aren't actually a host but can trigger the bus reset condition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30546 a1c6a512-1295-4272-9138-f99709370657
2011-09-14imx233/fuze+: implement usb enableAmaury Pouly5-3/+59
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30542 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: remove useless fileAmaury Pouly1-24/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30539 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: add charger related definesAmaury Pouly1-0/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30537 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: correctly reset i2c blockAmaury Pouly1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30536 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: implement various audio stubs and update sourceAmaury Pouly6-0/+272
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30535 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: implement lradc function and adc on top of itAmaury Pouly6-2/+446
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30534 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: implement power management stubsAmaury Pouly1-0/+30
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30533 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: fix default init code (define lcd kind as 9325 and do 7783 init !)Amaury Pouly1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30532 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: correctly lcdif blockAmaury Pouly1-12/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30531 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: fix prototypeAmaury Pouly1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30530 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: correctly reset timrot blockAmaury Pouly1-2/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30529 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: define mmc stubs, correctly handle ssp maximum transfer size, ↵Amaury Pouly1-19/+98
correctly handle flash size (including windowing) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30528 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: define sd stubAmaury Pouly1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30527 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: reset dma block correctly and define maximum transfer sizeAmaury Pouly2-2/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30526 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: reset ssp block correctly, define maximum ssp transfer sizeAmaury Pouly2-2/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30525 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: add more interrupts, rewrite block resetting, reset icoll on ↵Amaury Pouly2-4/+25
boot (useful for firmware) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30524 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: fix ctr0 to use a fresh stack and update firmware linker scriptAmaury Pouly2-16/+18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30523 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: use random size for plugin and codec buf (must be non-zero for ↵Amaury Pouly1-2/+2
init attr) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30522 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: rework linker script to load the bootloader at ram start + 1Mb ↵Amaury Pouly1-10/+20
to leave a load for the firmware git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30521 a1c6a512-1295-4272-9138-f99709370657
2011-09-13HDD6330: fix the behavior of the lcd during shutdown (fading out), disable ↵Szymon Dziok2-1/+4
poweroff while charging for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30520 a1c6a512-1295-4272-9138-f99709370657
2011-09-13HDD6330: implement lcd_enable (display on/off).Szymon Dziok3-15/+71
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30519 a1c6a512-1295-4272-9138-f99709370657
2011-09-11HDD6330: Enable headphone detection.Szymon Dziok1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30507 a1c6a512-1295-4272-9138-f99709370657
2011-09-11HDD6330: Enable only one led (from five) on the scroll strip in order to ↵Szymon Dziok1-2/+2
save battery life. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30506 a1c6a512-1295-4272-9138-f99709370657
2011-09-11HDD6330: Fix random issues with the button light (MENU button sometimes does ↵Szymon Dziok2-8/+17
not light up). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30505 a1c6a512-1295-4272-9138-f99709370657
2011-09-11HDD6330: Fix random strange behavior of the touchpad. Setting the ↵Szymon Dziok1-3/+1
sensitivity higher than normal is not a good idea for this one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30504 a1c6a512-1295-4272-9138-f99709370657
2011-09-10Buflib: Correct return value of handle_table_shrink() to match comment.Thomas Martitz1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30495 a1c6a512-1295-4272-9138-f99709370657
2011-09-09Add "USB Hide Internal Drive" option for multidrive devices with software usb.Frank Gevaerts2-10/+19
This option allows accessing the card slot from "dumb" USB hosts like some car audio systems that do not handle multi-LUN devices. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30489 a1c6a512-1295-4272-9138-f99709370657
2011-09-09Remove obsolete commentThomas Martitz1-3/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30488 a1c6a512-1295-4272-9138-f99709370657
2011-09-09Buflib: Stop caching the first unallocated block. It has little benefit but ↵Thomas Martitz2-44/+42
is complicated to keep up-to-date. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30487 a1c6a512-1295-4272-9138-f99709370657
2011-09-09Buflib: Handle not having enough space for new handles (fixes FS#12265).Thomas Martitz1-27/+40
Handles are allocated at the end, growing downwards. The tiny allocations from r30478 broke buflib, since it was assumed that the only shrinkable allocation (the audiobuffer) is the very last allocation. The tiny allocations however fit into the reserve buffer for new handles, breaking the above assumption, and they can't shrink to make room for handles. Now, move any allocations before audiobuf (or shrink audiobuf like before) to make room for handles. This also unifies some duplicated code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30486 a1c6a512-1295-4272-9138-f99709370657
2011-09-08Exit of SDL_WaitEvent() returns an error.Thomas Martitz1-1/+3
It doesn't appear recoverable, but instead only spams the commandline. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30482 a1c6a512-1295-4272-9138-f99709370657
2011-09-07Remove unecessary castingThomas Martitz1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30470 a1c6a512-1295-4272-9138-f99709370657
2011-09-07Buflib: Clarification about invalid handlesThomas Martitz2-6/+9
* Enhance allocation function comments to better state the return value and what an invalid value is * Change clients to check for "< 0" instead of "<= 0" or "== 0" * Return -1 or -2 depending on the exact failure in buflib_alloc_ex. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30469 a1c6a512-1295-4272-9138-f99709370657
2011-09-06sansa clipzip: fix lcd init delay (remove lcd_delay and replace it with a sleep)Bertrik Sikken1-8/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30465 a1c6a512-1295-4272-9138-f99709370657
2011-09-06rk27xx - update firmware/SOURCESMarcin Bukat1-0/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30457 a1c6a512-1295-4272-9138-f99709370657
2011-09-06rk27xx - enable cacheMarcin Bukat1-9/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30456 a1c6a512-1295-4272-9138-f99709370657
2011-09-06rk27xx - update config filesMarcin Bukat2-7/+23
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30455 a1c6a512-1295-4272-9138-f99709370657