summaryrefslogtreecommitdiffstats
path: root/firmware/export
AgeCommit message (Collapse)AuthorFilesLines
38 hoursRename symbols of FiiO M3K Linux-based portAidan MacDonald4-8/+8
Mainly a straight replacement of FIIO_M3K -> FIIO_M3K_LINUX. Change-Id: Id07c84f8150991d1b6851540c2c3f8f67e3f12c2
2020-12-16erosq: Enable HAVE_SCROLLWHEEL for saner scroll wheel handlingSolomon Peachy1-0/+1
Basically no longer treat SCROLL_FWD/BACK as "button" events, instead relying on the scrollwheel hooks to handle things properly. Change-Id: I9bf18595ab3ca68e912f6dfb1f2eac2544578e73
2020-11-18hosted: Improve buffer underrun handling in the ALSA driverSolomon Peachy1-0/+4
* Bump internal mix buffer size by 4x, to 1K frames (matching ALSA period) * Handle an underrun that occurs when filling the audio buffer * Log underruns and make them available in the debug info Change-Id: I28d56dd35d88851fa167ad92368a5882937a758f
2020-11-16FS13257: Fix inconsistent defaults in the USB mode selectionSolomon Peachy1-0/+7
Change-Id: I44894d13f070313ad326ce68018556573e35aad9
2020-11-16iriver_flash: update valid bootloaders tableJames Buren1-1/+1
This removes all the pre-release bootloader of version 7 and replaces them with production releases of version 8. The pre-releases have their own problems and should be left behind as they were never officially released. Change-Id: If96531ba63cf4401d04133bda94735fe94ae4de1
2020-11-14Remove some SWCODEC artifactsMoshe Piekarski1-3/+0
Change-Id: I580522bc0ec3bc86c24400625d7d9cde2eea8fc8
2020-11-13ibasso: Hopefully hack usb into building again.Solomon Peachy2-0/+2
Change-Id: I6f369d60319704ab4d2c18b80ba6e78902630790
2020-11-13usb: Add ability to prompt user about what to do upon usb insertionSolomon Peachy1-0/+10
v3: Add in config option v4: Bugfixes v5: Force a redraw upon exiting v6: keypress-in-chargeonly mode enables mass storage (and vice versa) v7: Fix bootloader builds v8: Update manual, and have bootloader respect keypresses v9: Change default to mass storage (ie no change in behavior) todo: * test-build dx50/dx90 * Switch from yes/no to proper menu? * prevent WPS progress bar from drawing over us Change-Id: I82e0ccb08497b7a5aa756ce77f1332ee963703a7 ... Change-Id: I7946cf240b18a4fa8ace5e25e1eb6e97b8b12d7c
2020-11-12pcm: Further cleanup of unused bits of the PCM ACPI:Solomon Peachy1-4/+0
* pcm_get_bytes_remaining() * pcm_calculate_peaks() * pcm_get_peak_buffer() Nothing in-tree uses these at all (except for the lua plugin wrapper) Change-Id: I971b7beed6760250c8b1ce58f401a601e1e2d585
2020-11-12Rocker Add WPS and Tree Hotkey, button codes in debug menuWilliam Wilgus1-0/+3
VolUp+VolDown becomes the wps and tree (file browser) hotkey Change-Id: I0cba96927420c318506bc0c15dabcb809cd81647
2020-11-11iriver_flash: refactor code to be easier to understandJames Buren4-2/+5
This overhauls most of the code to be easier to understand in terms of the interactions with the flash. I found the original to be rather confusing with how it kept switching between byte and word offsets. My solution was to make all external access to the flash in terms of sectors and bytes. Whatever the flash uses internally is now handled by the subroutines for performing the erase, program, and verify operations. This helps make it far more consistent for the code that actually uses these operations as they do not need to concern themselves with word sizes and offsets anymore. As a side effect of this change the flash operations are now done entirely by subroutines; even the batch operations that used to use custom loops. Additionally some functions were merged with other functions in order to reduce the amount of functions as well as consolidating common code fragments. Change-Id: I4698e920a226a3bbe8070004a14e5848abdd70ec
2020-11-04pp5020: use ipod firmware timings for ATA PIO.Torne Wuff1-0/+3
Some mSATA adapters seem to have trouble working with Rockbox using our normal PIO timings; the timing value we use is probably out of spec and is different to the OF. Switch to using the OF's timings according to which PIO mode we select. This may not completely resolve problems with these adapters but allows Rockbox to boot and play audio. Change-Id: If73210700eb4af01864b373709ee1d15c775fb11
2020-11-02FuzePlus USB+screen dump overflows usbstackWilliam Wilgus1-0/+1
Bump USB stack by 128 bytes adds USB_EXTRA_STACK Change-Id: I12839edbe889c878482081cf59fc6540384673ac
2020-10-31lcd_framebuffer bugfixes, sanity checksWilliam Wilgus2-10/+10
several issues I saw that could pontentially cause problems scroll engine doesn't take text height into account when checking bounds NBELEMS was one whole row too large hopefully I got them right this time Change-Id: If303da8320429c3964fc675351cb088d46303745
2020-10-31pcm: Get rid of pcm_play_pause() and associated APIsSolomon Peachy5-8/+3
Nothing in the core has used it for some time. It's exported to the plugin API but the last plugins to use it were switched to the mixer API back in 2011. This allows us to get rid of pcm_play_dma_pause() from all audio drivers Change-Id: Ic3fa02592316f84963e41d792d1cabb436d1ff6b
2020-10-26Whitespace cleanup on fb_viewport RewriteWilliam Wilgus2-4/+4
Change-Id: I24aac41c8abecf7b78a44d7f59e842b791be4563
2020-10-26LCD core move buf ptr and address look up function viewport structWilliam Wilgus2-137/+208
I'm currently running up against the limitations of the lcd_draw functions I want these functions to be able to be used on any size buffer not just buffers with a stride matching the underlying device [DONE] allow the framebuffer to be decoupled from the device framebuffer [DONE need examples] allow for some simple blit like transformations [DONE] remove the device framebuffer from the plugin api [DONE}ditto remote framebuffer [DONE] remove _viewport_get_framebuffer you can call struct *vp = lcd_set_viewport(NULL) and vp->buffer->fb_ptr while remote lcds may compile (and work in the sim) its not been tested on targets [FIXED] backdrops need work to be screen agnostic [FIXED] screen statusbar is not being combined into the main viewport correctly yet [FIXED] screen elements are displayed incorrectly after switch to void* [FIXED] core didn't restore proper viewport on splash etc. [NEEDS TESTING] remote lcd garbled data [FIXED] osd lib garbled screen on bmp_part [FIXED] grey_set_vp needs to return old viewport like lcd_set_viewport [FIXED] Viewport update now handles viewports with differing buffers/strides by copying to the main buffer [FIXED] splash on top of WPS leaves old framebuffer data (doesn't redraw) [UPDATE] refined this a bit more to have clear_viewport set the clean bit and have skin_render do its own screen clear scrolling viewports no longer trigger wps refresh also fixed a bug where guisyncyesno was displaying and then disappearing [ADDED!] New LCD macros that allow you to create properly size frame buffers in you desired size without wasting bytes (LCD_ and LCD_REMOTE_) LCD_STRIDE(w, h) same as STRIDE_MAIN LCD_FBSTRIDE(w, h) returns target specific stride for a buffer W x H LCD_NBELEMS(w, h) returns the number of fb_data sized elemenst needed for a buffer W x H LCD_NATIVE_STRIDE(s) conversion between rockbox native vertical and lcd native stride (2bitH) test_viewports.c has an example of usage [FIXED!!] 2bit targets don't respect non-native strides [FIXED] Few define snags Change-Id: I0d04c3834e464eca84a5a715743a297a0cefd0af
2020-10-26make the plugin API frambuffer agnosticMoshe Piekarski1-2/+1
Change-Id: I5abdc231093054c517ff53b9a456997e440e3f6e
2020-10-26sonynwz: A10 and A20 series support high bitratesSolomon Peachy1-1/+1
Change-Id: I6b33368ed5d7800b79dafbb736e6ed079accbd25
2020-10-26h300: add support for ROM image generationJames Buren1-1/+1
Change-Id: I6e0985de370609bae98ba6eab487bf43eb4191b6
2020-10-26rocker: Disable mute-on-pause, due to a platform kernel bug.Solomon Peachy1-2/+5
In short, the display fading back in after a pause resuming interferes with the audio codec, causing BadThings(tm) that cannot be recovered from This really is just avoiding a known trigger; there's no guarantee this condition won't occur under random circumstances during normal use, and there's no good way to work around this from within rockbox. I suspect the underlying problem is that both the display control and codec control share an i2c bus, but the kernel drivers implementing them isn't using proper linux bus access/locking. Change-Id: Id4f56f9cb269ed74aac2f041146b3630cef09030
2020-10-26coldfire: make the RAM and ROM image locations configurable by macrosJames Buren5-5/+10
Change-Id: Ie27e39c34947b0391be621dafb8711c44e863a1c
2020-10-26h300: enable support for iriver_flashJames Buren1-2/+9
This also modifies the configuration file to include macros defined in the H100 / H120 implementation. Change-Id: Iae845889c98661ec548c04fc57e733dcc346c0f1
2020-10-26x3ii/x20/rocker: Fix volume scaling.Solomon Peachy2-2/+2
Change-Id: Ie70d709b4c18f16cdd67aa05d9183b4ace2e66b4
2020-10-23samsungyp: Enable recording feature. No idea if it works. :DSolomon Peachy2-1/+4
Change-Id: I48952f0551aaf1023f084e0be18354970d2492ed
2020-10-20xduoox20: Start unmuted, as the least-worst optionSolomon Peachy1-0/+4
Change-Id: Ie85d9df0f861315dfc9d767218d86115420aa9d7
2020-10-18sonynwz: Properly support multidrive, with hotswap of the SD cardSolomon Peachy4-3/+15
Change-Id: I7eb8efb0986a395d5ffbcc06a54bb680e0b59e9d
2020-10-17xduoox20: Remove a duplicate config optionSolomon Peachy1-3/+0
Change-Id: Ieeacc8b42d2a4d1c647cfa3b0d00f90fe98af0ed
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-17Define a USB storage type, and hook it up for hosted targetsSolomon Peachy4-2/+17
Change-Id: I56363c989139c7edf0b2c67b0aac9ef1adfacba2
2020-10-17hosted: Fix HAVE_MULTIDRIVE to work properly with PIVOT_ROOTSolomon Peachy1-1/+1
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-15m3k: Fixes for the M3K.Solomon Peachy1-2/+0
* 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-15hosted: Unify the USB code for the hiby-based players.Solomon Peachy4-0/+16
* 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-14erosq: Add battery discharge curve and initial runtime estimation.Solomon Peachy1-3/+7
(playing mp3 with headphones inserted lasted just over 13 hours) Change-Id: Id610f911811eafd914db20000ae860c75e0d8a93
2020-10-13imx31: Work around an apparently not-quite-kosher abuse of CPPSolomon Peachy1-3/+4
(we were trying to foward-declare functions from within static initializer context. GCC no longer accepts this) Change-Id: I58f316ecc84c8ab45fffc054955727a55714b0a3
2020-10-13xduoox3ii: Update battery curve.Solomon Peachy1-2/+4
Change-Id: I2cc04d696631ba887fa8943d94360f902bf12e85
2020-10-12hosted: More PCM muting workSolomon Peachy1-0/+1
* 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-12Hosted PCM: Rework auto-muting code a bitSolomon Peachy1-0/+8
* 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-11Turn on ROLO for M3K tooSolomon Peachy1-0/+5
Change-Id: I7e1b2168a70605c5a138d83fd69e847fd02af4a4
2020-10-11hosted: sanitize handling of HOME_DIRSolomon Peachy11-22/+22
* 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 Peachy10-4/+160
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 Peachy4-0/+22
Change-Id: I2d46a63ee8225a9d9d77dd80a06c418af78c260c
2020-10-09New port: FiiO M3KSolomon Peachy5-1/+138
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-05FS13241: Get rid of the hacky hold switch emulation on the X3ii & X20Solomon Peachy2-6/+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-03imx233: Enable 96/192K playback for all imx233 targets that have roomSolomon Peachy11-26/+35
Change-Id: Ief00cc9243af3168f0c088520936137b64f3b581
2020-10-03Disable 88/96KHz from targets that lack the IRAM to hold the mix buffersSolomon Peachy8-42/+12
Change-Id: I67b15d4c517a74a23639f8659acbc89022c264b5
2020-10-03alsa: introduce AUDIOHW_MUTE_ON_PAUSE, and have rocker use it.Solomon Peachy1-0/+2
Change-Id: I1edbb8e71a9c73baaeecb01b66cbee6c3f7b5f8f
2020-10-02For backlights that have a wide control, support skipping steps.Solomon Peachy3-3/+6
the rocker, x3ii, and x20 now take advantage of this, and fades are far faster now. Change-Id: Iceb1a5a6c1d1389c3fdb859b32016b5114a80a22