summaryrefslogtreecommitdiff
path: root/firmware/export (follow)
Commit message (Collapse)AuthorAge
* usb_init_device(): move prototype to usb.hRafaël Carré2011-12-31
| | | | | | Get rid of some usb-target.h files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31487 a1c6a512-1295-4272-9138-f99709370657
* Fix simulator reds.Thomas Martitz2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31474 a1c6a512-1295-4272-9138-f99709370657
* ypr0: Enable battery voltage read-out, charging monitoring and charger ↵Thomas Martitz2011-12-31
| | | | | | | | | | | | | | detection. Voltage can be read using as3543 adc (i.e. ascodec api, on this target implemented via ioctl()). TODO: Look into possibly controlling charging more by re-using powermgmt-ascodec.c. However, charging seems to be controlled by the kernel, so may not be needed. Charger state can be read using /dev/minivet. It allows to differentiate between wall charger and usb charging, but that's not implemented (is it even worthwhile?) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31470 a1c6a512-1295-4272-9138-f99709370657
* RDS: Use a define that doesn't imply any particular hardware dependency.Michael Sevakis2011-12-29
| | | | | | | | Theoretically, anything with the capability could implement the decoding action in an ISR on any radio chip supporting RDS. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31464 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Update RDS processing to use asynchronous I2C rather than thread.Michael Sevakis2011-12-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31462 a1c6a512-1295-4272-9138-f99709370657
* Option to restart running sleep timer on keypress.Nick Peskett2011-12-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31437 a1c6a512-1295-4272-9138-f99709370657
* Unify a bit.Thomas Martitz2011-12-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31431 a1c6a512-1295-4272-9138-f99709370657
* rbpaths: Add new special dir HOME_DIR for RaaA.Thomas Martitz2011-12-25
| | | | | | | | | | | | | | HOME_DIR is intended for not-so-advanced files which shall be user visible, and thus not in /.rockbox. Therefore HOME_DIR is translated to $HOME on RaaA, /sdcard on android, the internal memory on ypr0 and "/" on native targets. ROCKBOX_DIR ("/.rockbox") already existed as special and is translated to whatever the real rockbox dir is on the target (e.g. /sdcard/rockbox on android), but it's not suitable for some files we generate (e.g. battery-bench.txt). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31430 a1c6a512-1295-4272-9138-f99709370657
* ypr0: Remove last #ifdef in as3514.Thomas Martitz2011-12-25
| | | | | | | It's now using completely the same driver as Sansa daps. This also increases the volume range. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31428 a1c6a512-1295-4272-9138-f99709370657
* imx233/fuze+: implement power management(battery charger), add powermgmt ↵Amaury Pouly2011-12-24
| | | | | | debug info, add power debug info, move target specific powermgmt code to its own files, remove auto-slow setup which was forgotten for debugging git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31424 a1c6a512-1295-4272-9138-f99709370657
* Update config.h for the previous commit.Thomas Martitz2011-12-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31419 a1c6a512-1295-4272-9138-f99709370657
* ypr0: Rename ypr0.h to match naming scheme.Thomas Martitz2011-12-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31418 a1c6a512-1295-4272-9138-f99709370657
* Fix reds.Thomas Martitz2011-12-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31416 a1c6a512-1295-4272-9138-f99709370657
* Initial commit of the Samsung YP-R0 port.Thomas Martitz2011-12-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This port is a hybrid native/RaaA port. It runs on a embedded linux system, but is the only application. It therefore can implement lots of stuff that native targets also implement, while leveraging the underlying linux kernel. The port is quite advanced. User interface, audio playback, plugins work mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page). Included in utils/ypr0tools are scripts and programs required to generate a patched firmware. The patched firmware has the rootfs modified to load Rockbox. It includes a early/safe USB mode. This port needs a new toolchain, one that includes glibc headers and libraries. rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may also work. Most of the initial effort is done by Lorenzo Miori and others (on ABI), including reverse engineering and patching of the original firmware, initial drivers, and more. Big thanks to you. Flyspray: FS#12348 Author: Lorenzo Miori, myself Merry christmas to ypr0 owners! :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
* Remove obsolete empty IRAM defines from the sansa m200v4 config file.Andree Buschmann2011-12-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31371 a1c6a512-1295-4272-9138-f99709370657
* Add more INIT_ATTR and add config.h includes to header files with INIT_ATTR.Boris Gjenero2011-12-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31370 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: PMIC SPI improvement and bugfixes.Michael Sevakis2011-12-18
| | | | | | | | | | | | | | | | Nick some aspects from the as3525 ascodec driver to improve throughput in the beast's SPI communications by switching tranfer descriptors to the caller's stack and getting rid of thread synchronization. Fix a bug that suddenly became obvious that could permanently stall the SPI driver because all data could be shifted out before the interrupt could get serviced. In that case, it needs a kick to restart it. Should probably put the SPI interrupt priority above DVFS. A tweak to the event registration interface to simplify it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31353 a1c6a512-1295-4272-9138-f99709370657
* FS#12370: Initial RDS support for Si4701/Si4703 tuner (beast and clip zip)Bertrik Sikken2011-12-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31346 a1c6a512-1295-4272-9138-f99709370657
* Commit to certain names for cache coherency APIs and discard the aliases.Michael Sevakis2011-12-17
| | | | | | | Wouldn't surprise me a bit to get some non-green. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31339 a1c6a512-1295-4272-9138-f99709370657
* Oops. Left some bits I didn't want to keep.Michael Sevakis2011-12-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31336 a1c6a512-1295-4272-9138-f99709370657
* Convert remaining memframe LCDs that can be convert to common code.Michael Sevakis2011-12-16
| | | | | | | | | | | Massage the way it interfaces a bit to make things more flexible. The chroma_buf scheme on Sansa Connect and Creative ZVx calling the lcd_write_yuv420_lines implementation in lcd-as-memframe.S with five params with a chroma buffer that the function can't use wouldn't work anyway so just have them use the stock implementation (really, how was that working?). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31335 a1c6a512-1295-4272-9138-f99709370657
* There's not much to be shared between gigabeatf and gigabeats lcd codeRafaël Carré2011-12-15
| | | | | | Give the gigabeats a new lcd type git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31290 a1c6a512-1295-4272-9138-f99709370657
* Fix debug compilation of enc_base.h: define H_TO_BE32 as htobe32Amaury Pouly2011-12-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31271 a1c6a512-1295-4272-9138-f99709370657
* Add support for for per-drive logical sector size. This allows targets to ↵Amaury Pouly2011-12-15
| | | | | | have a different logical sector size for the internal storage and the sd card, like on the fuze+ for example. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31270 a1c6a512-1295-4272-9138-f99709370657
* imx233/fuze+: add support for sd card, enable FAT16 support because it's ↵Amaury Pouly2011-12-15
| | | | | | common on sd cards git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31268 a1c6a512-1295-4272-9138-f99709370657
* Simplify and neaten-up usb.c a bit. USB_INSERTED and USB_EXTRACTED are ↵Michael Sevakis2011-12-15
| | | | | | always used as events to indicate cable state. USB_HOSTED is posted to indicated that a host was detected. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31263 a1c6a512-1295-4272-9138-f99709370657
* FS#12378 : Remove various unused code, and comment out some unused code and ↵Boris Gjenero2011-12-14
| | | | | | data for reference or future use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31256 a1c6a512-1295-4272-9138-f99709370657
* Sansa AMSv2: enable usb storage in bootloaderRafaël Carré2011-12-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31249 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#12237 (caused by r30302) where centered skin text isnt eqactly centeredJonathan Gordon2011-12-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31246 a1c6a512-1295-4272-9138-f99709370657
* usb-drv-as3525v2.c: simplify a lotRafaël Carré2011-12-13
| | | | | | code, especially init sequence, is much more similar to usb-s3c6400x.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31231 a1c6a512-1295-4272-9138-f99709370657
* AMSv2: enable USBRafaël Carré2011-12-13
| | | | | | This will help debugging, and can be disabled for releases if needed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31226 a1c6a512-1295-4272-9138-f99709370657
* usb-s3c6400: merge DIEP* and DOEP* in a macro with an extra parameterRafaël Carré2011-12-13
| | | | | | minor cosmetics / simplification git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31224 a1c6a512-1295-4272-9138-f99709370657
* s5l870x: use usb-s3c6400 definesRafaël Carré2011-12-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31223 a1c6a512-1295-4272-9138-f99709370657
* Move usb-s3c6400 register comments to usb-s3c6400.hRafaël Carré2011-12-13
| | | | | | | | Use common defines in usb-s3c6400.c and usb-drv-as3525v2.c No functional changes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31220 a1c6a512-1295-4272-9138-f99709370657
* AMS(v2): fix system_reboot by re-enabling the internal ROM clock just before ↵Bertrik Sikken2011-12-10
| | | | | | rebooting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31196 a1c6a512-1295-4272-9138-f99709370657
* Nokia N900: Increase the number of samples for the software mixerThomas Jarosch2011-12-09
| | | | | | This lowers the CPU usage back to normal by around 15%. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31191 a1c6a512-1295-4272-9138-f99709370657
* Add STORAGE_INIT_ATTR to some target-specific ATA functions.Boris Gjenero2011-12-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31186 a1c6a512-1295-4272-9138-f99709370657
* Move the PCMREC_E/W_* defines back to pcm_record.h because they're part of ↵Michael Sevakis2011-12-08
| | | | | | the recording engine interface. Leave the low-level DMA error defines in pcm.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31184 a1c6a512-1295-4272-9138-f99709370657
* FS#12418 - Merge prototypes from ata-target.h files into new file ↵Boris Gjenero2011-12-08
| | | | | | | | | | | ata-driver.h. After this change: - ata.h is for users of ata.c - ata-driver.h is for functions implemented by target-specific code and used by ata.c - ata-target.h is for target-specific defines git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31182 a1c6a512-1295-4272-9138-f99709370657
* AS3525v1/v2:Michael Sevakis2011-12-08
| | | | | | | | | | | | | | | | | | Fix problems with volume of recorded material by converting 14-bit samples to 16-bit. Remove duplicate samples from recorded data and support proper samplerate since ADC runs 1/2 the codec clock. Support monitoring mono on both output channels by feeding data manually to I2SOUT under the right conditions. DMA is no longer used for recording since frames must be processed as described above but it does allow full-duplex audio. Miscellaneous change includes a proper constant (HW_SAMPR_DEFAULT) to reset the hardware samplerate when recording is closed. PP5024 and AS3525 have different default recording rates (22kHz and 44kHz respectively) but both have half-speed ADC. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31180 a1c6a512-1295-4272-9138-f99709370657
* Use a macro for aligning PCM chunks instead of explictly coding it each time.Michael Sevakis2011-12-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31152 a1c6a512-1295-4272-9138-f99709370657
* Sansa Connect: Revise codec initialization/shutdown.Tomasz Moń2011-12-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31149 a1c6a512-1295-4272-9138-f99709370657
* Collect the 16-bit signed range sample clipping routines scattered about, ↵Michael Sevakis2011-12-04
| | | | | | which can be optimized on armv6 and create firmware/export/dsp-util.h (for lack of better place right now). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31142 a1c6a512-1295-4272-9138-f99709370657
* Power management is to be kept in target tree due to being target specific.Tomasz Moń2011-12-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31136 a1c6a512-1295-4272-9138-f99709370657
* Sansa Connect: Add TPS65021 (Power Management) driver.Tomasz Moń2011-12-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31135 a1c6a512-1295-4272-9138-f99709370657
* fuze+: update keymap and touchpad driver based on FS#12405 with minor ↵Amaury Pouly2011-11-30
| | | | | | modifications. Thanks to Jean-Louis Biasini. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31098 a1c6a512-1295-4272-9138-f99709370657
* glyph_cache_save should be staticFrank Gevaerts2011-11-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31073 a1c6a512-1295-4272-9138-f99709370657
* AMSv2: remove stray ; from USB_DEVBSS_ATTRRafaël Carré2011-11-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31064 a1c6a512-1295-4272-9138-f99709370657
* FS#12378 : Removal of Archos HWCODEC unused code and data. Several large ↵Boris Gjenero2011-11-22
| | | | | | hardware-specific functions are kept for reference or future use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31043 a1c6a512-1295-4272-9138-f99709370657
* Add INIT_ATTR to storage_init() when possibleRafaël Carré2011-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31036 a1c6a512-1295-4272-9138-f99709370657