summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-10-26LCD core move buf ptr and address look up function viewport structWilliam Wilgus74-967/+1595
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 Piekarski25-93/+92
Change-Id: I5abdc231093054c517ff53b9a456997e440e3f6e
2020-10-26statusbar: Respect 'numdecimals' when displaying the volume settingSolomon Peachy1-9/+12
eg with numdecimals=1, a value of "-300" actually means "-30.0" So divide it down appropriately, and only display the whole integer portion. Change-Id: I62927d2e64b224f3c11640b9bb9e84d60dbde34b
2020-10-26sonynwz: A10 and A20 series support high bitratesSolomon Peachy1-1/+1
Change-Id: I6b33368ed5d7800b79dafbb736e6ed079accbd25
2020-10-26iriver_flash: correctly calculate when to stop erasing the bootloaderJames Buren1-1/+1
It was originally hard-coded at 0x200 which is 512 sectors. This only works for the H100 and H120. The larger ROM of the H300 is 1024 sectors in size. In either case the bootloader starts 16 sectors before the end of the ROM so rely on this fact to correctly calculate where to stop the bootloader erasure. Change-Id: Iec4112ebf24379f80a7bf1363035e005c434907e
2020-10-26h300: add support for ROM image generationJames Buren3-1/+10
Change-Id: I6e0985de370609bae98ba6eab487bf43eb4191b6
2020-10-26rocker: Disable mute-on-pause, due to a platform kernel bug.Solomon Peachy2-2/+9
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 Buren6-10/+15
Change-Id: Ie27e39c34947b0391be621dafb8711c44e863a1c
2020-10-26h300: enable support for iriver_flashJames Buren3-5/+12
This also modifies the configuration file to include macros defined in the H100 / H120 implementation. Change-Id: Iae845889c98661ec548c04fc57e733dcc346c0f1
2020-10-26h300: expose the firmware functions in the plugin APIJames Buren2-2/+2
Change-Id: Ieff0aa0a4134e347b2ee690d60b25fdac5958a6b
2020-10-26x3ii/x20/rocker: Fix volume scaling.Solomon Peachy2-2/+2
Change-Id: Ie70d709b4c18f16cdd67aa05d9183b4ace2e66b4
2020-10-26Get rid of another vestigal SH remnant in the rom linker scriptSolomon Peachy1-3/+1
Change-Id: Id7509ad4affc4d72fbfdd11b39a404ad54c76f1b
2020-10-25iriver_flash: add support for SST39VF3201 ROM chipsJames Buren1-0/+6
These are used in the iRiver H300 series. Change-Id: Iafbd165bdfd71b691698156d3fd91243c50b3b61
2020-10-25Revert Non-Alpha Updated 8x8 tango iconsWilliam Wilgus2-1/+0
The new icons have no alpha channel thus these are being removed in favor of the old icons (that have alpha and match the rest of the set too) This reverts commit 326b7a5c0c00b1d13cfd1319c1f290d18da8d824. Change-Id: I110725b0a2b705856da194cfb7edf21dd255936e
2020-10-25pcm-alsa: fix red.Solomon Peachy1-1/+1
Change-Id: Id8d5442b0b3eb4ce3c20d1c9d24f07b5378cc22f
2020-10-25hosted: Document HW capabilities of audio driversSolomon Peachy2-0/+68
One surprise: X3ii is capable of 384KHz playback Change-Id: I0cc88637c81a21d54979e82b2941fe14de933d4d
2020-10-25hosted: alsa: Fix two bugs when recordingSolomon Peachy1-4/+6
Change-Id: Ib97857874676ea4aa8f04d44e048de8465a4da4f
2020-10-24pcm_mixer: Fix an idle frame calculation bug introduced in 2e708c48c5Solomon Peachy1-1/+1
Resulted in playback sometimes hanging after switching tracks Change-Id: I3d7a3c131cf547206ec536d9818c5060113f2b11
2020-10-23ClipPlus BOOTLOADER DONT FIT!William Wilgus7-3/+529
REMOVED FROM ALL NATIVE BOOTLOADERS: finish removing the text scrolling pare down printf to a minimal subset (%c %s %l %d %u and %x(%p)) remove diacritic and rtl language support GOAL 134000 START 135305 CURRENT 133700 SUCCESS! (ASSUMING IT WORKS -- UNESTED) Change-Id: Ic3f6ac1dc260578f581ee53458b3e5bb47d313ec
2020-10-23samsungyp: Enable recording feature. No idea if it works. :DSolomon Peachy2-1/+4
Change-Id: I48952f0551aaf1023f084e0be18354970d2492ed
2020-10-23ALSA: Further rework:Solomon Peachy2-192/+370
* Get rid of non-async (ie tick task) mode due to inherent brokenness * Get rid of nonblock mode; we never write if buffers aren't sufficient * Move driver init into pcm_open() instead of pcm_init() * Much better underrun handling * Better error handling in some situations * Add in recording functionality * Use smaller audio buffers to avoid glitching * Don't start audio buffer with silence * Allow device name to be overridden by target Recording portions based on work done by Lorenzo Miori in g#633 Change-Id: I0197bdc1749c28109eb79def1e6a3e1d62d8cef3
2020-10-23fire: exit out of the plugin with both PLA_EXIT and PLA_CANCELSolomon Peachy1-1/+3
Change-Id: I553fc5d02b7ee7004d791ba40cbd655f98c88f19
2020-10-23Hosted targets Fix timer cycle calculation overflowWilliam Wilgus2-2/+5
at 1 GHZ the intermediate calculation for cycles overflows 32 bits this makes timer fail even with sensible values solution divide both sides by 100 Change-Id: I18a4054c2d06fb72531d5496bba562f71b03984f
2020-10-23Convert FFT plugin to using PLA keymapingsSolomon Peachy1-360/+12
Based on an old patch (g#188) by Jean-Louis Biasini Change-Id: I698b8990b7cd57a28353e86cfc35788aa42455d2
2020-10-23SVG image of the Aigo Eros Q and other formats for the manual.Szymon Dziok3-0/+2118
Change-Id: I77b7e425408feb55c9be966b64e839909253ad34
2020-10-22rbutil: Rename libbzip2.a to libbz2.a.Dominik Riebeling4-11/+10
When cross compiling for Windows (at least mxe) links bz2, causing both our copy and the system one getting linked, resulting in symbol clashes. Make sure we use the same name as the system one, so the linker can pick one of both. Change-Id: I16213a20f48d4e192cd0b756931f9ccb449fd1c0
2020-10-22fiio: Another bugfix in the mute code.Solomon Peachy1-0/+2
Change-Id: I165f4871fa79fb5759d2f0833c543edd5f1ce779
2020-10-22fiio: add in a missing audiohw_mute() call.Solomon Peachy1-0/+1
Change-Id: I837dcb81b8814573fe947d6c7cfa10ff651689d0
2020-10-21rbutil: Fix linking zlib on Windows.Dominik Riebeling1-4/+1
With Qt4 zlib was linked implicitly (and explicitly linking it caused errors). This was a Qt issue that has been resolved with (at least current) Qt5, now we need to explicitly link zlib on native Windows. Change-Id: Ia5a6bdc83a39f6f5629c34ed835d2272a887f161
2020-10-21rbutil: Fix native Windows build for tools.Dominik Riebeling4-2/+14
- When make on Windows finds sh.exe it will try to use that. We use cmd.exe calls when detecting Windows, so make sure we use cmd.exe as shell. - Add missing Windows compatibility to tomcrypt Makefile. Change-Id: Iaef133ca27472a5ddf449174d540983f15c66aea
2020-10-21hosted: Allow ALSA driver to switch output device at runtimeSolomon Peachy1-19/+28
* Allow output device name to be specified * Set hw/swparams prior to actual playback start, not at init * If told to open a new device, cleanly close down old one. Change-Id: Ib97310ec23588136c031466ee9c22312ab0f9f5a
2020-10-21Add UI Simulator for Eros Q / K seriesSolomon Peachy4-0/+98
Change-Id: I9ffc101bd904b3f0e2d6a86a43fb1ae3fda73a19
2020-10-20xduoox20: Start unmuted, as the least-worst optionSolomon Peachy2-0/+10
Change-Id: Ie85d9df0f861315dfc9d767218d86115420aa9d7
2020-10-19nwza860: fix simulator buildAmaury Pouly1-1/+1
Change-Id: Ie05e91241398e45890f98ced9c0116a98475437e
2020-10-18nwzstools: add NW-A820 nvp nodesAmaury Pouly2-1/+199
Change-Id: Iab79eb0c9b0bbf8fb7622f5630f385d56878507a
2020-10-18rbutil: Fix ipodpatcher qmake based build on macOS.Dominik Riebeling1-0/+4
On macOS we need to pass the used frameworks, otherwise linking will fail. Change-Id: I6b19eac6a460d91b567c0eb128b776558c0a4a39
2020-10-18rbutil: Pass isysroot to rbutil libs on macOS.Dominik Riebeling6-0/+20
On macOS we pass the full path to the compiler. On recent versions this causes the compiler to not find its SDK path, this needs to get passed via the isysroot option. Change-Id: Iea2820e1755cc80e12691119dfa31d70938ea511
2020-10-18sbtools: Change crypto wrapper implementation to C.Dominik Riebeling3-6/+1
There's nothing C++ left. Change-Id: I98d8406215287c02b56029ed7c0e2b0e645bbcf1
2020-10-18sbtools: convert crypto to libtomcrypt.Dominik Riebeling6-64/+50
Replace the use of crypto++ with tomcrypt, which is much smaller and C. This gets rid of various build issues for systems that don't ship crypo++ (i.e. everything except Linux.) Change-Id: Ic0799e17b94935c71b14765cf9a2a7ea2b0adc7a
2020-10-18imxtools: Replace use of "byte" with its underlying uint8_t.Dominik Riebeling8-70/+69
libtomcrypt uses a macro "byte" which conflicts with this type. Since the underlying type is uint8_t and there's no real benefit from using a custom type use the actual underlying type. Change-Id: I982c9b8bdcb657b99fa645a5235303af7afda25b
2020-10-18utils: Add Makefile for our copy of libtomcrypt.Dominik Riebeling1-0/+41
Change-Id: I6b9ffe86b9e78b494a3a9211d6e79bb81c9fb6d4
2020-10-18utils: Add (partial) libtomcrypt.Dominik Riebeling29-0/+8417
Add the parts of libtomcrypt that we're about to use. Change-Id: I0adc1d7d1f4833e7bb3ed53b9a4d9a85977cfb8b
2020-10-18tools: Modernize rbspeex Makefile.Dominik Riebeling1-27/+28
- Replace echo with make internal info function. - Make dependency generation implicit to avoid another compiler call. - Align object handling with libtools.make. Change-Id: Iaaddd17af04039dcd8948399bc99d21def05181d
2020-10-18sonynwz: Properly support multidrive, with hotswap of the SD cardSolomon Peachy5-11/+81
Change-Id: I7eb8efb0986a395d5ffbcc06a54bb680e0b59e9d
2020-10-17xduoox20: Remove a duplicate config optionSolomon Peachy1-3/+0
Change-Id: Ieeacc8b42d2a4d1c647cfa3b0d00f90fe98af0ed
2020-10-17hosted: Drop a bootloader version string in /etc, and report it in debug menuSolomon Peachy2-0/+28
Change-Id: I4d72d7800dbff56619898b6bc9d0f81a6c561598
2020-10-17Fix sim build for STORAGE_USBSolomon Peachy1-0/+2
Change-Id: Ie738fbc834523796a08af31f1a649632246e2bb4
2020-10-17hosted: Consolidate common config of hiby-based units into a common headerSolomon Peachy6-307/+99
* Enabled MULTIDRIVE and ROOTFS_HOTPLUG for full hotswap! (Requires updated bootloader/integration!) Change-Id: I7dad1f8d375e087c36fce37bec3e9184602ede50
2020-10-17hiby_patcher: Fix a couple of bugs in the hotplug scriptsSolomon Peachy1-6/+14
Change-Id: Id8782b843c626aba37a954b930f9bcaac21bc073
2020-10-17hosted: Fix USB mounting code to work with HAVE_MULTIDRIVE enabledSolomon Peachy3-9/+50
Change-Id: I48944c28903db117d3d883a5e777cafe5d055600