summaryrefslogtreecommitdiff
path: root/firmware/target
AgeCommit message (Collapse)Author
2010-06-18sd-as3525: enable writing, sd_enable() and card_get_info_target() in bootloaderRafaël Carré
They will be needed for USB git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26904 a1c6a512-1295-4272-9138-f99709370657
2010-06-18usb-drv-as3525: use udelay() and not a C busy loopRafaël Carré
Remove redundant "? true : false" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26903 a1c6a512-1295-4272-9138-f99709370657
2010-06-18usb-drv-as3525: build with LOGF_ENABLE undefinedRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26902 a1c6a512-1295-4272-9138-f99709370657
2010-06-17Switch iPod 3G to use EABI toolchain. Make necessary threading changes to ↵Michael Sevakis
avoid use of stack after switching to idle stack. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26898 a1c6a512-1295-4272-9138-f99709370657
2010-06-17sd-as3525 was calling dma_release() without calling dma_retain() first, ifTobias Diedrich
no card is in the sd slot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26896 a1c6a512-1295-4272-9138-f99709370657
2010-06-17Either the removal of the unneeded flush or the additional epn_info setupTobias Diedrich
has made it more reliable. It seems to basically work now, but somehow when Linux tries to read the partition table and it gets the "scsi read10" command, the storage_read_sectors(drive=0, start=0, count=8) call never returns... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26894 a1c6a512-1295-4272-9138-f99709370657
2010-06-17Make sure files which aren't windows-specific use \n line endings onlyRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26893 a1c6a512-1295-4272-9138-f99709370657
2010-06-16Re-write the Telechips I2C delay routine in assembler to stop the compiler ↵Rob Purchase
optimising it away. Tested with EABI and non-EABI compilers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26872 a1c6a512-1295-4272-9138-f99709370657
2010-06-16The mystery FM chip in some Sansa Clip+ players has been identified as a ↵Bertrik Sikken
RDA5802, so rename files and functions. Also fix several bugs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26871 a1c6a512-1295-4272-9138-f99709370657
2010-06-16FS#11402 by me : sd_enable for Sansa AMSv2Rafaël Carré
Gets a bit more battery life Adjust current usage, it was a bit too low for Clipv2/Clip+ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26866 a1c6a512-1295-4272-9138-f99709370657
2010-06-15Support for mystery FM chip in some Sansa Clip+, FS #11403 by meBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26864 a1c6a512-1295-4272-9138-f99709370657
2010-06-15SDL target: remove mouse polling and replace it with an event-based ↵Maurus Cuelenaere
mechanism, this makes touchscreen on the sim much smoother git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26860 a1c6a512-1295-4272-9138-f99709370657
2010-06-15HD200 - use line transfers in lcd_grey_data. This gives ~25% speedup.Marcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26856 a1c6a512-1295-4272-9138-f99709370657
2010-06-14cowond2: make sure the i2c delay loop code is actually generated by the eabi ↵Amaury Pouly
compiler. This fix adds one nop instruction per loop (there were 3 before) and so i2c will be slightly slower, but this hardly a problem. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26850 a1c6a512-1295-4272-9138-f99709370657
2010-06-14HD200 - make USB bridge handling more correctMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26843 a1c6a512-1295-4272-9138-f99709370657
2010-06-13cowond2: make the code consistent with the comments and really clear the bitsRafaël Carré
Untested on target git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26832 a1c6a512-1295-4272-9138-f99709370657
2010-06-12__div0: give the address of the instruction calling division to UIERafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26820 a1c6a512-1295-4272-9138-f99709370657
2010-06-12ARM: __div0() takes no argumentRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26819 a1c6a512-1295-4272-9138-f99709370657
2010-06-12Sansa AMS: call the exception handler with the correct address when the ↵Rafaël Carré
exception happened in Thumb state git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26818 a1c6a512-1295-4272-9138-f99709370657
2010-06-12usb-as3535v2: add more defines, reorganize/simplify things, add code for ↵Amaury Pouly
interrupt handling git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26810 a1c6a512-1295-4272-9138-f99709370657
2010-06-11Port greylib blitting optimisation to MPIO HD200. ISR speedup is ~10%; ↵Jens Arnold
further speedup should be possible by using line transfers for accessing the greylib buffers. Thanks to Marcin Bukat for testing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26793 a1c6a512-1295-4272-9138-f99709370657
2010-06-11Remove an unneccessary long call from the S5L8700 PCM FIQ handlerMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26781 a1c6a512-1295-4272-9138-f99709370657
2010-06-11Configure Gigabeat S with EABI compiler by default. Implement the INIT ↵Michael Sevakis
section that this enables (due to selective need for long calls). Remove pcm_postinit from INIT section since it's asynchronous. Disable strict aliasing on SPC codec for now just to shut it up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26779 a1c6a512-1295-4272-9138-f99709370657
2010-06-11pcm as3525v1: revert 26761 to use faster ASM codeRafaël Carré
Fix the asm constraints to mark the left output variable as earlyclobber Thanks to amiconn git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26777 a1c6a512-1295-4272-9138-f99709370657
2010-06-11s5l8700 PCM: Always call dma_callback. (fix r26253 remnants)Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26775 a1c6a512-1295-4272-9138-f99709370657
2010-06-11ata-creative-zvm: make sure return value is definedRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26771 a1c6a512-1295-4272-9138-f99709370657
2010-06-11HD200 - clean up usb related functionsMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26768 a1c6a512-1295-4272-9138-f99709370657
2010-06-11HD200 - power_init() rework based on latest power consumption measurementsMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26767 a1c6a512-1295-4272-9138-f99709370657
2010-06-11HD200 - small cleanup in button_init_device()Marcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26766 a1c6a512-1295-4272-9138-f99709370657
2010-06-11pcm-pp: revert r26756Rafaël Carré
FIQ/IRQ handlers can't be built with -mthumb, and the thumb case was buggy anyway (spotted by jhMikeS) : pc offset hadn't been adjusted git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26765 a1c6a512-1295-4272-9138-f99709370657
2010-06-11as3525v1: drop the asm version of mono2stereoRafaël Carré
When building with eabi gcc, 2 variables are assigned the same register This might be a bug in the constraints, but it's just simpler to use C, even at the cost of 1 cycle per loop git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26761 a1c6a512-1295-4272-9138-f99709370657
2010-06-11FS#11335 by me: make ARM assembly functions thumb-friendlyRafaël Carré
We can't pop into pc on ARMv4t when using thumb: the T bit won't be modified if we are returning to a thumb function Code running on ARMv4t should use the new ldrpc / ldmpc macros instead of ldr pc, [sp], #4 and ldm(cond) sp!, {regs, pc} No modification on pure ARM builds and ARMv5+ Note: USE_THUMB is currently never defined, no targets can currently be built with -mthumb, see FS#6734 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26756 a1c6a512-1295-4272-9138-f99709370657
2010-06-11arm/memset: don't use ldm to load pc when it has been stored with strRafaël Carré
It looks nicer to keep str/ldr and stm/ldm in pairs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26754 a1c6a512-1295-4272-9138-f99709370657
2010-06-10Clean unused stuff out of thread.h and config.h and reorganize thread-pp.c ↵Michael Sevakis
to simplify the preprocessor blocks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26743 a1c6a512-1295-4272-9138-f99709370657
2010-06-09meizu m6sl: load code from IRAM, not FLASH (it eases debugging)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26730 a1c6a512-1295-4272-9138-f99709370657
2010-06-08arm/crt0.S: s58l* don't use this file, no need for 'DFUC' stringRafaël Carré
adjust vectors offsets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26709 a1c6a512-1295-4272-9138-f99709370657
2010-06-08make meizu-m6sl bootloader buildRafaël Carré
assume 512 bytes sector size as reported by dmesg git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26700 a1c6a512-1295-4272-9138-f99709370657
2010-06-08HD200 - fix lcd power save command (not used currently)Marcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26684 a1c6a512-1295-4272-9138-f99709370657
2010-06-07Fix byte order for Mini G2, and fix comments.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26675 a1c6a512-1295-4272-9138-f99709370657
2010-06-07as3525v1: fix r26444 which broke mic recordingRafaël Carré
preventing the DMA callback to advance in the recording buffer is not enough in pcm_rec_dma_get_peak_buffer() we need to prevent it interrupting us while we are copying the left channel data into the right channel git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26663 a1c6a512-1295-4272-9138-f99709370657
2010-06-06Use atomic GPIO manipulation where appropriate.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26632 a1c6a512-1295-4272-9138-f99709370657
2010-06-06sd-as3525v2: check the (supposedly) card data line for business when writingRafaël Carré
Fix panics when deleting large files from µSD Tested on problematic Transcend 4GB Class 6 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26631 a1c6a512-1295-4272-9138-f99709370657
2010-06-06Remove card_enable_monitoring() and use a mutex instead. The ↵Frank Gevaerts
card_enable_monitoring() method actually didn't eliminate the possible race conditions it was meant to fix. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26627 a1c6a512-1295-4272-9138-f99709370657
2010-06-06USB charging support for iPods.Torne Wuff
This adds proper full speed charging support for iPod 4G, Color, Mini 1G, Mini 2G, Nano 1G, and Video. Nano 2G already has support, so now all ipods charge (except 1G-3G whose hardware doesn't support USB charging). USB charging defaults to on, but will only charge at full speed from a USB host. To charge from an AC charger, you need to set the USB charging mode to "force". It may be possible to detect AC chargers in a future version, at least on some models. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26626 a1c6a512-1295-4272-9138-f99709370657
2010-06-06Fix most reds, I have no idea what's wrong with the gigabeats (yet).Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26619 a1c6a512-1295-4272-9138-f99709370657
2010-06-06Move target-simulating specific keymaps out of button-sdl.c into a file perThomas Martitz
keypad. Copyright is restored for each keymap according to git blame. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26615 a1c6a512-1295-4272-9138-f99709370657
2010-06-05remane hotswap.* to sdmmc.*. The contents have nothing at all to do with ↵Frank Gevaerts
hotswapping things git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26598 a1c6a512-1295-4272-9138-f99709370657
2010-06-05Mini2440: Fix simulator. It's touchscreen so there's button clashes when ↵Thomas Martitz
trying to map the 6 hw buttons as well. Just remove that for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26590 a1c6a512-1295-4272-9138-f99709370657
2010-06-05Move delay a bit in dbop_read_input for ams sansa targets using the DBOP ↵Bertrik Sikken
port for button readout git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26585 a1c6a512-1295-4272-9138-f99709370657
2010-06-05Implement backlight brightness for iPod G4 greyscale and iPod Color/Photo.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26573 a1c6a512-1295-4272-9138-f99709370657