summaryrefslogtreecommitdiff
path: root/firmware/target (follow)
Commit message (Collapse)AuthorAge
...
* usb-drv-as3525v2: fixesRafaël Carré2010-09-08
| | | | | | | | | | | - don't use *_dcache_range() on uncached memory - remove unused struct endpoint->buffer - use correct *_dcache_range() in usb_drv_transfer() for each direction - halve FIFO size sometimes mounts / sometimes fails git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28031 a1c6a512-1295-4272-9138-f99709370657
* as3525v2-usb: don't disable data transfers !Amaury Pouly2010-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28030 a1c6a512-1295-4272-9138-f99709370657
* as3525v2-usb: fix red and fix stupid typo about endpoint statusAmaury Pouly2010-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28029 a1c6a512-1295-4272-9138-f99709370657
* as3525v2-usb: all control operations are working, there is a problem with ↵Amaury Pouly2010-09-07
| | | | | | | | | | | UMS: the IN transfer to respond to inquiry does not start, resulting in not lun being detected - implement request_endpoint - setup nextep chain for in endpoints - remove useless dcache operation on IN transfer completion - fix transfers to use correct max packet size git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28028 a1c6a512-1295-4272-9138-f99709370657
* as3525v2-usb:Amaury Pouly2010-09-07
| | | | | | | | | | - use uncached address to access setup packet - implement driver exit - stop forcing full speed - change fifo sizes on init - don't call invalid_dache() on setup packet because it makes everything fail git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28027 a1c6a512-1295-4272-9138-f99709370657
* gigabeats: remove inline from extern functionsRafaël Carré2010-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28022 a1c6a512-1295-4272-9138-f99709370657
* AMS: make dma_disable_channel() not inlineRafaël Carré2010-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28017 a1c6a512-1295-4272-9138-f99709370657
* debug-as3525.c : fix include, remove commentRafaël Carré2010-09-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28016 a1c6a512-1295-4272-9138-f99709370657
* Fix sdl application buildThomas Martitz2010-09-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28004 a1c6a512-1295-4272-9138-f99709370657
* FS#11597 : decrease FCLK frequency when unboostedRafaël Carré2010-09-05
| | | | | | | | | | | FCLK is unused because we use fastbus clocking: CPU clock = PCLK Base PCLK off PLLA and use the lowest frqeuency for FCLK (24MHz source, maximum divider) Save a bit of power, adjust Clipv1/e200v2/Fuzev1 current usage accordingly Note: the power saving (in mA) is a bit less on e200v2/Fuzev1 than on Clipv1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28000 a1c6a512-1295-4272-9138-f99709370657
* revert r27991Rafaël Carré2010-09-03
| | | | | | I misread the register defines in linux source code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27995 a1c6a512-1295-4272-9138-f99709370657
* Clipv1: update CHARGER_TOTAL_TIMERRafaël Carré2010-09-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27993 a1c6a512-1295-4272-9138-f99709370657
* Clipv1: draw 150mA from the charger, like Clipv2/+Rafaël Carré2010-09-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27992 a1c6a512-1295-4272-9138-f99709370657
* USB AMSv2: fix bit position in DCFG registerRafaël Carré2010-09-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27991 a1c6a512-1295-4272-9138-f99709370657
* as3525v2: revert the USB_DEVBSS_ATTR and the panicf redefinition, don't ↵Amaury Pouly2010-09-02
| | | | | | protected #undef of USB_NUM_ENDPOINTS git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27987 a1c6a512-1295-4272-9138-f99709370657
* as3525v2:Amaury Pouly2010-09-02
| | | | | | | | | | | - change buffer alignement to 32 bytes (not sure if it's useful) - flush rx fifo on reset - use AS3525_PHYSICAL_ADDR for DMA - reset endpoints structure states on reset - force full speed for debugging purpose - add more debugging code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27986 a1c6a512-1295-4272-9138-f99709370657
* Android: don't compile stubs.c and kill off libuisimulator entirely.Thomas Martitz2010-09-02
| | | | | | | Seperate make rules in a almost empty android.make. Also add forgotten powermgmt-android.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27977 a1c6a512-1295-4272-9138-f99709370657
* Android: Fix two warningsThomas Martitz2010-09-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27975 a1c6a512-1295-4272-9138-f99709370657
* Android: don't compile powermgmt-sim.cThomas Martitz2010-09-01
| | | | | | | | | | | Instead implement a bit of battery monitoring. Currently it only fetches the battery level (in %) every 30s, but it could do more like battery status, charger connected, voltage... Theoretically, we could also exit/quit after some time of inactivity too (perhaps not a bad idea since Rockbox puts a slight but still non-zero CPU load even if doing nothing). Ironically, Rockbox is now the only way to get the exact battery level (at least I haven't found anything yet) on my phone :-) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27974 a1c6a512-1295-4272-9138-f99709370657
* Ged rid of uisimulator/common/io.c for android builds.Thomas Martitz2010-09-01
| | | | | | | | | | | Use host's functions for file i/o directly (open(), close() ,etc.), not the sim_* variants. Some dir functions need to be wrapped still because we need to cache the parents dir's path (host's dirent doesn't let us know). For the same reason (incompatibility) with host's dirent) detach some members from Rockbox' dirent struct and put it into an extra one, the values can be retrieved via the new dir_get_info(). Get rid of the sim_ prefix for sleep as well and change the signature to unix sleep(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27968 a1c6a512-1295-4272-9138-f99709370657
* Unify 32mb and 64mb ipod video builds - FS#11580Frank Gevaerts2010-08-31
| | | | | | | | Since memory on 32mb ipod videos is mapped twice, a 64mb build still has codecs and plugins mapped in a usable area. This means that all that needs to be done to support 32mb and 64mb boards with the same build is to adjust audiobufend to avoid using more than the actually present RAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27960 a1c6a512-1295-4272-9138-f99709370657
* include lcd.h , forgotten in r27957Rafaël Carré2010-08-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27958 a1c6a512-1295-4272-9138-f99709370657
* AMS: update the LCD on system exception to be sure the content is up to dateRafaël Carré2010-08-31
| | | | | | | Without this change the backlight would be enabled but the screen would show the last content displayed before the screen went off git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27957 a1c6a512-1295-4272-9138-f99709370657
* ipodvideo: detect ram size at boot (doesn't actually get USED yet)Torne Wuff2010-08-29
| | | | | | | | | This is the first step to allowing a single build which will work on any ipodvideo. A global variable, probed_ramsize, is initialised to either 32 or 64 early in boot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27937 a1c6a512-1295-4272-9138-f99709370657
* firmware/ : use lcd_putsf() (only in debug code)Rafaël Carré2010-08-28
| | | | | | | ata-meg-fx: use unsigned line number, so % (modulo) is optimized tcc7*: use proper printf format and remove casting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27935 a1c6a512-1295-4272-9138-f99709370657
* jz4740 debug: use lcd_putsf() instead of redefining itRafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27934 a1c6a512-1295-4272-9138-f99709370657
* AMSv2: remove a bunch of panicf() in SD driverRafaël Carré2010-08-28
| | | | | | | | | | The driver is stable so we can use error codes for debugging Fix 2 problems in error code path: - release sd mutex - release dma module when needed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27915 a1c6a512-1295-4272-9138-f99709370657
* tcc77x targets: various minor cleanupsBertrik Sikken2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27913 a1c6a512-1295-4272-9138-f99709370657
* Move to a proper sdl key config instead of using the d2 pad. make the mouse ↵Jonathan Gordon2010-08-26
| | | | | | wheel work, middle click is "select" and right click is "back" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27891 a1c6a512-1295-4272-9138-f99709370657
* typo in r27876Rafaël Carré2010-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27878 a1c6a512-1295-4272-9138-f99709370657
* usb-drv-as3525: only give physical addresses to USB HWRafaël Carré2010-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27877 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525*: use AS3525_PHYSICAL_ADDRRafaël Carré2010-08-25
| | | | | | | | fix DMA buffers when the src/dst is in IRAM It worked fine because all the buffers are in DRAM, and the virtual address happens to be the physical address git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27876 a1c6a512-1295-4272-9138-f99709370657
* mips is predefined by gcc, but we want it for paths. Don't let others fall ↵Thomas Martitz2010-08-24
| | | | | | into this trap again. Use __mips instead git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27872 a1c6a512-1295-4272-9138-f99709370657
* Implement WHEEL_ACCELERATION for Ipod mini 1G based on code for 1G/2G.Marcin Bukat2010-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27865 a1c6a512-1295-4272-9138-f99709370657
* Some Nano2G FTL cosmeticsMichael Sparmann2010-08-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27851 a1c6a512-1295-4272-9138-f99709370657
* iPod 1st Gen: Fix battery ADC not working due to the EABI compiler ↵Jens Arnold2010-08-20
| | | | | | optimizing the delay loops away. Use udelay() instead, not wasting CPU time when the CPU is not boosted. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27850 a1c6a512-1295-4272-9138-f99709370657
* Enable wheel acceleration and repeats for iPod 1st/2nd Gen, using the same ↵Jens Arnold2010-08-20
| | | | | | settings as on iPod 3rd Gen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27849 a1c6a512-1295-4272-9138-f99709370657
* Sansa AMSv2: don't prevent USB detection to work when rockbox USB stack is usedRafaël Carré2010-08-19
| | | | | | | (USB stack is not used by default) This makes debugging the USB driver easier git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27847 a1c6a512-1295-4272-9138-f99709370657
* Sansa AMSv2: enable PLLB and use it to generate a more accurate PCM ↵Bertrik Sikken2010-08-18
| | | | | | frequency (playback rate error improves from 1.1% to 0.04%) - FS #10906 by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27845 a1c6a512-1295-4272-9138-f99709370657
* Fix two rather annoying Nano2G FTL bugs: 1. Fix a null pointer ↵Michael Sparmann2010-08-17
| | | | | | dereference/write, 2. Make sure all error return codes are negative. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27841 a1c6a512-1295-4272-9138-f99709370657
* AMSv2: don't reboot on USB plugRafaël Carré2010-08-17
| | | | | | | | | | | | Users will have to reboot to OF manually or to power off, and then plug USB No message is displayed because usb_detect() is run from a tick This lacks documentation but should be OK for Unstable devices, and will hopefully prevent clueless users from opening their devices and breaking them definitely, instead of waiting for the battery to power off. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27837 a1c6a512-1295-4272-9138-f99709370657
* Android port: simplify sending touch events from Java->CMaurus Cuelenaere2010-08-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27833 a1c6a512-1295-4272-9138-f99709370657
* Android port: add support for hardware keysMaurus Cuelenaere2010-08-16
| | | | | | | * Forward Java KeyEvents to C layer and translate them to Rockbox BUTTON_*. * Add a basic Android keymap git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27832 a1c6a512-1295-4272-9138-f99709370657
* Move memset6() declaration to string-extra.h, kills a warning compiling for ↵Thomas Martitz2010-08-12
| | | | | | android since it ships a memory.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27789 a1c6a512-1295-4272-9138-f99709370657
* Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this ↵Thomas Martitz2010-08-12
| | | | | | and a bit further cleanup in main gets rid of a warning when compiling for android. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27788 a1c6a512-1295-4272-9138-f99709370657
* emBIOS backports part four: Add a lot of DEBUGF()s to the FTL code, and ↵Michael Sparmann2010-08-12
| | | | | | return proper error codes instead of panicing in a lot of error cases. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27783 a1c6a512-1295-4272-9138-f99709370657
* emBIOS backports part three: Make the NAND flash driver return more useful ↵Michael Sparmann2010-08-12
| | | | | | error codes if initialization fails. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27782 a1c6a512-1295-4272-9138-f99709370657
* emBIOS backports part two: Fix a stupid global variable *instantiation* in a ↵Michael Sparmann2010-08-12
| | | | | | header file, which might have caused all hell of trouble. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27781 a1c6a512-1295-4272-9138-f99709370657
* Fix red: Revert the const correctness part, which opened a can of worms.Michael Sparmann2010-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27780 a1c6a512-1295-4272-9138-f99709370657
* emBIOS backports part one: Fix an annoying race condition in the Synopsys ↵Michael Sparmann2010-08-12
| | | | | | OTG driver, and a bit of const correctness. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27779 a1c6a512-1295-4272-9138-f99709370657