summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* regtools: make description file parser stricterAmaury Pouly2016-02-07
| | | | | | | The parser would simply ignore unknown elements or attributes, which is bad on many levels. Now any unknown tag will trigger a fatal error. Change-Id: I32eead8e96c1567241cf2a565d9e20e62877c14d
* regtools/desc: convert v1 stmp description files to v2Amaury Pouly2016-02-06
| | | | | | | Conversion done using swiss_knife as follows: ./swiss_knife convert --author "Amaury Pouly" --version "2.4.0" desc/regs-stmp3XXX-v1.xml desc/regs-stmp3XXX.xml Change-Id: Iad26e04f8f599cf25339a33aa65f231379434e98
* regtools/desc: rename v1 stmp filesAmaury Pouly2016-02-06
| | | | Change-Id: Ib66a404acf1f640e19b30b35d6a976094ae4264a
* regtoosl/qeditor: port to the new description formatAmaury Pouly2016-02-06
| | | | | | | | | | | This big commit port qeditor from v1 to v2 register file format. Although the display code was much simplified, the edit code had to be rewritten. The new code also brings many improvement to the register display widget. The new code also compiles with both Qt4 and Qt5, although it is recommended to use Qt5 to get some improvements, especially in the layout of editor. Change-Id: I24633ac37a144f25d9e705b565654269ec9cfbd3
* regtools: update v2 specification, library and toolsAmaury Pouly2016-02-06
| | | | | | | | | | | | | | | A v2 register description file can now include register variants and instances addresses can now be a list (previously it could only be a stride or a formula). Update the library to deal with that. The convert option of swiss_knife was updated and one incompatible change was introduce: if a v1 device has several addresses, those are converted to a single v2 instance with list (instead of several single instances). This should have been the behaviour from the start. Swiss_knife can now also convert regdumps, in which case it needs to be given both the dump and register description file. Also introduce two register descriptions files (vsoc1000 and vsoc2000) which give more complicated examples of v2 register description files. Change-Id: Id9415b8363269ffaf9216abfc6dd1bd1adbfcf8d
* configure: allow for compiler toolchain override (with warnings)Amaury Pouly2016-02-02
| | | | | | | | | | | | | | The current configure script unfortunately does not allow one to use another toolchain than the one hardwire in the script. Although this is good to ensure working builds, it can be burden when one wants to either test other compilers, does not want to have to multiple redundant compilers or when the compiler install script fails for unknown reasons (MIPS I'm looking at you). The syntax is simple, for example: /path/to/configure --compiler-prefix arm-none-eabi- Also 'make reconf' will properly keep the prefix. Change-Id: I5ee3bc61afa10193586ddd3aef694a8ac08854e2
* AS3543: Fix increasing noise and power consumption if booted through roloMihail Zenkov2016-02-01
| | | | Change-Id: I99fe6d09b15689e5dd0179714bbe363aed922d10
* iPod Classic: revert "set initial USB current limit to 500mA"Cástor Muñoz2016-01-29
| | | | | | | | | | | Reverts commit ead38dbc9df3f63bd4f870ff2365ba48876d5b46 It was introduced as a temporal workaround to avoid the endless restart loop when battery is low, but really it is useless. The bootloader should ensure that there is enough power to launch Rockbox even in the worst scenario. Change-Id: Iabebed40c9241af915c16c3c6c4d3c6deef7680e
* iPod Classic: remove uninteresting info in HW debug screenCástor Muñoz2016-01-29
| | | | | | | CPU type and frequency of the PLLs are fixed and have no interest at this moment. Change-Id: I9524127add872908c062a5cfa2fca348a03e846e
* Replace SAMSUNG_YH920_PAD with YH92XSebastian Leonhardt2016-01-25
| | | | | | | seems more logical to me, and is more consistent, since "SAMSUNG_YH92X_PAD" is already used in the tex files. Change-Id: Ie9a9d850ea86155a7dcf86c88a22a420a10a3837
* Fix warning in rolo.Michael Giacomelli2016-01-24
| | | | Change-Id: Idb902f44a6aa2648e5cbd0e19ee2d14394479de8
* Enable frequency scaling on AMSv2 devices.Mihail Zenkov2016-01-21
| | | | | | | | | | Voltage scaling is not yet enabled, but will follow once we are sure these changes are stable. Preliminary testing suggests a large increase in battery life, which will be further improved by voltage scaling. Patch by Mihail Zenkov with help from myself and others on the forums. Change-Id: I171d20bbee19a48c13cd14efb0d023883cc8c687
* Make sure the system is boosted before enabling USB hardware.Michael Giacomelli2016-01-18
| | | | Change-Id: Ib44d29384f359dff24f0ce012667d9ce93328dc2
* Increase button delays in preperation for frequency scaling.Michael Giacomelli2016-01-18
| | | | | | | When run at lower clock speeds, delays seem to need to be a little longer in absolute time. Change-Id: I5373f43094302e6fa3f0a79126e54cfccd90f5a4
* Change the clipv2 button driver to use fixed delays rather than processor ↵Michael Giacomelli2016-01-18
| | | | | | | | cycle counting. Also introduce a new delay needed for frequency scaling. Change-Id: I575a503a8ca44358fcd5512fd951fe9c7bbde31c
* Fix building with Qt 4.7.Dominik Riebeling2016-01-17
| | | | | | | | | | | QUrl::isLocalFile() is available starting with Qt 4.8. We can safely check for a file:// url instead. Qt 4.8 dropped support for OS X 10.4 / 10.5. Since we're still supporting those we need to keep using Qt 4.7 on OS X. We might want to consider requiring at least 10.6 on OS X with the next major release of Rockbox Utility. Change-Id: I18998fe3c7a38773479bc7a1c32ca6e4966359e9
* Fix uninstallation for mi4 based bootloader installs.Dominik Riebeling2016-01-17
| | | | | | | | On case sensitive systems (i.e. Linux) uninstalling the bootloader could fail when renaming the original bootloader file back. Fix this by using the case-resolved filename. Change-Id: I504656f70e7ccc7c0752f5252ddb14a625131f5b
* Return process IDs in Utils::findRunningProcess().Dominik Riebeling2016-01-17
| | | | | | | | Rework to return mapping between (filtered) process names and their pid values (if running). Note that this functionality is not implemented for Linux (but as it's mostly intended to detect Itunes currently not needed on that platform). Change-Id: Ie348bfed46bda390f469c37635a96c75e5782616
* Add color to trace debug output.Dominik Riebeling2016-01-17
| | | | Change-Id: Id2c90220ab695a8195af50cdea8437b49744f720
* rbutil: fix writing to rbutil.log after bootloader uninstallCástor Muñoz2016-01-17
| | | | Change-Id: I722d4d5a83fc57bd8df33bfb23a0ab16e5ac4861
* rbutil: fix resolveDevicename() on WindowsCástor Muñoz2016-01-17
| | | | | | | | Solves some eject issues (FSCTL_LOCK_VOLUMEN ioctl failures) ocurring when resolveDevicename() is ejecuted prior to ejectDevice(), tested with Qt5. Change-Id: Iff9240abd9d2f71bec1a1070f4ef194916e13b65
* update deploy.py to recognize and use Qt5Cástor Muñoz2016-01-17
| | | | Change-Id: Ied8c9d153a34bd8b689a34e45708262cede5348d
* Change the debug menu to show CPU frequency in MHz.Michael Giacomelli2016-01-17
| | | | Change-Id: Ibda9ceecbdd3c5548ccf0467c77c3fb4d4412c70
* Translate remaining polish strings.Szymon Dziok2016-01-16
| | | | Change-Id: Ib4f00ad39f9e8be2299103583839f3764b4d5e7f
* Update polish translation.Szymon Dziok2016-01-16
| | | | Change-Id: I3d9db7b7a0207eacabe36754668958d7026732d9
* Samsung YH92X: Remove unneeded line.Szymon Dziok2016-01-12
| | | | Change-Id: Icc2618391e831af7bc1998f7627176315443bcdb
* iPod Classic: fix wake-up from power-off on USB insertCástor Muñoz2016-01-12
| | | | Change-Id: I57897aa1bb98b652bc6c953680bf548648f5915b
* iPod Classic: update documentation on PMU targetCástor Muñoz2016-01-12
| | | | Change-Id: I936889872f83521731e81a972657086a357bb5eb
* Plugin 2048: optimize small tilesSebastian Leonhardt2016-01-11
| | | | | | | | Change 12x12 and 22x22 sized tiles to hand-optimized ones with better readibility :) Tile values >= 1024 are abbreviated to "1k", "2k" etc. Change-Id: I15f4649b20442b71027a3b1564bc51c7e72105ce
* Plugin Frotz: Match keymap and manualSebastian Leonhardt2016-01-09
| | | | | | | Change source to match manual description: use UP key to open virtual keyboard. Change-Id: I5c6ffc356db42f305c918053c31a9595bf0dc3ac
* Samsung YH820/92x keymap bugfixesSebastian Leonhardt2015-12-27
| | | | | | | | | This patch fixes some (mostly small) plugin issues with the "big" YH-keymap patch (a507b). Only one fix affects the main keymaps (virtual keyboard "DONE" now exits after long key /release/ instead of long button /press/). Change-Id: Id34f925ebfa97ae4974cd9405fbe1fee4f597833
* Handle mixed case in Windows USB ID detection.Cástor Muñoz2015-12-20
| | | | | | | | | Windows XP might use mixed case in hardware ID (VID / PID) string. Cherry-picked from G#1221. Change-Id: I86fa63e050cd9b9de5a1beac65b81028e0f86a9d Signed-off-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
* Fix and extend HttpGet unit test again.Dominik Riebeling2015-12-20
| | | | | | | Fix wrong initialization (why did that compile?) and add check for progress signal. Change-Id: I83a193252afcf66acaa333750b0ac2ef83e38478
* Fix compiling HttpGet unit test.Dominik Riebeling2015-12-18
| | | | | | Provide a stub for Logger class to make the test compile. Change-Id: I142eaf443c1f9026506100b82c9341e83b619ab6
* Use random port for HttpGet unit tests.Dominik Riebeling2015-12-18
| | | | | | | | Make local HttpDaemon for testing use a random unused port instead of a fixed one. Avoids possible issues with the port chosen already being used on the local machine. Change-Id: I1ca10b7e5ce198350e14321afc50c36d78b1c0b4
* Add documentation to HttpGet and remove unnecessary return value.Dominik Riebeling2015-12-18
| | | | | | | HttpGet::getFile() always returns the same value. Remove the return value since it isn't necessary. Add some missing function documentation comments. Change-Id: I1cee242211272a996437b10dbc8de791b3fc3d67
* Add support file:// URLs in HttpGet.Dominik Riebeling2015-12-18
| | | | | | | | QNetworkAccessManager can handle file:// URLs without additional work. Make HttpGet aware of that so you can now also use it to retrieve file:// URLs. Add a unit test for it as well. Change-Id: If64b57453460b70bca9e5b0c725bb78344617bcd
* Fix static compilation with Qt5.Cástor Muñoz2015-12-18
| | | | | | | | Qt5 uses a different name for the accessibility plugin. Cherry-picked from G#1221. Change-Id: If32eafa053a176ba24b4595826593023ed808164 Signed-off-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
* iPod Classic: use uncached memory for USB driverCástor Muñoz2015-12-17
| | | | Change-Id: I0e72b4a452a17ec894c975dfee4baee878113ff8
* iPod Classic: add non-cached memory regionCástor Muñoz2015-12-17
| | | | | | | | Configures uncached memory region and adds some defines for misc HW, for compability with the bootloader and other future use, current functionality should not be affected. Change-Id: I390e79bea1aef5b10dfbc72ad327d7fe438ec6f5
* iPod Classic: clickwheel fixesCástor Muñoz2015-12-17
| | | | | | | | | | | | | | | | | | | | | | Uses GPIO.E2 (Request To Send) to detect the holdswitch status, it is a temporal workaround that seems to work on all models. Holdswitch status must be detected to drive low GPIO.E2 (RTS) and GPIO.E4 (Data Out) when the holdswitch is locked, otherwise battery life decreases about 25%. Holdswitch unlock action is detected by reading the HELLO message that the external wheel controller sends when it is powered on, this allows to quickly capture clickwheel activity after unlock. GPIO.E2 is also used in case the HELLO message is missed because the holdswitch was unlocked before Rockbox/bootloader starts. These 2 lines (RTS and DOUT) can not be used to transmit messages to the external clickwheel controller, not a problem, actually no messages are sent while normal operation, only at initialization stage. Change-Id: I415fe54bfcbc2086d0f56d7affe6f789ce81a6db
* iPod Classic: set initial USB current limit to 500mACástor Muñoz2015-12-17
| | | | Change-Id: Ie56951457e45da04d8e93b53f5cc8f80f9a69de3
* iPod Classic: prepare LCD driver for the bootloaderCástor Muñoz2015-12-17
| | | | | | Optimizes encoding of LCD command sequences. Change-Id: I9d1eb735e5a972c1a176177ed570a3fe991d7b9f
* iPod Classic: s5l8702 clocking rewrite+documentationCástor Muñoz2015-12-17
| | | | | | | | | | | | | | | | | This is a rewrite of the clocking section, the resulting system frequencies are the same as the current git version. This pàtch uses fixed FClk and just one register is written to switch all system frequencies, it needs less steps than the current git version to reach the desired frequency, so it is faster and safer. Includes functions to step-up/down over a table of predefined set of frequencies. The major difference is that Vcore is decreased from 1050 to 1000 mV. See clocking-s5l8702.h for more information. Change-Id: I58ac6634e1996adbe1c0c0918a7ce94ad1917d8e
* hwstub: fix atj213x dsp lua codeMarcin Bukat2015-11-17
| | | | Change-Id: I5fbd1799b958bedbe74f91bdcdd8a544e15d2a78
* hwstub: Add ajt213x lua interface for DSP blockMarcin Bukat2015-11-17
| | | | | | | | | | | | | | | | | | | | | | With this you can upload and run code on DSP core in atj213x. The files can be produced using as2181. You can download this assembler from https://github.com/wodz/as2181 You should use extended mode (-x switch) since DSP core in atj is non standard and uses 24bit operands. PX register has different meaning as well and is used as MSB when loading other registers with immediates (immediate field is 16bit in instruction so to set register to 24bit value you need to store MSB in PX prior to this). MAC MR is 56bit accordingly. HIP interface seems to be mapped at standard addresses (except that regular 218x doesn't have HIP). Have a fun! Change-Id: I9a80ca0dd3718ba8435ae8579bfffa66e067e022
* fix yellow.Szymon Dziok2015-11-16
| | | | Change-Id: I3fb322f28b23e4b7a27a71e66c50887d298de554
* YH8xx,YH9xx: Keymap improvementSebastian Leonhardt2015-11-15
| | | | | | | | | | | | | | | The main "innovation" in this patch are two "virtual buttons" for the record switch on YH92x targets. When the switch state changes, a single BUTTON_REC_SW_ON or .._OFF button event will be generated. Thus keymap code can react on switching, but not on the actual state of the switch. Wherever sensible, the following user scheme is applied: - use PLAY as confirm button - use REW button or Long REW to exit - use REC (YH820) or FFWD (YH92X) as modifier key for button combos Change-Id: Ic8d1db9cc6869daed8dda98990dfdf7f6fd5d5a1
* Fix scrolling left button inadvertently cancels listtreeSebastian Leonhardt2015-11-10
| | | | | | | | | | | | | | Depending on the actual keymap, canceling a listtree with the "scroll left" button may not be intended, especially if the list is entered from a completely different focus (think of leaving a plugin with "long left") Note: initializing "scrolling_left" with true without anything actually scrolling sounds odd to me... maybe this variable should be renamed? "pgleft_allow_cancel" comes to my mind (with opposite boolean states) Change-Id: I58a747fc90e91ae96e75932febb462f1f1a1b4ca
* AB repeat: fix bug that prevents to jump to beginning of trackSebastian Leonhardt2015-10-25
| | | | Change-Id: Ia323a2b16eaaf7d9afa888b71fd8b20fd9e2e62c