summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-12Agptek Rocker: Implement RTC supportMarcin Bukat
Add define in config file to enable RTC support in rockbox, Fix time_menu.c to include radio.h only when tuner is present Implement time setting function on linux (was empty stub) Not tested. Change-Id: I40e6c4a6c1b66ada9cf4e698e502e221d0fc44df
2018-06-12Agptek Rocker: Add bass, treble and balance controlsMarcin Bukat
Change-Id: Ib84620850bbdc81afbdfff1610a0be7eab4f0ac0
2018-06-12Agptek Rocker: Implement USB mass storage driverMarcin Bukat
Agptek uses composite android driver. Change-Id: Iece188ad640f3dfd24c171946c14da4c3516b6d5
2018-06-12Agptek Rocker: Make simulator compile and runMarcin Bukat
There are some things to fix left but at least it starts and you can navigate. Change-Id: I76084bfc50334deeb55f46a10e97b5d6639815ac
2018-06-12Agptek Rocker: Build pluginsMarcin Bukat
Patch provided by Aapo Tahkola. Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
2018-06-12Agptek Rocker: Restrict root directory to SD onlyMarcin Bukat
Actual / of underlying linux OS should not be available to user. I am still not sure if implementation is correct. It doesn't perform any relative path sandboxing for example. Change-Id: Ic577a10f3947f6e950e2c4d03173f9f207395eb7
2018-06-12Agptek Rocker: Add tools to work with OF update imagesMarcin Bukat
Original firmware update is provided as .upt file. This file is actually ISO9660 image containing uBoot, kernel image and UBIFS rootfs and additional control files. Installing bootloader means patching UBIFS rootfs image. Change-Id: Ica86d1189dc1d5f3131d2035d8b87c8d08ec36b5
2018-06-12Agptek Rocker: Initial commitMarcin Bukat
Change-Id: I26b51106c7b1c36a603fba6d521e917d79b5a95b
2018-06-12mipsel-rockbox-linux toolchain build fixMarcin Bukat
If we use mips-rockbox-linux target resulting toolchain is big endian. If we use mipsel-rockbox-linux build fail since linux doesn't have separate archs for BE and LE mips. So we tweak arch passed to linux-headers stage to fix this. Change-Id: Iccae529998d1cd8f3429fa3b2ca4f030122f23bb
2018-06-12Add generic linux MIPS toolchainAmaury Pouly
Change-Id: I9f8927e348421bd8592d62eb61f6acf324d5f3a4
2018-06-05Fix lua failure to catch divide by zero and NaN exceptionsWilliam Wilgus
I can only assume in the course of the original conversion to fixed point math in RbLua the fact that division by zero and NaN handling was to be caught as a graceful exception by the floating point handler was overlooked. As a result lua doesn't handle these exceptions and instead results in a panic on the device. This patch fixes this handling in the lexer for compile time Inf and Nan results and in the luavm for runtime division by zero (Inf) I missed the runtime exception of n%0 added checks for that as well.. Change-Id: I7746c087ea93678e5875f15ec6fe3f29f26bdb31
2018-06-05Make short press of SELECT in FMS return ACTION_NONE on Sansa FuzeWilliam Wilgus
Fixes action fall through of select|release on fuze during FMS screen allowing detection of unmapped button Change-Id: I53945766263d8710f31621a4c9ad50cec7be2b0d
2018-06-05Fix FMS Volume-long press Up and Down button actions for SANSA CLIP derivativesWilliam Wilgus
When long pressing PLAY/PAUSE and FM_MODE on devices that use the clip keymap the volume changes in addition to toggling PLAY/PAUSE and SCAN/SEEK,this patch removes the volume functionality as these devices provide dedicated volume buttons Change-Id: I3ab5af6da07900417c31c7a1036343b32b950e4e
2018-06-05Add file view menu to file browserWilliam Wilgus
Allows changing file sort options directly through context menu in the file browser rather than having to exit the browser and go through General Settings>File_View Change-Id: Iec124d512dcb934bd261b2144a699c23f536c165
2018-05-31Revert "rocklib -- Fix Red"William Wilgus
This reverts commit 37a20dffb6c285e625f049820a6aaadbbd7952aa. Change-Id: Ibf3a56f2b84e0e4af4c2ed890bc22b3555ab24ae
2018-05-31Revert "Rocklua -- Clean-up source"William Wilgus
This reverts commit 0565f671181f10e6eb38156d9f409825e2513290. Removing Typedef from rliimage Change-Id: Ib14241785c73de8ba6dc18ac76bec35eaed4661d
2018-05-28rocklib -- Fix RedWilliam Wilgus
Change-Id: I83b967a266837ebdf887e0f2c2d169a69af9e287
2018-05-28Rocklua -- Clean-up sourceWilliam Wilgus
Change-Id: I11dad15320f209655fd72c2365fe29afd65057d3
2018-05-28Lua liolibWilliam Wilgus
Add Whitespace to EOF Change-Id: Iac253e7905c59518040d39bb5033e35f0deea948
2018-05-27Fix lua lseek command / io libWilliam Wilgus
lua would not return or set arbitrary file positions file:seek("set", 0) worked file:seek("cur") worked but setting an offset or file:seek("end") failed I tracked this down to a bug checking the return of rb->lseek on error lseek returns a negative number and returns the file position otherwise, the function was checking for if(N) instead of if(N < 0) Fixed - limited size of lseek to size of signed LuaNumber Fixed - io:lines() stopped after first line containing only a newline instead of returning a blank line and continuing till EOF this fixes file:read("*l") as well Fixed - ssize_t for read() with error checking Change-Id: Ie859b288fb8f6814f1b3ae30992ecf78f2669de7
2018-05-25Fuze PLUS Fix lcd_update_rect()William Wilgus
Lcd_update rect was hanging during horizontal screen update x = 238 and width = 2 which was within the bounds of the screen, this seems to be a weird corner case but more testing needs done. Update_rect now properly bounded between 0 - screen w/h --Cleaned up code Pixels in x are now multiples of 4. Datasheet states: ------------------------------------------------------------------------------------------- WORD_LENGTH=0 implies the input frame buffer is RGB 16 bits per pixel. DATA_FORMAT_16_BIT field indicates if the pixels are in RGB 555 or RGB 565 format. Limitations: — BYTE_PACKING_FORMAT [3:0] should be 0x3 or 0xC if there is only one pixel per word. — If there are two pixels per word, BYTE_PACKING_FORMAT [3:0] should be 0xF and H_COUNT will be restricted to be a multiple of 2 pixels. and WORD_LENGTH=3 indicates that the input frame-buffer is RGB 24 bits per pixel (RGB 888). If BYTE_PACKING_FORMAT [3:0] is 0x7, it indicates that there is only one pixel per 32-bit word and there is no restriction on H_COUNT. Limitations: — If BYTE_PACKING_FORMAT [3:0] is 0xF, it indicates that the pixels are packed, i.e. there are 4 pixels in 3 words or 12 bytes. In that case, H_COUNT must be a multiple of 4 pixels. ------------------------------------------------------------------------------------------- We are using 16 bits per pixel and byte_packing = 0xF but device crashes with multiple of 2 pixels Behaviour can be verified with plugin - oscilloscope, Horizontal mode device hangs as indicator reaches right of screen Change-Id: I1445f5334f4e7fe59304c65c76b47d0daa0614b2
2018-05-25Fix Remove lcd_scroll_worker from bootloader except remote displays/charcellWilliam Wilgus
This patch was supposed to only remove scroll worker from devices without remote displays, the build system said otherwise Change-Id: I240db89ee6b55818dbd2567338515b53ebe09300 fixed: conditional define
2018-05-23Remove lcd_scroll_worker from bootloader except remote displays and charcellWilliam Wilgus
Removes unneeded scrolling fuctionality from bootloaders Change-Id: Iebe308144cc11c9139399702e3dcd1a548cb9831
2018-05-23Don't enable full vuprintf file in bootloader. Saves ~2KB packed space when ↵Michael Giacomelli
patching clip+ OF. Change-Id: Ie03714778918bfb4a1087f60534d60ff349a8330
2018-04-24puzzles: update frontend for new upstream, misc. changesFranklin Wei
The upstream code changed a little bit with regard to the request_keys() API. Also, we save some bytes (especially on the c200v2) by compiling with -ffunction-sections and -fdata-sections, which allows Net to fit once again. Change-Id: I3ab30127169c73e4cd8996f0c12e1223ee18d79f
2018-04-24puzzles: update help text, make generation and testing cleanerFranklin Wei
This includes an upstream change to the Galaxies help text. `genhelp.sh' no longer leaves temporary files sitting around, and the self-test feature of lz4tiny.c works again. Change-Id: I787f4cb3c258baade31638d6be18f95b7aa0705e
2018-04-24puzzles: resync with upstreamFranklin Wei
This brings the upstream version to b3da238 (though some of my own changes are included on top of that). Change-Id: Ida73e8cd86765413147ce891af3cc2b7aeda2b2a
2018-04-24puzzles: silence some warningsFranklin Wei
Change-Id: Id6fd9d8dd3021f5e2cb93565d7e419aaf07f9af0
2018-04-20Add battery calibration for Sony NWZ A10.Michael Giacomelli
2018-04-17puzzles: save some bytesFranklin Wei
This should cut just enough size off the binary to let Net still compile for the c200v2. This is probably close to the last time I'll be able to do this; I'm already resorting to dirty hacks like writing super terse error messages. Change-Id: I43344b9a601696d7ca56fc02af4a611fd9d1a150
2018-04-17puzzles: clean up for rockboxFranklin Wei
Disabled vprintf() call in Filling, and reordered vertices in Unequal. Change-Id: Ia3d8cd46ae3a7909b7dc2a8de762aa3173634d1e
2018-04-17puzzles: enable all the remaining gamesFranklin Wei
They all work now :). I merged in part of Chris Boyle's Android port of Puzzles to give the front end a way to know what keys the back end needs. This also re-syncs to the latest upstream sources. Change-Id: Ie0409bbb32f617ae5abf4f81be3b45d1552db9bb
2018-04-03Oscilloscope plugin: bundle #define NEED_LASTBUTTON to a single placeSebastian Leonhardt
This fixes a warning that was introduced with enabling plugins for the Zen XFi-2. Change-Id: I8fe9a4be301f2c4643d04ae42d2189e62c191592
2018-04-03Zen XFi2: Enable PluginsSebastian Leonhardt
Keymaps aren't tested, there may be room for improvement. Change-Id: I6b8fe697899b241ea6e96f4fe446d88671ad7818
2018-04-03pacbox for small screens, up to 75x96Sebastian Leonhardt
Change-Id: I6e9adf2f6923f4d0078a54e9857fc8eacef259a6
2018-04-02pacbox: clean-up screen size codeSebastian Leonhardt
removes the code duplication for lcd scaling in pacbox.h/pacbox_lcd.h Change-Id: Ib0aeacc9934351c5e32cd4b7576cdc840e6ff7da
2018-03-18duke3d: add manual entryFranklin Wei
Oops. Apparently I neglected to add this and it's gone unnoticed until now. Change-Id: I938f14c3dfcc4336acca1517988fd096e11ab241
2018-03-18puzzles: fix typoFranklin Wei
Change-Id: I6b8c18472749248508d4e5b1595b8903e687f67c
2018-03-17puzzles: add formatting to help viewerFranklin Wei
The help text is now processed to generate a style array to pass to the display_text library in addition to the text itself. The help text is still compressed using LZ4, and still fits on the c200v2. Change-Id: I7a3a664f90f67a1a018956c72d2b62d92b8ffd17
2018-03-12sdl: remove non-rockbox driversFranklin Wei
We never use any of these other drivers, so having them around just takes up space. Change-Id: Iced812162df1fef3fd55522b7e700acb6c3bcd41
2018-01-15sdl: clean up audio driverFranklin Wei
This prevents a (highly improbable) race condition when exiting, and uses pcm_set_frequency() instead of mixer_set_frequency(), since that seems like the Right Thing to Do (TM). Change-Id: Icb6a4597843215f08b3835490ac63f67c9a04736
2018-01-15duke3d: bump audio sample rate to 22.1KHzFranklin Wei
Recent optimizations to sound mixing should allow this, up from 16KHz. Change-Id: I0ba5742c934118a3a6505b8dc58578b0cfe8ea77
2018-01-15duke3d: further optimize audio mixingFranklin Wei
Rather than holding intermediate results as fixed-point, this converts them directly to normal integers (in the range of the PCM sample) while mixing, instead of waiting till the end to perform a separate shifting step. Also, this precalculates some constants in the reverb code. Change-Id: Ie04e444d145bc28ce67eef9ae0ead6d328acf28a
2018-01-14sdl: correct misleading commentsFranklin Wei
Change-Id: Ieb33d3fec1e0d834c5e294b79f280959497acb6a
2018-01-14Use sleep(0) instead of yield() in SDL_WaitAudioMichael Sevakis
This allows CPU load to drop below 100%, which is good for anything that scales frequency and voltage based on CPU load. Also conserves some energy by letting the core go idle if there aren't any available buffers. Change-Id: I9385ac9e030f97010b12eb825875a900463ab0ac
2018-01-14Gigabeat S: Remove unwanted partitions on the flyMichael Sevakis
Windows now ignores the hidden flag, so just nullify the entries to hide depending upon whether or not bootloader install mode is activated. Change-Id: I00d0797e40ea3b5f5d5d8e1243b50cfcdd029bb4
2018-01-13nwztools/scsitool: fix completely stupid codeAmaury Pouly
Change-Id: I3771388d24fe5fa249dcb40b231d7a4e06d3c3c8
2018-01-13nwztools/scsitool: print clearer message when nvp info is incompleteAmaury Pouly
Change-Id: I13b20b88b35e825da929a31e71ff42d68a79f131
2018-01-13Add information for NWZ-S630 and NWZ-S730Amaury Pouly
Change-Id: I4c48c9a8d862eaf67ec27c1c13b9b7f1fb204fc0
2018-01-11sdl: fix freeze on startup on PP targetsFranklin Wei
Using the coprocessor was a good idea in theory, but didn't actually work. This moves all SDL threads to the main core, which isn't ideal, but at least works. Additionally, this also adds some good-practice stuff such as setting the default sample rate on exit. Change-Id: If1636b33d439000ec7c4e50f46e8d002708d3121