summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-07-18sbtools: refactor and cleanupAmaury Pouly
Factor common elf/sb read/write/printf routines. Factor sb zero key, move sb version guess. Change-Id: I5ae1885587456736e782e623610281bbee545039
2013-07-16hwstub: forgot fileAmaury Pouly
Change-Id: Ib79f4ef89c734d7ba2fcbf648aadc346576e1c17
2013-07-16hwstub: enhance exit protocol and implement on stmpAmaury Pouly
Rename STOP command to EXIT, introduce ATEXIT, this gives better control over the exit of the stub. Add stmp implementation. Change-Id: I45442c8b88b9330d12ef439417ca5ffa1520477a
2013-07-16[Fuze+][Keymaps] keymaps for radio and recorder updateJean-Louis Biasini
1) Now that recording is working a few keymaps update are required. 2) also implement the radio.c file so that fm dedicated keymaps works. 3) implement some missing fm keymaps 4) manual updated accordingly Change-Id: I40be3e245853ccb9ed7a5bc5a76fe4ed90772272 Reviewed-on: http://gerrit.rockbox.org/513 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-07-16[Manual] Document soft lock for FMJean-Louis Biasini
After the recent soft lock implementation for FM, this adds the related information in the manual for Fuze+ and Clip/clip+ (basicaly it's a copy/paste from WPS section). Change-Id: I23c39d7b3763eb2b9897187baa3a9b2663003cf7 Reviewed-on: http://gerrit.rockbox.org/495 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-07-16[Fuze+][lang] keymaps hint updateJean-Louis Biasini
A few keymaps hint were wrong, this correct them: - database/filemanager on cancelling songs insertion - alarm clock - set alarm Change-Id: Ifb50a9452c208a7d5c28bdac96c825030b943c25 Reviewed-on: http://gerrit.rockbox.org/508 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-07-15cabbiev2: fix a snafu in cabbiev2.240x320x16.wpsHayden Pearce
an incorrect value caused the shuffle icon to not display the correct status while true by way of pushing the image to be displayed far from the bounds of its viewport. Change-Id: I2bd5db05b053952306d62f9cbd0d13d720141e58 Reviewed-on: http://gerrit.rockbox.org/517 Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2013-07-15fuzeplus: add touchpad sensitivityAmaury Pouly
Change-Id: I0252c0967716a4f1a628191dcde7ffc80279370b Reviewed-on: http://gerrit.rockbox.org/515 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-07-15Add an alternative analogic touchpad sensitivity settingJean-Louis Biasini
Set an alternative touchpad sensitivity setting if the 3 following variables are defined: DEFAULT_TOUCHPAD_SENSITIVITY_SETTING MIN_TOUCHPAD_SENSITIVITY_SETTING MAX_TOUCHPAD_SENSITIVITY_SETTING aside from the usual: HAVE_TOUCHPAD HAVE_TOUCHPAD_SENSITIVITY_SETTING In such a case the setting will allow the user to set a precise value within the defined range unstead of the boolean choice HIGH/NORMAL Change-Id: Iba8140285317077381191e494df0d3f6ab556872 Reviewed-on: http://gerrit.rockbox.org/123 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-07-13hwstub: allow to escape shell with a function callAmaury Pouly
Change-Id: I65b7b230d3b89a5014db134d3159861474fd889f
2013-07-13hwstub: enhance protocol with more functionsAmaury Pouly
Change-Id: I7944249c2f7ea3e180e7b79ee8ae402d1d0742d3
2013-07-13hwstub: split target specific code from the common partAmaury Pouly
Completely rewrite the Mafile, properly put the usb driver in its own file and the target specific files in a subdirectory. Change-Id: Iaeee0128e021d5dad76b4d6035a63e33e2d946c1
2013-07-13Add FM softlock to the FM Ondio.Jean-Louis Biasini
This change activate the newly implemented fm softlock (thanks to Pamaury) on the FM Ondio target. Thanks to Lebellium for testing. Change-Id: I903f05be892e7537a34ba40bc0f3c65541a497a4 Reviewed-on: http://gerrit.rockbox.org/498 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-07-13Get rid of some superfluous single-purpose functions in playback.Michael Sevakis
* Remove explicit tracking of elapsed time of previous track. * Remove function to obtain auto skip flag. * Most playback events now carry the extra information instead and pass 'struct track_event *' for data. * Tweak scrobbler to use PLAYBACK_EVENT_TRACK_FINISH, which makes it cleaner and removes the struct mp3entry. Change-Id: I500d2abb4056a32646496efc3617406e36811ec5
2013-07-12Fix whitespace in files for following commit.Michael Sevakis
Change-Id: I4adb8a152e9b99fcd26d95da7334d7d0cbe2a036
2013-07-13imx233: fix debug screen keys for the zen x-fi3Amaury Pouly
Change-Id: I81cfb25d3bd6ff8ec43c64a9f55e1b7bd0ee1473
2013-07-13imx233: fix debug keys for zenxfi2Amaury Pouly
Change-Id: I535fb611f951244686c60f336a49e068edfaf96a
2013-07-13imx233: fix audio debug screenAmaury Pouly
Change-Id: Iaadd43a28907ebd425a0b7199f067a4fab8e9653
2013-07-13imx233: add audioin debug infoAmaury Pouly
Change-Id: Iba6e2b720489c1d2178a44a0a4fe5df2a7540579
2013-07-13imx233: don't disable monitor when recording from radioAmaury Pouly
Change-Id: Ibefb0b12b7ff787f5b8a837cab1f764148a8b0c6
2013-07-13imx233: fix audio settings, some values were nonsenseAmaury Pouly
Change-Id: Ib9969bf843169cc5ddafd7758b5b5c729b2784f1
2013-07-13imx233: fix recording volume (tenth-dB -> half-dB)Amaury Pouly
Change-Id: I6960d3f4bd506713ffb139750fbe581ef66af947
2013-07-13imx233: correctly select recording sourceAmaury Pouly
Change-Id: I651856292922097efe21e01543ae2568dfa13980
2013-07-13imx233: rewrite debug screensAmaury Pouly
The old code used get_action which is bad because it belongs to apps/. Instead rewrite a simple version of get_action, also rewrite the top level handler. Since the number of screens is becoming quite high, it now shows a list and the user can start from any screen. Once in a screen and as long as the user presses select, it will advance to next screen until it finally returns to the list on cancellation. Change-Id: Icbc7676a17e4a6e859b7781a4a471d8303910591
2013-07-13imx233: add audioout debug infoAmaury Pouly
Change-Id: Iac092de861847e31aba48d2fdc51ae72cd9bd202
2013-07-12mkamsboot: add support for clip zip original firmware 01.01.21 (tested by me)Bertrik Sikken
Change-Id: Ief8a8e6dfe87a17285dd5259fd3c4cebfc962643
2013-07-11mp3_enc: Fix early snafu with stream finish on COPMichael Sevakis
Distractions make logic fail. It only needs one more loop and should not trigger further compression cycles after not feeding more data. Change-Id: Ie0dbb34af92e0ca5718480dd4ab4719a141717ff
2013-07-11Fix .ncbss from possibly overlapping .ncdata in plugins/codecs.Michael Sevakis
(Take #2) If .bss wasn't large enough, and .ncdata was empty, .ncbss would be at an address overlapping the alignment-padded end of .ncdata and and linking would fail with an overlap error. Adds plugin load end address that accounts for IRAM going past the final .bss sections, making IRAM overlay compatible. load_code could also use this instead of the file size. The .lds becomes a bit more straightforward and explicit when assigning addresses. Change-Id: Id0c33f257710e97ece2c831e0feaaa32c1a14e05
2013-07-11Revert "Fix .ncbss from possibly overlapping .ncdata in plugins/codecs."Michael Sevakis
This reverts commit 5c2ad2fd36be7a0d1ec2468e6b270047c36d8a6f. The .ncbss bug is still showing up. Will try again shortly.
2013-07-10Fix .ncbss from possibly overlapping .ncdata in plugins/codecs.Michael Sevakis
If .bss wasn't large enough, and .ncdata was empty, .ncbss would be at an address overlapping the alignment-padded end of .ncdata and and linking would fail with an overlap error. There also should no longer be an issue that needs special correction with iramcopy and empty .bss. The .maps look good in that case. Change-Id: I02bf73a0acef2c0c04b5d135ecf4e18fb97ee339
2013-07-09Add Roman Poltoradnev to the CREDITS file.Michael Giacomelli
Change-Id: I07b791fda7e8490e18e22ce7d09a4e8729ddbaf7
2013-07-09Swap over a position of cursor while reaching the end of filename in keyboardRoman
In sansa clip + with virtual keyboard you can write/rename a stuff and move your cursor in the filename field. But while your cursor reaches the end/start of filename it just blocks the movement of cursor and beeps if you enabled the "Voice Menu" feature. This patch swaps over cursor to the start/end of filename instead of just blocking movement. Change-Id: I37450df062df60ef4c0d747c13e448d0adbde05b Reviewed-on: http://gerrit.rockbox.org/503 Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2013-07-09SWCODEC recording: Boost CPU frequency before doing flush on stopMichael Sevakis
If CPU is not boosted for some reason already, then the stop flush can take longer than it really ought to. Change-Id: I0572cc83067749e9945b3eb825f976db21d914f9
2013-07-09Multithread compressing encoders on multicore targets.Michael Sevakis
For mp3_enc, split encoding duties between COP and CPU. For wavpack_enc, simply run the encoding on COP (splitting that one needs more consideration) which keeps the it and the UI from running on the same core. As a result, at least they are now useable on PP at "normal" sample rates. mp3_enc in all this gets an extensive renovation and some optimizations for speed, to reduce IRAM requirements and remove unneeded stuff. Change-Id: I215578dbe36f14e516b05a5ca70880eb01ca0ec2
2013-07-07imxtools: add device info and serial number requests to scsitoolAmaury Pouly
Change-Id: I17b679062fa53c20034e7db6f4080f8762a7818c
2013-07-07mkimxboot: rewrite dualbootAmaury Pouly
Rewrite dualboot in C code instead of assembly. Also properly handle subtarget and simply Makefile. This should make the dualboot stub more readable and easier to extend. The new code also gracefully handles power up from RTC alarm on imx233. Change-Id: I7c225254b1463a97e76b6cb4de476aa2d2c9d2f9
2013-07-07imx233: rework power managementAmaury Pouly
The current code was spreaded over power and powermgmt which made it behave strangely, especially since there are relationships between power management and frequency scaling. The new code makes sure power management is initialised before frequency scaling starts. It also makes sure to start from a known state, thus fixing potential issue when the bootloader stops in a trickle state where DCDC is improperly configured. Change-Id: Ibded2e590e108f6c98daa52d2cf1bd28763c8923
2013-07-07imx233: add emi debug infoAmaury Pouly
Change-Id: I33317ae26b70c825d4c5e3aaac364da5e0dc06c2
2013-07-07buflib: Change buflib_available() and add buflib_allocatable().Thomas Martitz
buflib_allocatable() is what buflib_available() was before (it was in fact simply renamed). It returns the largest contiguous block of memory. This can be allocated and will definitely succeed, although larger allocations may also succeed if the buffer can be compacted and shrinked. buflib_available() now counts all free bytes, contiguous or not. This better matches the description and how the caller use it. Change-Id: I511e4eb5f4cf1821d957b3f4ef8a685ce40fe289 Reviewed-on: http://gerrit.rockbox.org/481 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Tested-by: Thomas Martitz <kugel@rockbox.org>
2013-07-0619b289a somehow missed one last LANG_RECORDING_FREQUENCY.Michael Sevakis
Did grep fail me? Change-Id: Id8254aa542d57204e265ef06829b4e034f032137
2013-07-06Reuse frequency string from recording for playback frequency.Michael Sevakis
Update all .lang files and change the id from LANG_RECORDING_FREQUENCY to LANG_FREQUENCY. Also update description and target. It will throw things off for targets without recording but that do have 48KHz, possibly older iPods. I'm not sure what else it might be off hand. Regenerate voice files and replace .lang files in that case. Change-Id: I9ab396ecfcca9206054bde34aa2cc23b505dabff
2013-07-06Bugfix: (un)locking state message(s) did not disappearLorenzo Miori
after unlocking the device while being into FM radio screen. This patch restores expected behaviour by forcing screen refresh when receiving the proper event. Change-Id: Ibe0864ab78619ddf235912d06a2efe3203b5042a Reviewed-on: http://gerrit.rockbox.org/505 Reviewed-by: Lorenzo Miori <memorys60@gmail.com> Tested-by: Lorenzo Miori <memorys60@gmail.com> Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2013-07-06Samsung YP-R0: small patch to enable support to new keylock-in-FM feature.Lorenzo Miori
Change-Id: I965550753bdd65ef4b02ef24e44e0faad2c74289 Reviewed-on: http://gerrit.rockbox.org/504 Reviewed-by: Lorenzo Miori <memorys60@gmail.com> Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2013-07-05...and mixer_set/get_frequency is SWCODEC only! :-)Michael Sevakis
Change-Id: I6badf687ef330abf79f2e1a809d8b2f93ba4e911
2013-07-05Oops, two test plugins were left in apps/plugins/SOURCES.Michael Sevakis
Change-Id: I1df74c535a8c054223e8687e7c28bc6a130070d0
2013-07-06Enable setting of global output samplerate on certain targets.Michael Sevakis
Replaces the NATIVE_FREQUENCY constant with a configurable frequency. The user may select 48000Hz if the hardware supports it. The default is still 44100Hz and the minimum is 44100Hz. The setting is located in the playback settings, under "Frequency". "Frequency" was duplicated in english.lang for now to avoid having to fix every .lang file for the moment and throwing everything out of sync because of the new play_frequency feature in features.txt. The next cleanup should combine it with the one included for recording and generalize the ID label. If the hardware doesn't support 48000Hz, no setting will be available. On particular hardware where very high rates are practical and desireable, the upper bound can be extended by patching. The PCM mixer can be configured to play at the full hardware frequency range. The DSP core can configure to the hardware minimum up to the maximum playback setting (some buffers must be reserved according to the maximum rate). If only 44100Hz is supported or possible on a given target for playback, using the DSP and mixer at other samperates is possible if the hardware offers them. Change-Id: I6023cf0c0baa8bc6292b6919b4dd3618a6a25622 Reviewed-on: http://gerrit.rockbox.org/479 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
2013-07-03imx233: document some more stmp vendor scsi commandAmaury Pouly
Change-Id: Ie03c0c8288b4bd9c0b4beedae363cff6caf3c5cd
2013-07-02imx233: fix sd init sequenceAmaury Pouly
Implement the switch function as specified by the specification, that is wait for the response AND transfer 64 bytes of data. This fixes some issue when the SD card take a long time to switch. In particular waiting 100ms (max per spec) will not work if no data is transfered in some cases. Change-Id: Ia22350468018b842e57ce6f6c1a8d676eba97fb8
2013-07-02imx233: implement alarm wake upAmaury Pouly
This adds the application part of alarm wake up. On some targets like the Fuze+, it will also require a bootloader change to make sure that the device doesn't power down on alarm wake up (for example on the Fuze+ the bootloader requires the power button to be hold sufficiently long, thus preventing alarm wake up to work) Change-Id: I5d01957852355fddbd48110d3d75a5533f07879e
2013-07-02imx233: fix emi frequency scalingAmaury Pouly
On the ZEN X-Fi2, the fractiona dividers are gated by the bootloader and must be ungated before switching emi to pll. Change-Id: I5df57ed5581054883da4cbb3b4f3ce3539391ab5