summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-09-20plugin: Fix pile of warnings.Solomon Peachy1-4/+2
(Bad Solomon) Change-Id: I5a74480d9606c707149667c8387471d98da71386
2020-09-20voice: rename mp3_play_* functions to voice_play_*Solomon Peachy7-115/+46
Remove mp3_is_playing() entirely, in favor of pcm_is_playing() Remove mp3_play_pause() entirely, as it's a dummy/no-op call Remoce some archos-specific comments Change-Id: I4e9ff323490a93add00809efd19e0d4e3f198b2d
2020-09-18jz4760: Implement USB DMA RXSolomon Peachy1-22/+135
Can be disabled at runtime by setting hold switch. Boosts sysbench sequential write performance by 34-58% Change-Id: I060c9d7dddc1b448f18aa46af8f8aff046e07843
2020-09-18Headphone / lineout pause/resume #FS13237William Wilgus6-13/+56
Allow Lineout to behave like headphone port in regards to plug/unplug pause/resume Change-Id: I9cb2c9c40e0bdf3bf7e1e272164acd343f6b3850
2020-09-17disktest_sysbench scriptWilliam Wilgus1-0/+151
a script to help make disk benchmarks across USB Change-Id: Ifa4e88d2dbaba03b804a4d03ff953f94117ad8e4
2020-09-17jz4760: Heavily rework USB driver to add working DMA supportSolomon Peachy4-139/+262
* DMA Bulk IN (ie our TX) results in sequential transfers 33-68% faster. * DMA Bulk OUT (ie RX) is mostly stripped out due to complete brokenness. * Interrupt and control endpoints remain PIO-driven. Other improvements: 1) Use consistent endpoint references (no magic numbers) 2) Greatly enhanced logging 3) DMA support can be compiled out completely 4) Setting lockswitch will disable all DMA operations at runtime 5) Much more robust error checking and recovery Change-Id: I57b82e655e55ced0dfe289e379b0b61d8fe443b4
2020-09-17Xduoo X3 add headphone and lineout status to IO Ports debug menuWilliam Wilgus1-13/+30
Change-Id: I9caf55c1249625dff7e437158afd20a526fa7499
2020-09-13Xduoo X3 no ADC after ROLOWilliam Wilgus2-0/+8
Speachy suggested we don't shut down the adc on ROLO this fixes the random adc drop out on ROLO Change-Id: Ife7d679ce51a6f767963210ee650815f1de12223
2020-09-13Xduoo X3 Add tree scrolling FS#13240, Emulate Multibutton pressesWilliam Wilgus14-34/+101
Fixes deficiencies with the button system on the X3 The x3 has an interesting button layout. Multiple key presses are NOT supported unless [BUTTON_POWER] is one of the combined keys As you can imagine this causes problems as the power button takes precedence in the button system and initiates a shutdown if the key is held too long instead of BUTTON_POWER use BUTTON_PWRALT in combination with other keys IF using as a prerequsite button then BUTTON_POWER should be used Multiple buttons are emulated by button_read_device but there are a few caveats to be aware of: Button Order Matters! different keys have different priorities, higher priority keys 'overide' the lower priority keys VOLUP[7] VOLDN[6] PREV[5] NEXT[4] PLAY[3] OPTION[2] HOME[1] There will be no true release or repeat events, the user can let off the button pressed initially and it will still continue to appear to be pressed as long as the second key is held Tree scrolling is PLAY+NEXT or PLAY+PREV Change-Id: I88dfee1c70a6a99659e8227f5becacc50cc43910
2020-09-12get rid of a tab in a translated stringSolomon Peachy1-1/+1
Change-Id: I6215e9aa22e7e99a50de4541a28163fec30e6bf3
2020-09-10FS#13239: Fix typo in the xduoo x3 manualSolomon Peachy1-1/+1
Change-Id: Ib38dcb7dd0ff28ac4789a172c377821447a89d5a
2020-09-08xduoox3: more screenshots and keymaps for the manualSolomon Peachy12-11/+23
Change-Id: I06161444b45f1fde08da3a572ac756a04bfa92f0
2020-09-08XduooX3 LCD tweaks #2William Wilgus1-48/+110
Group commands for a bit more speed bitdelay was not being inlined lower bitdelay to 12 cycles Clean-up magic numbers Change-Id: Ifeb57a5532807a598f1ec5e1c55f03e4aa1e133f
2020-09-08surround: Fix two issues with the haas surround code.Solomon Peachy1-2/+3
1) Handle ID 0 is legal 2) Make sure handle is initialized before trying to memset its buffer Change-Id: I91db157863800c01dd9b92bc05a1df5c4fe0e95b
2020-09-06XduooX3 Gpio reconfigure button system #2William Wilgus1-79/+45
Fix issue with first battery sample taking 30 seconds Clean up code Change-Id: If2437d241e0ab4e3d23b141f5d853b6cf3209b07
2020-09-06jz4760: Fix and re-enable the hardware udelay() timerSolomon Peachy1-12/+19
Change-Id: I591b4f023776b3501fce03e08bfc87a355f4c69b
2020-09-06jz4760: Use a #define for the timer id, not a raw numberSolomon Peachy1-15/+17
Change-Id: Ic31267a2ae82beede72100c1cc5ddf7211aa0abe
2020-09-05mips: Convert 'nop' to 'ssnop' -- for future-proofingSolomon Peachy6-77/+77
Change-Id: I17625f4d56a1f5205887cb47668a2dcb628053f4
2020-09-05Update of the Serbian translationIvan Pesic1-606/+633
Change-Id: I4165a3026fb48d11da30a5b438fc3bee750425a2
2020-09-04jz47xx: Audio path tweaks:Solomon Peachy5-0/+10
* Increase audio buffer size to better handle IRQ latency (256->2048) * Ensure DMA engine is idle prior to starting transfers * Set AIC to repeat last sample in case of underflows Change-Id: I9c45c20481ee072e5882b7586fb7d50bd8ef2f35
2020-09-04skin_parser: Modernize Makefile.Dominik Riebeling1-10/+17
- Avoid use of uname, instead ask the compiler about the binaries it creates. - Move platform specific commands used into functions. - Replace use of echo with make functions. Change-Id: I365f656e02ddb90ee91ae60fec1230b4aaaf224f
2020-09-04themeeditor: Get revision info from git.Dominik Riebeling1-6/+6
We're not using svn anymore. This isn't used, but at least try to get the right value. Change-Id: I66e726d28b504a0f15d5b6497a02963243ba466a
2020-09-03ondavx747: Fix bootloader buildSolomon Peachy1-2/+1
Change-Id: Ibdff6a3d18cc065f7edd67a9ea77b2cb6b4629d1
2020-09-03Xduoo Gpio fix bugWilliam Wilgus1-0/+3
Change-Id: I76eda59a391a408d1a6642497d8cc4aeb93a0da1
2020-09-03mips: Heavily rework DMA & caching codeSolomon Peachy16-128/+187
Based on code originally written by Amaury Pouly (g#1789, g#1791, g#1527) but rebased and heavily updated. Change-Id: Ic794abb5e8d89feb4b88fc3abe854270fb28db70
2020-09-03XduooX3 Gpio reconfigure button systemWilliam Wilgus1-14/+69
only check button values with adc when buttons are actually pressed battery level check frequency is now around 30 seconds switched to polling for the battery voltage w/ timeout Ifdef functions Allow BACK OPTION PLAY to be the first of a two key combo Change-Id: Icb48d62ac8d82b4dc931df5e1c5b4a84a9a69772
2020-09-03themeeditor: Update targetdb.Dominik Riebeling1-94/+400
Change-Id: Iec78635b46e08a508a20048a14687f3be830ad63
2020-09-03themeeditor: Make NSIS script work with mxe.Dominik Riebeling1-1/+1
Change-Id: I592a28f64f88c4ec0d1c4f45aeb8148ac2bc7d9b
2020-09-03themeeditor: Make it compile with current Qt5.Dominik Riebeling10-35/+35
- Replace use of obsolete members with their replacements. - Fix type issue that requires explicitly creating the right object now. - Update project file to work with Qt5. Change-Id: I3af2b1520796e977e58c0a01e165c77c469a23b9
2020-09-03themeeditor: Fix download URL for targetdb.Dominik Riebeling1-2/+3
We're not using svn anymore since long. Change-Id: I408b1c59dfaafe1e403b0fa49b912862b68c72f8
2020-09-03themeeditor: Fix menu Quit entry not working.Dominik Riebeling1-1/+1
Change-Id: Ib527b4b4a7b450dee713dea93eaf93d85c0d4bfd
2020-09-02jz4760: Dial down PIXCLK as low as possibleSolomon Peachy1-0/+3
We don't use it on the X3. Should we ever get another jz4760 target we can revisit this. Change-Id: I591d02c7e47b35424b3c96b776b31a38e3c8ceee
2020-09-02xduoox3: Disable the LCD and MSC0 clocks as we don't use themSolomon Peachy2-2/+5
Change-Id: If2261aed464fcbe3ea1f036dd18376fa8ff42e69
2020-09-02XduooX3 Slow down greylib framerateWilliam Wilgus1-1/+4
halves cpu usage Change-Id: I3797b01ecd2f7615acfed53a77d8a1f51e947c8b
2020-09-02XduooX3 Debug Menu -- HW_infoWilliam Wilgus1-128/+339
add scrolling for clocks and such moved to a switch based structure.. this ends up a lot cleaner Change-Id: I940506c4b8dc73f0b776d20810780527cbf7e0d4
2020-09-02mips: use .set push/pop in asm codeSolomon Peachy2-9/+11
Change-Id: I3e7bc7ffb8d6d0c5d18a6ab38b1a270559a62fb9
2020-09-01Manual: add Multiboot for Sansa E200Johannes Rauh1-0/+1
Change-Id: I89d0881face9952184f49f28740896ead3c2dfb5
2020-08-31jz4760: use SYSFONT in the hw info debug screen, and restore old fontSolomon Peachy1-1/+2
Change-Id: I0c2df20a8c87f7a5bdf25d59904d32806171a544
2020-08-31fonts: Use '08-Rockfont' as FONT_SYSFIXED on targets with 128x64 screensSolomon Peachy2-3/+17
..It's already the default UI font on those targets Change-Id: If8cb44da650d19882e4bd4b641af2f4fa59c1cd1
2020-08-31Xduoo_x3 Boot Fix red from debug menu changesWilliam Wilgus1-1/+1
Change-Id: I1a84cf28f8a3416d661a8e2e4dd31c9e86f50ba0
2020-08-31xduooX3 debug menu add GPIO IO PortsWilliam Wilgus2-1/+84
Change-Id: I6ca9f005e412240235354b9369bcc3f4a4ad256f
2020-08-30xduoox3: Fix bootloader buildSolomon Peachy1-0/+7
Change-Id: Ia2f2dba4a263c82aebc7fab9da4ad69ef90565ea
2020-08-30jz4760: Explicitly disable UARTs at startupSolomon Peachy3-2/+24
(Bootloader uses UART1, and leaves it running when it hands it off to us) Change-Id: Icde1d713574582f18e9f91b5c95f3917fe324b74
2020-08-30XduooX3 Tweak LCD drive strength and slewWilliam Wilgus2-7/+17
Change-Id: Ic5ee9e700a0c8acffc39b51cedc24ff44d230fd3
2020-08-30xduoox3: Use correct "ms_clk" divider for SADC and be smarter with pollingSolomon Peachy1-4/+14
Change-Id: Ibbbcd9fd1e7e2cfa896678cccaa00296c86c2c62
2020-08-30jz4760: Prioritize Audio DMA and TCU0 (systick) above all othersSolomon Peachy2-39/+21
(And loop in the IRQ handler to make sure we catch everything!) Change-Id: I813272c69e981fdc214ec28448ced403ad366ea0
2020-08-30jz4760: Revert back to the delay loop udelay()Solomon Peachy1-1/+1
... the timer-based version used the same timer as our os tick! Change-Id: Id84b308bfa1145cb8806e1029f2ca26159fb71e1
2020-08-29jz4760: Rework IRQ priorities, make audio the highest.Solomon Peachy1-10/+29
(it was effectively the _lowest_ prior to this. wtf?) Change-Id: I6905c5ba0d87a5e14aeae5d5b79f8f515ac5b806
2020-08-29jz4760: Disable dynamic clocking entirely.Solomon Peachy2-4/+4
Back off to 480MHz [max] clock, bus/mem clock of 120MHz. 576 is unstable on at least one unit, and 528 still glitches. Change-Id: I020e48532524e739f3bfa42bed570381ccd34959
2020-08-29XduooX3 Sources WS changesWilliam Wilgus5-147/+147
Change-Id: I17ae59e7ef0440756527ce50ab30f8bf34f79007