summaryrefslogtreecommitdiff
path: root/firmware/target
AgeCommit message (Collapse)Author
2011-05-03AMSv2 USB: Write usb_delay() in assemblyRafaël Carré
Ensure no changes when we use different versions of gcc (USB used to panic with gcc 4.6.0) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29818 a1c6a512-1295-4272-9138-f99709370657
2011-05-02fuze+: use mdelay and not udelay in lcd sequencesAmaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29816 a1c6a512-1295-4272-9138-f99709370657
2011-05-01Sansa Fuze+: initial commit (bootloader only, LCD basically working)Amaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29808 a1c6a512-1295-4272-9138-f99709370657
2011-04-23Split off target-specific parts from firmware/drivers/serial.cBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29768 a1c6a512-1295-4272-9138-f99709370657
2011-04-22ipod6g: make functions and variables static where possibleBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29767 a1c6a512-1295-4272-9138-f99709370657
2011-04-22Fix issues with iPod nano 2G displays reported on the forums. The voltage ↵Andree Buschmann
supply seems to be too low for several LCDs. The buzz of the display is still significantly lower than with OF. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29764 a1c6a512-1295-4272-9138-f99709370657
2011-04-18AMS: consistently use bitclr32/bitset32/bitmod32 for register CCU_IO ↵Bertrik Sikken
(instead of using |= or &= ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29748 a1c6a512-1295-4272-9138-f99709370657
2011-04-18AMSv1 sd: work-around for detection problem with some sd cards (delay after ↵Bertrik Sikken
switching to high-speed) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29746 a1c6a512-1295-4272-9138-f99709370657
2011-04-16Define LCD dpi for n900, n8xx and the pandoraThomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29728 a1c6a512-1295-4272-9138-f99709370657
2011-04-09AMS sd: use defines instead of direct values for drive numberBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29696 a1c6a512-1295-4272-9138-f99709370657
2011-04-08Sansa Clip v2: there's no need to use |= or &= to manipulate a GPIO for the ↵Bertrik Sikken
button light git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29695 a1c6a512-1295-4272-9138-f99709370657
2011-04-02Sansa clip+: do not set GPIO B7 in the display driver, it's already used for ↵Bertrik Sikken
FM radio I2C git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29668 a1c6a512-1295-4272-9138-f99709370657
2011-04-01AMSv2: fix dependency between button light and sd card control for fuze v2 ↵Bertrik Sikken
variant 0 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29667 a1c6a512-1295-4272-9138-f99709370657
2011-03-29AMSv2 sd: do not try to switch sd cards into high-speed mode.Bertrik Sikken
High-speed mode is only half implemented (sd controller still uses normal speed) and causes card detection problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29660 a1c6a512-1295-4272-9138-f99709370657
2011-03-28AMSv2 sd: correct CLKENA settings (to stop sd clock when idle) for AMSv2 ↵Bertrik Sikken
variant 1 players git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29657 a1c6a512-1295-4272-9138-f99709370657
2011-03-28AMSv2 sd: do sd slot switching with GPIO B5 only for AMSv2 variant 1Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29656 a1c6a512-1295-4272-9138-f99709370657
2011-03-26AMSv2 SD: use INTERNAL_AS3525 and SD_SLOT_AS3525 defines instead of a direct ↵Bertrik Sikken
value git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29652 a1c6a512-1295-4272-9138-f99709370657
2011-03-26AMSv2 SD: wait for response to command SD_STOP_TRANSMISSION instead of ↵Bertrik Sikken
ignoring the response git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29651 a1c6a512-1295-4272-9138-f99709370657
2011-03-26AMSv2 SD: reorganise code to select 4-bit mode data transfer mode a bit and ↵Bertrik Sikken
add comments git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29648 a1c6a512-1295-4272-9138-f99709370657
2011-03-26AMSv2 SD: sd card communication speed can be changed back to full speed ↵Bertrik Sikken
after CMD3 (SEND_RCA) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29647 a1c6a512-1295-4272-9138-f99709370657
2011-03-24iPod Classic storage driver: Fix some implicit casts, typos, ...Michael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29640 a1c6a512-1295-4272-9138-f99709370657
2011-03-24fix warning, use unsigned variableRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29638 a1c6a512-1295-4272-9138-f99709370657
2011-03-24SD AMSv2: fix r29625Rafaël Carré
The number of blocks could have been checked while the card was not initialized yet. See FS#11870 for details git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29637 a1c6a512-1295-4272-9138-f99709370657
2011-03-21AMSv2 SD: send 80 idle clocks before sending initial CMD0 (go idle state)Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29630 a1c6a512-1295-4272-9138-f99709370657
2011-03-21AMSv2 SD: receive sd card command responses during initialisation instead of ↵Bertrik Sikken
ignoring them git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29629 a1c6a512-1295-4272-9138-f99709370657
2011-03-21AMSv2 SD: wait for previous data transfer completion before sending a commandBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29628 a1c6a512-1295-4272-9138-f99709370657
2011-03-21AMSv2 SD: use a sleep instead of a udelay for 100 ms delayBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29627 a1c6a512-1295-4272-9138-f99709370657
2011-03-20SD AMSv2: fix r29169Rafaël Carré
Restore access to the last AMS_OF_SIZE == 0xF000 sectors of internal drive Mostly visible when using USB (or database?) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29625 a1c6a512-1295-4272-9138-f99709370657
2011-03-20SD amsv2: remove double assignementRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29624 a1c6a512-1295-4272-9138-f99709370657
2011-03-20Add another delay in the AMSv2 sd controller driver as a work-around for SD ↵Bertrik Sikken
initialisation problems, see FS#11870 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29619 a1c6a512-1295-4272-9138-f99709370657
2011-03-16Android: Implement app shutdown and thus, sleep timer.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29602 a1c6a512-1295-4272-9138-f99709370657
2011-03-16Android: Partly revert r29569 and only call the new getJavaEnvironment() ↵Thomas Martitz
when needed. The environment is fine to share in general, just not across OS threads, so it's only needed for functions which are possibly called from multiple OS threads (only 1 currently). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29601 a1c6a512-1295-4272-9138-f99709370657
2011-03-14Listen to and follow external Android volume changes. (Based on FS#11914 by ↵Björn Stenberg
Maurus Cuelenaere) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29586 a1c6a512-1295-4272-9138-f99709370657
2011-03-12Android: allocate native_buffer locally, which does away with the need to holdMaurus Cuelenaere
a global reference to it (fixes bug). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29576 a1c6a512-1295-4272-9138-f99709370657
2011-03-11Android: Switch to pthread_cond+SIGEV_THREAD for tick task handling.Thomas Martitz
The implementation wasn't really safe (sem_post from signal handler), and the new one simplifies things a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29575 a1c6a512-1295-4272-9138-f99709370657
2011-03-11Create GlobalRef in surfaceCreated, in accordance to r29572.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29574 a1c6a512-1295-4272-9138-f99709370657
2011-03-11Android: delete the global reference in surfaceDestroyedMaurus Cuelenaere
This gets rid of the lcd_deinit() boilerplate. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29572 a1c6a512-1295-4272-9138-f99709370657
2011-03-11Android: no need to keep RockboxPCM_class aroundMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29571 a1c6a512-1295-4272-9138-f99709370657
2011-03-11Partly revert "Android: use NewGlobalRef for references that are used globally"Maurus Cuelenaere
The added complexity wasn't needed for most subsystems, as main() never returns so local references can't be freed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29570 a1c6a512-1295-4272-9138-f99709370657
2011-03-11Android: Don't share the JNI environment across threads, but obtain it theMaurus Cuelenaere
correct way git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29569 a1c6a512-1295-4272-9138-f99709370657
2011-03-11Android: use NewGlobalRef for references that are used globallyMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29568 a1c6a512-1295-4272-9138-f99709370657
2011-03-10Enable volume keys in Android.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29559 a1c6a512-1295-4272-9138-f99709370657
2011-03-08Return -1 for not implemented RTC functions.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29546 a1c6a512-1295-4272-9138-f99709370657
2011-03-08RaaA: Add RTC supportThomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29544 a1c6a512-1295-4272-9138-f99709370657
2011-03-08Bring idle poweroff to RaaA and the simThomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29543 a1c6a512-1295-4272-9138-f99709370657
2011-03-05Android: Fix black display after unzipping libmisc.so.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29527 a1c6a512-1295-4272-9138-f99709370657
2011-03-05Change the thread api a bit.Thomas Martitz
* Remove THREAD_ID_CURRENT macro in favor of a thread_self() function, this allows thread functions to be simpler. * thread_self_entry() shortcut for kernel.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29521 a1c6a512-1295-4272-9138-f99709370657
2011-03-05Add rockbox copyright header with proper credits for kugelThomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29517 a1c6a512-1295-4272-9138-f99709370657
2011-03-05Add svn:keywords to firmware/target/hosted source filesThomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29516 a1c6a512-1295-4272-9138-f99709370657
2011-03-03Fix compilation issues for sdl when HAVE_BUTTON_DATA is not definedFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29511 a1c6a512-1295-4272-9138-f99709370657