dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Recent activity


Today 20:24 92140752d7: FiiO M3K: disable CPU frequency switching

After conducting some simplistic tests, I found that the power usage did not appear to be affected by the CPU frequency.

I tested by playing back a 44.1 KHz FLAC file on single track repeat, and measured current with the AXP173's battery discharge current ADC. The button and LCD backlights were set to always on. Headphones were unplugged and the volume was muted to eliminate any influence from the headphone amp.

On average the current usage was between 78-81 mA at 1008 MHz, 252 MHz, and 112 MHz. If anything, 1008 MHz drew _less_ current than the lower frequencies, by about 1-3 mA.

A possible explanation for this, assuming it's not just a bias of the test, is that the CPU idle state saves so much power that it's better to maximize the real time that the CPU spends idling. More systematic testing is needed to confirm this.
firmware/export/config/fiiom3k.h [diff]
firmware/target/mips/ingenic_x1000/kernel-x1000.c [diff]
Aidan MacDonald
Today 20:24 fceffb7d4a: x1000: disable CPU idle stats by default

There's no point including this in normal builds: the stats are not used for anything, they are not really of interest to anyone except developers, and add a small overhead to the kernel tick.
firmware/target/mips/ingenic_x1000/debug-x1000.c [diff]
firmware/target/mips/ingenic_x1000/kernel-x1000.c [diff]
firmware/target/mips/ingenic_x1000/system-target.h [diff]
firmware/target/mips/ingenic_x1000/system-x1000.c [diff]
Aidan MacDonald
Today 20:24 01d1eb4258: FiiO M3K/X1000: Do system clock initialization in the SPL

Initializing the clocks in the SPL brings Rockbox in line with how the FiiO M3K's original SPL works. It's likely other X1000 devices do this too.

There was a logic error in the previous setup: the code falsely assumed that DDR memory would always be running from MPLL, but it would be switched to APLL by the bootloader. Rockbox would then try to re-init APLL, albeit with the same parameters. Maybe this was the cause of the boot hang on some units.
firmware/target/mips/ingenic_x1000/fiiom3k/spl-fiiom3k.c [diff]
firmware/target/mips/ingenic_x1000/spl-x1000.c [diff]
firmware/target/mips/ingenic_x1000/spl-x1000.h [diff]
firmware/target/mips/ingenic_x1000/system-x1000.c [diff]
Aidan MacDonald
Today 20:23 e123c5d2f2: x1000: don't reset all GPIOs at boot

What we really want is to avoid any interrupts being generated before the drivers which handle them are properly initialized. Intead of trashing all GPIOs, search for the problem pins and fix them, leaving the others alone.

This fixes the M3K's button light flickering on boot and should stop the M3K from entering a potentially confusing "dead" state where all the lights are off but the CPU is still on.
firmware/target/mips/ingenic_x1000/gpio-x1000.c [diff]
Aidan MacDonald
Today 20:23 b41d53792c: jztool: New utility for installing a bootloader on FiiO M3K

At present, this is just a command line tool for Linux only.

Integrating this with the Rockbox utility and porting to other platforms should be straightforward; the README contains more information.
.gitignore [diff]
rbutil/jztool/Makefile [new]
rbutil/jztool/ [new]
rbutil/jztool/include/jztool.h [new]
rbutil/jztool/jztool.c [new]
rbutil/jztool/src/buffer.c [new]
rbutil/jztool/src/context.c [new]
rbutil/jztool/src/device_info.c [new]
rbutil/jztool/src/fiiom3k.c [new]
rbutil/jztool/src/identify_file.c [new]
rbutil/jztool/src/jztool_private.h [new]
rbutil/jztool/src/paramlist.c [new]
rbutil/jztool/src/usb.c [new]
rbutil/jztool/src/x1000.c [new]
Aidan MacDonald
Today 20:22 1b8542490d: x1000: Redesign SPL, and allow it to flash the bootloader

SPL is now designed so core X1000 code is in control of the boot, under the reasonable assumption that the device boots from flash. It should not be too hard to adapt to other X1000 ports.

The biggest functional change is that the SPL can now read/write the flash, under the control of a host computer. The SPL relies on the boot ROM for USB communication, so the host has to execute the SPL multiple times following a protocol.
bootloader/SOURCES [diff]
firmware/SOURCES [diff]
bootloader/fiiom3k-spl.c firmware/target/mips/ingenic_x1000/fiiom3k/spl-fiiom3k.c [rename]
firmware/target/mips/ingenic_x1000/fiiom3k/spl-target.h [new]
firmware/target/mips/ingenic_x1000/spl-x1000-defs.h [new]
bootloader/x1000-spl.c firmware/target/mips/ingenic_x1000/spl-x1000.c [rename]
firmware/target/mips/ingenic_x1000/spl-x1000.h [new]
Aidan MacDonald
Today 15:33 85fbbd9c7f: 16 bit lcd_mono_bitmap

'Bugfix' mono_bitmap_part reads ahead in the buffer, if the height is <= char bit pixels other memory gets read
firmware/drivers/lcd-16bit-common.c [diff]
William Wilgus
Today 13:06 afe80742a5: Fix Pictureflow bugs

It turns out that aa_cache.buf, used to store decoded album art during background scanning, was not correctly allocated and overlapped with memory allocated for buflib. This was what caused all the segfaults.

Also fixed a logic error in read_pfraw(), which returns a buflib handle on success, but also returned 0 on failure -- since 0 is a valid buflib handle, it should return -1 on failure instead.
apps/plugins/pictureflow/pictureflow.c [diff]
Aidan MacDonald
Today 12:09 4dc602dd7f: erosq: Tweak volume scale to be approximately correct

Tested on eros q, everything measured from line out, open circuit.

- volume steps were approximately double the dB they were labelled as, so "-2 dB" would result in a change of about -4 dB from maximum (0, +6.2dBV)
- maximum volume defining the line out volume only changed every 10 values, and then was not close to correct- "-10 dB" resulted in -2.5 dB from maximum

This gets the volume dB approximately correct, and maximum volume correctly sets the line out volume. I was unable to get odd values in the max volume to work, so set the step size to 2 instead of one.

For "consumer level" (-10dBV), set to -16. For "Pro level" (+4dBu -> ~1.8dBV), set to -4.
firmware/drivers/audio/erosqlinux_codec.c [diff]
firmware/export/erosqlinux_codec.h [diff]
Dana Conrad
Yesterday 14:10 a9d3e9a13d: The Matrix plugin -- Bugfix

Off by one errorS in the matrix plugin

might even say its the matrix plugin re-loaded
apps/plugins/matrix.c [diff]
William Wilgus
Wednesday 01:39 42dba708e3: hosted: Don't open alsa control device directly

It was just being used as a proxy "yeah, we called hw_init()" so just use a flag for that directly.

affects rocker, erosq, xduoo x3ii/x20, and fiiom3klinux
firmware/drivers/audio/erosqlinux_codec.c [diff]
firmware/drivers/audio/fiiolinux_codec.c [diff]
firmware/drivers/audio/rocker_codec.c [diff]
firmware/drivers/audio/xduoolinux_codec.c [diff]
Solomon Peachy
Tuesday 14:28 ec4b5c794e: ibasso: Found a reliable way to determine if SD card is present at startup
firmware/target/hosted/ibasso/vold-ibasso.c [diff]
Solomon Peachy
12th Apr 21:54 c0a49d9bdf: ibasso: Default to assuming the external SD card is inserted

Detection at startup is proving to be unreliable. Even if card is not present at startup, upon insertion it will sort itself out properly.
firmware/target/hosted/ibasso/vold-ibasso.c [diff]
Solomon Peachy
12th Apr 18:19 b6fce99046: ibasso: Implement proper PIVOT_ROOT filesystem access

Including direct use of the external SD card mount

Known issue: If SD card is inserted at startup, it must be ejected and reinserted to be registered.
firmware/export/config/ibassodx50.h [diff]
firmware/export/config/ibassodx90.h [diff]
firmware/target/hosted/ibasso/system-ibasso.c [diff]
firmware/target/hosted/ibasso/vold-ibasso.c [diff]
firmware/target/hosted/ibasso/vold-ibasso.h [diff]
Solomon Peachy
11th Apr 02:59 e4345f2db8: build: Make the lang.h and genlang.h depend on the genlang tool

(So if genlang is updated, regenerate the language headers)
apps/lang/lang.make [diff]
Solomon Peachy
All commits since last release, last four weeks.


10th Apr 01:44WebHomeSolomonPeachy
10th Apr 01:38SolomonPeachySolomonPeachy
6th Apr 16:44XDuooX3iiPurlingNayuki
3rd Apr 04:26RockboxMuseumSolomonPeachy
3rd Apr 00:57MajorChangesSolomonPeachy
2nd Apr 21:15DocsIndexSolomonPeachy
2nd Apr 20:11TargetStatusSolomonPeachy
2nd Apr 18:08FiioM3KAidanMacDonald
2nd Apr 15:19GeneralFAQSolomonPeachy
2nd Apr 14:52MrSomeonesTodoListSolomonPeachy
2nd Apr 12:24RockboxUsbHandlingWilliamWilgus
2nd Apr 12:17RockboxPCMPlaybackSolomonPeachy
2nd Apr 12:17DeviceDetectionSolomonPeachy
2nd Apr 12:16DesktopToolsSolomonPeachy
2nd Apr 12:16BjornStenbergSolomonPeachy
2nd Apr 12:06SansaAMSFirmwareWilliamWilgus
26th Mar 17:15WikiUsersGroupSolomonPeachy
26th Mar 17:13UnprocessedRegistrationsLogSolomonPeachy
26th Mar 17:13AidanMacDonaldBaseUserMapping_222
26th Mar 17:13WikiUsersBaseUserMapping_333


Recent Threads on the Mailing Lists
when what who
Wednesday 11:40rockbox Digest, Vol 173, Issue 3 Alex Claessens via rockbox
Tuesday 16:41rockbox on x3 current build not speaking everything Solomon Peachy via rockbox
9th Apr 21:30PPA for Rockbox works with Ubuntu 20.04 Benjamin Balder Bach via rockbox
7th Apr 13:55New update to italian translation. Alessio Lenzi via rockbox-dev
6th Apr 11:06info-mp3-xduoo x3ii-eror-failed-reading-voice Solomon Peachy via rockbox
19th Mar 22:08Ode to Rockbox :) Vladimir Pantelic via rockbox-dev
13th Mar 12:28info-mp3-model Solomon Peachy via rockbox
9th Mar 11:51Speechsupport on devices with touchscreen Solomon Peachy via rockbox
25th Dec 23:43error trying to use voice files David Mehler via rockbox
19th Dec down Bernhard M.
4th Dec 11:48Some problems with the Rockbox-Utility tuxic––– via rockbox
20th Nov 19:45Rockbox on Xduoo x3? Dominik Riebeling via rockbox
20th Nov 15:20DAISY (was: Re: New players for the blind and Rockbox?) Daniel Weck via rockbox
18th Nov 20:26Rockbox www and other services offline for maintenance 2020/11/20 Solomon Peachy via rockbox
16th Nov 16:03Google authentication on the Gerrit site is broken Solomon Peachy via rockbox-dev
15th Nov 02:15Gerrit instance scheduled for an upgrade 2020-10-22 _at_ 12:00 US-Eastern Solomon Peachy via rockbox-dev
29th Oct 22:59speach spelling everything letter by letter, help! Robert Godridge via rockbox
26th Oct 05:19Clip Zip recovery Sheldon via rockbox
16th Oct 21:29XDuoo X3 - Update from Vortex build to vanilla Rockbox Jan Hasebos via rockbox
13th Oct 16:59Toolchain bump: arm & m68k toolchains to gcc 4.9.4 Solomon Peachy via rockbox-dev

Page was last modified "Mon Nov 16 10:57:21 2020" The Rockbox Crew -- Privacy Policy