summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2020-10-17hosted: Consolidate common config of hiby-based units into a common headerSolomon Peachy5-306/+98
* Enabled MULTIDRIVE and ROOTFS_HOTPLUG for full hotswap! (Requires updated bootloader/integration!) Change-Id: I7dad1f8d375e087c36fce37bec3e9184602ede50
2020-10-17hosted: Fix USB mounting code to work with HAVE_MULTIDRIVE enabledSolomon Peachy3-9/+50
Change-Id: I48944c28903db117d3d883a5e777cafe5d055600
2020-10-17hosted: Support hot-swappable internal and external storageSolomon Peachy2-8/+39
Change-Id: I321e9da4d5087dbd91194e6faa35cd4a685a0495
2020-10-17Define a USB storage type, and hook it up for hosted targetsSolomon Peachy7-4/+35
Change-Id: I56363c989139c7edf0b2c67b0aac9ef1adfacba2
2020-10-17hosted: ROLO: Fixes for PIVOT_ROOT targetsSolomon Peachy1-3/+20
Change-Id: I4888bd5db6f8a419d312c6b017f676ba6c749d89
2020-10-17hosted: Fix HAVE_MULTIDRIVE to work properly with PIVOT_ROOTSolomon Peachy2-5/+13
Change-Id: Ibc97de5c345e88c19ad8ba8c05fefebbada08790
2020-10-17xduoox3ii/erosq: Fix CPU frequency declared in headerSolomon Peachy2-2/+2
(108 MHz -> 1008 MHz) Change-Id: I2baf416689e2afb68948609e226df8c5feeecc4a
2020-10-17samsung yp-r0/r1: use os-native opendir() in the low-level driver codeSolomon Peachy2-7/+7
Fixes blank LCD on both R0/R1 and the PMU on the R1 Change-Id: I356907676f7a0a009897fd4895bf78c1022b71d1
2020-10-17sonynwz: use os-native opendir() in the low-level input driver codeSolomon Peachy1-9/+11
instead of the rockbox opendir() wrapper. Change-Id: I06e8c2d7997c7cc3d507f06659d46cdfd6a02ce3
2020-10-16hosted: Make sure we don't call mixer/etc controls when we're not readySolomon Peachy4-24/+40
(Might fix the rocker crash-on-shutdown bug) Change-Id: Id375fc5053adef18d7ec812bdba36ee002e706ef
2020-10-16hosted: open input device as read-only.Solomon Peachy5-15/+14
Change-Id: I4dcd98f45f41fe06a0a75a2a0dd45c753c2cf365
2020-10-15m3k: Fixes for the M3K.Solomon Peachy2-2/+6
* Cannot turn off the LCD directly (have to rely on backlight) * Only insmod/rmmod the usb gadget modules if state changes Change-Id: I9ea90177d496cd035ada93e04a93a7c6f2e84706
2020-10-15update the hibi patcher script to handle initial m3k stuffSolomon Peachy1-4/+5
Change-Id: I63ed8443952888da3dafb23ff6e7daf9c7aca574
2020-10-15xduoox3: Disable the DAC's digital de-emphasis filter.Solomon Peachy1-5/+1
Whether or not this is correct depends on how the source material was mastered, digitized, and/or encoded. There is no setting appropriate for everything. Eventually I'd like to make this configurable, but I'd want to have it shared with more than one target first. Change-Id: I20a0eff4b3dc2517c33db49d4f72e85bf81d1ca6
2020-10-15hosted: Unify the USB code for the hiby-based players.Solomon Peachy8-242/+23
* Specify exported USB VID/PID in target config header * Don't fail if the sd filesystem has already been remounted (ie due to platform hotplug) Change-Id: Ifd2dae0c4f15086bf2bf89eb093018b3c4d2b75d
2020-10-15fiiom3k: Temporarily disable filter rolloff programmingSolomon Peachy1-4/+8
(Hardware control isn't wired into ALSA properly) Change-Id: Iac537d2d90a6119b8c002cd38a558a4ebb3321eb
2020-10-14erosq: Add battery discharge curve and initial runtime estimation.Solomon Peachy2-5/+10
(playing mp3 with headphones inserted lasted just over 13 hours) Change-Id: Id610f911811eafd914db20000ae860c75e0d8a93
2020-10-13Work around wonky inline asm issue with creativezenvm build.Solomon Peachy1-1/+13
The right thing here probably to just not bother at all, as this bootloader can't launch rockbox yet anyway. Change-Id: I62bd22353b6adc9dbe35b94f3b60a6a67348356a
2020-10-13Fix more red.Solomon Peachy2-3/+5
Change-Id: Id1a45b420f8eb70a25010b058822b78f80db33d8
2020-10-13fix more yellowSolomon Peachy4-2/+9
Change-Id: I74bad58707d05ea167169d4315c05eb0cd1c8b7b
2020-10-13Fix more warnings.Solomon Peachy9-13/+35
Change-Id: Ib3a9fc622a46b1fc72e94dcbc6d29d2e430cd81b
2020-10-13imx31: Work around an apparently not-quite-kosher abuse of CPPSolomon Peachy4-7/+23
(we were trying to foward-declare functions from within static initializer context. GCC no longer accepts this) Change-Id: I58f316ecc84c8ab45fffc054955727a55714b0a3
2020-10-13iaudiox5: Fix red, due to slightly bogus asmSolomon Peachy2-7/+13
Change-Id: I6ebcda3452d4244b5e2d1a9bbeb9fff9a9456388
2020-10-13Fix a pile of yellow in the bootloaderSolomon Peachy9-58/+87
Change-Id: Ia89a33bbb13683566e421ac2a002baa20cdb07de
2020-10-13xduoox3ii: Update battery curve.Solomon Peachy2-4/+6
Change-Id: I2cc04d696631ba887fa8943d94360f902bf12e85
2020-10-12rocker: Fix red introduced in 01dc81cSolomon Peachy1-1/+0
Change-Id: I08169395702b74f8ea6cd939520c69745ae8b876
2020-10-12hosted: Fix a corner case in umuting the x3ii and erosqSolomon Peachy2-0/+2
Change-Id: I3ffc3b82c6137bab3f27cd87ccc57c2f03a1d401
2020-10-12hosted: More PCM muting workSolomon Peachy5-22/+31
* Track mute state, only call hw if actual change is needed * Don't unmute in audiohw_postinit() * sample rate tracking fixes * erosq: Don't start up muted Change-Id: I004f787a4b7ea73c16b6ec9818ec29a12c89f46b
2020-10-12rolo: hosted: Make display output non-glitchySolomon Peachy1-2/+2
Change-Id: I63d6a28d67fa56d3541aaa121356c8ff2ce10bbe
2020-10-12Hosted PCM: Rework auto-muting code a bitSolomon Peachy5-22/+44
* If AUDIOHW_MUTE_ON_PAUSE, no meaningful change * Unconditionally unmute on playback start * xduoox3ii: Mute on sample rate change * rocker/xduoo: Stay muted after startup This avoids the nasty "pop" on startup, without doing the full mute-on-pause stuff that causes unacceptable dropouts on the X3ii. Change-Id: I2e3ee0bb8094e288f37a0acada86a80016ce5cac
2020-10-11Fix inverted test that made SDL_APP unhappySolomon Peachy1-5/+5
Change-Id: I18a51ddd0fa7fd0afda938c732fadce4cd87c262
2020-10-11Turn on ROLO for M3K tooSolomon Peachy2-1/+6
Change-Id: I7e1b2168a70605c5a138d83fd69e847fd02af4a4
2020-10-11hosted: sanitize handling of HOME_DIRSolomon Peachy13-40/+47
* HOME_DIR is now either "/" or special "<HOME>" * target-specific "home dir path" is defined solely by PIVOT_ROOT * PIVOT_ROOT path is now defined in toplevel config files * Make Samsung YP-R0/R1 and SONY_NWZ use PIVOT_ROOT too * Do not prepend PIVOT_ROOT path if the path already has it! * Do not play these games for __PCTOOL__ builds Change-Id: I3d51ad902a5f9cafe45ba15ba654f30f1ec6113a
2020-10-11New port: AIGO EROS Q / EROS KSolomon Peachy27-12/+985
The Q and K have a slightly different case, but the hardware under the shell is completely identical. These models are rebadged versions: * Hifiwalker H2 (== Q) * AGPTek H3 (== K) * Surfans F20 (== K) Other notes: * Significant improvements in the shared Hiby-platform launcher/loader * SD card can theoretically be hot-swapped now * Support external USB mass storage! * Some consolidation of Hiby-platform targets * Some consolidation of plugin keymaps Todo/known issues: * Keymaps need to be gone over properly * Convert to HAVE_SCROLLWHEEL? Change-Id: I5a8a4f22c38a5b69392ca7c0a8ad8c4e07d9523c
2020-10-11hosted: Add ROLO support for hosted targetsSolomon Peachy7-3/+131
Change-Id: I2d46a63ee8225a9d9d77dd80a06c418af78c260c
2020-10-11nwztools: fix MW-WM1/A30 KAS, fix KAS lengthAmaury Pouly2-3/+6
Split WM1A/WM1Z because they don't have the same KAS. On newer devices, the KAS is actually 64 bytes, not 60. The strange thing is that "get_dnk_nvp kas" returns 60 bytes whereas "get_dnk_prop kas" returns 64, not sure why. Change-Id: I944d3d838209ba58388439af0cdf5d7c74f1f7fc
2020-10-11hosted: Use O_CLOEXEC for all open() and "e" for fopen() callsSolomon Peachy14-31/+27
This way we'll automatically close the files upon exec() Change-Id: Ic0daca8fb56432830de4a2f4a86a77337121ecc7
2020-10-09xduoox3ii/x20: headphones take precedence over line outSolomon Peachy1-3/+3
so if both are plugged in, assume headphones (and respect volume) Change-Id: Ia77ae6d484ac61f6a2b4cd51a991f59de239cfa6
2020-10-09m3k: Fix red bootloader buildSolomon Peachy1-4/+0
Change-Id: I3a6e9e6222e6219484c6903325c985bff8af39ef
2020-10-09New port: FiiO M3KSolomon Peachy23-11/+1311
Most credit goes to: Roman Skylarov Additional integration and refactoring by myself. *** COMPLETELY UNTESTED *** Change-Id: Ia64c36d92e0214c6b15f7a868df286f8113ea27b
2020-10-09codecs: Add support for the 'VTX' ZX Spectrum chiptunes format.Solomon Peachy10-12/+14
This codec requires floating point. Original author: Peter Sovietov Ported to Rockbox: Roman Skylarov Further integration and bugfixes: Solomon Peachy Change-Id: I781ecd3592dfcdbbc694063334350342534f1d6c
2020-10-09xduoox3ii/x20: Define a sane BUTTON_LEFT/RIGHT aliasSolomon Peachy1-2/+2
Change-Id: If11dfa50aeb8cb8b80de730c494d81a9e87880c4
2020-10-08Undo the hacks that allowed targets without LEFT/RIGHT (UP/DN) to build.Solomon Peachy5-16/+20
Replaced them with warnings until they are fixed *PROPERLY* Change-Id: I4425200e60f8b5224262a54f105b974cec471d22
2020-10-08Don't compile audio codecs into native bootloader builds.Solomon Peachy4-8/+16
Change-Id: I0b2cc143572bf88423bdf7647cee0af567aee684
2020-10-07more DEBUG build fixesMoshe Piekarski1-1/+1
Change-Id: I4ae2b79f53ce59c37ccc9ef06f5ebd145e988763
2020-10-05FS13241: Get rid of the hacky hold switch emulation on the X3ii & X20Solomon Peachy4-42/+0
It doesn't work properly and interferes with the power button in the keymap. Rework WPS keymap a bit to make single-tap power emulate lock. Change-Id: I9d9b9b4adcea3764e6e427f484e051c9bab9d13b
2020-10-03hosted: control buttonlights along with the display backlight.Solomon Peachy1-0/+6
Change-Id: I03385db46e94ca1bb6a4e35c89f630145c9d40e5
2020-10-03alsa: Refactor pcm_dma_apply_settings_nolock()Solomon Peachy1-14/+7
Change-Id: I32190e6987afca99b24197ca7ae2853053062d30
2020-10-03imx233: Enable 96/192K playback for all imx233 targets that have roomSolomon Peachy11-26/+35
Change-Id: Ief00cc9243af3168f0c088520936137b64f3b581
2020-10-03coldfire: Fix iAudio M5 buildSolomon Peachy1-2/+2
Change-Id: Iecbcfa16918be3abfaab0936a0dae9c9ed48933e