summaryrefslogtreecommitdiff
path: root/firmware (follow)
Commit message (Collapse)AuthorAge
* Fix reversal of "always/never" in "LCD setting > Sleep (After Backlight Off)"Sebastian Leonhardt2019-06-27
| | | | | | | The bug was introduced in a06d9c8. The patch also fixes some (more or less) related obsolete comments. Change-Id: I5e491d64574c37cdbc46b146d7cfc555d86b9a11
* jz7460: Disable IRQ-driven DMA transfers.Solomon Peachy2019-06-02
| | | | | | | | | This greatly increases the stability of SD card write operations. (I suspect the underlying problem is not IRQ operation itself, instead being exacerbated by it..) Change-Id: Ia00f0656abd4b3cb0b1b5fc9db7c1b6a02847956
* Agptek rocker: do not update display when not activeMarcin Bukat2019-05-31
| | | | Change-Id: I963a9098b82a09aed8050123932a128f2d08dee0
* nwztools: add DMP-Z1 to the databaseAmaury Pouly2019-04-22
| | | | | | | This is one of those fancy gold-plated devices. Of course it breaks my scripts that were nicely expecting every device to start with NW. Change-Id: I161320f620f65f4f92c2650d192b26a9831eeb9d
* Fix the fixSebastian Leonhardt2019-02-08
| | | | Change-Id: I54b97fd0c208f775e4ee22cf8499f1da423ebc39
* 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
* transflective LCDs: fix "first buttonpress enables backlight only"Sebastian Leonhardt2019-02-07
| | | | | | | | This should be done even if the backlight is set to "always off", i.e. if the LCD is sleeping, a button press should be "eaten" and just wake up the LCD. Change-Id: I3946bdbbdc81f23eae3f47423123cefa275e0afc
* Simulator: improve simulation of transflective screensSebastian Leonhardt2019-02-07
| | | | | | | | | This patch simulates the three possible states of a transflective LCD: backlight on (bright screen as usual), backlight off (dimmed screen) and LCD off (black screen). Makes use of already defined 'BACKLIGHT_OFF_ALPHA'. Change-Id: I9b0fc79b8d50c29e024ba1e6d9c2501119a7e0e0
* 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
* Buflib add range checks blocks and crc_slot raise panic if out of rangeWilliam Wilgus2019-01-04
| | | | Change-Id: I81df5c145a8cb003827a5423f484f70333e2472e
* mips: Adjust main & irq stack sizes to fit in IRAM on all targetsSolomon Peachy2019-01-02
| | | | | | | | | | | | | | | New amounts: 7.50K main stack 0.75K irq stack Prior values of 8K+1K overflowed IRAM by ~660 bytes on Onda 7x7 targets, but worked on the xDuoo X3. (The discrepancy is due to the Onda targets having more LCD code shoved into IRAM.) Change-Id: I16fcfae3c5f3e36db688dfa9167b620584e79df8
* mips: Use a separate IRQ stack & optimize IRQ handling a littleSolomon Peachy2019-01-02
| | | | | | Should prevent the IRQ-related stack overflows seen on MIPS targets. Change-Id: I447336ef3fe37e11b3276a78ba220ce64c2f87f5
* 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
* Coldfire: Don't clobber alwarm wakeup signal in dualboot modeSolomon Peachy2019-01-01
| | | | | | (See FS#7814 for details) Change-Id: I6a09a8dfe1abc3a396ca8afe1dbbf1d203c7e3e2
* 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
* FS#12610 - Clip+ Ticking Noise Fixed in RadioSolomon Peachy2018-12-22
| | | | | | | | | | Patch taken from Igor Poretsky's tree. Original clip-radio-tick.patch modified to acts only when screen is deemed, or when recording, in order to preserve indicators functionality. Change-Id: I62afb24a0dad7ad2ecc9272c24810b37f032408d
* 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
* Fix Sim & checkwps for newer distrosWilliam Wilgus2018-12-08
| | | | | | | | __builtin found fix for rbendian.h tools/configure defines SIM_USE_BYTESWAP_H if byteswap.h is found in /usr/include/ maybe there is a better mechanism for this Change-Id: I4d004e68313e8b32aa5587582be36bc459fdaf6b
* Fix Sim for newer distrosWilliam Wilgus2018-12-07
| | | | | | | | | | | | | | | | | | | __builtin found fix for rbendian.h tools/configure defines SIM_USE_BYTESWAP_H if byteswap.h is found in /usr/include/ maybe there is a better mechanism for this genshortcut.sh is a simple script to make .desktop shortcut files several newer distros don't allow you to run the simulator from the file manager, this or perhaps a different method can probably be included while building a sim at a later date. for now it can be run manually like so: similar to ../tools/configure run from your simulator folder ../tools/genshortcut.sh exepath shortname icon ex. ../tools/genshortcut.sh ./rockboxui clip+sim music-app Change-Id: Ia05d3a9349b27c5968a4a7a68b2eb480e60faec3
* More keymap refinementsMarcin Bukat2018-12-06
| | | | Change-Id: If3ae6ece7848b143088d5f9ec8c00ed593d59ed2
* sonynwz: add NW-A57 and NW-ZX300G to the databaseAmaury Pouly2018-11-30
| | | | Change-Id: I9bbfa56c5b2d79568de5443f1098d724c4beda6a
* Add the NWZ-A844 to the databaseAmaury Pouly2018-11-30
| | | | | | For some reason even Sony didn't have it in its list... Change-Id: I26de6071e5887cc7c6ebb695ea333c7b3d1b50db
* Fix vuprintf fix possible %s buffer over-readWilliam Wilgus2018-11-10
| | | | | | | | | | | | | when precision is not specified memchr recieved -1 for count count is unsigned so it looks in a potentially very large area for a terminator and returns this whole area if \0 is not found Instead we should use memchr when precision is specified and if precision is not specified use strlen Fixes 60+Mb Config.cfg files Change-Id: Ic4d1439334588f999c9071235430c42df2af5cc4
* 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
* sonynwz: add nvp map for NW-A50 seriesAmaury Pouly2018-10-29
| | | | Change-Id: I49f3399552721e515cc01021c2e0aa28c781ec28
* sonynwz: add NW-A55 to databaseAmaury Pouly2018-10-29
| | | | Change-Id: I59861119c59490f586b3c6ed32a1c41df8b3d365
* Diacritic.c add newline to EOFWilliam Wilgus2018-10-18
| | | | Change-Id: Ide8934fa267bfb745fc397cdb7450f3ac0453174
* Optimize is_diacriticWilliam Wilgus2018-10-18
| | | | | | | | | | | | | | | | | | | | | | is_diacritic is used for pretty much all of the text display sizing Timing here matters, so important it uses a priority buffer in order to cut down on searching the database. This patch is verified functionally equlivalent but saves 80 bytes and is ~20% faster for the clip+ I tested it on Several things were done: Optimizing the copy loop for the priority buffer Globbing some operations together but the main one has to do with the database structure its self -- Rather than a bit packed struct it combines the lower 8 bytes into one value [info] and uses flags to access the values instead Change-Id: I475073419b647639ef1eeaa3b9213e4e1067c0db
* mips: fix some compile warnings.Solomon Peachy2018-10-09
| | | | Change-Id: Ia5e83702313c1c184480290d3b0e6a66f01b7277
* mips: jz4740: JZ4740 does not have a MSC clock source select.Solomon Peachy2018-10-09
| | | | Change-Id: Ic2af37d92bcb8b6b35684f113eb8e392fc2eb609
* misc: Fix some assorted compiler warningsSolomon Peachy2018-09-28
| | | | Change-Id: Ibc4aac79e6fce92ad4414ed50122c2d4d6295f89
* jz4760: Lots of stability fixes to the USB driver.Solomon Peachy2018-09-20
| | | | | | | | It actually works for transferring data now! Igor Poretsky gets full credit for this patch. Change-Id: I247c70fdf45e590b4699b9b8668bbdab7bc3ef03
* xduoo_x3: Disable keypress IRQ since we poll for keypresses.Solomon Peachy2018-09-20
| | | | Change-Id: Ieab5f864751cf798b62c4e89e670acf7ade756ab
* jz4760: Enhancements and fixes to SD driver.Solomon Peachy2018-09-20
| | | | | | | | | | | * Fully Interrupt-driven, with proper task yielding * Much more robust error handling * Eliminate duplicate code * Pile of bugfixes (Much of this adapted from Igor Poretsky's tree) Change-Id: I46006412323cba2088b70094635d62a241be1d7e
* jz7460: Silence codec when changing playback frequency/modeSolomon Peachy2018-09-20
| | | | | | Silences some annoying clicks. Change-Id: I3d32d4b33c0ccc61877e10f5af97fe05084d66e5
* jz7640: SD driver improvements:Solomon Peachy2018-09-20
| | | | | | | * Better multidrive support * Common slot1/slot2 handling code Change-Id: Id0aed90cbba4246fdc71b42e03f016f8060d258a
* jz74x0: MSC clock needs to be divided from PLL clock.Solomon Peachy2018-09-20
| | | | Change-Id: I0cf2f0d55e0859f896afef289e833935d7c5a599
* 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
* mips: Update the MIPS threading codeSolomon Peachy2018-09-07
| | | | | | | | Taken from Amaury Pouly's Fiio X1 patches in gerrit. Xduoo X3 no longer panics on startup Change-Id: I4c2dee832306755b9e496084cb47fb61f804af20
* MIPS: fix memset()Marcin Bukat2018-09-07
| | | | | | | | | | | | | swr/swl instructions used for word aligning were wrong. This made memset() terribly broken. I can't imagine how it went uncaught for soooo long. Spotted by Solomon Peachy. I run unit tests for alignments 0,1,2,3 size 1, 2, 3, 4, 5, 63, 64, 65, 127, 128, 129; and fill pattern 0x00 and other (since 0 is special case in this implementation). Change-Id: I513a10734335fe97734c10ab5a6c3e3fb3f4687a
* iPod Classic: disable IRAM1Cástor Muñoz2018-07-30
| | | | | | | | | | | | | | | | | | | | | | On Classic, IRAM1 (second 128Kb of a total of 256KB available IRAM) is slower than DRAM. Codecs that actually are using regions of IRAM1 runs faster when DRAM is used, so IRAM1 is disabled and only IRAM0 remains enabled: 48KB for core and 80KB for codecs/plugins. The next test_codec results shows how decode time is decreased: file boosted unboosted *.ra ~1.5% ~0.5% *.mpc ~21% ~4.5% *.ogg ~0.5% ~0% nero_he*.m4a ~8% ~1% nero*.m4a ~25% ~7% wmapro*.wma ~4.5% ~0% wma*.wma ~25% ~7% In addition there is a small power save when IRAM1 HW is disabled. Change-Id: I102adee11458e82037f23076d5d5956e23235de8
* Workaround for usb_storage_init_connection() panicCástor Muñoz2018-07-30
| | | | | | | | | | | | | | | | For s5l8701, s5l8702 and as3525v2 targets. The crash occurs when USB is inserted or extracted while the playlist is being loaded or updated (it could take a few seconds for huge playlists), at this point all buflib memory is allocated and not freed before usb_starage_init_connection() is executed. This workaround mitigates this panic by using static memory for USB buffers, so this memory cannot be used for other tasks, in addition the problem still persist when playlist load is 'paused' by USB insertion and then updated after USB extraction. Change-Id: Iff1db5a949361fd543e0b494924d1f2906c84b5e
* Remove leftover merge conflict markerFranklin Wei2018-07-29
| | | | Change-Id: Ie34657fe652d3613429d3fa233faac9608a8b826
* Revert "As3525 v1/v2 Add power savings menu"William Wilgus2018-07-28
| | | | | | This reverts commit 6f0320a9535bc1aa81d83fa879ac14d5ee603658. Change-Id: I7425d422a4a0af7a49e9194cfe0bb55d431bc401