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



whenwhatwherewho
Tuesday 14:43 277d358: imx233: add generic lradc based button driver

This driver does debouncing and best lradc usage and only requires a sorted table of values to work, this factoring code as much as possible.
firmware/target/arm/imx233/button-lradc-imx233.c [new]
firmware/target/arm/imx233/button-lradc-imx233.h [new]
Amaury Pouly
Tuesday 14:41 27aca8f: imx233: don't dcp on stmp3600, allow touchscreen with HAVE_*
firmware/SOURCES [diff]
Amaury Pouly
Tuesday 14:39 0b6198f: imx233: add basic ATA driver

The current driver only works in PIO mode.
firmware/SOURCES [diff]
firmware/target/arm/imx233/ata-imx233.c [new]
firmware/target/arm/imx233/ata-target.h [new]
Amaury Pouly
Tuesday 14:24 bbb7891: imx233: add uartdbg driver

The driver is current unused and very minimal. It can used on targets which have an accessible UART port and it will be used on some creative targets as backlight control.
firmware/SOURCES [diff]
firmware/target/arm/imx233/uartdbg-imx233.c [new]
firmware/target/arm/imx233/uartdbg-imx233.h [new]
Amaury Pouly
Tuesday 14:21 4962854: imx233: add stmp3600 and stmp3700 pin descriptions
firmware/target/arm/imx233/pins/pins-stmp3600.h [new]
firmware/target/arm/imx233/pins/pins-stmp3700.h [new]
Amaury Pouly
Tuesday 14:19 ea8b22a: zenxfi3: drop audio routing driver in favor of the generic one
firmware/SOURCES [diff]
firmware/target/arm/imx233/creative-zenxfi3/audio-target.h [new]
firmware/target/arm/imx233/creative-zenxfi3/audio-zenxfi3.c [deleted]
Amaury Pouly
Tuesday 14:18 11c907a: zenxfi2: drop audio routing driver in favor of the generic one
firmware/SOURCES [diff]
firmware/target/arm/imx233/creative-zenxfi2/audio-target.h [new]
firmware/target/arm/imx233/creative-zenxfi2/audio-zenxfi2.c [deleted]
Amaury Pouly
Tuesday 14:15 d997daf: fuzeplus: drop audio routing driver in favor of the generic one
firmware/SOURCES [diff]
firmware/target/arm/imx233/audio-imx233.h [diff]
firmware/target/arm/imx233/sansa-fuzeplus/audio-fuzeplus.c [deleted]
firmware/target/arm/imx233/sansa-fuzeplus/audio-target.h [new]
Amaury Pouly
Tuesday 14:11 e735ce4: imx233: introduce generic audio routing driver
firmware/target/arm/imx233/audio-imx233.c [new]
firmware/target/arm/imx233/audio-imx233.h [new]
Amaury Pouly
Tuesday 14:09 d8368d5: imx233: add recording side and 3d to codec driver
firmware/drivers/audio/imx233-codec.c [diff]
firmware/export/imx233-codec.h [diff]
Amaury Pouly
Tuesday 13:45 7fb0b89: imx233: implement recording side of pcm

Although everything is implemented, recording still doesn't work, dma is stuck. Add code for reference until this get a proper fix.
firmware/target/arm/imx233/pcm-imx233.c [diff]
Amaury Pouly
Tuesday 13:43 ac4e76d: imx233: implement audioin
firmware/target/arm/imx233/audioin-imx233.c [diff]
firmware/target/arm/imx233/audioin-imx233.h [diff]
Amaury Pouly
Tuesday 13:34 57bb7b2: imx233: rework touchscreen driver

The old driver didn't behave nicely because it waiting for stability which could never arrive on some gestures. The new one uses a fixed delay and averaging.
firmware/target/arm/imx233/touchscreen-imx233.c [diff]
Amaury Pouly
Tuesday 13:30 0173f6e: imx233: fix soc header for stmp3600 and stmp3700

Document various register macros (autogenerated). Fix memory map for stmp3700, make framebuffer size configurable and cache aligned and fix the PHYSICAL_ADDR macro.
firmware/export/imx233.h [diff]
Amaury Pouly
Tuesday 13:02 55babd5: mkimxboot: add zen style 100/300 firmware to the list

The tool cannot produce any firmware yet but it can extract the OF from the installer.
rbutil/mkimxboot/main.c [diff]
rbutil/mkimxboot/mkimxboot.c [diff]
rbutil/mkimxboot/mkimxboot.h [diff]
Amaury Pouly
Tuesday 12:59 87b84c0: sbtools: fix sbloader (allow transfer size override)
utils/imxtools/sbtools/sbloader.c [diff]
Amaury Pouly
Tuesday 11:08 9c965c8: fuze+: fix lcd code which got broken in 52426d0

The lcd data line were not setup as input anymore, making register reading plain broken and probably lead to bad lcd detection.
firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c [diff]
Amaury Pouly
Monday 11:58 505f37e: sbtools: various little fixes, mostly cosmetics
utils/imxtools/sbtools/sb1.c [diff]
utils/imxtools/sbtools/sb1.h [diff]
utils/imxtools/sbtools/sbtoelf.c [diff]
Amaury Pouly
Monday 11:38 c1eafa1: sbtools: add Sansa Express bootloader key
utils/imxtools/sbtools/keys/express.txt [new]
Amaury Pouly
Sunday 22:28 dafc359: imx233: fix system for stmp3600 and stmp3700
firmware/target/arm/imx233/system-imx233.c [diff]
Amaury Pouly
Sunday 22:26 8d7cc32: imx233: only do power management on imx233

Power management is somewhat different on stmp3700 which doesn't have the 4.2V rail and completely different on stmp3600 which has several DCDC. Currently only handle imx233.
firmware/target/arm/imx233/powermgmt-imx233.c [diff]
Amaury Pouly
Sunday 22:25 2ed36fc: imx233: clarity comment about errata
firmware/target/arm/imx233/i2c-imx233.c [diff]
Amaury Pouly
Sunday 22:23 63ffdc1: imx233: fix audioout for stmp3600 and stmp3700, add 3d effect

Although the 3D effets sound terrible, add support for it.
firmware/target/arm/imx233/audioout-imx233.c [diff]
firmware/target/arm/imx233/audioout-imx233.h [diff]
Amaury Pouly
Sunday 22:23 f0f6aee: imx233: fix octop for stmp3600 and stmp3700
firmware/target/arm/imx233/ocotp-imx233.h [diff]
Amaury Pouly
Sunday 22:22 6e88d98: imx233: always use the timer for kernel tick
firmware/target/arm/imx233/kernel-imx233.h [diff]
Amaury Pouly
Sunday 22:20 b74a459: imx233: fix ssp for stmp3600 and stmp3700

Using the ssp macros, we can easily handle the stmp3600 which has a single ssp block. Take care of all the nasty differences between targets like bus width
firmware/target/arm/imx233/ssp-imx233.c [diff]
firmware/target/arm/imx233/ssp-imx233.h [diff]
Amaury Pouly
Sunday 22:18 86ff093: imx233: fix emi for stmp3600 and stmp3700

Currently don't do anything on stmp3600 because emi is completely different. On stmp3700 it is unsure how the pll lock is handled and this will need more testing.
firmware/target/arm/imx233/emi-imx233.c [diff]
Amaury Pouly
Sunday 22:16 e671472: imx233: fix dma for stmp3600 and stmp3700, improve support

Add finer granularity to start command: now commands can be prepared, schedule and semaphore increased independently.
firmware/target/arm/imx233/dma-imx233.c [diff]
firmware/target/arm/imx233/dma-imx233.h [diff]
Amaury Pouly
Sunday 22:14 bdc572b: imx233: improve debug and fix for stmp3600 and stmp3700

Add pwm and usb screen, fix charging, icoll and dcp on other stmps.
firmware/target/arm/imx233/debug-imx233.c [diff]
Amaury Pouly
Sunday 22:06 069a026: imx233: fix/improve lcdif for stmp3600 and stmp4700, fix drivers

Factorise pin setup, rewrite PIO code, add support for lcdif irq, handle all the various differences between the stmps, drop yuv blitting code since it already exists in the common lcd drivers.
firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c [diff]
firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c [diff]
firmware/target/arm/imx233/lcdif-imx233.c [diff]
firmware/target/arm/imx233/lcdif-imx233.h [diff]
firmware/target/arm/imx233/pins/pins-imx233.h [diff]
firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c [diff]
Amaury Pouly
Sunday 19:15 52426d0: imx233: fix pinctrl for stmp3600 and stmp3700
firmware/target/arm/imx233/creative-zenxfi2/button-zenxfi2.c [diff]
firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c [diff]
firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c [diff]
firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c [diff]
firmware/target/arm/imx233/debug-imx233.c [diff]
firmware/target/arm/imx233/pinctrl-imx233.c [diff]
firmware/target/arm/imx233/pinctrl-imx233.h [diff]
firmware/target/arm/imx233/sansa-fuzeplus/button-fuzeplus.c [diff]
firmware/target/arm/imx233/sansa-fuzeplus/fmradio-i2c-fuzeplus.c [diff]
firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c [diff]
Amaury Pouly
Sunday 18:59 f4fdf1f: imx233: fix lradc/adc for stmp3600 and stmp3700

The lradc architecture of the stmp3600 is rather different: only channels 6 and 7 have configurable source and we need to take care when allocating channels so that we can actually measure the right channel! Delegate die temperature sensing to the power block on stmp3600.
firmware/target/arm/imx233/adc-imx233.c [diff]
firmware/target/arm/imx233/adc-imx233.h [diff]
firmware/target/arm/imx233/lradc-imx233.c [diff]
firmware/target/arm/imx233/lradc-imx233.h [diff]
firmware/target/arm/imx233/touchscreen-imx233.c [diff]
Amaury Pouly
Sunday 18:57 239219e: imx233: fix power for stmp3600 and stmp3700

There are many small differences between them. In particular some regulators are not available on stmp3600. Also the vbusvalid detect method is not available as an irq on stmp3600 and seems broken on stmp3700. Finally die temperature is handled by the power block on stmp3600.
firmware/target/arm/imx233/power-imx233.c [diff]
firmware/target/arm/imx233/power-imx233.h [diff]
Amaury Pouly
Sunday 18:54 2d0d752: imx233: fix clkctrl for stmp3600 and stmp3700
firmware/target/arm/imx233/clkctrl-imx233.c [diff]
firmware/target/arm/imx233/clkctrl-imx233.h [diff]
Amaury Pouly
Sunday 18:52 023621d: imx233: fix icoll for stmp3600 and stmp3700
firmware/target/arm/imx233/icoll-imx233.c [diff]
firmware/target/arm/imx233/icoll-imx233.h [diff]
Amaury Pouly
Sunday 18:48 8ed8a79: imx233: various sdmmc fixes
firmware/target/arm/imx233/sdmmc-imx233.c [diff]
Amaury Pouly
Sunday 18:43 fbee03e: imx233: simplify timer code
firmware/target/arm/imx233/timer-imx233.c [diff]
Amaury Pouly
Sunday 18:37 f1c6c71: imx233: improve ssp

Under some circumstance (timeout), the dma interrupt is not fired and only the error one is. This can happen with some picky SD cards and with the current code it causes a 1 second timeout. This code properly catches the error interrupt to stop as soon as possible.
firmware/target/arm/imx233/ssp-imx233.c [diff]
Amaury Pouly
Sunday 18:36 49ea1b3: imx233: make linker file more regular
firmware/target/arm/imx233/app.lds [diff]
Amaury Pouly
Sunday 18:15 f8d2984: imx233: enhance pwm

The current pwm interface is too low-level. Introduce a higher level setup function which directly computes the parameters from the required frequency.
firmware/target/arm/imx233/creative-zenxfi2/backlight-zenxfi2.c [diff]
firmware/target/arm/imx233/creative-zenxfi3/backlight-zenxfi3.c [diff]
firmware/target/arm/imx233/pwm-imx233.c [diff]
firmware/target/arm/imx233/pwm-imx233.h [diff]
Amaury Pouly
Sunday 18:08 f5ac658: imx233: normalise clkctrl

The clkctrl functions were becoming a mess. Normalise the names, get rid of the xtal derived as special case and use the same interface.
firmware/target/arm/imx233/audioout-imx233.c [diff]
firmware/target/arm/imx233/clkctrl-imx233.c [diff]
firmware/target/arm/imx233/clkctrl-imx233.h [diff]
firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c [diff]
firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c [diff]
firmware/target/arm/imx233/debug-imx233.c [diff]
firmware/target/arm/imx233/pwm-imx233.c [diff]
firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c [diff]
firmware/target/arm/imx233/ssp-imx233.c [diff]
firmware/target/arm/imx233/system-imx233.c [diff]
firmware/target/arm/imx233/timrot-imx233.c [diff]
firmware/target/arm/imx233/usb-imx233.c [diff]
Amaury Pouly
Sunday 17:43 84fc327: imx233: introduce virtual pins to simplify pin setup

A number of pins on the imx233 are standard and manually calling functions to acquire, set function/drive/output is painful. This will become unmanageable when we will add support for the other stmp chips. Introduce the concept of virtual pin which is a way to completely describe a virtual pin (virtual because pins are muxed).
firmware/target/arm/imx233/i2c-imx233.c [diff]
firmware/target/arm/imx233/pinctrl-imx233.h [diff]
firmware/target/arm/imx233/pins/pins-imx233.h [new]
firmware/target/arm/imx233/pwm-imx233.c [diff]
firmware/target/arm/imx233/sdmmc-imx233.c [diff]
firmware/target/arm/imx233/ssp-imx233.c [diff]
Amaury Pouly
Sunday 17:32 8f351d6: imx233: enhance pinctrl irq with user pointer
firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c [diff]
firmware/target/arm/imx233/pinctrl-imx233.c [diff]
firmware/target/arm/imx233/pinctrl-imx233.h [diff]
firmware/target/arm/imx233/sansa-fuzeplus/button-fuzeplus.c [diff]
firmware/target/arm/imx233/sansa-fuzeplus/fmradio-i2c-fuzeplus.c [diff]
firmware/target/arm/imx233/ssp-imx233.c [diff]
Amaury Pouly
Sunday 17:18 918a06a: imx233: normalise pinctrl names

The current pinctrl functions were a mess. Normalise the functions names to make them shorter and clearer.
firmware/target/arm/imx233/creative-zenxfi2/button-zenxfi2.c [diff]
firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c [diff]
firmware/target/arm/imx233/creative-zenxfi3/audio-zenxfi3.c [diff]
firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c [diff]
firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c [diff]
firmware/target/arm/imx233/debug-imx233.c [diff]
firmware/target/arm/imx233/i2c-imx233.c [diff]
firmware/target/arm/imx233/pinctrl-imx233.c [diff]
firmware/target/arm/imx233/pinctrl-imx233.h [diff]
firmware/target/arm/imx233/power-imx233.c [diff]
firmware/target/arm/imx233/pwm-imx233.c [diff]
firmware/target/arm/imx233/sansa-fuzeplus/backlight-fuzeplus.c [diff]
firmware/target/arm/imx233/sansa-fuzeplus/button-fuzeplus.c [diff]
firmware/target/arm/imx233/sansa-fuzeplus/fmradio-i2c-fuzeplus.c [diff]
firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c [diff]
firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c [diff]
firmware/target/arm/imx233/sdmmc-imx233.c [diff]
firmware/target/arm/imx233/ssp-imx233.c [diff]
Amaury Pouly
Sunday 16:33 abb7d1d: plugin_midi: expand gustable[] to 128 entries

The code assumes that gustable[] has 128 entries, while it only had 120. Since the entries follow a simple pattern (they seem to be note frequencies, so each entry is the previous one multiplied by the 2^(1/12)), expanding the table is the simple fix.
apps/plugins/midi/guspat.c [diff]
Frank Gevaerts
Sunday 16:21 d4061a4: Silence some (harmless) warnings.
apps/plugins/mpegplayer/stream_mgr.c [diff]
lib/rbcodec/codecs/libgme/inflate/inflate.c [diff]
Frank Gevaerts
Sunday 16:19 8390eb9: imx233: rewrite dma using new register headers
firmware/target/arm/imx233/dma-imx233.c [diff]
firmware/target/arm/imx233/dma-imx233.h [diff]
firmware/target/arm/imx233/i2c-imx233.c [diff]
firmware/target/arm/imx233/pcm-imx233.c [diff]
firmware/target/arm/imx233/ssp-imx233.c [diff]
Amaury Pouly
Sunday 16:03 852a82b: imx233: rewrite timrot using new register headers
firmware/target/arm/imx233/kernel-imx233.c [diff]
firmware/target/arm/imx233/timer-imx233.c [diff]
firmware/target/arm/imx233/timrot-imx233.c [diff]
firmware/target/arm/imx233/timrot-imx233.h [diff]
Amaury Pouly
Sunday 15:56 96b1d02: imx233: rewrite digctl using new register headers
firmware/target/arm/imx233/system-imx233.c [diff]
firmware/target/arm/imx233/system-target.h [diff]
Amaury Pouly
Sunday 15:52 a759242: imx233: rewrite ssp using new register headers
firmware/target/arm/imx233/sdmmc-imx233.c [diff]
firmware/target/arm/imx233/ssp-imx233.c [diff]
firmware/target/arm/imx233/ssp-imx233.h [diff]
Amaury Pouly
Sunday 15:51 94cb723: imx233: fix sdmmc code

The SD SWITCH command has a result and can take a long time to finish. Ignoring the answer and waiting an arbitrary time is unreliable at best.
firmware/target/arm/imx233/sdmmc-imx233.c [diff]
Amaury Pouly
Sunday 15:21 2d12ef6: imx233: rewrite rtc using new registers
firmware/target/arm/imx233/rtc-imx233.c [diff]
firmware/target/arm/imx233/rtc-imx233.h [diff]
Amaury Pouly
Sunday 15:19 3e8c2dc: imx233: rewrite pwm using new registers
firmware/target/arm/imx233/creative-zenxfi2/backlight-zenxfi2.c [diff]
firmware/target/arm/imx233/creative-zenxfi3/backlight-zenxfi3.c [diff]
firmware/target/arm/imx233/pwm-imx233.c [diff]
firmware/target/arm/imx233/pwm-imx233.h [diff]
Amaury Pouly
Sunday 15:16 7c5b65b: imx233: rewrite power using new registers
bootloader/imx233.c [diff]
firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c [diff]
firmware/target/arm/imx233/power-imx233.c [diff]
firmware/target/arm/imx233/power-imx233.h [diff]
firmware/target/arm/imx233/powermgmt-imx233.c [diff]
firmware/target/arm/imx233/sansa-fuzeplus/button-fuzeplus.c [diff]
firmware/target/arm/imx233/usb-imx233.c [diff]
Amaury Pouly
Sunday 14:56 b73fda3: imx233: rewrite pinctrl using new registers
firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c [diff]
firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c [diff]
firmware/target/arm/imx233/pinctrl-imx233.c [diff]
firmware/target/arm/imx233/pinctrl-imx233.h [diff]
firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c [diff]
Amaury Pouly
Sunday 14:46 6f0eaf4: imx233: rewrite ocotp using new register headers
firmware/target/arm/imx233/debug-imx233.c [diff]
firmware/target/arm/imx233/ocotp-imx233.h [diff]
firmware/usbstack/usb_core.c [diff]
Amaury Pouly
Sunday 14:43 d815cf3: imx233: rewrite lradc using new register headers
firmware/target/arm/imx233/adc-imx233.c [diff]
firmware/target/arm/imx233/creative-zenxfi2/adc-zenxfi2.c [diff]
firmware/target/arm/imx233/creative-zenxfi3/adc-zenxfi3.c [diff]
firmware/target/arm/imx233/lradc-imx233.c [diff]
firmware/target/arm/imx233/lradc-imx233.h [diff]
firmware/target/arm/imx233/sansa-fuzeplus/adc-fuzeplus.c [diff]
firmware/target/arm/imx233/touchscreen-imx233.c [diff]
Amaury Pouly
Sunday 14:32 8517cf8: imx233: rewrite lcdif using the new register headers
firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c [diff]
firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c [diff]
firmware/target/arm/imx233/lcdif-imx233.c [diff]
firmware/target/arm/imx233/lcdif-imx233.h [diff]
firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c [diff]
Amaury Pouly
Sunday 13:58 0fa014a: imx233: rewrite i2c using new register headers
firmware/target/arm/imx233/i2c-imx233.c [diff]
firmware/target/arm/imx233/i2c-imx233.h [diff]
Amaury Pouly
Sunday 13:52 3d62000: imx233: rewrite gpmi using new register headers
firmware/target/arm/imx233/gpmi-imx233.h [diff]
Amaury Pouly
Sunday 13:47 444a8b1: imx233: rewrite audioin using new register headers
firmware/target/arm/imx233/audioin-imx233.c [diff]
firmware/target/arm/imx233/audioin-imx233.h [diff]
Amaury Pouly
Sunday 13:45 df9e6c3: imx233: rewrite audioout using new register headers
firmware/target/arm/imx233/audioout-imx233.c [diff]
firmware/target/arm/imx233/audioout-imx233.h [diff]
Amaury Pouly
Sunday 13:30 e6a9313: imx233: rewrite emi using new register headers
firmware/target/arm/imx233/emi-imx233.c [diff]
firmware/target/arm/imx233/emi-imx233.h [diff]
Amaury Pouly
Sunday 13:28 2a01b37: imx233: rewrite clkctrl using new register headers
firmware/target/arm/imx233/clkctrl-imx233.c [diff]
firmware/target/arm/imx233/clkctrl-imx233.h [diff]
firmware/target/arm/imx233/emi-imx233.c [diff]
firmware/target/arm/imx233/system-imx233.c [diff]
Amaury Pouly
Sunday 12:46 f545908: imx233: rewrite icoll to use new register headers
firmware/target/arm/imx233/icoll-imx233.c [diff]
firmware/target/arm/imx233/icoll-imx233.h [diff]
Amaury Pouly
Sunday 12:39 81224c6: imx233: add subtarget and package type to configure files
firmware/export/config/creativezenxfi2.h [diff]
firmware/export/config/creativezenxfi3.h [diff]
firmware/export/config/sansafuzeplus.h [diff]
Amaury Pouly
Saturday 23:33 d561017: mkimxboot: factor code, add support for ELF files

Refactor code. This tool can now either load a scrambled rockbox firmware (in which case the model is check against the firmware), or any ELF file. This is useful for example for hwstub which produces a ELF file and still needs to be loaded by producing a SB file.
rbutil/mkimxboot/Makefile [diff]
rbutil/mkimxboot/main.c [diff]
rbutil/mkimxboot/mkimxboot.c [diff]
Amaury Pouly
Saturday 20:19 7c7fa36: sbtools,mkximboot: fix whitespace
rbutil/mkimxboot/main.c [diff]
utils/imxtools/sbtools/crypto.c [diff]
utils/imxtools/sbtools/dbparser.c [diff]
utils/imxtools/sbtools/elf.c [diff]
utils/imxtools/sbtools/elftosb.c [diff]
utils/imxtools/sbtools/elftosb1.c [diff]
utils/imxtools/sbtools/rsrc.c [diff]
utils/imxtools/sbtools/rsrc.h [diff]
utils/imxtools/sbtools/rsrctool.c [diff]
utils/imxtools/sbtools/sb.c [diff]
utils/imxtools/sbtools/sb.h [diff]
utils/imxtools/sbtools/sb1.c [diff]
utils/imxtools/sbtools/sb1.h [diff]
utils/imxtools/sbtools/sbloader.c [diff]
utils/imxtools/sbtools/sbtoelf.c [diff]
utils/imxtools/sbtools/sha1.c [diff]
Amaury Pouly
Saturday 20:13 58e27b9: mkimxboot: refactor code, no functional change

The mkimxboot was becoming messy with juge functions and redundant code. Factor reading/writing/loading code into smaller functions. Introduce the concept of rockbox firmware to simplify support of other formats than scramble.
rbutil/mkimxboot/mkimxboot.c [diff]
rbutil/mkimxboot/mkimxboot.h [diff]
Amaury Pouly
Saturday 20:11 6483e23: mkximxboot: fix usage() formatting
rbutil/mkimxboot/main.c [diff]
Amaury Pouly
Saturday 11:57 5aab443: Cosmetics
utils/hwstub/stmp/Makefile [diff]
Amaury Pouly
13th Jun 17:04 dda1d5c: imx233: add register selector file

Register set selection is based on the value of the IMX233_SUBTARGET value. The reg-select.h file (used by the generated headers), does the selection based on this value as follows:
- 3600 <= . < 3700: stmp3600 register set
- 3700 <= . < 3780: stmp3700 register set
- 3780 <= .: imx233 register set Note that this selector relies on the name of the socs in the register description to be respectively stmp3600, stmp3700 and imx233.
firmware/target/arm/imx233/regs/regs-select.h [new]
Amaury Pouly
13th Jun 17:03 017667c: imx233: generate register headers for stmp3600, stmp3700 and imx233
firmware/target/arm/imx233/regs/imx233/regs-apbh.h [new]
firmware/target/arm/imx233/regs/imx233/regs-apbx.h [new]
firmware/target/arm/imx233/regs/imx233/regs-audioin.h [new]
firmware/target/arm/imx233/regs/imx233/regs-audioout.h [new]
firmware/target/arm/imx233/regs/imx233/regs-bch.h [new]
firmware/target/arm/imx233/regs/imx233/regs-clkctrl.h [new]
firmware/target/arm/imx233/regs/imx233/regs-dcp.h [new]
firmware/target/arm/imx233/regs/imx233/regs-digctl.h [new]
firmware/target/arm/imx233/regs/imx233/regs-dram.h [new]
firmware/target/arm/imx233/regs/imx233/regs-dri.h [new]
firmware/target/arm/imx233/regs/imx233/regs-ecc8.h [new]
firmware/target/arm/imx233/regs/imx233/regs-emi.h [new]
firmware/target/arm/imx233/regs/imx233/regs-gpmi.h [new]
firmware/target/arm/imx233/regs/imx233/regs-i2c.h [new]
firmware/target/arm/imx233/regs/imx233/regs-icoll.h [new]
firmware/target/arm/imx233/regs/imx233/regs-ir.h [new]
firmware/target/arm/imx233/regs/imx233/regs-lcdif.h [new]
firmware/target/arm/imx233/regs/imx233/regs-lradc.h [new]
firmware/target/arm/imx233/regs/imx233/regs-ocotp.h [new]
firmware/target/arm/imx233/regs/imx233/regs-pinctrl.h [new]
firmware/target/arm/imx233/regs/imx233/regs-power.h [new]
firmware/target/arm/imx233/regs/imx233/regs-pwm.h [new]
firmware/target/arm/imx233/regs/imx233/regs-pxp.h [new]
firmware/target/arm/imx233/regs/imx233/regs-rtc.h [new]
firmware/target/arm/imx233/regs/imx233/regs-saif.h [new]
firmware/target/arm/imx233/regs/imx233/regs-spdif.h [new]
firmware/target/arm/imx233/regs/imx233/regs-ssp.h [new]
firmware/target/arm/imx233/regs/imx233/regs-sydma.h [new]
firmware/target/arm/imx233/regs/imx233/regs-timrot.h [new]
firmware/target/arm/imx233/regs/imx233/regs-tvenc.h [new]
...and 108 more files.
Amaury Pouly
13th Jun 15:28 97b9ade: regtools: improve header generator

The generator now has more options to generate or not selectors. It can also generate a macro header containing lots of using macros for register operations.
utils/regtools/headergen.cpp [diff]
Amaury Pouly
Saturday 18:56 b6ddbc4: Fix id3v2 album art if more than one image is present.

Rockbox only uses the first album art image (APIC / PIC frame) found in id3v2 tags. When a file contains more than one image the second one is ignored but the parsealbumart() callback overwrites the already set data. This causes the metadata structure to contain an invalid pointer to the image data, resulting in no image shown.

Make parsealbumart() aware of this and skip parsing when an albumart image has already been found. Fixes FS #12870.
lib/rbcodec/metadata/id3tags.c [diff]
Dominik Riebeling
14th May 19:32 084c75e G#471: Fix building of sh, arm and m68k toolchains with new texinfo

Recent versions of texinfo breaks various binutils and GCC builds. For GCC setting MAKEINFO=missing at configure time works but not for binutils where patches are used to fix parsing errors. This also makes rockboxdev.sh handle applying multiple patches.
tools/rockboxdev.sh [diff]
Nils Wallménius
13th Jun 16:56 ab56afe: test_mem: silence -Wunused-but-set-variable warning
apps/plugins/test_mem.c [diff]
Rafaël Carré
13th Jun 16:42 b4ca244: Always build test plugins in simulators
tools/configure [diff]
Rafaël Carré
13th Jun 00:31 9ad50ad: imxtools: add Zen, Zen Mozaic and Zen X-Fi bootloader keys
utils/imxtools/sbtools/keys/zen.txt [new]
utils/imxtools/sbtools/keys/zenmozaic.txt [new]
utils/imxtools/sbtools/keys/zenxfi.txt [new]
Amaury Pouly
13th Jun 00:29 07e82c1: imxtools: rewrite sbloader to handle both versions + user friendly

The tool can now load sb1 and sb files to devices. Detection has been improved and the tool can infer the packet size for the HID description as well. The command line interface has been vastly improved too, this breaks the old one.
utils/imxtools/sbtools/sbloader.c [diff]
Amaury Pouly
13th Jun 00:27 1dae3a8: sbtools: fix encryption and cosmetics
utils/imxtools/sbtools/elftosb1.c [diff]
Amaury Pouly
13th Jun 00:12 f9cb5de: hwstub: introduce lua code for the STMP and Creative ZEN V/Mozaic
utils/hwstub/tools/lua/load.lua [new]
utils/hwstub/tools/lua/stmp.lua [new]
utils/hwstub/tools/lua/stmp/digctl.lua [new]
utils/hwstub/tools/lua/stmp/lcdif.lua [new]
utils/hwstub/tools/lua/stmp/pinctrl.lua [new]
utils/hwstub/tools/lua/stmp/pwm.lua [new]
utils/hwstub/tools/lua/zenmozaic.lua [new]
utils/hwstub/tools/lua/zenv.lua [new]
Amaury Pouly
13th Jun 00:02 c535794: hwstub: major improvement in the stub and the tools

Fix the stub in many way to correctly detect the STMP family and act upon that. Drop some unused commands and bump version. Rewrite the tool to allows scripting in lua and load the register description from an XML file using the regtools. Introduce a new tool to load and run code using the hwstub (either binary format or Rockbox additive scramble format). Also switch to an optimise version of the memcpy/move/set functions to correctly handle alignement issue (like writing a full word/half-word when possible for registers which is crucial)
utils/hwstub/hwemul_protocol.h [deleted]
utils/hwstub/hwstub_protocol.h [new]
utils/hwstub/lib/Makefile [diff]
utils/hwstub/lib/hwemul.c [deleted]
utils/hwstub/lib/hwemul.h [deleted]
utils/hwstub/lib/hwemul_protocol.h [deleted]
utils/hwstub/lib/hwstub.c [new]
utils/hwstub/lib/hwstub.h [new]
utils/hwstub/lib/hwstub_protocol.h [new]
utils/hwstub/stmp/Makefile [diff]
utils/hwstub/stmp/config.h [diff]
utils/hwstub/stmp/format.h [diff]
utils/hwstub/stmp/hwemul.db [deleted]
utils/hwstub/stmp/hwemul.lds [deleted]
utils/hwstub/stmp/hwstub.db [new]
utils/hwstub/stmp/hwstub.lds [new]
utils/hwstub/stmp/link.lds [deleted]
utils/hwstub/stmp/logf.h [diff]
utils/hwstub/stmp/main.c [diff]
utils/hwstub/stmp/memcpy.S [new]
utils/hwstub/stmp/memmove.S [new]
utils/hwstub/stmp/memset.S [new]
utils/hwstub/stmp/protocol.h [diff]
utils/hwstub/stmp/stddef.h [diff]
utils/hwstub/stmp/string.h [diff]
utils/hwstub/stmp/system.h [diff]
utils/hwstub/tools/Makefile [diff]
utils/hwstub/tools/hwemul_tool.c [deleted]
utils/hwstub/tools/hwstub_load.cpp [new]
utils/hwstub/tools/hwstub_shell.cpp [new]
...and 1 more files.
Amaury Pouly
12th Jun 23:54 934e1e1: regtools: add the STMP3600 register map
utils/regtools/desc/regs-stmp3600.xml [new]
Amaury Pouly
12th Jun 23:50 73db73d: regtools: modify description format and refactor tools

Change the XML description to unify multi dev/reg in a clean fashion. Move the description parser to its own library. Fix the tester and headergen tools to work with the new format and library. Move the STMP3700/3780 descriptions to the new format
(and fixes many errors as well). Drop the hwemulgen tool in favor on the upcoming hwstub tools revamp.
utils/regtools/Makefile [diff]
utils/regtools/desc/XML.txt [new]
utils/regtools/desc/regs-stmp3700.xml [diff]
utils/regtools/desc/regs-stmp3780.xml [diff]
utils/regtools/desc_parser.cpp [deleted]
utils/regtools/desc_parser.hpp [deleted]
utils/regtools/headergen.cpp [diff]
utils/regtools/hwemulgen.cpp [deleted]
utils/regtools/lib/Makefile [new]
utils/regtools/lib/soc_desc.cpp [new]
utils/regtools/lib/soc_desc.hpp [new]
utils/regtools/tester.cpp [diff]
Amaury Pouly
12th Jun 17:49 7143ea6: imxtools: move regtools to its own directory

The register tools are in no way stmp specific. The XML description of the registers is powerful enough to describe the STMP register which should be more than enough to describe virtually all other SoCs. The generators follow the STMP coding convention but others could be used as well.
utils/imxtools/regtools/Makefile [deleted]
utils/imxtools/regtools/desc/regs-stmp3700.xml [deleted]
utils/imxtools/regtools/desc/regs-stmp3780.xml [deleted]
utils/imxtools/regtools/desc_parser.cpp [deleted]
utils/imxtools/regtools/desc_parser.hpp [deleted]
utils/imxtools/regtools/headergen.cpp [deleted]
utils/imxtools/regtools/hwemulgen.cpp [deleted]
utils/imxtools/regtools/tester.cpp [deleted]
utils/regtools/Makefile [new]
utils/regtools/desc/regs-stmp3700.xml [new]
utils/regtools/desc/regs-stmp3780.xml [new]
utils/regtools/desc_parser.cpp [new]
utils/regtools/desc_parser.hpp [new]
utils/regtools/headergen.cpp [new]
utils/regtools/hwemulgen.cpp [new]
utils/regtools/tester.cpp [new]
Amaury Pouly
12th Jun 17:46 11da9d2: imxtools: move hwemul to its own directory

The hwemul is only partly imx specific: the stub is stmp specific but could be ported to other targets, the computer side and the protocol are mostly stmp independent (or should be).
utils/hwstub/hwemul_protocol.h [new]
utils/hwstub/lib/Makefile [new]
utils/hwstub/lib/hwemul.c [new]
utils/hwstub/lib/hwemul.h [new]
utils/hwstub/lib/hwemul_protocol.h [new]
utils/hwstub/stmp/Makefile [new]
utils/hwstub/stmp/config.h [new]
utils/hwstub/stmp/crt0.S [new]
utils/hwstub/stmp/format.c [new]
utils/hwstub/stmp/format.h [new]
utils/hwstub/stmp/hwemul.db [new]
utils/hwstub/stmp/hwemul.lds [new]
utils/hwstub/stmp/link.lds [new]
utils/hwstub/stmp/logf.c [new]
utils/hwstub/stmp/logf.h [new]
utils/hwstub/stmp/main.c [new]
utils/hwstub/stmp/protocol.h [new]
utils/hwstub/stmp/stddef.h [new]
utils/hwstub/stmp/stdint.h [new]
utils/hwstub/stmp/string.c [new]
utils/hwstub/stmp/string.h [new]
utils/hwstub/stmp/system.h [new]
utils/hwstub/stmp/usb_ch9.h [new]
utils/hwstub/tools/Makefile [new]
utils/hwstub/tools/hwemul_tool.c [new]
utils/imxtools/hwemul/dev/Makefile [deleted]
utils/imxtools/hwemul/dev/config.h [deleted]
utils/imxtools/hwemul/dev/crt0.S [deleted]
utils/imxtools/hwemul/dev/format.c [deleted]
utils/imxtools/hwemul/dev/format.h [deleted]
...and 20 more files.
Amaury Pouly
14th Mar 15:40 3f4eeb8 G#421: Enable key lock in radio screen
apps/radio/radio.c [diff]
apps/radio/radio_skin.c [diff]
Amaury Pouly
18th May 17:28 575cb63 G#473: Fix rockblox instadrop behaviour

Prevents the player from moving an instadropped block (could happen before the next game tick when using left/right buttons anticipatorily).
apps/plugins/rockblox.c [diff]
Max Zerzouri
9th Jun 19:08 4263f67: Fix warning (move variable into #ifdef section).
apps/gui/skin_engine/skin_engine.c [diff]
Thomas Martitz
9th Jun 19:01 770fadd: Fix reds (this code needs #ifdef HAVE_ALBUMART)
apps/gui/skin_engine/skin_engine.c [diff]
Thomas Martitz
9th Jun 17:47 67e1de7: Only show mountpoints containing a supported filesystem in dropdown.

Change configuration to use filtered mountpoints list. Add HFS+ to the list of supported filesystems -- while Rockbox doesn't run on HFS+ MacPods will use that format, and not having them in the list will then make OS X users wonder why their Ipod isn't showing up. This might need to get revised later.
rbutil/rbutilqt/base/utils.cpp [diff]
rbutil/rbutilqt/configure.cpp [diff]
Dominik Riebeling
9th Jun 15:32 a2c3e3f: Add note to AMS bootloader installation about OF file.

Some devices contain a bin file in the root folder of the player. This caused confusion a couple of times, since the installer asks for a bin file. Add a note that the required file is not present on the player and will get removed automatically.
rbutil/rbutilqt/base/bootloaderinstallams.cpp [diff]
Dominik Riebeling
9th Jun 15:18 9574b30: time-sync: allow passing an arbitrary time.

During testing it can be useful to set an arbitrary (non-current) time on the device. Extend time-sync to accept an additional (optional) parameter with the time to set. Only changes date / time, no timezone.
utils/time-sync/time-sync.c [diff]
Dominik Riebeling
9th Jun 17:45 11280e2: Don't pass -Wno-unused-local-typedefs on OS X.

OS X' gcc 4.0 (still used to be able building fat binaries) doesn't ignore that option and instead errors out.
rbutil/rbutilqt/rbutilqt.pro [diff]
Dominik Riebeling
9th Jun 17:43 33bda05: Treat arch flags separately when building libraries.

On OS X we're passing -arch twice which dependency generation doesn't like. Since we don't have dependencies that differ between architectures simply don't add them during dependency generation.
rbutil/libtools.make [diff]
Dominik Riebeling
21st May 05:33 836cf14: Fix multiple problems in radioart.c

The code was pretty broken with regard to the handle management of radio art images, e.g. passing the wrong data to bufopen().
apps/radio/radioart.c [diff]
Thomas Martitz
14th May 05:03 58b4e71 G#476: skin_engine: Fix albumart logic on skin reloading.

This logic checks whether the skin's albumart dimensions differ from the previous skin to force rebuffering if necessary. This was broken since a while as the necessary information was reset.

Tested-by: Thomas Martitz
apps/gui/skin_engine/skin_engine.c [diff]
apps/gui/skin_engine/skin_parser.c [diff]
apps/gui/skin_engine/wps_internals.h [diff]
Thomas Martitz
9th Jun 14:41 280a0eb: Fix temporary files stored in current folder on first start.

If Rockbox Utility has no configuration file on the machine updateSettings() will overwrite the global cache folder settings with an empty string before the value is set properly by the user confirming the configuration dialog. QDir() getting an empty string will result in the current working directory getting used, and thus the temporary files ending up there.

On Windows most users are unlikely to have noticed this since running the executable from within the distribution zip file will make Windows execute it in the systems temporary path.
rbutil/rbutilqt/rbutilqt.cpp [diff]
Dominik Riebeling
8th Jun 22:06 9edc63b: Suppress unused-local-typedefs warning with Qt4.

gcc 4.8 introduces this new warning which some Qt4 headers triggers. Since we don't want to change Qt simply disable it. The warning doesn't show up when compiling with Qt5, so only disable it for Qt4.
rbutil/rbutilqt/rbutilqt.pro [diff]
Dominik Riebeling
8th Jun 21:56 6b3c4be: Rework langstat.

- Generally improve code and make it compliant to PEP8.
- Make it work with Python3 as well.
rbutil/rbutilqt/langstats.py [diff]
utils/common/gitscraper.py [diff]
Dominik Riebeling
12th May 10:18 43d8d6f: Don't pass ar output to /dev/null.

Since ar is not running in verbose mode there is normally no output to get rid of, and in case of errors it's useful to see them. Also, Windows doesn't know about /dev/null. Make dependency generation for librbspeex more silent as well.
tools/rbspeex/Makefile [diff]
tools/ucl/src/Makefile [diff]
Dominik Riebeling
5th Jun 16:35 15fa7f8: Fix color of files with no extension.

Based on all other references, unknown_file.color is a color, not an index into custom_colors[]. Previously, custom_colors[-1] was returned for files without an extension, accessing outside array boundaries and making files without an extension black, which is hard to see.
apps/filetypes.c [diff]
Boris Gjenero
31th May 17:01 98c34d8: Argh, move a comment to the (now) proper location. :)
apps/playback.c [diff]
apps/voice_thread.c [diff]
Michael Sevakis
31th May 16:45 e62cb56: Have voice fire an event when it starts and stops playing.

Further decouples voice_thread.c from other playback areas. Also allows other audio sources, such as FM radio, to be attenuated when voice is playing by implementing a callback.

Defined as another playback event rather than a new event class: PLAYBACK_EVENT_VOICE_PLAYING
apps/appevents.h [diff]
apps/playback.c [diff]
apps/voice_thread.c [diff]
Michael Sevakis
31th May 04:24 1b4135e: Should use HAVE_RECORDING, not AUDIO_HAVE_RECORDING in playback.c

SIM should work like target, sort of, when recording is initialized.
apps/playback.c [diff]
Michael Sevakis
31th May 03:17 92f1ecf: Just init audio thread event with Q_NULL instead of SYS_TIMEOUT.

What was I thinking? Anyway, it's a little nicer and it's reserved so shouldn't end up as a case value anywhere.
apps/audio_thread.c [diff]
Michael Sevakis
31th May 02:13 344b9d0: Some corrections after 5857c44.

Playback needs to receive a couple of settings-related messages even when not playing.

Put the message reply back where it was when loading an encoder for recording.
apps/audio_thread.c [diff]
apps/playback.c [diff]
apps/recorder/pcm_record.c [diff]
Michael Sevakis
31th May 00:41 5857c44: Refactor audio thread to run both recording and playback.

Eliminates the pcmrec thread and keeps playback and recording engine operation mutually-exclusive.

audio_thread.c contains the audio thread which branches to the correct engine depending upon the request. It also handles the main audio initialization.

Moves pcm_init into main.c just before dsp_init because I don't want that one in audio_init in the new file.

(Also makes revision df6e1bc pointless ;)
apps/SOURCES [diff]
apps/audio_thread.c [new]
apps/audio_thread.h [new]
apps/codec_thread.c [diff]
apps/main.c [diff]
apps/playback.c [diff]
apps/playback.h [diff]
apps/recorder/pcm_record.c [diff]
apps/recorder/pcm_record.h [diff]
apps/recorder/recording.c [diff]
firmware/export/thread.h [diff]
Michael Sevakis
30th May 16:42 df6e1bc: pcm_record: Track initialization state

It should not access audio hardware and change settings unless it has been initialized first and given control of it.
apps/recorder/pcm_record.c [diff]
Michael Sevakis
30th May 01:34 5a1e697: PP Sansa: Use better I2S divider settings for 48kHz.

The previous ones produced some crackling.
firmware/target/arm/sandisk/audio-c200_e200.c [diff]
Michael Sevakis
27th May 01:40 46688a6: Missed removing a couple unwanted includes in previous commit.

Get those too.
lib/rbcodec/dsp/compressor.c [diff]
lib/rbcodec/dsp/dsp_misc.c [diff]
lib/rbcodec/platform.h [diff]
Michael Sevakis
27th May 01:23 b5a6517: Remove explicit config.h and system.h includes from DSP code.

Replace with rbcodecconfig.h and platform.h includes. Remove now- unneeded ones as well.
lib/rbcodec/dsp/channel_mode.c [diff]
lib/rbcodec/dsp/compressor.c [diff]
lib/rbcodec/dsp/crossfeed.c [diff]
lib/rbcodec/dsp/dsp_arm.S [diff]
lib/rbcodec/dsp/dsp_cf.S [diff]
lib/rbcodec/dsp/dsp_core.c [diff]
lib/rbcodec/dsp/dsp_filter.c [diff]
lib/rbcodec/dsp/dsp_misc.c [diff]
lib/rbcodec/dsp/dsp_sample_input.c [diff]
lib/rbcodec/dsp/dsp_sample_output.c [diff]
lib/rbcodec/dsp/eq.c [diff]
lib/rbcodec/dsp/pga.c [diff]
lib/rbcodec/dsp/resample.c [diff]
lib/rbcodec/dsp/tdspeed.c [diff]
lib/rbcodec/dsp/tone_controls.c [diff]
lib/rbcodec/platform.h [diff]
Michael Sevakis
25th May 22:33 30fe6eb: SPC Codec ARMv5: I didn't have fast gauss quite right.

Fix wrapping hazard which did eventually manifest on the right file.
lib/rbcodec/codecs/libspc/cpu/spc_dsp_armv5.c [diff]
Michael Sevakis
12th May 21:31 00b8563: df1704: Add filter roll-off selection.
firmware/drivers/audio/df1704.c [diff]
firmware/export/df1704.h [diff]
Andrew Ryabinin
12th May 21:23 0519f7e: Add DAC's oversampling filter roll-off selection to sound settings.
apps/lang/english.lang [diff]
apps/menus/sound_menu.c [diff]
apps/settings.c [diff]
apps/settings.h [diff]
apps/settings_list.c [diff]
firmware/export/audiohw.h [diff]
firmware/export/audiohw_settings.h [diff]
firmware/export/sound.h [diff]
firmware/sound.c [diff]
Andrew Ryabinin
22nd May 11:05 f6e179b G#475: Remove data_abort_handler from ARM crt0 files.

This causes data_abort_handler from lib/unwarminder/safe_read.S to be used instead. It allows unwarminder to avoid data aborts when displaying the backtrace. A data_abort_handler remains in system-arm.c, but it is not used because it is declared as a weak symbol.

Tested-by: Boris Gjenero
firmware/target/arm/pnx0101/crt0-pnx0101.S [diff]
firmware/target/arm/pp/crt0-pp.S [diff]
firmware/target/arm/pp/crt0-pp502x-bl-usb.S [diff]
Boris Gjenero
23rd May 17:31 4077eac: Fix return address when data_abort_handler skips faulting instruction.

When writing a value to PC, execution continues at that location, so subtracting 4 returns to the next instruction. Previously, two instructions after the faulting instruction were being skipped, causing safe_read functions to return true even if a data abort happened.
lib/unwarminder/safe_read.S [diff]
Boris Gjenero
23rd May 12:58 9b65f8e: Fix 6e211ab errors and warnings.

If target has HW tone controls but no HW prescaler (non-implemented or non-existent), audiohw_set_prescaler() should, for now, do nothing.
firmware/drivers/audio/audiohw-swcodec.c [diff]
Michael Sevakis
23rd May 12:19 6e211ab: Remove dsp_callback because DSP is now library code, not app code.

Yep, nope, not necessary anymore. Just call functions directly.
apps/settings.c [diff]
firmware/drivers/audio/audiohw-swcodec.c [diff]
firmware/export/audiohw.h [diff]
lib/rbcodec/dsp/dsp_misc.c [diff]
lib/rbcodec/dsp/dsp_misc.h [diff]
lib/rbcodec/test/warble.c [diff]
Michael Sevakis
16th May 14:15 b7e0e1a G#472: buflib: Remove compulsory IRQ disable during buffer move.

It can cause excessively long interrupt outages if moving a larger buffer and disrupt audio where DMA is not at a higher interrupt priority such as FIQ.

Some targets, like Gigabeat S, have very low audio interrupt latency requirements and will even channel swap if they are missed. Pictureflow will make the issue very obvious. Even then, moves could take milliseconds or more depending on the buffer size which is far too long for any target.

Tested-by: Michael Sevakis
firmware/buflib.c [diff]
Michael Sevakis
22nd May 16:50 33f3af2: SPC Codec: Add ARMv5 optimized code. Easy peasy.

Why? Why not? Cuts a few MHz.
lib/rbcodec/codecs/libspc/cpu/spc_dsp_armv5.c [new]
lib/rbcodec/codecs/libspc/cpu/spc_dsp_armv5.h [new]
lib/rbcodec/codecs/libspc/spc_codec.h [diff]
lib/rbcodec/codecs/libspc/spc_dsp.c [diff]
Michael Sevakis
22nd May 00:04 7738660: USB: Detect charging-only mode upon cable insert, not host detect.

Letting go of the button before the host is detected allows storage mode to be entered even though a button was down when plugging. Sometimes the host would try several times and the button would have to be held down for several seconds to avoid a storage connection.

The adjustment wasn't made when switching to setup request host detection.
firmware/usb.c [diff]
Michael Sevakis
21st May 20:19 39946a5: Fix CPU boosting in test_codec.

Boost only for tests and unboost immediately afterwards. It was leaving the CPU boosted after exiting.
apps/plugins/test_codec.c [diff]
Michael Sevakis
21st May 18:39 9b43f14: SPC Codec: Simplify configuration and assume nothing need be disabled.

Most SoCs are these days are fast enough for realtime BRR, gaussian interpolation and echo processing.
lib/rbcodec/codecs/libspc/spc_codec.h [diff]
Michael Sevakis
21st May 18:01 ed24e62: SPC Codec: Have metadata parser fill in frequency and bitrate.
lib/rbcodec/metadata/spc.c [diff]
Michael Sevakis
21st May 14:51 1f76eda: SPC Codec: Need to restore a bit more data from cached waves.

'Nuff said. Last update wasn't quite right.
lib/rbcodec/codecs/libspc/spc_codec.h [diff]
lib/rbcodec/codecs/libspc/spc_dsp.c [diff]
Michael Sevakis
21st May 20:37 de86b4a: Opus: fix glitch caused by 2e9aa3d
lib/rbcodec/codecs/opus.c [diff]
Nils Wallménius
21st May 02:09 71b9685: Fix FS #9577 - SNES player missing tracks on certain SPCs

Affected BRR cached waveforms but not realtime BRR decode as far as I could ascertain. BRR cached waves required loop points to be inside the initial waveform but this change removes that restriction.
lib/rbcodec/codecs/libspc/spc_codec.h [diff]
lib/rbcodec/codecs/libspc/spc_dsp.c [diff]
Michael Sevakis
20th May 22:20 00e55d0: Fix 87021f7 errors. There is no this->echo_pos when SPC_NOECHO != 0.

Anyway, that's true now.
lib/rbcodec/codecs/libspc/spc_dsp.c [diff]
Michael Sevakis
17th May 23:45 87021f7: SPC Codec: Refactor for CPU and clean up some things.

CPU optimization gets its own files in which to fill-in optimizable routines.

Some pointless #if 0's for profiling need removal. Those macros are empty if not profiling.

Force some functions that are undesirable to be force-inlined by the compiler to be not inlined.
lib/rbcodec/codecs/libspc/cpu/spc_dsp_armv4.c [new]
lib/rbcodec/codecs/libspc/cpu/spc_dsp_armv4.h [new]
lib/rbcodec/codecs/libspc/cpu/spc_dsp_armv6.c [new]
lib/rbcodec/codecs/libspc/cpu/spc_dsp_armv6.h [new]
lib/rbcodec/codecs/libspc/cpu/spc_dsp_coldfire.c [new]
lib/rbcodec/codecs/libspc/cpu/spc_dsp_coldfire.h [new]
lib/rbcodec/codecs/libspc/spc_codec.h [diff]
lib/rbcodec/codecs/libspc/spc_cpu.c [diff]
lib/rbcodec/codecs/libspc/spc_dsp.c [diff]
lib/rbcodec/codecs/libspc/spc_dsp_generic.c [new]
lib/rbcodec/codecs/libspc/spc_dsp_generic.h [new]
lib/rbcodec/codecs/libspc/spc_emu.c [diff]
Michael Sevakis
19th May 12:16 a17d6de: Opus: fix seeking to start of track
lib/rbcodec/codecs/opus.c [diff]
Nils Wallménius
19th May 10:18 2e9aa3d: Opus: avoid allocating space for comment packets

Fixes playback of files with large embedded album art.
lib/rbcodec/codecs/opus.c [diff]
Nils Wallménius
18th May 17:48 c7124b5: Fix opus craches with large embedded album art

Use the tlsf malloc and friends instead of the silly codec_malloc to get actually working free and saner realloc that doesn't leak memory. Makes files with moderately sized embedded AA play on targets with large enough codec buffers and files with too large AA are now skipped rather than crashing. Fixes crash when playing example file in FS #12842.
lib/rbcodec/codecs/codecs.make [diff]
lib/rbcodec/codecs/libopus/ogg/os_types.h [diff]
lib/rbcodec/codecs/libopus/opus_config.h [diff]
lib/rbcodec/codecs/opus.c [diff]
Nils Wallménius
18th May 16:57 fc0cf8d: builds.pm: Add HiFi E.T MA9.
tools/builds.pm [diff]
Andrew Ryabinin
17th May 19:12 01d0de9: FS #12854 - ipod-time-sync sets wrong day
firmware/usbstack/usb_storage.c [diff]
Boris Gjenero
2012-05-07 a7dee7f G#304: Introduce new hermite polynomial resampler.

Uses the Catmull-Rom case of Hermite cubic splines.

Vastly improves the quality and accuracy of audio resampling with a rather minor additional overhead compared to the previous linear implementation.

ARM and Coldfire assembly implementations included.

Tested-by: Michael Sevakis
lib/rbcodec/dsp/dsp_arm.S [diff]
lib/rbcodec/dsp/dsp_cf.S [diff]
lib/rbcodec/dsp/resample.c [diff]
Michael Sevakis
14th May 20:13 91b850e: Get rid of usb_drv_attach() from USB code.

'Twas an idiosyncrasy of detecting a host upon bus reset, which is obsolete.
firmware/export/usb_drv.h [diff]
firmware/target/arm/imx233/usb-imx233.c [diff]
firmware/target/arm/imx31/gigabeat-s/usb-gigabeat-s.c [diff]
firmware/target/arm/pp/usb-fw-pp502x.c [diff]
firmware/target/arm/usb-drv-arc.c [diff]
Michael Sevakis
14th May 20:05 8d21fc9: usb-drv-arc: Kill trailing whitespace
firmware/target/arm/usb-drv-arc.c [diff]
Michael Sevakis
11th May 19:20 af4c55b: Set the right variable type for ucallback :)
firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c [diff]
Michael Sevakis
11th May 17:59 0a7d941: i.MX31: Remove long udelay from DVFS interrupt handler

Split the ISR into two parts and alllow quick return from first half.

Introduces a uevent() API to have a callback happen in a specified number of microseconds. Right now only one event is supported.
firmware/target/arm/imx31/avic-imx31.h [diff]
firmware/target/arm/imx31/dvfs_dptc-imx31.c [diff]
firmware/target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c [diff]
firmware/target/arm/imx31/gigabeat-s/pcm-gigabeat-s.c [diff]
firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c [diff]
firmware/target/arm/imx31/gigabeat-s/system-target.h [diff]
Michael Sevakis
11th May 18:25 4877f61: Rework rbspeex dependency generation to use single dependency files.

Similar as done in d2b8f91 change dependency generation to use one file per source file. This removes the need to have external tools installed on Windows. Previously Cygwin or msys tools needed to be in the system PATH which was problematic at times.

This means that now building on Windows (using MinGW) doesn't require additional tools anymore.
tools/rbspeex/Makefile [diff]
Dominik Riebeling
11th May 18:23 071ccc7: Update mkrk27boot Makefile for libtools.make changes.
rbutil/mkrk27boot/Makefile [diff]
Dominik Riebeling
11th May 18:15 e073bc9: Implement dependency generation in libtools.make.

Automatically generate dependency files for all sources so changes in headers are picked up automatically. Use one dependency file for each source file, since that allows to create them without using external tools (except the compiler of course).
rbutil/libtools.make [diff]
Dominik Riebeling
11th May 15:31 9a9efef: ucl: Replace use of uname by checking the compiler output.

Similar as done for libtools.make ask the compiler for the binary it creates instead of using uname to figure the target to avoid special handling when cross compiling.
tools/ucl/src/Makefile [diff]
Dominik Riebeling
11th May 15:22 4f3fa9a: Change mkdir -p to work on Windows.

Windows mkdir doesn't know about the -p option and requires paths to use \ as path separator. Try to detect when building on Windows and use the Windows internal function instead of relying on a compatible mkdir in the path.
rbutil/libtools.make [diff]
tools/rbspeex/Makefile [diff]
tools/ucl/src/Makefile [diff]
Dominik Riebeling
11th May 09:28 8a4075d: Make libtools compile rule more generic.

Create the object - source dependency internally and use a more generic rule for compiling. Removes the need for explicit rules for source files located in a different folder.

This adds the limitation for SOURCES and LIBSOURCES to only hold C files.
rbutil/libtools.make [diff]
rbutil/mkimxboot/Makefile [diff]
rbutil/mktccboot/Makefile [diff]
Dominik Riebeling
11th May 10:55 440872b: rk27xx: Use DMA for lcd_update_rect()

This speeds up partial updates quite a bit but what is more important it opens up a way to efficiently implement lcd_blit_yuv() using hw colorspace conversion.

Tested on rk27generic, hm60x v1 and v2 and on ma9.

Benchmark for hm60x v1 (by mortalis): HEAD patched 1/1 141fps 138fps 1/4 315fps 395fps
firmware/target/arm/rk27xx/lcd-hifiman.c [diff]
firmware/target/arm/rk27xx/lcdif-rk27xx.c [diff]
firmware/target/arm/rk27xx/ma/lcd-ma.c [diff]
firmware/target/arm/rk27xx/rk27generic/lcd-rk27generic.c [diff]
Marcin Bukat
11th May 10:30 ca81547: rk27xx: Slightly refactor lcd_set_gram_area()
firmware/target/arm/rk27xx/lcd-hifiman.c [diff]
firmware/target/arm/rk27xx/lcdif-rk27xx.c [diff]
firmware/target/arm/rk27xx/lcdif-rk27xx.h [diff]
firmware/target/arm/rk27xx/ma/lcd-ma.c [diff]
firmware/target/arm/rk27xx/rk27generic/lcd-rk27generic.c [diff]
Marcin Bukat
11th May 10:08 3f4824b: rk27xx: Decide lcd databus width at compile time
firmware/target/arm/rk27xx/lcdif-rk27xx.c [diff]
firmware/target/arm/rk27xx/lcdif-rk27xx.h [diff]
Marcin Bukat
10th May 15:45 8568a8d: Set APPVERSION globally for extralibs Makefile.

Make sure its value quotes are properly escaped. Otherwise make on Windows causes problems. Also, expand CPPDEFINES only once.
rbutil/libtools.make [diff]
rbutil/rbutilqt/Makefile.libs [diff]
Dominik Riebeling
10th May 09:59 7ab7f86: Restructure options passed to libs Makefile.

Setup AR before checking for ccache to avoid adding ccache to ar. Setup CC and CFLAGS in the beginning as well. Quote ar and system speex options to fix building with ccache enabled.
rbutil/rbutilqt/rbutilqt.pro [diff]
Dominik Riebeling
9th May 13:37 b210a3a: Fix FS #12860 - iPod 5g line out silent

Conversion from centibels to register values was left out of audiohw_set_lineout_volume().

Credit goes to Dave Marsh for providing the fix.

Just another little oversight from sound/audiohw rework.
firmware/drivers/audio/wm8758.c [diff]
Michael Sevakis
9th May 15:23 f7d8b2d: Only pass AR to extralibs Makefile if the compiler is gcc.

We need this only for cross compiling. Trying to figure the compiler prefix fails if the compiler isn't gcc (i.e. clang), and we only support gcc when cross compiling.
rbutil/rbutilqt/rbutilqt.pro [diff]
Dominik Riebeling
9th May 14:11 9e9f692: Fix Rockbox Utility building on OS X.

Fix a typo that broke building. Also extend the extralibs Makefile to allow calling it directly.
rbutil/rbutilqt/Makefile.libs [diff]
Dominik Riebeling
9th May 10:16 d04bd89: hm60x: Implement lcd_enable() for v2 display.
firmware/target/arm/rk27xx/lcd-hifiman.c [diff]
Andrew Ryabinin
8th May 16:29 83554cc: hm60x: Implement lcd_update_rect for v2 display.
firmware/target/arm/rk27xx/lcd-hifiman.c [diff]
Andrew Ryabinin
6th May 22:35 fce81a8: Rename all the "lin_resample..." stuff to simply "resample_...".
lib/rbcodec/SOURCES [diff]
lib/rbcodec/dsp/dsp_arm.S [diff]
lib/rbcodec/dsp/dsp_cf.S [diff]
lib/rbcodec/dsp/lin_resample.c [deleted]
lib/rbcodec/dsp/resample.c [new]
Michael Sevakis
6th May 21:26 5c3e190: Remove leftover debugging warning.
tools/rbspeex/Makefile [diff]
Dominik Riebeling
15th Apr 07:51 fa4e1ba: Introduce HiFi E.T MA9 port.
apps/SOURCES [diff]
apps/keymaps/keymap-ma.c [new]
bootloader/SOURCES [diff]
firmware/SOURCES [diff]
firmware/drivers/audio/df1704.c [new]
firmware/drivers/pca9555.c [new]
firmware/export/audiohw.h [diff]
firmware/export/config.h [diff]
firmware/export/config/hifietma9.h [new]
firmware/export/df1704.h [new]
firmware/export/pca9555.h [new]
firmware/target/arm/rk27xx/backlight-rk27xx.c [diff]
firmware/target/arm/rk27xx/debug-rk27xx.c [diff]
firmware/target/arm/rk27xx/lcdif-rk27xx.c [diff]
firmware/target/arm/rk27xx/ma/audio-ma.c [new]
firmware/target/arm/rk27xx/ma/button-ma.c [new]
firmware/target/arm/rk27xx/ma/button-target.h [new]
firmware/target/arm/rk27xx/ma/lcd-ma.c [new]
firmware/target/arm/rk27xx/ma/lcd-target.h [new]
firmware/target/arm/rk27xx/ma/pca9555-ma.c [new]
firmware/target/arm/rk27xx/ma/pca9555-target.h [new]
firmware/target/arm/rk27xx/ma/power-ma.c [new]
firmware/target/arm/rk27xx/ma/powermgmt-ma.c [new]
firmware/target/arm/rk27xx/sd-rk27xx.c [diff]
tools/configure [diff]
Andrew Ryabinin
4th May 22:48 3fd25dc: Purge the usage of DSP_SWITCH_FREQUENCY.

DSP_SWITCH_FREQUENCY has been deprecated and the same enumerated value as DSP_SET_FREQUENCY since major DSP revisions were committed. This task should have been performed much earlier but, oh well, do it now.
apps/plugins/mpegplayer/audio_thread.c [diff]
lib/rbcodec/codecs/a52.c [diff]
lib/rbcodec/codecs/a52_rm.c [diff]
lib/rbcodec/codecs/aac.c [diff]
lib/rbcodec/codecs/adx.c [diff]
lib/rbcodec/codecs/aiff.c [diff]
lib/rbcodec/codecs/alac.c [diff]
lib/rbcodec/codecs/ape.c [diff]
lib/rbcodec/codecs/au.c [diff]
lib/rbcodec/codecs/flac.c [diff]
lib/rbcodec/codecs/mpa.c [diff]
lib/rbcodec/codecs/mpc.c [diff]
lib/rbcodec/codecs/raac.c [diff]
lib/rbcodec/codecs/shorten.c [diff]
lib/rbcodec/codecs/sid.c [diff]
lib/rbcodec/codecs/smaf.c [diff]
lib/rbcodec/codecs/tta.c [diff]
lib/rbcodec/codecs/vorbis.c [diff]
lib/rbcodec/codecs/vox.c [diff]
lib/rbcodec/codecs/wav.c [diff]
lib/rbcodec/codecs/wav64.c [diff]
lib/rbcodec/codecs/wavpack.c [diff]
lib/rbcodec/codecs/wma.c [diff]
lib/rbcodec/codecs/wmapro.c [diff]
lib/rbcodec/codecs/wmavoice.c [diff]
lib/rbcodec/dsp/dsp_core.h [diff]
lib/rbcodec/test/warble.c [diff]
Michael Sevakis
4th May 20:46 fd00d3c: Fix FS #12859 - Bass/Treble not doing anything in new builds

Just one more SNAFU after redoing sound.c. Software bass/treble controls in the DSP expect .1 dB gain increments but the gains were being set as 1 dB increments because that's what the AUDIOHW_SETTING specifies. Just x10 the gains given to audiohw_set_bass/treble.
firmware/drivers/audio/audiohw-swcodec.c [diff]
Michael Sevakis
4th May 20:16 736c378: Change the order of global linker options and -T.

95e23de made -Wl,--gc-sections appear after -T by combining it with the global linker options. Moving the global linker options in front of -T seems to fix the crash observed on mini2g after that change -- as it seems the linker behaves differently if --gc-sections is passed after -T.

Fixes FS #12857.
tools/root.make [diff]
Dominik Riebeling
3rd May 22:15 8a1cd81: Move building libraries to separate Makefile.

Previously several additional rules were added by qmake to build the required libraries. This has a couple of problems on Windows, requiring the use of a msys shell.

Additional variables are passed as environment variables. Windows doesn't understand this. Passing the variables via make command line argument works but make won't be able to change those variables anymore, breaking things. Use intermediate variables passed via make command line that are then exported by the called Makefile. This doesn't work in the generated Makefile since the export lines must not be part of a rule.

Also cleans up the project file a bit.
rbutil/rbutilqt/Makefile.libs [new]
rbutil/rbutilqt/rbutilqt.pro [diff]
Dominik Riebeling
3rd May 22:12 d964199: Replace use of uname by checking the compiler output.

Similar as done in ea0bfe7 ask the compiler for the binary it creates instead of using uname to figure the target.

Simplify source file preprocessing to avoid using grep to improve compatibility with Windows.
tools/rbspeex/Makefile [diff]
Dominik Riebeling
3rd May 21:50 460e959: Allow overriding make variables via environment variables.

Fixes cross compiling for Rockbox Utility.
rbutil/libtools.make [diff]
Dominik Riebeling
3rd May 11:02 d566fd5: Revert "Don't set CORE_GCSECTIONS in fixedpoint.make."

While it made the mini2g not crash during startup anymore further tests showed that other mini2g devices still exhibit the crash, or end up with a "No partition found" error; furthermore the device tested first still crashes on USB disconnect. Therefore the change doesn't really help with the problem, and at the expense of increasing binary size for all other targets there is no point in keeping it for now.

This reverts commit 850491a043a9341ef31ffb8c02eedd2ae7b2c53e.
lib/fixedpoint/fixedpoint.make [diff]
Dominik Riebeling
4th May 12:23 1a4acc9: Fix missed optimization opportunity in dsp_process.

Input type can only change once per call because the DSP parameters are only copied at the start and input is always taken from the src buffer which means sample input format switching can be once per call instead of once per loop.
lib/rbcodec/dsp/dsp_core.c [diff]
Michael Sevakis
19th Dec 16:34 78a45b4: Cleanup and simplify latest DSP code incarnation.

Some things can just be a bit simpler in handling the list of stages and some things, especially format change handling, can be simplified for each stage implementation. Format changes are sent through the configure() callback.

Hide some internal details and variables from processing stages and let the core deal with it.

Do some miscellaneous cleanup and keep things a bit better factored.
lib/rbcodec/dsp/channel_mode.c [diff]
lib/rbcodec/dsp/compressor.c [diff]
lib/rbcodec/dsp/crossfeed.c [diff]
lib/rbcodec/dsp/dsp_core.c [diff]
lib/rbcodec/dsp/dsp_core.h [diff]
lib/rbcodec/dsp/dsp_misc.c [diff]
lib/rbcodec/dsp/dsp_proc_entry.h [diff]
lib/rbcodec/dsp/dsp_sample_input.c [diff]
lib/rbcodec/dsp/dsp_sample_io.h [diff]
lib/rbcodec/dsp/dsp_sample_output.c [diff]
lib/rbcodec/dsp/eq.c [diff]
lib/rbcodec/dsp/lin_resample.c [diff]
lib/rbcodec/dsp/pga.c [diff]
lib/rbcodec/dsp/tdspeed.c [diff]
lib/rbcodec/dsp/tone_controls.c [diff]
Michael Sevakis
30th Apr 13:18 cdb71c7: Fix red.
bootloader/rk27xx.c [diff]
Andrew Ryabinin
29th Apr 09:04 61f9dbc G#459: rk27xx: initialize i2c driver in bootloader.
bootloader/rk27xx.c [diff]
Andrew Ryabinin
29th Apr 19:13 aa801b5: European Portuguese update by Tiago Roque Medeiros
apps/lang/portugues.lang [diff]
Frank Gevaerts
28th Apr 19:00 850491a: Don't set CORE_GCSECTIONS in fixedpoint.make.

fixedpoint.make is not a subdir Makefile but a lib Makefile. Setting CORE_GCSECTIONS in it will affect the final link and make it always use
--gc-sections (for SWCODEC Rockbox), since libfixedpoint is always needed
(bootloader and HWCODEC don't use libfixedpoint).

Fixes FS #12857.
lib/fixedpoint/fixedpoint.make [diff]
Dominik Riebeling
23rd Apr 01:20 08199cd G#457: Provide high resolution volume and prescaler to hosted targets.

HAVE_SW_VOLUME_CONTROL is required and at this time only affects the SDL targets using pcm-sdl.c.

Enables balance control in SDL targets, unless mono volume is in use.

Compiles software volume control as unbuffered when PCM_SW_VOLUME_UNBUFFERED is defined. This avoids the overhead and extra latency introduced by the double buffer when it is not needed. Use this config when the target's PCM driver is buffered and sufficient latency exists to perform safely the volume scaling.

Simulated targets that are double-buffered when made as native targets remain so in the sim in order to run the same code.

Tested-by: Michael Sevakis
firmware/drivers/audio/sdl.c [diff]
firmware/export/audiohw.h [diff]
firmware/export/config.h [diff]
firmware/export/hosted_codec.h [diff]
firmware/export/pcm-internal.h [diff]
firmware/export/pcm_sw_volume.h [diff]
firmware/pcm.c [diff]
firmware/pcm_sw_volume.c [diff]
firmware/target/hosted/sdl/pcm-sdl.c [diff]
Michael Sevakis
26th Apr 20:34 370ed6d: Properly seek to next id3v2 frame for unsynced tags.

When seeking to the next id3v2 frame we need to consider if the tag has the unsync flag set. Not doing so will likely make parsing end up in the middle of the current frame if the frame size exceeds the upper limit set during read. The latter usually happens for album art frames.

Fixes FS #12849.
lib/rbcodec/metadata/id3tags.c [diff]
Dominik Riebeling
26th Apr 18:26 1489fa3 G#458: Adapt logic in configure script to cope with both x86 and x86_64 architecture Android NDKs

Tested-by: Frank Gevaerts
tools/configure [diff]
Bryan Childs
25th Apr 21:46 a2d8d42: Properly implement volume in warble. dB cut only.
lib/rbcodec/rbcodecconfig-example.h [diff]
lib/rbcodec/test/warble.c [diff]
Michael Sevakis
25th Apr 16:33 5314fb2: Add $(SHARED_CFLAGS) to fixedpoint.make to quash amd64 errors in 95e23de.

Thanks to Frank Gevaerts.
lib/fixedpoint/fixedpoint.make [diff]
Michael Sevakis
16th Apr 15:47 95e23de G#456: Make fixepoint.c as a shared library (libfixedpoint.a).

Tested-by: Michael Sevakis
apps/SOURCES [diff]
apps/fixedpoint.c [deleted]
apps/plugins/bounce.c [diff]
apps/plugins/bubbles.c [diff]
apps/plugins/clock/clock_draw_analog.c [diff]
apps/plugins/cube.c [diff]
apps/plugins/fft/math.h [diff]
apps/plugins/fire.c [diff]
apps/plugins/lib/SOURCES [diff]
apps/plugins/lib/fixedpoint.c [deleted]
apps/plugins/lib/fixedpoint.h [deleted]
apps/plugins/oscilloscope.c [diff]
apps/plugins/plasma.c [diff]
apps/plugins/plugins.make [diff]
apps/plugins/vu_meter.c [diff]
firmware/include/fixedpoint.h [deleted]
flash/bootbox/bootbox.make [diff]
lib/fixedpoint/fixedpoint.c [new]
lib/fixedpoint/fixedpoint.h [new]
lib/fixedpoint/fixedpoint.make [new]
lib/rbcodec/codecs/adx.c [diff]
lib/rbcodec/codecs/codecs.make [diff]
lib/rbcodec/codecs/lib/SOURCES [diff]
lib/rbcodec/codecs/lib/fixedpoint.c [deleted]
lib/rbcodec/codecs/lib/fixedpoint.h [deleted]
lib/rbcodec/rbcodec.make [diff]
lib/rbcodec/test/SOURCES [diff]
tools/database/SOURCES [diff]
tools/database/database.make [diff]
tools/root.make [diff]
Michael Sevakis
25th Apr 14:37 8829e90: Bass/Treble caps should exist implicitly with HAVE_SW_TONE_CONTROLS.

If AUDIOHW_CAPS is defined without explicit BASS_CAP/TREBLE_CAP while HAVE_SW_TONE_CONTROLS is defined, AUDIOHW_HAVE_BASS/TREBLE should be defined or otherwise the tone controls won't show up. TREBLE/BASS were being defined if AUDIOHW_CAPS was NOT defined, but the same rule should apply if the codec needs to specify other caps but doesn't use hardware tone controls.

(I'm surprised noone noticed some settings gone missing :-)
firmware/export/audiohw.h [diff]
Michael Sevakis
15th Apr 18:09 ecaa401 G#455: Add Serial Port 1 support for iPod Photo/Color/4G/Mini2G

Based on FS #9920 by Ryan Press with changes to selection logic so that it works on my iPod Photo. Should also work on iPod Color/4G and Mini2G. Moved all target specific code from firmware/drivers/serial.c into new file firmware/target/arm/pp/uart-pp.c in the same manner as other target specific uart code. Update to fix build error on ipodmini2g by adding defines in config file. Removed unwanted whitespace Tested on iPod Photo.

Tested-by: andypotter
firmware/SOURCES [diff]
firmware/drivers/serial.c [diff]
firmware/export/config/ipodmini2g.h [diff]
firmware/target/arm/pp/system-pp502x.c [diff]
firmware/target/arm/pp/uart-pp.c [new]
andypotter
24th Apr 09:11 354c989: Update instructions in docs/README to change 'Check out from SVN' to 'Clone from git'
docs/README [diff]
Bryan Childs
23rd Apr 19:33 21b62bd: Make pcm_sw_volume.c a bit less verbose by merging volume code.

pcm_set_master_volume had two implementations, one for a prescaler and one without one but the differences can be made minimal enough to combine them.
firmware/pcm_sw_volume.c [diff]
Michael Sevakis
22nd Apr 18:55 4f2c0c1: Oops. Revert a pointless change.
firmware/drivers/audio/sdl.c [diff]
Michael Sevakis
20th Apr 02:06 e61e9c6: Do some cleanup, adjustment and a couple fixes to recent sound changes.

* SOUND_x enum can be generated by audiohw_settings.h along with settings entries and sound_val2phys.

* VOLUME_MIN and VOLUME_MAX are no longer necessary within sound.c. If you need them, they are for target-defined purposes.

* Fix up SDL volume implementation in sdl.c. Move sim volume calculation code to pcm-sdl.c.

* Min trigger tresholds were based upon VOLUME_MIN for some reason. These setting have nothing to do with playback volume. Since it is no longer present, set these at -89dB which is the minimum peak meter sensitivity setting.

* Fix an oversight in wm8758.c. I forgot to add the dB->register conversion to audiohw_set_volume.
apps/settings_list.c [diff]
firmware/drivers/audio/aic3x.c [diff]
firmware/drivers/audio/ak4537.c [diff]
firmware/drivers/audio/as3514.c [diff]
firmware/drivers/audio/cs42l55.c [diff]
firmware/drivers/audio/dummy_codec.c [diff]
firmware/drivers/audio/rk27xx_codec.c [diff]
firmware/drivers/audio/sdl.c [diff]
firmware/drivers/audio/tlv320.c [diff]
firmware/drivers/audio/tsc2100.c [diff]
firmware/drivers/audio/uda1341.c [diff]
firmware/drivers/audio/wm8731.c [diff]
firmware/drivers/audio/wm8751.c [diff]
firmware/drivers/audio/wm8758.c [diff]
firmware/drivers/audio/wm8975.c [diff]
firmware/drivers/audio/wm8978.c [diff]
firmware/drivers/audio/wm8985.c [diff]
firmware/export/aic3x.h [diff]
firmware/export/ak4537.h [diff]
firmware/export/as3514.h [diff]
firmware/export/audiohw.h [diff]
firmware/export/audiohw_settings.h [diff]
firmware/export/cs42l55.h [diff]
firmware/export/dummy_codec.h [diff]
firmware/export/hosted_codec.h [diff]
firmware/export/imx233-codec.h [diff]
firmware/export/jz4740-codec.h [diff]
firmware/export/mas35xx.h [diff]
firmware/export/rk27xx_codec.h [diff]
firmware/export/tlv320.h [diff]
...and 13 more files.
Michael Sevakis
20th Apr 12:41 91b33d5: Manual: fix minor error with D2 OF filenames
manual/getting_started/cowond2_install.tex [diff]
Alex Parker
18th Apr 07:36 62cb84a: imageviewer: fix animated gifs handling

If disposal method is set to BACKGROUND one would expect that canvas should be restored to global background color. That is what gif standard suggests. Most (all?) decoders however treat this as reseting canvas to transparency or fixed, decoder specific background color. Virtually all gifs are prepared with this in mind so to not break them we can't follow standard here.
apps/plugins/imageviewer/gif/gif.c [diff]
apps/plugins/imageviewer/gif/gif_decoder.c [diff]
Marcin Bukat
15th Apr 14:11 540e5d1: Forget about fixedpoint.c in any HWCODEC bin.

It bloats to much just for one simple use. Just use a simple function for shifting sound setting decimal places.
apps/SOURCES [diff]
firmware/sound.c [diff]
Michael Sevakis
15th Apr 13:19 333f4f5: Fix final error from 0c7b787 in Player sim.
firmware/drivers/audio/sdl.c [diff]
Michael Sevakis
15th Apr 19:02 b2dd1f8: rk27load: Fix stage1 (dram init routine)
utils/rk27utils/rk27load/stage1/main.S [diff]
utils/rk27utils/rk27load/stage1/stage1.lds [diff]
Marcin Bukat
15th Apr 12:58 5261b19: Still at it for 0c7b787. Might be done now.
apps/SOURCES [diff]
firmware/drivers/audio/wm8758.c [diff]
firmware/drivers/audio/wm8975.c [diff]
firmware/export/hosted_codec.h [diff]
firmware/export/mas35xx.h [diff]
firmware/target/arm/tms320dm320/mrobe-500/dm320codec-mr500.c [diff]
firmware/target/mips/ingenic_jz47xx/codec-jz4740.c [diff]
Michael Sevakis
15th Apr 12:00 9e71fd1: Keep fixing 0c7b787 stuff
firmware/drivers/audio/android.c [diff]
firmware/drivers/audio/sdl.c [diff]
firmware/drivers/audio/tlv320.c [diff]
firmware/export/hosted_codec.h [diff]
firmware/export/tlv320.h [diff]
firmware/export/wm8975.h [diff]
uisimulator/common/stubs.c [diff]
Michael Sevakis
15th Apr 11:24 bbd991a: Fix some more errors and warnings from 0c7b787.
firmware/drivers/audio/aic3x.c [diff]
firmware/drivers/audio/ak4537.c [diff]
firmware/drivers/audio/imx233-codec.c [diff]
firmware/drivers/audio/mas35xx.c [diff]
firmware/drivers/audio/wm8731.c [diff]
firmware/export/audiohw.h [diff]
firmware/export/mas35xx.h [diff]
firmware/export/wm8751.h [diff]
firmware/sound.c [diff]
Michael Sevakis
15th Apr 10:39 0971f57: Hopefully knock out most of the red and yellow from 0c7b787.
firmware/drivers/audio/ak4537.c [diff]
firmware/drivers/audio/as3514.c [diff]
firmware/drivers/audio/cs42l55.c [diff]
firmware/drivers/audio/rk27xx_codec.c [diff]
firmware/drivers/audio/tsc2100.c [diff]
firmware/drivers/audio/uda1341.c [diff]
firmware/drivers/audio/wm8758.c [diff]
firmware/export/audiohw.h [diff]
firmware/export/config.h [diff]
firmware/export/mas35xx.h [diff]
firmware/export/uda1341.h [diff]
firmware/export/wm8751.h [diff]
Michael Sevakis
12th Apr 21:35 0c7b787: Straighten out the mad twisted state of sound.c and related areas.

This is going right in since it's long overdue. If anything is goofed, drop me a line or just tweak it yourself if you know what's wrong. :-)

Make HW/SW codec interface more uniform when emulating HW functionality on SWCODEC for functions such as "audiohw_set_pitch". The firmware-to- DSP plumbing is in firmware/drivers/audiohw-swcodec.c. "sound_XXX" APIs are all in sound.c with none in DSP code any longer.

Reduce number of settings definitions needed by each codec by providing defaults for common ones like balance, channels and SW tone controls.

Remove need for separate SIM code and tables and add virtual codec header for hosted targets.
apps/fixedpoint.c [diff]
apps/settings.c [diff]
firmware/SOURCES [diff]
firmware/drivers/audio/aic3x.c [diff]
firmware/drivers/audio/ak4537.c [diff]
firmware/drivers/audio/as3514.c [diff]
firmware/drivers/audio/audiohw-swcodec.c [new]
firmware/drivers/audio/cs42l55.c [diff]
firmware/drivers/audio/dac3550a.c [diff]
firmware/drivers/audio/dummy_codec.c [diff]
firmware/drivers/audio/imx233-codec.c [diff]
firmware/drivers/audio/mas35xx.c [diff]
firmware/drivers/audio/rk27xx_codec.c [diff]
firmware/drivers/audio/sdl.c [diff]
firmware/drivers/audio/tlv320.c [diff]
firmware/drivers/audio/tsc2100.c [diff]
firmware/drivers/audio/uda1341.c [diff]
firmware/drivers/audio/uda1380.c [diff]
firmware/drivers/audio/wm8731.c [diff]
firmware/drivers/audio/wm8751.c [diff]
firmware/drivers/audio/wm8758.c [diff]
firmware/drivers/audio/wm8975.c [diff]
firmware/drivers/audio/wm8978.c [diff]
firmware/drivers/audio/wm8985.c [diff]
firmware/export/aic3x.h [diff]
firmware/export/ak4537.h [diff]
firmware/export/as3514.h [diff]
firmware/export/audiohw.h [diff]
firmware/export/audiohw_settings.h [new]
firmware/export/cs42l55.h [diff]
...and 25 more files.
Michael Sevakis
14th Apr 16:04 fd9e256: Use equivalent puts_scroll() call.
apps/plugins/lib/pluginlib_touchscreen.c [diff]
Thomas Martitz
12th Apr 19:43 fd6ab02: rk27xx: do not attenuate signal twice in analog bypass mode
firmware/drivers/audio/rk27xx_codec.c [diff]
Marcin Bukat
12th Apr 08:08 490db74: rk27xx: avoid one multiply in udelay() as pointed by kugel
firmware/target/arm/rk27xx/system-rk27xx.c [diff]
Marcin Bukat
12th Apr 07:27 3c802a9: rk27xx: make udelay() more accurate
firmware/target/arm/rk27xx/system-rk27xx.c [diff]
Marcin Bukat
12th Apr 08:08 6be8097: hm60x/hm801: Fix balance by enabling sw volume control.
firmware/drivers/audio/dummy_codec.c [diff]
firmware/export/config/hifimanhm60x.h [diff]
firmware/export/config/hifimanhm801.h [diff]
firmware/export/dummy_codec.h [diff]
Andrew Ryabinin
11th Apr 16:57 2dd1f37: Fix f5a5b94 errors. Employ SW volume for select targets on SIM.

Onda VX747 sim was missing a limits #define; #include limits.h in pcm_sw_volume.h.

Simply use the software volume control for the SIM volume control rather than the SDL volume control when the target would have it natively.
firmware/drivers/audio/sdl.c [diff]
firmware/export/pcm_sw_volume.h [diff]
firmware/sound.c [diff]
firmware/target/hosted/sdl/pcm-sdl.c [diff]
Michael Sevakis
5th Apr 02:36 f5a5b94 G#423: Implement universal in-PCM-driver software volume control.

Implements double-buffered volume, balance and prescaling control in the main PCM driver when HAVE_SW_VOLUME_CONTROL is defined ensuring that all PCM is volume controlled and level changes are low in latency.

Supports -73 to +6 dB using a 15-bit factor so that no large-integer math is needed.

Low-level hardware drivers do not have to implement it themselves but parameters can be changed (currently defined in pcm-internal.h) to work best with a particular SoC or to provide different volume ranges.

Volume and prescale calls should be made in the codec driver. It should appear as a normal hardware interface. PCM volume calls expect .1 dB units.

Tested-by: Michael Sevakis
firmware/SOURCES [diff]
firmware/export/config/ondavx747.h [diff]
firmware/export/config/ondavx777.h [diff]
firmware/export/jz4740-codec.h [diff]
firmware/export/pcm-internal.h [diff]
firmware/export/pcm_sw_volume.h [new]
firmware/export/sound.h [diff]
firmware/pcm.c [diff]
firmware/pcm_sw_volume.c [new]
firmware/sound.c [diff]
firmware/target/mips/ingenic_jz47xx/codec-jz4740.c [diff]
lib/rbcodec/dsp/dsp_misc.c [diff]
lib/rbcodec/dsp/pga.h [diff]
Michael Sevakis
11th Apr 09:42 a9049a7: fix yellow
firmware/target/arm/rk27xx/audio-rk27xx.c [diff]
Marcin Bukat
31th Mar 19:57 a924df8 G#427: rk27xx: implement radio support

Tested-by: Marcin Bukat
apps/keymaps/keymap-rk27xx-generic.c [diff]
firmware/SOURCES [diff]
firmware/drivers/audio/rk27xx_codec.c [diff]
firmware/export/config/rk27generic.h [diff]
firmware/target/arm/rk27xx/audio-rk27xx.c [new]
firmware/target/arm/rk27xx/rk27generic/fmradio-i2c-rk27generic.c [new]
firmware/target/arm/rk27xx/rk27generic/power-rk27generic.c [diff]
Amaury Pouly
10th Apr 11:24 f49e750: Move fixedpoint.h to be accessible in /firmware.

Will need it soon enough.

Combine the contents of all the various fixedpoint.h files. Not moving fixedpoint.c for now since I'm not sure where it should be and it causes some dependency issues.
apps/fixedpoint.h [deleted]
apps/plugins/lib/fixedpoint.h [diff]
firmware/include/fixedpoint.h [new]
lib/rbcodec/codecs/lib/fixedpoint.h [diff]
Michael Sevakis
9th Apr 17:07 f5b7134: Consolidate identical fixedpoint exp and ln functions.

grey_core.c and fixedpoint.c each had their own copies. grey_core.c can use the ones fixedpoint.c. fixedpoint.c gets the more complete and optimized version of fp_16exp from grey_core.c.
apps/fixedpoint.c [diff]
apps/plugins/lib/grey_core.c [diff]
Michael Sevakis
9th Apr 20:55 9a19a22: Add missing USB IDs.

The new autodetection will always use USB IDs to identify players (among other means). Add missing IDs for players the current implementation relies on other means for detection only.
rbutil/rbutilqt/rbutil.ini [diff]
Dominik Riebeling
6th Apr 19:15 e30b3d8: Change autodetection result to a list.

Both autodetection functionality and the configuration dialog assumed detection to only return one found device. This isn't necessarily true, especially since some players can be detected but detecting their mountpoint might be ambiguous
(only if no previous Rockbox installation is present).

Instead of returning individual results (found "ok" player, found "error" player etc.) return a list containing an entry for each player. Current autodetection code will never return more than one entry since it doesn't handle multiple devices yet, and the configuration dialog will show an error if multiple devices are found. Thus there is no user visible change yet. Both autodetection and configuration dialog can now get extended to handle multiple devices.
rbutil/rbutilqt/base/autodetection.cpp [diff]
rbutil/rbutilqt/base/autodetection.h [diff]
rbutil/rbutilqt/configure.cpp [diff]
rbutil/rbutilqt/configure.h [diff]
Dominik Riebeling
9th Apr 07:29 e6c0bd0: rk27xx: fix i2c driver
firmware/target/arm/rk27xx/i2c-rk27xx.c [diff]
Marcin Bukat
5th Mar 18:31 dcba741 G#416: bookmark: add cancelling of autoload bookmark

When autoload bookmark is set to "Ask", navigate to a file with bookmarks in that directory. Select the file and the bookmark list appears. Even if you chose to cancel, the track started prior to this patch.
apps/bookmark.c [diff]
Richard Quirk
5th Apr 18:03 703bc40: Fix ipodpatcher on OS X.

Fix a typo and update CC handling for OS X.
rbutil/ipodpatcher/Makefile [diff]
rbutil/libtools.make [diff]
Dominik Riebeling
5th Apr 17:49 ea0bfe7: Replace the use of uname to get the build output.

Using uname has a couple of problems, especially when cross compiling. Instead check the defines set by the preprocessor to figure the type of binaries it produces. This improves support for cross compiling as it allows to (1) select the correct default target and (2) makes it possible to use separate build folders for different targets.
rbutil/ipodpatcher/Makefile [diff]
rbutil/libtools.make [diff]
Dominik Riebeling
3rd Apr 21:43 891351d: Fix Qt5 / MinGW problems.

Add missing multimedia module and update some includes.
rbutil/rbutilqt/base/autodetection.h [diff]
rbutil/rbutilqt/configure.cpp [diff]
rbutil/rbutilqt/rbutilqt.pro [diff]
rbutil/rbutilqt/sysinfo.cpp [diff]
rbutil/rbutilqt/systrace.cpp [diff]
Dominik Riebeling
3rd Apr 21:36 801f3bb: Rename "interface" parameter.

Current MinGW #defines interface, causing the preprocessor messing up the function parameter. Rename it to avoid this.
rbutil/rbutilqt/encttscfggui.cpp [diff]
rbutil/rbutilqt/encttscfggui.h [diff]
Dominik Riebeling
2nd Apr 12:09 7271ff6: Add ANDROID_SDK_PATH and ANDROID_NDK_PATH to generated Makefile.

Previously it was sufficient to set those variables when running configure. Since ANDROID_NDK_PATH is now also used in the Android Makefile set both variables in the generated Makefile as well -- not everyone has (or wants) to set them globally in the environment.
tools/configure [diff]
Dominik Riebeling
1st Apr 19:30 b3ef8c8: Put resource object into object folder.

Use correct path for windres output. Fixes windres running even if no changes are present.
rbutil/ipodpatcher/Makefile [diff]
rbutil/sansapatcher/Makefile [diff]
Dominik Riebeling
1st Apr 19:20 86d46b6: Remove unnecessary all target.

The target all is set in libtools.make. Setting it here breaks make knowing about the correct default target when cross compiling.
rbutil/ipodpatcher/Makefile [diff]
Dominik Riebeling
1st Apr 18:37 5ce2136: Extend Utils::mountpoints() to allow filtering for supported types.

Instead of trying every mountpoint during autodetection allow filtering out filesystems that are not supported when retrieving the system mountpoints.
rbutil/rbutilqt/base/autodetection.cpp [diff]
rbutil/rbutilqt/base/utils.cpp [diff]
rbutil/rbutilqt/base/utils.h [diff]
Dominik Riebeling
4th Apr 13:30 f84602a: Fix identations.
firmware/target/arm/rk27xx/debug-rk27xx.c [diff]
firmware/target/arm/rk27xx/nand-rk27xx.c [diff]
firmware/target/arm/rk27xx/pcm-rk27xx.c [diff]
Andrew Ryabinin
4th Apr 11:06 670af63: rk27xx: Correct comment about i2c divider calculation
firmware/target/arm/rk27xx/i2c-rk27xx.c [diff]
Marcin Bukat
1st Apr 15:28 f8d36b5: Increase MAXUSERFONTS to 12.

In the modern everything-can-be-skinned world, themes are beginning to hit the limit of 8 fonts (which includes sysfont). Increasing this to 12 will allow some headroom, at the cost of a bit more RAM usage
(about 20 bytes per extra possible font, so about 80 bytes total here)
firmware/export/font.h [diff]
Frank Gevaerts
16th Mar 21:35 9f242e7 G#422: android: Rewrite PCM playback without OnPlaybackPositionUpdateListener.

The old way actually mis-used the API (I misunderstood the docs) because it specified the marker position as a "low buffer watermark" but instead of a future playback head position.

The replacement is a simple thread that writes the data regardless of the filling level of the buffer (write() will just block) and polls the playback state periodically.

Tested-by: Dominik Riebeling
android/src/org/rockbox/RockboxPCM.java [diff]
firmware/target/hosted/android/pcm-android.c [diff]
Thomas Martitz
28th Mar 21:36 9add11d: woops, revert test code
apps/debug_menu.c [diff]
Jonathan Gordon
27th Mar 21:43 83d3f1d: simplelist: Fix simplelist_set_line_count() so it actually sets the count

(hopefully) Fixes FS #12838
apps/debug_menu.c [diff]
apps/gui/list.c [diff]
Jonathan Gordon
25th Mar 15:35 ddf5520: rk27xx: Add E & F gpio ports to debug info.
firmware/target/arm/rk27xx/debug-rk27xx.c [diff]
Andrew Ryabinin
25th Mar 15:04 b0eb3c7: hm60x: Add lcd type information to debug info.
firmware/target/arm/rk27xx/debug-rk27xx.c [diff]
firmware/target/arm/rk27xx/hm60x/lcd-target.h [diff]
firmware/target/arm/rk27xx/lcd-hifiman.c [diff]
Andrew Ryabinin
24th Mar 15:24 575d00e: Remove redundant assigment of variable to itself
firmware/usb.c [diff]
Bertrik Sikken
24th Mar 15:03 9b8f11d: Fix LV24020 tuner chip volume level definition (found by cppcheck)
firmware/drivers/tuner/lv24020lp.c [diff]
Bertrik Sikken
24th Mar 13:58 0de2a85: Change audio_set_cuesheet parameter from int to bool (fixes cppcheck warning)
apps/playback.c [diff]
apps/playback.h [diff]
Bertrik Sikken
21st Mar 18:01 d504a6b: rknanoutils: fix boot tool

Correctly descramble the first stages (0 to 2) in continuous mode. Also fix a disassembled (but unused) crc routine used in dfu mode.
utils/rknanoutils/rkboottool/rkboottool.c [diff]
Amaury Pouly
21st Mar 17:59 6ea48cf: rknanoutils: add dfu tool

This tool can upload a firmware to the device in DFU mode. The protocol is the same as the rk27xx devices except that it can load a bigger (unlimited ?) firmware.
utils/rknanoutils/rkload/Makefile [new]
utils/rknanoutils/rkload/rkloader.c [new]
Amaury Pouly
19th Mar 21:20 aa898d6: Encode the password using base64 before storing it to the configuration file.

There are two reasons for this:
- QUrl::toEncoded() has problems with some characters like the colon and @. Those are not percent encoded, causing the string getting parsed wrongly when reading it back (see FS #12166).
- The password is cleartext in the configuration file. While using base64 doesn't provide any real security either it's at least better than plaintext. Since this program is open source any fixed mechanism to obfuscate / encrypt the password isn't much help either since anyone interested in the password can look at the sources. The best way would be to eventually use host OS functionality to store the password.
rbutil/rbutilqt/configure.cpp [diff]
rbutil/rbutilqt/rbutilqt.cpp [diff]
Dominik Riebeling
19th Mar 21:01 9965849: Add option to temporarily show proxy password.
rbutil/rbutilqt/configure.cpp [diff]
rbutil/rbutilqt/configure.h [diff]
rbutil/rbutilqt/configurefrm.ui [diff]
Dominik Riebeling
16th Mar 21:30 0d5883d: autoconf.pl: Add support for build folders with screen resolution (e.g. build-android-320x480).
tools/autoconf.pl [diff]
Thomas Martitz
16th Mar 00:24 d220940: rknanoutils: fix stupid mistake
utils/rknanoutils/rkboottool/rkboottool.c [diff]
Amaury Pouly
13th Mar 21:05 9e7bd64: Remove keyword line.
rbutil/rbutilqt/INSTALL [diff]
Dominik Riebeling
13th Mar 20:40 9623685: Don't include unwarminder for checkwps, database and warble.

If the host is ARM simply checking the architecture the compiler produces binaries for will include unwarminder even for the PC tools, breaking them.

Fixes building checkwps and database on ARM hosts. Doesn't fix warble, there are additional problems with that.
tools/root.make [diff]
Dominik Riebeling
2012-10-26 027c035 G#338: jz4740: a few minor fixes

This was spotted while playing with qemu-jz: 1) rockbox reads TECR and TESR which are described as write-only registers. Datasheet doesn't mention what happens if they are readed. Apparently this doesn't have fatal side effects. It comes down to two defines from jz4740.h __tcu_stop_counter(n) and __tcu_start_counter(n) which use read-modify-write sequence.

2) rockbox accesses out of bound offset 0xd4 in DMA memspace. It comes from dis_irq() in system-jz4740.c. NUM_DMA is 6 but DMA channels are 0-5 so (irq <= IRQ_DMA_0 + NUM_DMA)) bound check is wrong.

This are *NOT* tested on device.

Tested-by: Purling Nayuki
firmware/export/jz4740.h [diff]
firmware/target/mips/ingenic_jz47xx/system-jz4740.c [diff]
Marcin Bukat
10th Mar 14:10 44c32f8: mkimxboot: fix usage
rbutil/mkimxboot/main.c [diff]
Amaury Pouly
10th Mar 12:28 00c37a6: Prepare unofficial pandora release

The code is based on the 'v3.13-final' tag.
packaging/pandora/PXML.xml [diff]
Thomas Jarosch
10th Mar 10:22 143bcfa: Prepare new maemo release

Ideally this commit should go on top of the v3.13 branch since the release is based on the v3.13 code base.
debian/README.Debian [diff]
debian/changelog [diff]
debian/control [diff]
debian/copyright [diff]
Thomas Jarosch
9th Mar 18:40 d94ce51: Default to non-GUI configuration for tests.
rbutil/rbutilqt/test/tests.pri [diff]
Dominik Riebeling
9th Mar 18:37 af58d04: ZipInstaller: rename some member variables to be in line with the rest.

Also change the double inclusion protection to match the filename.
rbutil/rbutilqt/base/zipinstaller.cpp [diff]
rbutil/rbutilqt/base/zipinstaller.h [diff]
Dominik Riebeling
9th Mar 18:34 e500667: Don't leak HttpGet objects in ZipInstaller.

When creating a new HttpGet object schedule any old one for deletion instead of dropping its reference and relying on Qt to clean it up once the parent object is removed.
rbutil/rbutilqt/base/zipinstaller.cpp [diff]
Dominik Riebeling
9th Mar 18:31 ef9eea7: Don't delete ZipInstaller instances directly.

Schedule them for deletion instead of deleting them. That way pending events can still be handled before the main loop deletes them. Fixes crashes on the second download during installation.
rbutil/rbutilqt/gui/selectiveinstallwidget.cpp [diff]
Dominik Riebeling
7th Mar 19:38 6aeecf5: TTS encoders: allow volume range between 0.0 and 2.0.

SAPI only allowed values from 1.0 to 10.0, making it impossible to turn down the volume of the voice. Increasing the volume by a factor of 10.0 is nothing that is likely to be useful, so change the upper limit to 2.0 and decrease the lower limit to 0.0.

Lame allowed values from 0.0 to 1.0, making it impossible to increase the volume of the voice. Change the upper limit to 2.0 as well.
rbutil/rbutilqt/base/encoderlame.cpp [diff]
rbutil/rbutilqt/base/encoderrbspeex.cpp [diff]
Dominik Riebeling
7th Mar 17:23 dfd54d5: Update for 3.13
tools/builds.pm [diff]
Alex Parker
6th Mar 18:36 c738942: VGM Codec: Improve time and fade behavior. Tweak minor misc.

Prevents cutoff of tracks, especially short ones:
* Extend looped tracks by fade length to fade at start of loop repeat.
* No fade occurs for non-repeating track only having an intro.
* Uses id3.tail_trim field to store fade duration.

Use libGME built-in elapsed time reporting instead of custom calculation:
* libGME already reports in milliseconds.
* Don't advance time counter when Repeat == One. It just runs the progress over the length limit.

Fix a comment about sample rate and set the reported bitrate to be accurate for 44.1 kHz stereo.
lib/rbcodec/codecs/vgm.c [diff]
lib/rbcodec/metadata/vgm.c [diff]
Michael Sevakis
6th Mar 21:24 2f9e3ca G#410: Samsung YP-R0 LCD improvements

This patch adds to YP-R0 (and other future targets using Linux framebuffer) the ability to use LCD_ENABLE to save some CPU cycles while display is powered off. This patch also changes the way to toggle LCD power: now using a proper ioctl call, slightly more efficient.
firmware/export/config/samsungypr0.h [diff]
firmware/target/hosted/samsungypr/lcd-target.h [diff]
firmware/target/hosted/samsungypr/lcd-ypr.c [diff]
firmware/target/hosted/samsungypr/ypr0/backlight-ypr0.c [diff]
Lorenzo Miori
6th Mar 09:11 8ef8ea2: ypr0: Align to coding guidelines (no typedef) and remove unused function.
firmware/target/hosted/samsungypr/gpio_ypr.c [diff]
firmware/target/hosted/samsungypr/ypr0/gpio-target.h [diff]
firmware/target/hosted/samsungypr/ypr0/r0GPIOIoctl.h [diff]
Thomas Martitz
6th Mar 09:02 7ef2fe3: ypr0: Fix erroneous if condition.

The GPIO device file wasn't closed due to this. This wasn't a big deal because the device powers off shorty afterwards anyway.
firmware/target/hosted/samsungypr/gpio_ypr.c [diff]
Thomas Martitz
23rd Feb 15:59 6059216 G#409: Samsung YP-R0 hosted target code refactoring

As per title this patch aims at splitting common target code and specific target code in a better way to support future ports within the same environment
(e.g. Samsung YP-R1 where the Linux and the SoC are the same, with differences in hardware devices handling)

Tested-by: Thomas Martitz
firmware/SOURCES [diff]
firmware/export/config/samsungypr0.h [diff]
firmware/target/hosted/samsungypr/adc-target.h [new]
firmware/target/hosted/samsungypr/backlight-target.h [new]
firmware/target/hosted/samsungypr/dir-target.h [new]
firmware/target/hosted/samsungypr/gpio_ypr.c [new]
firmware/target/hosted/samsungypr/lcd-target.h [new]
firmware/target/hosted/samsungypr/lcd-ypr.c [new]
firmware/target/hosted/samsungypr/radio-ypr.c [new]
firmware/target/hosted/samsungypr/radio-ypr.h [new]
firmware/target/hosted/samsungypr/si4709.h [new]
firmware/target/hosted/samsungypr/system-target.h [new]
firmware/target/hosted/samsungypr/ypr0/ascodec-ypr0.c [new]
firmware/target/hosted/samsungypr/ypr0/audio-ypr0.c [new]
firmware/target/hosted/samsungypr/ypr0/backlight-ypr0.c [new]
firmware/target/hosted/samsungypr/ypr0/button-target.h [new]
firmware/target/hosted/samsungypr/ypr0/button-ypr0.c [new]
firmware/target/hosted/samsungypr/ypr0/gpio-target.h [new]
firmware/target/hosted/samsungypr/ypr0/powermgmt-ypr0.c [new]
firmware/target/hosted/samsungypr/ypr0/r0GPIOIoctl.h [new]
firmware/target/hosted/samsungypr/ypr0/sc900776.h [new]
firmware/target/hosted/samsungypr/ypr0/system-ypr0.c [new]
firmware/target/hosted/samsungypr/ypr0/ypr0.make [new]
firmware/target/hosted/ypr0/adc-target.h [deleted]
firmware/target/hosted/ypr0/ascodec-ypr0.c [deleted]
firmware/target/hosted/ypr0/audio-ypr0.c [deleted]
firmware/target/hosted/ypr0/backlight-target.h [deleted]
firmware/target/hosted/ypr0/backlight-ypr0.c [deleted]
firmware/target/hosted/ypr0/button-target.h [deleted]
firmware/target/hosted/ypr0/button-ypr0.c [deleted]
...and 16 more files.
Lorenzo Miori
5th Mar 21:37 3e4be68: Make the tarball generation tool handle spaces in filenames

<insert opinion on such filenames here>
utils/common/gitscraper.py [diff]
Frank Gevaerts
5th Mar 18:08 1b90645: Update bulgarian.lang by Zahari Yurukov
apps/lang/bulgarian.lang [diff]
Alex Parker
5th Mar 18:07 30f2990: Sort bulgarian.lang into english.lang order
apps/lang/bulgarian.lang [diff]
Alex Parker
3rd Mar 00:16 aba69eb G#413: update Chinese(Simplified) translation

added a missing string and some other fixes

Tested-by: Purling Nayuki Tested-by: Alex Parker
apps/lang/chinese-simp.lang [diff]
PurlingNayuki
5th Mar 11:15 e4040d9 G#414: EQ: - Fine grained EQ configuration

- Reduce the minimum step for EQ 'Gain' and EQ 'Q' values to .1dB
- Reduce the minimum step for EQ 'Precut' value to .1dB
apps/menus/eq_menu.h [diff]
apps/settings_list.c [diff]
Hayden Pearce
5th Mar 14:07 cdf5429 G#415: Debug Screen: - Skin Engine RAM usage - fix a small typo

- s/Ram/RAM/
apps/debug_menu.c [diff]
Hayden Pearce
4th Mar 12:39 d8a3871: update French translation
apps/lang/francais.lang [diff]
Amaury Pouly
21st Feb 16:48 97f1466: rk27xx: fix usb logf
firmware/target/arm/rk27xx/usb-drv-rk27xx.c [diff]
Amaury Pouly
21st Feb 16:48 3875f57: rk27xx: add memmap to debug screen
firmware/target/arm/rk27xx/debug-rk27xx.c [diff]
Amaury Pouly
28th Feb 15:53 3a13150: Revert "skin tags: fix the id3 track/disc numbers in conditionals"

This reverts commit a395a346719908e7d02ab7a742eb2b938dcc893d. And fixes FS #12836 - need to rethink how to do this later.
apps/gui/skin_engine/skin_tokens.c [diff]
Jonathan Gordon
27th Feb 20:15 2febee5: more error handling for checkwps
lib/skin_parser/skin_parser.c [diff]
Jonathan Gordon
26th Feb 20:12 d76dca1: checkwps: show a helpful error if the parser callback errors out
apps/gui/skin_engine/skin_parser.c [diff]
lib/skin_parser/skin_debug.c [diff]
lib/skin_parser/skin_parser.c [diff]
lib/skin_parser/skin_parser.h [diff]
Jonathan Gordon

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa