Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



whenwhatwherewho
27th Jul 23:00 91500e1: pacbox: fix screen and buttons for Creative Zen

* rotate screen counterclockwise
* rotate directional buttons
apps/plugins/pacbox/pacbox.h [diff]
apps/plugins/pacbox/pacbox_lcd.c [diff]
Sebastian Leonhardt
31th Jul 10:10 5dfcadc: manual: nitpicking on '-' character and other minor details
manual/advanced_topics/main.tex [diff]
manual/appendix/appendix.tex [diff]
manual/appendix/config_file_options.tex [diff]
manual/appendix/fdl.tex [diff]
manual/appendix/wps_tags.tex [diff]
manual/getting_started/installation.tex [diff]
manual/plugins/frotz.tex [diff]
manual/plugins/main.tex [diff]
manual/plugins/mpegplayer.tex [diff]
manual/plugins/superdom.tex [diff]
manual/plugins/zxbox.tex [diff]
manual/rockbox_interface/tagcache.tex [diff]
Sebastian Leonhardt
2017-01-13 7442742: iPod Classic: disable IRAM1

On Classic, IRAM1 (second 128Kb of a total of 256KB available IRAM) is slower than DRAM. Codecs that actually are using regions of IRAM1 runs faster when DRAM is used, so IRAM1 is disabled and only IRAM0 remains enabled: 48KB for core and 80KB for codecs/plugins.

The next test_codec results shows how decode time is decreased:

file boosted unboosted
*.ra ~1.5% ~0.5%
*.mpc ~21% ~4.5%
*.ogg ~0.5% ~0% nero_he*.m4a ~8% ~1% nero*.m4a ~25% ~7% wmapro*.wma ~4.5% ~0% wma*.wma ~25% ~7%

In addition there is a small power save when IRAM1 HW is disabled.
apps/plugins/plugin.lds [diff]
firmware/target/arm/s5l8702/app.lds [diff]
firmware/target/arm/s5l8702/pcm-s5l8702.c [diff]
firmware/target/arm/s5l8702/system-s5l8702.c [diff]
lib/rbcodec/codecs/libcook/cook.h [diff]
lib/rbcodec/codecs/libfaad/common.h [diff]
lib/rbcodec/codecs/libffmpegFLAC/bitstream.h [diff]
lib/rbcodec/codecs/libmusepack/mpcdec.h [diff]
lib/rbcodec/codecs/libspc/spc_codec.h [diff]
lib/rbcodec/codecs/libwma/wmadec.h [diff]
lib/rbcodec/codecs/libwmapro/wmaprodec.h [diff]
Cástor Muñoz
2016-07-31 8f38f85: Workaround for usb_storage_init_connection() panic

For s5l8701, s5l8702 and as3525v2 targets.

The crash occurs when USB is inserted or extracted while the playlist is being loaded or updated (it could take a few seconds for huge playlists), at this point all buflib memory is allocated and not freed before usb_starage_init_connection() is executed.

This workaround mitigates this panic by using static memory for USB buffers, so this memory cannot be used for other tasks, in addition the problem still persist when playlist load is 'paused' by USB insertion and then updated after USB extraction.
firmware/usbstack/usb_storage.c [diff]
Cástor Muñoz
29th Jul 10:23 210881c: Remove leftover merge conflict marker
firmware/target/hosted/sdl/sim-ui-defines.h [diff]
Franklin Wei
29th Jul 10:05 e9bdb4b: Fix syntax error in builds.pm

This should fix the build system.
tools/builds.pm [diff]
Franklin Wei
28th Jul 15:35 d8bd356: Revert "As3525 v1/v2 Add power savings menu"

This reverts commit 6f0320a9535bc1aa81d83fa879ac14d5ee603658.
apps/features.txt [diff]
apps/lang/english.lang [diff]
apps/menus/settings_menu.c [diff]
apps/settings.h [diff]
apps/settings_list.c [diff]
firmware/export/config.h [diff]
firmware/export/config/sansac200v2.h [diff]
firmware/export/config/sansaclip.h [diff]
firmware/export/config/sansaclipplus.h [diff]
firmware/export/config/sansaclipv2.h [diff]
firmware/export/config/sansaclipzip.h [diff]
firmware/export/config/sansae200v2.h [diff]
firmware/export/config/sansafuze.h [diff]
firmware/export/config/sansafuzev2.h [diff]
firmware/target/arm/as3525/ascodec-as3525.c [diff]
firmware/target/arm/as3525/clock-target.h [diff]
firmware/target/arm/as3525/sansa-clipplus/lcd-clip-plus.c [diff]
firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c [diff]
firmware/target/arm/as3525/sd-as3525.c [diff]
firmware/target/arm/as3525/sd-as3525v2.c [diff]
firmware/target/arm/as3525/system-as3525.c [diff]
firmware/target/arm/as3525/system-target.h [diff]
manual/configure_rockbox/system_options.tex [diff]
William Wilgus
28th Jul 15:34 16f10e2: Revert "Fix Red on PowerSave in Simulator"

This reverts commit 568b81202ebd24a3f7e9efe0558b5f6beed05b44.
firmware/export/config/sansac200v2.h [diff]
firmware/export/config/sansaclip.h [diff]
firmware/export/config/sansaclipplus.h [diff]
firmware/export/config/sansaclipv2.h [diff]
firmware/export/config/sansaclipzip.h [diff]
firmware/export/config/sansae200v2.h [diff]
firmware/export/config/sansafuze.h [diff]
firmware/export/config/sansafuzev2.h [diff]
firmware/target/arm/as3525/sd-as3525.c [diff]
William Wilgus
28th Jul 09:05 c75aac8: Slightly raise voltage on FuzeV2 devices.

Some devices seem to have trouble accessing the storage at lower voltages.
firmware/target/arm/as3525/system-as3525.c [diff]
Michael Giacomelli
28th Jul 08:52 3e91ad5: Fix download link for the MIPS toolchain. tools/rockboxdev.sh [diff]
Michael Giacomelli
28th Jun 04:24 0662793: Add cleaned-up xDuoo X3 support

Cleaned up, rebased, and forward-ported from the xvortex fork.

(original credit to vsoftster@gmail.com)

Signed-off-by: Solomon Peachy
apps/SOURCES [diff]
apps/keymaps/keymap-xduoox3.c [new]
apps/menus/sound_menu.c [diff]
apps/plugins/battery_bench.c [diff]
apps/plugins/blackjack.c [diff]
apps/plugins/brickmania.c [diff]
apps/plugins/calculator.c [diff]
apps/plugins/calendar.c [diff]
apps/plugins/chessbox/chessbox_pgn.h [diff]
apps/plugins/chessclock.c [diff]
apps/plugins/chip8.c [diff]
apps/plugins/chopper.c [diff]
apps/plugins/clix.c [diff]
apps/plugins/cube.c [diff]
apps/plugins/doom/i_video.c [diff]
apps/plugins/fft/fft.c [diff]
apps/plugins/flipit.c [diff]
apps/plugins/fractals/fractal.h [diff]
apps/plugins/goban/goban.h [diff]
apps/plugins/greyscale.c [diff]
apps/plugins/imageviewer/imageviewer_button.h [diff]
apps/plugins/jewels.c [diff]
apps/plugins/lib/keymaps.h [diff]
apps/plugins/lib/pluginlib_actions.c [diff]
apps/plugins/midi/midiplay.c [diff]
apps/plugins/minesweeper.c [diff]
apps/plugins/mp3_encoder.c [diff]
apps/plugins/mpegplayer/mpeg_settings.c [diff]
apps/plugins/mpegplayer/mpegplayer.c [diff]
apps/plugins/oscilloscope.c [diff]
...and 84 more files.
Solomon Peachy
2017-11-19 b3e2bd6: Update MIPS toolchain to GCC 4.9.4 and binutils 2.26.1, update configure
tools/configure [diff]
tools/rockboxdev.sh [diff]
Amaury Pouly
28th Jul 13:36 8fb1740: Fix scroll_engine truncation

fix one off error
firmware/export/scroll_engine.h [diff]
William Wilgus
28th Jul 12:55 568b812: Fix Red on PowerSave in Simulator
firmware/export/config/sansac200v2.h [diff]
firmware/export/config/sansaclip.h [diff]
firmware/export/config/sansaclipplus.h [diff]
firmware/export/config/sansaclipv2.h [diff]
firmware/export/config/sansaclipzip.h [diff]
firmware/export/config/sansae200v2.h [diff]
firmware/export/config/sansafuze.h [diff]
firmware/export/config/sansafuzev2.h [diff]
firmware/target/arm/as3525/sd-as3525.c [diff]
William Wilgus
27th Jul 21:56 6f0320a: As3525 v1/v2 Add power savings menu

Allow user to select cpu undervolt

There have been quite a few issues across the SANSA AMS line related to CPU undervolting while most players show greatly increased runtime some crash. Rather than constanly upping the voltage we now have a setting with a safe value for all players and the option for lower voltages

I plan to add a few other options here later such as disk timings and maybe some other clocks/experimental settings

Added: Disk Low speed option for AS3525v2 devices cuts frequency to 12 MHz from 24 MHz Added: Disk Low speed option for AS3525v1 devices cuts frequency to 15.5 MHz from 31 MHz

Added: I2c Low Speed AS3525 devices, should be bigger improvement for v1 devices

Fixed: Debug menu for AS3525v2 No SDSLOT frequency, Showed IDE freq though it is unused

Added: DBOP and SSP underclocking affects display on v1/v2 respectively

Fixed: debug menu now has SSP frequency, and SSP_CPSR

Update: made settings menu more generic

Update: cleaned up code

Added: Clip v1 & Fuze v1 didn't have HAVE_ADJUSTABLE_CPU_VOLTAGE. not sure why but, waiting on testing to confirm

Added: C200v2 and E200v2 devices and HAVE_ADJUSTABLE_CPU_VOLTAGE.

Fixed: v1 devices don't like display timing set lower (dbop) v1 devices don't have a divider set for ssp (causes divide by 0)

Fixed: ClipZip display lags with Max SSP divider changed from 0xFE to 0x32

Fixed: v1 devices didn't work properly with highspeed sd cards Added code from http://gerrit.rockbox.org/r/#/c/1704/ Added powersave and IDE interface enable/disable

Added: V2 devices now have powersave enabled on sd interface

Update: cleaned up code, lang defines, added manual entries

Update ssp clock mechanism added calculated ssp divider to clipzip

Update turn display clock off when clip+ turns off display

Fixed: clipzip wrong register for SSP clock

TODO: add other players?
apps/features.txt [diff]
apps/lang/english.lang [diff]
apps/menus/settings_menu.c [diff]
apps/settings.h [diff]
apps/settings_list.c [diff]
firmware/export/config.h [diff]
firmware/export/config/sansac200v2.h [diff]
firmware/export/config/sansaclip.h [diff]
firmware/export/config/sansaclipplus.h [diff]
firmware/export/config/sansaclipv2.h [diff]
firmware/export/config/sansaclipzip.h [diff]
firmware/export/config/sansae200v2.h [diff]
firmware/export/config/sansafuze.h [diff]
firmware/export/config/sansafuzev2.h [diff]
firmware/target/arm/as3525/ascodec-as3525.c [diff]
firmware/target/arm/as3525/clock-target.h [diff]
firmware/target/arm/as3525/sansa-clipplus/lcd-clip-plus.c [diff]
firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c [diff]
firmware/target/arm/as3525/sd-as3525.c [diff]
firmware/target/arm/as3525/sd-as3525v2.c [diff]
firmware/target/arm/as3525/system-as3525.c [diff]
firmware/target/arm/as3525/system-target.h [diff]
manual/configure_rockbox/system_options.tex [diff]
William Wilgus
27th Jul 13:09 400603a: Lua -- Fix device hang when scroll function active on clear_screen

I previously noticed that manually clearing the framebuffer while scroll function was active caused lua to crash

I could reproduce in sim and on device but I thought using the plugin supplied rb->lcd_clear_screen was immune to this issue

Unfortunately some devices exhibit this behavior with the plugin function as well

This patch adds rb->lcd_scroll_stop() before lcd_clear_screen at lua start-up and to the supplied include file lcd.lua
apps/plugins/lua/include_lua/lcd.lua [diff]
apps/plugins/lua/rocklua.c [diff]
William Wilgus
2017-12-14 dcd71e6: Optimize lcd-ssd1303 driver (clip series)

Saves 100+ bytes (50 of it in iram), saves a bit of power

Internal LCD clock decreased but with added efficiency of drawing routines loses only around 2 Hz on the scanrate (~75Hz) while fps is slightly increased

Column offsets are now calculated outside the loops saving a few instructions

Passing a LCD_NOP command after lcd_update turns off Data/Cmd# gpio saving a bit more power

Added a function lcd_write_cmd_triple() that allows 3 commands to be sent at once when enabled with LCD_USE_FIFO_FOR_COMMANDS it sends them back to back without checking FIFO status in between or sending to thhe D/C# Gpio. Makes an assumption about the FIFO being large enough to accept 3 commands after being emptied which should be the case on the clipv1, clipv2, clipplus. I have only enabled it for the clip plus as thats the only device I have to test it on.

On clip+ the SSP clock is now turned off when screen is off
firmware/target/arm/as3525/lcd-clip.h [diff]
firmware/target/arm/as3525/lcd-ssd1303.c [diff]
firmware/target/arm/as3525/sansa-clip/lcd-clip.c [diff]
firmware/target/arm/as3525/sansa-clipplus/lcd-clip-plus.c [diff]
firmware/target/arm/as3525/sansa-clipv2/lcd-clipv2.c [diff]
William Wilgus
2017-11-14 056d4b0: Update AS3525 v1/v2 debug menu; add scrolling and missing frequencies

On the clip zip most debug menu items get cut off and there is no way to read most of the debug menu items.

This patch makes the menu button scroll the text 1 character to the right with each press and the center (select) button re-aligns the text

Adds SSP frequency(v2) & register Adds SD slot frequency(v2)
apps/debug_menu.c [diff]
firmware/target/arm/as3525/debug-as3525.c [diff]
William Wilgus
25th Jul 18:53 ff7d2bd: Fix lcd-scroll.c truncation warnings
firmware/export/scroll_engine.h [diff]
William Wilgus
25th Jul 18:41 1054b57: Revert "Ignore truncation in lcd-scroll.c"

This reverts commit 540637ed3334364fe9d1b54cdc96a52f59afda83.
firmware/drivers/lcd-scroll.c [diff]
William Wilgus
25th Jul 18:16 7b5ce73: Fix playersim CHAR_WIDTH re-definition
uisimulator/common/lcd-playersim.h [diff]
William Wilgus
25th Jul 17:56 540637e: Ignore truncation in lcd-scroll.c
firmware/drivers/lcd-scroll.c [diff]
William Wilgus
25th Jul 17:28 5e5ddce: Fix truncation warnings in tree.c, filetree.c
apps/filetree.c [diff]
apps/tree.c [diff]
William Wilgus
25th Jul 17:32 7bec713: Fix formatting cuesheet.c
apps/cuesheet.c [diff]
William Wilgus
25th Jul 16:33 2fb6b2b: Fix truncation warning playlist.c, tree.c
apps/playlist.c [diff]
apps/tree.c [diff]
William Wilgus
25th Jul 12:14 2eeb338: Ignore cuesheet title truncation
apps/cuesheet.c [diff]
William Wilgus
25th Jul 06:29 bdbc7f7: Revert "Remove truncation from cuesheet"

This reverts commit a81c63160c5d1da3a5c2b407fae58daead6199a8.
apps/cuesheet.c [diff]
William Wilgus
25th Jul 06:31 021124f: Revert "Fix cuesheet printf truncation"

This reverts commit c332180afd8ac408883ba79c6c4d9c86120198e0.
apps/cuesheet.c [diff]
William Wilgus
25th Jul 06:12 c332180: Fix cuesheet printf truncation
apps/cuesheet.c [diff]
William Wilgus
25th Jul 05:32 a81c631: Remove truncation from cuesheet

Lets see if this works..
apps/cuesheet.c [diff]
William Wilgus
2017-10-30 c15af64: AMS v1/v2: Fix I2C2_CSPR debug menu entry

I2c controller needs to be enabled in order to read CSPR0, CSPR1 registers function sets CGU_I2C_AUDIO_MASTER_CLOCK_ENABLE and only clears if it wasn't previously enabled

Use divider set in register to calculate frequency rather than hard coded divider
firmware/target/arm/as3525/ascodec-as3525.c [diff]
firmware/target/arm/as3525/debug-as3525.c [diff]
firmware/target/arm/as3525/system-target.h [diff]
William Wilgus
2017-12-09 6a56876: CLIPPLUS -- Remove un-needed handling for power button button button_read_device()

switching GPIOB in order to read GPIOD96)
(power button) is apparently unneeded
firmware/target/arm/as3525/sansa-clipplus/button-clip.c [diff]
William Wilgus
24th Jul 06:31 1b68aea: Try #4 for lua make

Last commit was just a test to see if it work this one cleans it up a bit and should be a bit faster
apps/plugins/lua/lua.make [diff]
William Wilgus
24th Jul 05:31 1482a31: Try # 3 for lua make file
apps/plugins/lua/include_lua/image.lua [diff]
apps/plugins/lua/lua.make [diff]
William Wilgus
24th Jul 05:09 aefdd20: Lua Fix image saving for 32 bit targets -- update make file

Hopefully this will fix the build faliures for a few targets
apps/plugins/lua/include_lua/image.lua [diff]
apps/plugins/lua/lua.make [diff]
William Wilgus
23rd Jul 00:50 af35d19: Rocklua -- Extend / Fix rliImage

Some devices(1-bit / 2-bit displays) have packed bit formats that need to be unpacked in order to work on them at a pixel level.

This caused a few issues on 1 & 2-bit devices: Greatly Oversized data arrays for bitmaps Improper handling of native image data Framebuffer data was near unusable without jumping through hoops

Conversion between native addressing and per pixel addressing incurs extra overhead but it is much faster to do it on the 'C' side rather than in lua.

Not to mention the advantage of a unified interface for the end programer

------------------------------------------------------------------- Adds a sane way to access each pixel of image data Adds:
-------------------------------------------------------------------- img:clear([color],[x1],[y1],[x2],[y2])
(set whole image or a portion to a particular value)
-------------------------------------------------------------------- img:invert([x1],[y1],[x2],[y2])
(inverts whole image or a portion)
-------------------------------------------------------------------- img:marshal([x1],[y1],[x2],[y2],[funct])
(calls funct for each point defined by rect of x1,y1 x2,y2 returns value and allows setting value of each point return nil to terminate early)
-------------------------------------------------------------------- img:points([x1],[y1],[x2],[y2],[dx],[dy])
(returns iterator function that steps delta-x and delta-y pixels each call returns value of pixel each call but doesn't allow setting to a new value compare to lua pairs method)
-------------------------------------------------------------------- img:copy(src,[x1],[y1],[x2],[y2],[w],[h],[clip][operation][clr/funct])
(copies all or part of an image -- straight copy or special ops optionally calls funct for each point defined by rect of x1, y1, w, h and x2, y2, w, h for dest and src images returns value of dst and src and allows setting value of each point return nil to terminate early)
-------------------------------------------------------------------- img:line(x1, y1, x2, y2, color)
-------------------------------------------------------------------- img:ellipse(x1, y1, x2, y2, color, [fillcolor]
-------------------------------------------------------------------- Fixed handling of 2-bit vertical integrated screens

Added direct element access for saving / restoring native image etc.

Added more data to tostring() handler and a way to access individual items

Added equals method to see if two variables reference the same image address
(doesn't check if two separate images contain the same 'picture')

Optimized get and set routines

Fixed out of bound x coord access shifting to next line

Added lua include files to expose new functionality

Finished image saving routine

Static allocation of set_viewport struct faster + saves ram over dynamic

Cleaned up code

Fixed pixel get/set for 1/2 bit devices

Fixed handling for 24-bit devices (32?)

------------------------------------------------------------------------- Example lua script to follow on forums
-------------------------------------------------------------------------
apps/plugins/lua/include_lua/blit.lua [new]
apps/plugins/lua/include_lua/color.lua [new]
apps/plugins/lua/include_lua/draw.lua [new]
apps/plugins/lua/include_lua/image.lua [new]
apps/plugins/lua/include_lua/lcd.lua [new]
apps/plugins/lua/include_lua/math_ex.lua [new]
apps/plugins/lua/include_lua/print.lua [new]
apps/plugins/lua/include_lua/timer.lua [new]
apps/plugins/lua/lua.make [diff]
apps/plugins/lua/rocklib.c [diff]
William Wilgus
22nd Jul 16:43 ef210b5: Revert "Rocklua -- Extend / Fix rliImage"

This reverts commit 2daec3d3c3d84e7176a22bc073ca5530e8e44c6d.
apps/plugins/lua/include_lua/blit.lua [deleted]
apps/plugins/lua/include_lua/color.lua [deleted]
apps/plugins/lua/include_lua/draw.lua [deleted]
apps/plugins/lua/include_lua/image.lua [deleted]
apps/plugins/lua/include_lua/lcd.lua [deleted]
apps/plugins/lua/include_lua/math_ex.lua [deleted]
apps/plugins/lua/include_lua/print.lua [deleted]
apps/plugins/lua/include_lua/timer.lua [deleted]
apps/plugins/lua/lua.make [diff]
apps/plugins/lua/rocklib.c [diff]
William Wilgus

Page was last modified "Oct 24 2016" The Rockbox Crew
aaa