summaryrefslogtreecommitdiff
path: root/firmware/export (follow)
Commit message (Collapse)AuthorAge
* Fix red and remove duplicated function declarationSebastian Leonhardt2019-02-08
| | | | Change-Id: I5fed7fdad077eedfc1e36fbd9e1669f11b90288d
* Add YH820 current usage for runtime estimationSebastian Leonhardt2019-02-07
| | | | Change-Id: If50d7e6db3077853dfba438d9765cdb3513f2910
* Fix lcd not waking up when backlight is always offSebastian Leonhardt2019-02-07
| | | | | | | | | This patch is relevant for targets with a transflective display. If the backlight was set to "always off" (e.g. to use the lcd in a pure passive way), and the sleep timer ran off, the LCD would stay disabled and didn't wake up when a button is pressed. Change-Id: I0a157c7f421d9fc4c7d8ba903f2cf93f6cef51d0
* YH820: implement LCD sleepSebastian Leonhardt2019-02-07
| | | | | | use sleep setting to keep transflective LCD active without backlight Change-Id: Iccd97e956d5e4a2a22abc90d15e9123782126ecb
* Add HAVE_LINEOUT_DETECTION and associated logicSolomon Peachy2019-01-04
| | | | | | | | | This allows targets to automatically switch audio settings when the line out is plugged/unplugged. Only hooked up on the xDuoo X3, but there are other potential users. Change-Id: Ic46a329bc955cca2e2ad0335ca16295eab24ad59
* Add Xuelin iHIFI 770/770C/800 supportSolomon Peachy2019-01-02
| | | | | | | Taken from the xvortex fork (Roman Stolyarov) Ported, rebased, and cleaned up by myself. Change-Id: I7b2bca2d29502f2e4544e42f3d122786dd4b7978
* Fix Xduoo X3 bootloader build, and silence all warnings.Solomon Peachy2019-01-02
| | | | | | Also enable USB bootloader mode Change-Id: I73224c2e694b9941993c89a114b48d2a907e0dfb
* FS#7814 - Enable RTC Alarms on H300, X5, and M5Solomon Peachy2018-12-25
| | | | | | | | Original patch by Alexander Spyridakis Modified by Steve Bavin and Igor Poretsky Keymap fixes by Marianne Arnold Change-Id: I5a252d97d2b05c533e048931f7354f4261f76499
* Auto-Ranging Time Formatting For Menus (hh:mm:ss:mss)William Wilgus2018-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unifies time formatting in settings_list.c allows time format to display as HH:MM:SS.MSS or any consecutive combination thereof (hh:mm:ss, mm:ss, mm:ss.mss, ss.mss, hh, mm, ss ,mss) works in INT and TABLE settings with the addition of flag 'F_TIME_SETTING' Time is auto-ranged dependent on value Adds talk_time_intervals to allow time values to be spoken similar to display format: x Hours, x Minutes, x Seconds, x Milliseconds Table lookups merged or removed from recording, clip meter and lcd timeout -String_Choice replaced with TABLE_SETTING or INT_SETTING for these functions as well, cleaned-up cfg_vals that get saved to cfgfile RTL Languages ARE supported Negative values ARE supported Backlight on/off are now Always and Never to share formatter with LCD Timeout Added flag to allow ranged units to be locked to a minimum index Added flag to allow leading zero to be supressed from the largest unit merged talk_time_unit() and talk_time_intervals() optimized time_split() optimized format_time_auto() Backlight time-out list same as original Change-Id: I59027c62d3f2956bd16fdcc1a48b2ac32c084abd
* More keymap refinementsMarcin Bukat2018-12-06
| | | | Change-Id: If3ae6ece7848b143088d5f9ec8c00ed593d59ed2
* debug: Wrap rb_backtrace with HAVE_RB_BACKTRACE instead of CPU_ARMSolomon Peachy2018-11-09
| | | | | | Basically, preparation for a non-ARM backtrace support. Change-Id: Icfd09fbc65a98f859e2a19f8d1111827a262a969
* jz4760: Greatly enhance debug code and silence some compilation warnings.Solomon Peachy2018-09-20
| | | | Change-Id: I1746d67c818ad099edea83e6242ffd5c79be0000
* Get rid of the last remnants of HAVE_FUNCTIONAL_MODESolomon Peachy2018-09-20
| | | | | Change-Id: I4f9339019884aceedc8c9d0ab779a2e32ace0288 Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
* Xduoo_X3: Update target configurationSolomon Peachy2018-09-20
| | | | Change-Id: Ibc6b204357524550a0d6fa917e7d074ec2e52773
* Revert "As3525 v1/v2 Add power savings menu"William Wilgus2018-07-28
| | | | | | This reverts commit 6f0320a9535bc1aa81d83fa879ac14d5ee603658. Change-Id: I7425d422a4a0af7a49e9194cfe0bb55d431bc401
* Revert "Fix Red on PowerSave in Simulator"William Wilgus2018-07-28
| | | | | | This reverts commit 568b81202ebd24a3f7e9efe0558b5f6beed05b44. Change-Id: I2af42cd53d0ce490bf96c68288e9fbde034c0069
* Add cleaned-up xDuoo X3 supportSolomon Peachy2018-07-28
| | | | | | | | | Cleaned up, rebased, and forward-ported from the xvortex fork. (original credit to vsoftster@gmail.com) Change-Id: Ibcc023a0271ea81e901450a88317708c2683236d Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
* Fix scroll_engine truncationWilliam Wilgus2018-07-28
| | | | | | fix one off error Change-Id: I9b3b23c9f6c36107e73e511d8cb1bc5cd987e765
* Fix Red on PowerSave in SimulatorWilliam Wilgus2018-07-28
| | | | Change-Id: Ic5d9de230efceabc2c428e5c78fa6596a5a34840
* As3525 v1/v2 Add power savings menuWilliam Wilgus2018-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow user to select cpu undervolt There have been quite a few issues across the SANSA AMS line related to CPU undervolting while most players show greatly increased runtime some crash. Rather than constanly upping the voltage we now have a setting with a safe value for all players and the option for lower voltages I plan to add a few other options here later such as disk timings and maybe some other clocks/experimental settings Added: Disk Low speed option for AS3525v2 devices cuts frequency to 12 MHz from 24 MHz Added: Disk Low speed option for AS3525v1 devices cuts frequency to 15.5 MHz from 31 MHz Added: I2c Low Speed AS3525 devices, should be bigger improvement for v1 devices Fixed: Debug menu for AS3525v2 No SDSLOT frequency, Showed IDE freq though it is unused Added: DBOP and SSP underclocking affects display on v1/v2 respectively Fixed: debug menu now has SSP frequency, and SSP_CPSR Update: made settings menu more generic Update: cleaned up code Added: Clip v1 & Fuze v1 didn't have HAVE_ADJUSTABLE_CPU_VOLTAGE. not sure why but, waiting on testing to confirm Added: C200v2 and E200v2 devices and HAVE_ADJUSTABLE_CPU_VOLTAGE. Fixed: v1 devices don't like display timing set lower (dbop) v1 devices don't have a divider set for ssp (causes divide by 0) Fixed: ClipZip display lags with Max SSP divider changed from 0xFE to 0x32 Fixed: v1 devices didn't work properly with highspeed sd cards Added code from http://gerrit.rockbox.org/r/#/c/1704/ Added powersave and IDE interface enable/disable Added: V2 devices now have powersave enabled on sd interface Update: cleaned up code, lang defines, added manual entries Update ssp clock mechanism added calculated ssp divider to clipzip Update turn display clock off when clip+ turns off display Fixed: clipzip wrong register for SSP clock Change-Id: I04137682243be92f0f8d8bf1cfa54fbb1965559b TODO: add other players?
* Fix lcd-scroll.c truncation warningsWilliam Wilgus2018-07-25
| | | | Change-Id: I312ec7ad06fde5b2f9747661cd2d4ffcb4cbf755
* Agptek Rocker: Implement lcd_enable()Marcin Bukat2018-06-14
| | | | | | In theory this should slightly improve battery life. Change-Id: Iaf55beb7dbc20e7562017958aeb0386459d49a31
* Add XRGB8888 native formatMarcin Bukat2018-06-12
| | | | | | This got lost somehow during Agptek port merge Change-Id: Ie84463ba523d2307466b49354867117e7393a440
* Agptek Rocker: Implement RTC supportMarcin Bukat2018-06-12
| | | | | | | | | | Add define in config file to enable RTC support in rockbox, Fix time_menu.c to include radio.h only when tuner is present Implement time setting function on linux (was empty stub) Not tested. Change-Id: I40e6c4a6c1b66ada9cf4e698e502e221d0fc44df
* Agptek Rocker: Add bass, treble and balance controlsMarcin Bukat2018-06-12
| | | | Change-Id: Ib84620850bbdc81afbdfff1610a0be7eab4f0ac0
* Agptek Rocker: Implement USB mass storage driverMarcin Bukat2018-06-12
| | | | | | Agptek uses composite android driver. Change-Id: Iece188ad640f3dfd24c171946c14da4c3516b6d5
* Agptek Rocker: Restrict root directory to SD onlyMarcin Bukat2018-06-12
| | | | | | | | Actual / of underlying linux OS should not be available to user. I am still not sure if implementation is correct. It doesn't perform any relative path sandboxing for example. Change-Id: Ic577a10f3947f6e950e2c4d03173f9f207395eb7
* Agptek Rocker: Initial commitMarcin Bukat2018-06-12
| | | | Change-Id: I26b51106c7b1c36a603fba6d521e917d79b5a95b
* Port of Duke Nukem 3DFranklin Wei2017-12-23
| | | | | | | This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL for Rockbox. Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9
* Get voice event out of playback.cMichael Sevakis2017-12-12
| | | | | | | Purpose: A step in removing all voice references from playback code and prelude to other changes. Change-Id: Ic3ad7f7a33b979693e18a3456ced37eb1d2281a4
* Playback: Move internal track list onto bufferMichael Sevakis2017-12-09
| | | | | | | | | | | | | | Does away the statically-allocated track list which frees quite a fair amount of in-RAM size. There's no compile-time hard track limit. Recommended TODO (but not right away): Have data small enough use the handle structure as its buffer data area. Almost the entire handle structure is unused for simple allocations without any associated filesystem path. Change-Id: I74a4561e5a837e049811ac421722ec00dadc0d50
* Convert i.MX31 and AMS target to use RTC interruptMichael Sevakis2017-11-21
| | | | | | | | | | Instead of checking ticks, set a sticky dirty flag that indicates that the RTC needs to be read. This gives a timely update and more accurate readout without actually reading the RTC until it changes. The implementation should atomically read the flag and clear it. Setting the flag would typically happen in an RTC tick ISR. Change-Id: I6fd325f22845029a485c502c884812d3676026ea
* nwzlinux: add support for radioAmaury Pouly2017-11-06
| | | | | | | None of the Sony up to A15 seem to support RDS (they use either Si4702 or Si4708), thus I did not add any code to support RDS. Change-Id: I64838993b9705b36b94665f8470c7a89c772c961
* Make atomic bit modification functions return previous value.Michael Sevakis2017-10-30
| | | | Change-Id: I19a94cf946735e1d9e51c3207cd82198fd4dfc1a
* Add boot from other volumes in bootloader on targets with HAVE_MULTIVOLUMEWilliam Wilgus2017-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the ability to load firmware from other drives on MULTIVOLUME targets Mihail Zenkov <mihail.zenkov@gmail.com> had posted a hard coded patch to allow this on several Sansa players, I made it more universal Redirect file rockbox_main.<name> should placed in root of drive you would like to be main, if this file empty or there a single slash '/' firmware will be loaded from /.rockbox in root of this drive If instead a /<*DIRECTORY*> is supplied in rockbox_main.<name> then firmware will be loaded from /<dir>/.rockbox/ NOTES* The directory can have multiple levels however.. leading slash MUST be included trailing slash can be omitted (eg. /test/.rockbox would be simply '/test' in the redirect file) Redirect file will not work on internal drive (whatever is default boot drive) Volume with the highest index containing redirect file will be loaded first. Firmware file is checked for boot data region, if missing, firmware image will not be loaded. On failure or if no redirect file is found load will fallback to internal drive Currently only Sansa Fuze+, Sansa Clip+, Sansa Clip Zip, Sansa Fuzev2, and Sansa Fuzev1 are implemented. Players (with HAVE_MULTIVOLUME) will need #define HAVE_BOOTDATA and #define BOOT_REDIR "rockbox_main.<name>" added to their config file boot_data is implemented in crt0.s file (See g#1552) ARM and IMX233 have aleady been implemented Once these conditions are met <HAVE_MULTIBOOT> will be defined by config.h Partitions on the drives are able to have a redirect as well. Change-Id: Iada3263919f6bcad7d0d7d8279b4239aafa07ee9
* Add boot data to MOST AS3525 DevicesWilliam Wilgus2017-10-29
| | | | | | | | | | | Adds boot data to as3525 devices Sansa C200v2 E200v2 Clip Clipv2 Clip+ ClipZip fuze, fuzev2 m200v4 Adds boot_data to features.txt default arm crt0.s now had boot data if HAVE_BOOTDATA is defined Change-Id: I614a556696540511a69fc12a4520b01c268bf8a9
* Add boot data support to rockbox.William Wilgus2017-10-29
| | | | | | | | | | | | Bootdata is a special location in the Firmware marked by a magic header The bootloader is able to copy information to the firmware by locating this struct and passing data to the firmware when it is loaded but before it is actually executed Data is verified by a crc of the bootdata Change-Id: Ib3d78cc0c3a9d47d6fe73be4747a11b7ad6f0a9e
* Fix a few missed things in 16454efc (and hopefully clear the red).Michael Sevakis2017-10-26
| | | | Change-Id: I2ce88e4c41e6e08efbfbdf261122318dfb0f8b0f
* Unify storage threads into oneMichael Sevakis2017-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Editing a bunch of drivers' thread routines in order to implement a new feature is tedious. * No matter the number of storage drivers, they share one thread. No extra threads needed for CONFIG_STORAGE_MULTI. * Each has an event callback called by the storage thread. * A default callback is provided to fake sleeping in order to trigger idle callbacks. It could also do other default processing. Changes to it will be part of driver code without editing each one. * Drivers may sleep and wake as they please as long as they give a low pulse on their storage bit to ask to go into sleep mode. Idle callback is called on its behalf and driver immediately put into sleep mode. * Drivers may indicate they are to continue receiving events in USB mode, otherwise they receve nothing until disconnect (they do receive SYS_USB_DISCONNECTED no matter what). * Rework a few things to keep the callback implementation sane and maintainable. ata.c was dreadful with all those bools; make it a state machine and easier to follow. Remove last_user_activity; it has no purpose that isn't served by keeping the disk active through last_disk_activity instead. * Even-out stack sizes partly because of a lack of a decent place to define them by driver or SoC or whatever; it doesn't seem too critical to do that anyway. Many are simply too large while at least one isn't really adequate. They may be individually overridden if necessary (figure out where). The thread uses the greatest size demanded. Newer file code is much more frugal with stack space. I barely see use crack 50% after idle callbacks (usually mid-40s). Card insert/eject doesn't demand much. * No forcing of idle callbacks. If it isn't necessary for one or more non-disk storage types, it really isn't any more necessary for disk storage. Besides, it makes the whole thing easier to implement. Change-Id: Id30c284d82a8af66e47f2cfe104c52cbd8aa7215
* sonynwz: add api and debug entries for "acoustic" and "cue/rev" modeAmaury Pouly2017-10-07
| | | | | | | We don't really know what those are supposed to do. They seem to change the volume curve but it is not very clear what is the intended purpose. Change-Id: I65f5d18aba139844c23df092277ba17ee8518f96
* sonynwza10/a20: enable pcm frequency selectionAmaury Pouly2017-10-01
| | | | Change-Id: I335fcdbb652253e777d0d7406545d0d44d98f4f0
* sonynwzlinux: enable software tone controlsAmaury Pouly2017-10-01
| | | | | | As far as I know, they are not supported by the hardware Change-Id: I71be60ef5461fc9fea151cc9ae9de385b8e08eda
* Remove STORAGE_NEEDS_ALIGN from config headersMichael Sevakis2017-09-20
| | | | | | It's no longer required or used in the file code. Change-Id: I11c1bc166c91b99addca8c8d151c5eaace7a61c3
* Add support for the NWZ-E350Amaury Pouly2017-09-17
| | | | | | | | Strangely it has the SAME encryption key as the E450. Either they didn't bother changing it or more likely they have exactly the same internals and a slightly different case. Change-Id: I39ab88845b3e40db34160c2e61dde421f391df44
* Add support for the Sony NWZ-S750Amaury Pouly2017-09-17
| | | | Change-Id: I9050129949809b3dbe9f4f9e816f8980c4f3a904
* Add simulator support for the A860Amaury Pouly2017-09-17
| | | | | | | This requires a few changes unrelated to the A860 because configure unsets APPLICATION but the NWZ is an application! Change-Id: Id91aa23193383ac95886b281653da5286edd9caf
* Add support for the NWZ-A860Amaury Pouly2017-09-17
| | | | Change-Id: Ibf0c5168ac31d4ba2aeaa86cbeca37a1011b75fa
* Add support for Sony NW-A20Johannes Rauh2017-09-06
| | | | | | Add original author to CREDITS Change-Id: I7a0159635c7896e2b5521c078ef62618f568d89e
* Initial commit for the Sony NWZ linux portAmaury Pouly2017-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SUPPORTED SERIES: - NWZ-E450 - NWZ-E460 - NWZ-E470 - NWZ-E580 - NWZ-A10 NOTES: - bootloader makefile convert an extra font to be installed alongside the bootloader since sysfont is way too small - the toolsicon bitmap comes from the Oxygen iconset - touchscreen driver is untested TODO: - implement audio routing driver (pcm is handled by pcm-alsa) - fix playback: it crashes on illegal instruction in DEBUG builds - find out why the browser starts at / instead of /contents - implement radio support - implement return to OF for usb handling - calibrate battery curve (NB: of can report a battery level on a 0-5 scale but probabl don't want to use that ?) - implement simulator build (we need a nice image of the player) - figure out if we can detect jack removal POTENTIAL TODOS: - try to build a usb serial gadget and gdbserver Change-Id: Ic77d71e0651355d47cc4e423a40fb64a60c69a80
* Fix YP-Z5 plugin/codec buffer sizeAmaury Pouly2017-05-16
| | | | Change-Id: I8d01497c561bc3420b2b87ced2d7ab241b796a97