rockbox:rockbox.git
7 years agomake bininstall rule depend on the binary
funman [Sat, 19 Jun 2010 08:46:18 +0000 (08:46 +0000)]
make bininstall rule depend on the binary

7 years agonew bininstall rule to install rockbox binary only
funman [Sat, 19 Jun 2010 08:43:53 +0000 (08:43 +0000)]
new bininstall rule to install rockbox binary only

7 years agodon't parse features.txt when not needed
funman [Sat, 19 Jun 2010 08:43:49 +0000 (08:43 +0000)]
don't parse features.txt when not needed

7 years agominesweeper: bugfixes / code improvements
funman [Sat, 19 Jun 2010 08:06:31 +0000 (08:06 +0000)]
minesweeper: bugfixes / code improvements

dont make out of array accesses to the minefield
dont flag positions already known
avoid using the same name for local & global variables
don't use modulo but only 1 conditional add/sub

7 years agomake clean: delete lib/ directory
funman [Sat, 19 Jun 2010 06:11:22 +0000 (06:11 +0000)]
make clean: delete lib/ directory

7 years agofix r26953: use physical address for DMA buffer, also for IRAM
funman [Sat, 19 Jun 2010 05:55:18 +0000 (05:55 +0000)]
fix r26953: use physical address for DMA buffer, also for IRAM

AMSv2 and AMSv1 lowmem put the codec buffer in IRAM so we need to adjust
the address : AS3525_PHYSICAL_ADDRESS macro will do just that

7 years agosd-as3525*: handle aligned transfers without memcpy()
funman [Sat, 19 Jun 2010 04:55:10 +0000 (04:55 +0000)]
sd-as3525*: handle aligned transfers without memcpy()

test_disk shows 1MB transfers are up to 3 times faster
not much difference for 1 or 8 sectors at a time
define STORAGE_WANTS_ALIGN to use the fast path when possible

7 years agoFS#11417 by Joe Balough: fix audio/tuner on philips hdd6330
funman [Sat, 19 Jun 2010 03:51:57 +0000 (03:51 +0000)]
FS#11417 by Joe Balough: fix audio/tuner on philips hdd6330

7 years agoOf course there's no mdelay on c200(v1), so just use udelay
ranma [Sat, 19 Jun 2010 03:04:22 +0000 (03:04 +0000)]
Of course there's no mdelay on c200(v1), so just use udelay

7 years agoInclude system-target.h for mdelay
ranma [Sat, 19 Jun 2010 02:52:13 +0000 (02:52 +0000)]
Include system-target.h for mdelay

7 years agoUse mdelay
ranma [Sat, 19 Jun 2010 02:36:10 +0000 (02:36 +0000)]
Use mdelay

7 years agoAdd mdelay
ranma [Sat, 19 Jun 2010 02:34:56 +0000 (02:34 +0000)]
Add mdelay

7 years agoComment on mps sizes
ranma [Sat, 19 Jun 2010 02:29:24 +0000 (02:29 +0000)]
Comment on mps sizes

7 years agousb-drv-as3525: set bulk max packet size according to speed
funman [Sat, 19 Jun 2010 00:26:36 +0000 (00:26 +0000)]
usb-drv-as3525: set bulk max packet size according to speed

only dump/clean dcache for the needed range

7 years agoACTION_FM_QUICKSCREEN is unused
funman [Fri, 18 Jun 2010 22:42:40 +0000 (22:42 +0000)]
ACTION_FM_QUICKSCREEN is unused

7 years agoclip recording keymap changes, thanks to dfkt
funman [Fri, 18 Jun 2010 22:42:35 +0000 (22:42 +0000)]
clip recording keymap changes, thanks to dfkt

7 years agoBuild iPod 1st/2nd Gen with EABI (main build and bootloader verified working).
amiconn [Fri, 18 Jun 2010 22:38:11 +0000 (22:38 +0000)]
Build iPod 1st/2nd Gen with EABI (main build and bootloader verified working).

7 years agoradio keymap: enable fuze/clip buttons
funman [Fri, 18 Jun 2010 22:14:45 +0000 (22:14 +0000)]
radio keymap: enable fuze/clip buttons

fuze was accidentally deleted in r25964

7 years agoTheme Editor: Working on rendering viewports, display will now show %V(...) viewports...
bieber [Fri, 18 Jun 2010 21:10:01 +0000 (21:10 +0000)]
Theme Editor: Working on rendering viewports, display will now show %V(...) viewports as red rectangles over backdrop or background color

7 years agoWith a max delay of 17 seconds before overflow happens limiting to unsigned short...
ranma [Fri, 18 Jun 2010 20:04:16 +0000 (20:04 +0000)]
With a max delay of 17 seconds before overflow happens limiting to unsigned short shouldn't be necessary.

7 years agoclip+ keymap: revert r26396
funman [Fri, 18 Jun 2010 20:03:39 +0000 (20:03 +0000)]
clip+ keymap: revert r26396

software hold is now on home+select and quickscreen on long home like on
other clips

7 years agoas3525v2: use 248MHz PLL (reverse engineered by bertrik)
funman [Fri, 18 Jun 2010 19:56:29 +0000 (19:56 +0000)]
as3525v2: use 248MHz PLL (reverse engineered by bertrik)

- cpufreq is now the same than AMSv1
- audio playback frequency should be more accurate
- adjust pclk (24.8MHz on clipv2/clip+, 41.333..MHz on fuzev2) : it is
  still lower than the AMSv1 which use 62MHz on every model

7 years agoas3525: cache first read of enrd0 register
funman [Fri, 18 Jun 2010 19:47:58 +0000 (19:47 +0000)]
as3525: cache first read of enrd0 register

We need it for correct charger detection if we boot with charger plugged
because there is no edge interrupt

7 years agoLog filesystem free value to system trace.
bluebrother [Fri, 18 Jun 2010 19:46:45 +0000 (19:46 +0000)]
Log filesystem free value to system trace.

7 years agoas3525*: make udelay() be a simple busy loop
funman [Fri, 18 Jun 2010 19:14:08 +0000 (19:14 +0000)]
as3525*: make udelay() be a simple busy loop

it achieves all the requirements, work fine on c200v2, and is much simpler

7 years agoRockbox Utility translation updates.
bluebrother [Fri, 18 Jun 2010 19:04:12 +0000 (19:04 +0000)]
Rockbox Utility translation updates.

- Update german translation.
- lupdate all other translations and drop obsolete strings.

7 years agoMake System and Utils class based on QObject.
bluebrother [Fri, 18 Jun 2010 19:04:06 +0000 (19:04 +0000)]
Make System and Utils class based on QObject.

Those classes use Qt objects anyway, and making them based on QObject moved the
strings into the appropriate class when translating.

7 years agoas3525v2: document PLL bits and show current PLL frequency in the debug menu
bertrik [Fri, 18 Jun 2010 18:32:38 +0000 (18:32 +0000)]
as3525v2: document PLL bits and show current PLL frequency in the debug menu

7 years agoarm/crt0.S: comment why the reset vector doesn't use absolute addressing
funman [Fri, 18 Jun 2010 18:31:14 +0000 (18:31 +0000)]
arm/crt0.S: comment why the reset vector doesn't use absolute addressing

7 years agofix endif wrongly removed (should have been moved) in r26927
funman [Fri, 18 Jun 2010 17:47:06 +0000 (17:47 +0000)]
fix endif wrongly removed (should have been moved) in r26927

7 years agoas3525*: enable USB stack in bootloader (but not USE_ROCKBOX_USB yet)
funman [Fri, 18 Jun 2010 17:39:22 +0000 (17:39 +0000)]
as3525*: enable USB stack in bootloader (but not USE_ROCKBOX_USB yet)

7 years agoas3525*: enable MMU in bootloader
funman [Fri, 18 Jun 2010 17:33:51 +0000 (17:33 +0000)]
as3525*: enable MMU in bootloader

Reserve 1MB of DRAM for loading rockbox and use the rest as BSS
Write sdram setup in assembler and move it to a separate file, together
with MMU init code

7 years agoFix source string spelling.
bluebrother [Fri, 18 Jun 2010 14:59:23 +0000 (14:59 +0000)]
Fix source string spelling.

7 years agorolo is only needed in SH bootloaders, not other bootloaders
funman [Fri, 18 Jun 2010 14:59:20 +0000 (14:59 +0000)]
rolo is only needed in SH bootloaders, not other bootloaders

7 years agoFix error: assignment of read-only variable 'list_width'
mcuelenaere [Fri, 18 Jun 2010 14:45:44 +0000 (14:45 +0000)]
Fix error: assignment of read-only variable 'list_width'

7 years agoSimplify check in gui_synclist_do_touchscreen(), no functional changes.
mcuelenaere [Fri, 18 Jun 2010 14:41:49 +0000 (14:41 +0000)]
Simplify check in gui_synclist_do_touchscreen(), no functional changes.

7 years agoC200v2 lcd controller still gets stuck sometimes, do a full controller init in lcd_en...
ranma [Fri, 18 Jun 2010 14:11:41 +0000 (14:11 +0000)]
C200v2 lcd controller still gets stuck sometimes, do a full controller init in lcd_enable()

7 years agoreorder apps/plugins/lib/SOURCES.
teru [Fri, 18 Jun 2010 13:49:36 +0000 (13:49 +0000)]
reorder apps/plugins/lib/SOURCES.

7 years agolibmad: Optimize away 2 instructions from coldfire III_imdct, no measurable speed...
nls [Fri, 18 Jun 2010 13:47:37 +0000 (13:47 +0000)]
libmad: Optimize away 2 instructions from coldfire III_imdct, no measurable speed difference.

7 years agoEnable display and backlight on panic.
ranma [Fri, 18 Jun 2010 13:45:24 +0000 (13:45 +0000)]
Enable display and backlight on panic.

7 years agouse int instead of enum.
teru [Fri, 18 Jun 2010 13:33:22 +0000 (13:33 +0000)]
use int instead of enum.

7 years agoSansa AMS: fix bootloader USB mode
funman [Fri, 18 Jun 2010 13:30:25 +0000 (13:30 +0000)]
Sansa AMS: fix bootloader USB mode

7 years agoFS#11347 by me: *dir LUA functions: luadir module
funman [Fri, 18 Jun 2010 13:10:14 +0000 (13:10 +0000)]
FS#11347 by me: *dir LUA functions: luadir module

mkdir and rmdir are now in this module and not in the rockbox API
implements the 'dir' iterator to browse directories

Based on LuaFileSystem : http://www.keplerproject.org/luafilesystem

7 years agoLua: document rocklib_aux.pl a bit, so it's easier to find out about it when stumblin...
mcuelenaere [Fri, 18 Jun 2010 12:28:34 +0000 (12:28 +0000)]
Lua: document rocklib_aux.pl a bit, so it's easier to find out about it when stumbling over a CC error in rocklib_aux.c

7 years agoLua: make actions.lua, buttons.lua and rocklib_aux.c depend on it generators
mcuelenaere [Fri, 18 Jun 2010 12:28:30 +0000 (12:28 +0000)]
Lua: make actions.lua, buttons.lua and rocklib_aux.c depend on it generators

7 years agoHD200 - calibrate lcdlinear[] matrix
wodz [Fri, 18 Jun 2010 11:58:26 +0000 (11:58 +0000)]
HD200 - calibrate lcdlinear[] matrix

7 years agoSqueeze down the PP5002 cache routines a bit.
jethead71 [Fri, 18 Jun 2010 06:54:58 +0000 (06:54 +0000)]
Squeeze down the PP5002 cache routines a bit.

7 years agoAvoid ifdefs
ranma [Fri, 18 Jun 2010 05:07:00 +0000 (05:07 +0000)]
Avoid ifdefs

7 years agoMove usb-drv-as3525 defines into header file
ranma [Fri, 18 Jun 2010 04:55:55 +0000 (04:55 +0000)]
Move usb-drv-as3525 defines into header file

7 years agoFor multiprocessor targets, do the thread_exit routine such that we don't need to...
jethead71 [Fri, 18 Jun 2010 03:10:18 +0000 (03:10 +0000)]
For multiprocessor targets, do the thread_exit routine such that we don't need to rely on the compiler's good graces to have stack switching be reliable. Only needs a few asm instructions.

7 years agoas3525: bootloader USB mode
funman [Fri, 18 Jun 2010 01:47:39 +0000 (01:47 +0000)]
as3525: bootloader USB mode

not working yet : an empty drive is detected
won't link on fuzev1: drivers allocated in usb_storage.c are too large

7 years agosd-as3525: enable writing, sd_enable() and card_get_info_target() in bootloader
funman [Fri, 18 Jun 2010 01:47:34 +0000 (01:47 +0000)]
sd-as3525: enable writing, sd_enable() and card_get_info_target() in bootloader

They will be needed for USB

7 years agousb-drv-as3525: use udelay() and not a C busy loop
funman [Fri, 18 Jun 2010 01:47:29 +0000 (01:47 +0000)]
usb-drv-as3525: use udelay() and not a C busy loop

Remove redundant "? true : false"

7 years agousb-drv-as3525: build with LOGF_ENABLE undefined
funman [Fri, 18 Jun 2010 01:47:24 +0000 (01:47 +0000)]
usb-drv-as3525: build with LOGF_ENABLE undefined

7 years agoDo not produce additional space after 'to the picture above'
alle [Thu, 17 Jun 2010 22:12:11 +0000 (22:12 +0000)]
Do not produce additional space after 'to the picture above'

7 years agoTheme Editor: Continuing work on rendering, skin preview will now show backdrop or...
bieber [Thu, 17 Jun 2010 20:44:11 +0000 (20:44 +0000)]
Theme Editor: Continuing work on rendering, skin preview will now show backdrop or background color depending on config file

7 years agoFix red. Need 'inline' with 'always_inline'.
jethead71 [Thu, 17 Jun 2010 20:29:59 +0000 (20:29 +0000)]
Fix red. Need 'inline' with 'always_inline'.

7 years agoSwitch iPod 3G to use EABI toolchain. Make necessary threading changes to avoid use...
jethead71 [Thu, 17 Jun 2010 20:15:58 +0000 (20:15 +0000)]
Switch iPod 3G to use EABI toolchain. Make necessary threading changes to avoid use of stack after switching to idle stack.

7 years agosd-as3525 was calling dma_release() without calling dma_retain() first, if
ranma [Thu, 17 Jun 2010 19:14:42 +0000 (19:14 +0000)]
sd-as3525 was calling dma_release() without calling dma_retain() first, if
no card is in the sd slot.

7 years agoTheme Editor: Made allll destructors virtual
bieber [Thu, 17 Jun 2010 18:47:03 +0000 (18:47 +0000)]
Theme Editor: Made allll destructors virtual

7 years agoEither the removal of the unneeded flush or the additional epn_info setup
ranma [Thu, 17 Jun 2010 17:50:48 +0000 (17:50 +0000)]
Either the removal of the unneeded flush or the additional epn_info setup
has made it more reliable.  It seems to basically work now, but
somehow when Linux tries to read the partition table and it gets the
"scsi read10" command, the storage_read_sectors(drive=0, start=0, count=8)
call never returns...

7 years agoMake sure files which aren't windows-specific use \n line endings only
funman [Thu, 17 Jun 2010 16:59:51 +0000 (16:59 +0000)]
Make sure files which aren't windows-specific use \n line endings only

7 years agoARMv6 vector mutiplication asm, speeds up vorbis decoding about 0.1MHz on gigabeat S.
nls [Thu, 17 Jun 2010 16:49:39 +0000 (16:49 +0000)]
ARMv6 vector mutiplication asm, speeds up vorbis decoding about 0.1MHz on gigabeat S.

7 years agoDelete some duplicate inline asm macros since they now live in the codeclib.
nls [Thu, 17 Jun 2010 16:01:20 +0000 (16:01 +0000)]
Delete some duplicate inline asm macros since they now live in the codeclib.

7 years agotest_codec: print crc's that start with 0 properly.
nls [Thu, 17 Jun 2010 15:27:42 +0000 (15:27 +0000)]
test_codec: print crc's that start with 0 properly.

7 years agoARMv6 versions of X(N)PROD31 macros and MULT32 macro. Saves about 1MHz or 3% decoding...
nls [Thu, 17 Jun 2010 15:24:23 +0000 (15:24 +0000)]
ARMv6 versions of X(N)PROD31 macros and MULT32 macro. Saves about 1MHz or 3% decoding vorbis on gigabeat S.

7 years agoAdd Stephen Carroll to CREDITS for all his hard work stripping out the additional...
alex [Thu, 17 Jun 2010 14:35:10 +0000 (14:35 +0000)]
Add Stephen Carroll to CREDITS for all his hard work stripping out the additional themes from SVN and getting them on the themesite.

7 years agotiny clean up of memory allocation
jdgordon [Thu, 17 Jun 2010 13:54:09 +0000 (13:54 +0000)]
tiny clean up of memory allocation

7 years agomake the sim build the skin lib also
jdgordon [Thu, 17 Jun 2010 12:59:43 +0000 (12:59 +0000)]
make the sim build the skin lib also

7 years agoAdded skin_parser library to build system.
zagor [Thu, 17 Jun 2010 11:10:00 +0000 (11:10 +0000)]
Added skin_parser library to build system.

7 years agoAdded skin_parser library to build system. Fixed some warnings.
zagor [Thu, 17 Jun 2010 11:04:32 +0000 (11:04 +0000)]
Added skin_parser library to build system. Fixed some warnings.

7 years agowoops, forgot to add these
jdgordon [Thu, 17 Jun 2010 08:36:28 +0000 (08:36 +0000)]
woops, forgot to add these

7 years agomake the parser slightly more usable for rockbox, move the buffer allocation into...
jdgordon [Thu, 17 Jun 2010 07:56:51 +0000 (07:56 +0000)]
make the parser slightly more usable for rockbox, move the buffer allocation into the lib (maybe not the best spot?)

7 years agoTheme Editor: Stopped combo boxes in configuration editor from scrolling on mouse...
bieber [Thu, 17 Jun 2010 07:34:24 +0000 (07:34 +0000)]
Theme Editor: Stopped combo boxes in configuration editor from scrolling on mouse-wheel

7 years agoTheme Editor: Working on renderer infrastructure
bieber [Thu, 17 Jun 2010 06:59:46 +0000 (06:59 +0000)]
Theme Editor: Working on renderer infrastructure

7 years agoMove the skin parser to a seperate library
jdgordon [Thu, 17 Jun 2010 06:52:02 +0000 (06:52 +0000)]
Move the skin parser to a seperate library

7 years agoTheme Editor: Moved source files into subdirectories
bieber [Thu, 17 Jun 2010 05:37:01 +0000 (05:37 +0000)]
Theme Editor: Moved source files into subdirectories

7 years agoAMSv2 RTC: no need to write to RTC_WAKEUP register
funman [Thu, 17 Jun 2010 05:28:38 +0000 (05:28 +0000)]
AMSv2 RTC: no need to write to RTC_WAKEUP register

The wakeup alarm will be disabled when powering off anyway
OF database refresh of µSD now only happens if the wakeup was
explicitely enabled
There still seems to be a freeze problem when powering off (sometimes)

7 years agoTheme Editor: Began working on skin preview viewer
bieber [Thu, 17 Jun 2010 00:40:07 +0000 (00:40 +0000)]
Theme Editor: Began working on skin preview viewer

7 years agoRe-write the Telechips I2C delay routine in assembler to stop the compiler optimising...
rob [Wed, 16 Jun 2010 21:03:57 +0000 (21:03 +0000)]
Re-write the Telechips I2C delay routine in assembler to stop the compiler optimising it away. Tested with EABI and non-EABI compilers.

7 years agoThe mystery FM chip in some Sansa Clip+ players has been identified as a RDA5802...
bertrik [Wed, 16 Jun 2010 20:29:08 +0000 (20:29 +0000)]
The mystery FM chip in some Sansa Clip+ players has been identified as a RDA5802, so rename files and functions. Also fix several bugs.

7 years agoTheme Editor: Items from line under cursor now selected in parse tree view
bieber [Wed, 16 Jun 2010 19:24:53 +0000 (19:24 +0000)]
Theme Editor: Items from line under cursor now selected in parse tree view

7 years agoAdd interpolation so output file contains lcdlinear[] matrix dump
wodz [Wed, 16 Jun 2010 09:12:46 +0000 (09:12 +0000)]
Add interpolation so output file contains lcdlinear[] matrix dump

7 years agoTheme Editor: Replaced line edits for key names with combo boxes
bieber [Wed, 16 Jun 2010 07:47:03 +0000 (07:47 +0000)]
Theme Editor: Replaced line edits for key names with combo boxes

7 years agoFM clip+ radio: enable stereo indication
bertrik [Wed, 16 Jun 2010 06:53:14 +0000 (06:53 +0000)]
FM clip+ radio: enable stereo indication

7 years agoFS#11402 by me : sd_enable for Sansa AMSv2
funman [Wed, 16 Jun 2010 06:08:04 +0000 (06:08 +0000)]
FS#11402 by me : sd_enable for Sansa AMSv2

Gets a bit more battery life
Adjust current usage, it was a bit too low for Clipv2/Clip+

7 years agoRemove ugly RTL writing direction hack.
bluebrother [Tue, 15 Jun 2010 21:14:11 +0000 (21:14 +0000)]
Remove ugly RTL writing direction hack.

Instead of hard coding the languages to be rendered as RTL make it dependent on
a translation string. Translate the string LTR to RTL to switch to RTL layout.
This is equivalent to the handling done in the i18n example for Qt Jambi and
while not the best solution at least cleaner than hardcoded languages.

Update hebrew translation for this which is currently the only RTL translation.
lupdate all other translations.

7 years agoSupport for mystery FM chip in some Sansa Clip+, FS #11403 by me
bertrik [Tue, 15 Jun 2010 20:57:48 +0000 (20:57 +0000)]
Support for mystery FM chip in some Sansa Clip+, FS #11403 by me

7 years agoTheme Editor: Implemented save/save as in the configuration file editor
bieber [Tue, 15 Jun 2010 20:55:56 +0000 (20:55 +0000)]
Theme Editor: Implemented save/save as in the configuration file editor

7 years agoTheme Editor: Added copyright headers to ConfigDocument files, continued work on...
bieber [Tue, 15 Jun 2010 20:31:28 +0000 (20:31 +0000)]
Theme Editor: Added copyright headers to ConfigDocument files, continued work on configuration editing

7 years agoAdd cleaned up tests used for Utils::compareVersionStrings().
bluebrother [Tue, 15 Jun 2010 19:49:43 +0000 (19:49 +0000)]
Add cleaned up tests used for Utils::compareVersionStrings().

7 years agoSDL target: remove mouse polling and replace it with an event-based mechanism, this...
mcuelenaere [Tue, 15 Jun 2010 18:33:56 +0000 (18:33 +0000)]
SDL target: remove mouse polling and replace it with an event-based mechanism, this makes touchscreen on the sim much smoother

7 years agoTheme Editor: add generated files and folders to svn:ignore.
bluebrother [Tue, 15 Jun 2010 17:15:21 +0000 (17:15 +0000)]
Theme Editor: add generated files and folders to svn:ignore.

7 years agoManually cleaned up version of FS#11358 by Hinrik Örn Sigurðsson
nls [Tue, 15 Jun 2010 16:33:59 +0000 (16:33 +0000)]
Manually cleaned up version of FS#11358 by Hinrik Örn Sigurðsson

7 years agoTheme editor: only accept valid colors in the preference dialog
mcuelenaere [Tue, 15 Jun 2010 11:06:40 +0000 (11:06 +0000)]
Theme editor: only accept valid colors in the preference dialog

7 years agoHD200 - use line transfers in lcd_grey_data. This gives ~25% speedup.
wodz [Tue, 15 Jun 2010 10:41:43 +0000 (10:41 +0000)]
HD200 - use line transfers in lcd_grey_data. This gives ~25% speedup.

7 years agotest_disk: print return values in case of error
funman [Tue, 15 Jun 2010 08:55:28 +0000 (08:55 +0000)]
test_disk: print return values in case of error

Also print the requested read/write size

7 years agofirst step of making touch regions usable in all skins, not just the WPS.. no user...
jdgordon [Tue, 15 Jun 2010 08:38:23 +0000 (08:38 +0000)]
first step of making touch regions usable in all skins, not just the WPS.. no user viewable changes just yet

7 years agoFS#10336 - Simplify list redrawing to improve voicing when scrolling to top/bottom.
pondlife [Tue, 15 Jun 2010 07:08:35 +0000 (07:08 +0000)]
FS#10336 - Simplify list redrawing to improve voicing when scrolling to top/bottom.

7 years agoFS#11096 - fix the "last touch" tag from being true on boot
jdgordon [Tue, 15 Jun 2010 06:55:18 +0000 (06:55 +0000)]
FS#11096 - fix the "last touch" tag from being true on boot