William Wilgus
63e6aec260
xduooX3 debug menu add GPIO IO Ports
...
Change-Id: I6ca9f005e412240235354b9369bcc3f4a4ad256f
2020-08-31 03:07:17 +00:00
Solomon Peachy
748133cf9d
xduoox3: Fix bootloader build
...
Change-Id: Ia2f2dba4a263c82aebc7fab9da4ad69ef90565ea
2020-08-30 21:56:11 -04:00
Solomon Peachy
8dadce5c4c
jz4760: Explicitly disable UARTs at startup
...
(Bootloader uses UART1, and leaves it running when it hands it off to us)
Change-Id: Icde1d713574582f18e9f91b5c95f3917fe324b74
2020-08-30 21:36:26 -04:00
William Wilgus
06e9abc428
XduooX3 Tweak LCD drive strength and slew
...
Change-Id: Ic5ee9e700a0c8acffc39b51cedc24ff44d230fd3
2020-08-30 17:26:43 -04:00
Solomon Peachy
e06ab68166
xduoox3: Use correct "ms_clk" divider for SADC and be smarter with polling
...
Change-Id: Ibbbcd9fd1e7e2cfa896678cccaa00296c86c2c62
2020-08-30 01:45:15 -04:00
Solomon Peachy
cc5b0439a8
jz4760: Prioritize Audio DMA and TCU0 (systick) above all others
...
(And loop in the IRQ handler to make sure we catch everything!)
Change-Id: I813272c69e981fdc214ec28448ced403ad366ea0
2020-08-30 01:45:15 -04:00
Solomon Peachy
b01e9295e4
jz4760: Revert back to the delay loop udelay()
...
... the timer-based version used the same timer as our os tick!
Change-Id: Id84b308bfa1145cb8806e1029f2ca26159fb71e1
2020-08-30 01:45:15 -04:00
Solomon Peachy
733821b592
jz4760: Rework IRQ priorities, make audio the highest.
...
(it was effectively the _lowest_ prior to this. wtf?)
Change-Id: I6905c5ba0d87a5e14aeae5d5b79f8f515ac5b806
2020-08-29 21:26:49 +00:00
Solomon Peachy
3dc4f817de
jz4760: Disable dynamic clocking entirely.
...
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-29 14:59:46 -04:00
William Wilgus
3867f0b959
XduooX3 Sources WS changes
...
Change-Id: I17ae59e7ef0440756527ce50ab30f8bf34f79007
2020-08-29 10:14:03 -04:00
Solomon Peachy
6296b220e5
cs4398: Change default volume to -25 dB (from 0 dB)
...
Change-Id: Iac216951b6f21bd83bb1d529e231bbb3e0aa0da6
2020-08-29 08:51:35 -04:00
William Wilgus
31a1a29004
Xduoo X3 Tweak LCD settings
...
Adds contrast setting which actually sets the drive voltage
Change-Id: I173238e2efe9e50c6ef4cda9bf991e7ee5568ff5
2020-08-29 04:31:37 +00:00
Solomon Peachy
5e335f5c33
jz4760: do the MSC (ie SD) clocking setup when we change PLL0
...
Change-Id: Ia17b1d7069af507c3f029bcaed0f65e7e97df275
2020-08-29 00:29:25 -04:00
Solomon Peachy
fc7eb3b2a3
xduoox3: When not using dynamic clocks, use max cpu
...
Change-Id: I789bb4eccc5b663156f5d1b7cd5d291b60ccb18d
2020-08-29 02:53:06 +00:00
Solomon Peachy
a2b77446c2
xduoox3: enable HAVE_GUI_BOOST
...
Change-Id: I719057b3539d6fb80cef10238a13c5071def1be5
2020-08-28 21:16:24 +00:00
Solomon Peachy
4a6d8e91bb
jz4740: Timer not re-enabled properly
...
(same fix as g#2703 for the jz4760)
Change-Id: Ic6467d9e6085e3057528b6d1a08b7c07e9dceab4
2020-08-28 15:19:07 +00:00
William Wilgus
77019c2c3c
Xduoo_X3 Fix timer_set_period fail to reenable
...
when timer_set_period is called timer is stopped but never reenabled
Change-Id: I5cfc7a2d5620ff998005e013952b25f1e0a52754
2020-08-28 11:11:03 -04:00
Solomon Peachy
1aee168398
jz4760: Pull non-PLL init out of pll0_init() code.
...
So it only gets called once, at system startup.
Change-Id: I4c191519009e80dfb118065391295c88a014d25a
2020-08-28 10:41:41 -04:00
William Wilgus
5fb4c74bfb
Xduoo X3 - Grey scale lib update
...
greylib on the xduoo x3 now matches the rest of the 1bit targets
Change-Id: I2685869da6734404356552cc9f4ed5f59ebd6650
2020-08-27 14:33:23 +00:00
Solomon Peachy
8990c90b87
xduoox3: More screenshots and keymaps for the manual
...
Change-Id: I52fe211dd6489abe030d0aee80de306334031b83
2020-08-26 20:00:16 -04:00
Solomon Peachy
a52eb1d8cc
xduoox3: Include curves for both battery types
...
There is no way to detect this at runtime so it is a user setting
Change-Id: Ibc5b87312238c59e3678d512af27e3a3bcb9a58a
2020-08-26 18:18:02 +00:00
Solomon Peachy
f4bf27c26e
jz4760: fix the new udelay() to use _micro_seconds, not milliseconds
...
Change-Id: I4877b1c8e4a95259b5ade126e28458b65fbd3c4b
2020-08-26 11:56:04 -04:00
Solomon Peachy
f791df1375
xduoox3: Update battery discharge curve and runtime estimates
...
(Brand new unit lasted one minute shy of 12 hours!)
Change-Id: I0330f43065412d432a45b555bb310f943eb526e7
2020-08-26 08:34:07 -04:00
Solomon Peachy
099bde885d
mikmod: Fix emulated fseek()
...
Was causing XM loader to fail
Change-Id: I1dd1d87dd0d8587fae5f9db04a730fc42b625a11
2020-08-25 20:10:10 -04:00
Solomon Peachy
7972f8e448
xduoox3: Fix minesweeper plugin keymap.
...
(Broke in a654cecf8)
Change-Id: I5b07e27aed12019e2b0a5078bf06812da2ddd598
2020-08-25 15:54:25 -04:00
Solomon Peachy
9e64e31d56
xduoox3: More screenshots and button maps for plugins
...
Change-Id: Ic494102f191da5e32faa61b0f4bcefadee198200
2020-08-25 15:25:50 -04:00
Solomon Peachy
c0bfd7ceee
manual: Remove charcell screenshots
...
Change-Id: I072c5fb36b80f6d707b1bcad7098352c9398c677
2020-08-25 15:25:50 -04:00
Solomon Peachy
6920c089af
jz4740: SD clock sequencing changes.
...
* Don't stop clock before switching speeds
* Don't stop clock prior to transactions
* Stop clock at the end of transactions
Will result in slightly better performance and some power saving when
we're not actively using the SD peripheral.
Change-Id: I1c82476cad97137b1469900645ecf7bb0887119a
2020-08-25 14:01:44 -04:00
Solomon Peachy
0aa2197d93
jz4760: SD driver enhancements:
...
* Check to see if clock is [not] running prior to [en|dis]abling it
* Stop clock _prior_ to resetting controller
* Stop clock after transaction is completed, not before initiating it
* Use controller's low power mode (disables clocks when idle)
* Fix, and enable, interrupt-driven DMA transfers
* Fixes for full interrupt-driven operation (WIP, still broken)
Change-Id: I723ffa6450fc85f97898c8a8b3e538ae31c4858e
2020-08-25 12:07:50 -04:00
Solomon Peachy
1b31101fdd
jz4740: Fix potential deadlock in SD init code.
...
There's a code path that calls sd_init_device() while we hold sd_mtx, but
sd_init_device() tries to obtain the mutex while doing its work.
Change-Id: I882c595e9e7cd2224b1db0d413925668628476e9
2020-08-25 08:19:10 -04:00
Solomon Peachy
63ef81de31
jz4760: Give each SD interface its own DMA channel, semaphore, and mutex
...
* Allows both SD interfaces to have requests in flight simultaneously
* Fixed a deadlock in the hotswap code
* Ensure TX DMA is idle before initiating a request (bug due to a typo)
Change-Id: I988fa29df5f8e41fc6bbdcc517db89842003b34d
2020-08-25 12:16:33 +00:00
Solomon Peachy
c06766bbeb
voice: Increase voice stack size a bit for MIPS by 256 bytes.
...
MIPS is stack hungry due to the large number of GPRs we have to save.
With this extra headroom we now _idle_ at 75% stack use of a 2K stack!
Change-Id: I197b730c817d948230010f18dba60747088487ba
2020-08-25 12:15:53 +00:00
William Wilgus
5dd4c00697
filetree.c fix null entry check fs#13222
...
behavior found on xduoo x3
I had already fixed this once but I was checking entry instead of dptr :(
Change-Id: Iff76a0d6796f270118dd460fb424e35e213e4030
2020-08-25 03:33:24 +00:00
Solomon Peachy
6099767a18
SDL: If our eventloop fails, log the reason!
...
Change-Id: I028eb118b7da2701b54fce639ee0dbbb1e5a85bc
2020-08-24 21:21:33 -04:00
Solomon Peachy
22eb2300b1
manual: Document all mikmod configuration options
...
Change-Id: I942b3198c720ab74d429f5549f7eae01390c567d
2020-08-24 19:27:23 -04:00
Solomon Peachy
062c597f79
xduoox3: Manual updates and screenshots for a pile of plugins
...
Change-Id: I5181b38412999c1675535987325a43a48cdde84d
2020-08-24 18:49:22 -04:00
Solomon Peachy
e06d7e8516
manual: Add section for mikmod and document its formats
...
Change-Id: Ic07bf2c8dcc29bd535ea7b2ce8a7c4d723c22e6a
2020-08-24 18:49:03 -04:00
Solomon Peachy
910e600ba2
Mark xDuoo X3 as "stable" in the build system as it now has a manual
...
Change-Id: I8df272b4f8f2a19bbe49dfb938243ed592201797
2020-08-24 15:28:39 -04:00
Solomon Peachy
c7cbd494eb
FS#13154: Don't discard return code in storage_init()
...
Change-Id: If84f8a2e35172be4b2ae7cd105b3975b587acd6c
2020-08-24 14:37:23 -04:00
Solomon Peachy
b2af685380
manual: Get rid of more archos-specific manual leftovers
...
Change-Id: I8ac42d2bfcecd75b717c3eaf984daff3ea7a0334
2020-08-24 14:22:23 -04:00
Solomon Peachy
6e4ab9a5c1
xduoox3: Fill in the core UI screenshots
...
TODO:
* Plugin screenshots
* Plugin keymaps
Change-Id: I05282480fcfe67e0c506a34847a81b027b73ad81
2020-08-24 14:08:07 -04:00
Solomon Peachy
ef04cd8b1e
archosondio: get rid of screenshots and other manual leftovers
...
Change-Id: Id076e2707676dc6a5f8c2e7c754fe30751c37547
2020-08-24 13:41:10 -04:00
Solomon Peachy
675b22e76b
xduoox3: Initial manual
...
TODO:
* Screenshots
* Plugin keymaps
Change-Id: Iaecaa2f585693eb5c2c301bd07aeaa27cdf2588f
2020-08-24 11:58:28 -04:00
Solomon Peachy
c3a8268432
xduoox3: Fix a missing keymap entry in the virtual keyboard
...
Change-Id: Ieaecde35471574061c220e2a9d2d77b72cbfab16
2020-08-24 10:38:54 -04:00
Dominik Riebeling
0b5f0b9284
rbutil: Fix Xduoo bootloader installation.
...
- Don't try to unzip the bootloader file if we're actually looking for a
zip file.
- Fix wrong bootloader file name for X3.
- There's no QThread::terminated() signal, don't connect it.
Change-Id: Iebfcc61d644c8443b60d9b37f4932d7b46098465
2020-08-23 16:55:28 +02:00
Solomon Peachy
53dedd47b9
FS#13235: Update Polish translation (Adam Rak)
...
Change-Id: I396b7de8f1170dfa96f735e939288cf4180f9f4f
2020-08-23 09:26:40 -04:00
Solomon Peachy
c7c4672668
builds: Don't exclude 'retired' targets from the build list
...
Change-Id: Ic3b098e1d2ead235035e87d57877c351e28a54d9
2020-08-21 16:13:29 -04:00
Dominik Riebeling
e0021744cf
rbutil: Fix wrong fall-through.
...
Fortunately it didn't break anything.
Change-Id: Ie1f2bff73dbc61ec9f454ce7b61aaad74424fd06
2020-08-21 21:31:44 +02:00
Dominik Riebeling
2aecb3b9ea
rbutil: Use a non-zero default value for status.
...
When resolving the status values downloaded from the server use a
negative value as default. Since 0 is the default in QSettings but now
considered as "retired" a missing status value would make that target
appear as retired instead of unknown status.
Change-Id: I23567413c5c3d5828fca7f9c5a29e2037e8614cf
2020-08-21 21:31:44 +02:00
William Wilgus
f850bbbbc4
Revert root_redirect :(
...
This reverts commit 31fc46ded6
.
Change-Id: Ia78618c0e8b25ca65f7c8ae0db1cb9c9b321bad9
2020-08-20 21:54:00 -04:00