summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* imx233: introduce virtual pins to simplify pin setupAmaury Pouly2013-06-17
| | | | | | | | | | | 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). Change-Id: I01b6e040945648e58e1d1abab06529c9571c5f10
* imx233: enhance pinctrl irq with user pointerAmaury Pouly2013-06-17
| | | | Change-Id: I191704299487598a853af4df5aebbbf8a7134a34
* imx233: normalise pinctrl namesAmaury Pouly2013-06-17
| | | | | | | The current pinctrl functions were a mess. Normalise the functions names to make them shorter and clearer. Change-Id: Iac6ff84625ef2b7610268e3a5802dc0088de3167
* plugin_midi: expand gustable[] to 128 entriesFrank Gevaerts2013-06-16
| | | | | | | | | | 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. Change-Id: If5b5a50378afd3206c9d550227dd9aac8e355c96
* Silence some (harmless) warnings.Frank Gevaerts2013-06-16
| | | | Change-Id: I8d1278b8cfaa376d2ad5a99dd552dc980c66e1da
* imx233: rewrite dma using new register headersAmaury Pouly2013-06-16
| | | | Change-Id: If73b84d9c9f4a152a54fb9d2dbec895e72d2e753
* imx233: rewrite timrot using new register headersAmaury Pouly2013-06-16
| | | | Change-Id: Ia6dc7ac7e1fdf471a518111f5593bd96bc3acfac
* imx233: rewrite digctl using new register headersAmaury Pouly2013-06-16
| | | | Change-Id: I910a09e07b9f5a82bb6cb150739fcebc942cb7c1
* imx233: rewrite ssp using new register headersAmaury Pouly2013-06-16
| | | | Change-Id: Ibf186b610beb07bd615c976630cdca9de2c7448e
* imx233: fix sdmmc codeAmaury Pouly2013-06-16
| | | | | | | | 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. Change-Id: I1bfbb193952b96598f8bb056bac88220d4edf1fc
* imx233: rewrite rtc using new registersAmaury Pouly2013-06-16
| | | | Change-Id: I30794dac2175d5717ea8e05e911abec65a214c44
* imx233: rewrite pwm using new registersAmaury Pouly2013-06-16
| | | | Change-Id: Ie222f0b25f4b8af9ccf21aecd82a7f4eba40aa3c
* imx233: rewrite power using new registersAmaury Pouly2013-06-16
| | | | Change-Id: Ifbee91161220419f4d1750672b5c4ae3537cefca
* imx233: rewrite pinctrl using new registersAmaury Pouly2013-06-16
| | | | Change-Id: I907a0b599ef65061360c215580f96f59b78b615b
* imx233: rewrite ocotp using new register headersAmaury Pouly2013-06-16
| | | | Change-Id: I3c622119a1e296ec6b3f35f27e81b5118ab7f6cc
* imx233: rewrite lradc using new register headersAmaury Pouly2013-06-16
| | | | Change-Id: I06e4467c0ffe33145e6192528b074a23a8df67cc
* imx233: rewrite lcdif using the new register headersAmaury Pouly2013-06-16
| | | | Change-Id: I94329a65a7c6a4127fa05b77b9a7a291f8a50013
* imx233: rewrite i2c using new register headersAmaury Pouly2013-06-16
| | | | Change-Id: Ieffb389fb74404e86d8ba51ee8c48bab6b299763
* imx233: rewrite gpmi using new register headersAmaury Pouly2013-06-16
| | | | Change-Id: I8284836a79ac7e6d59da040df63f6fcf43857191
* imx233: rewrite audioin using new register headersAmaury Pouly2013-06-16
| | | | Change-Id: I7d71d16361a29030d0eb6de5c518168947516d39
* imx233: rewrite audioout using new register headersAmaury Pouly2013-06-16
| | | | Change-Id: I20dddec437187c0974ac16027548dbe3dd097c59
* imx233: rewrite emi using new register headersAmaury Pouly2013-06-16
| | | | Change-Id: Ie893162aac38ea3aaf73b4e84e54be714a5fc33f
* imx233: rewrite clkctrl using new register headersAmaury Pouly2013-06-16
| | | | Change-Id: I6c79e99ed4ab20e00c3110d870e144a6c8596769
* imx233: rewrite icoll to use new register headersAmaury Pouly2013-06-16
| | | | Change-Id: I0bf30849d18a8493627025b383ce75ce524777ab
* imx233: add subtarget and package type to configure filesAmaury Pouly2013-06-16
| | | | Change-Id: I234dab0e861d38abf866803bfcd729c63a8ee3ed
* mkimxboot: factor code, add support for ELF filesAmaury Pouly2013-06-16
| | | | | | | | | | | 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. Change-Id: I7aa381b3f6587788d1950793e89ce5608c53cccc
* sbtools,mkximboot: fix whitespaceAmaury Pouly2013-06-15
| | | | Change-Id: I8d8adb783707172d1aaef302366c240310350ed8
* mkimxboot: refactor code, no functional changeAmaury Pouly2013-06-15
| | | | | | | | | 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. Change-Id: I3a61295ca5abca1a0eee8c9e8709c6b8dfa256a6
* mkximxboot: fix usage() formattingAmaury Pouly2013-06-15
| | | | Change-Id: I2f708e2830168f481018b8d8ce98134e40b4e8f8
* CosmeticsAmaury Pouly2013-06-15
| | | | Change-Id: Id7974f1a79b5d803155ccfc417277a73ffd9046a
* imx233: add register selector fileAmaury Pouly2013-06-15
| | | | | | | | | | | | | | | 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. Change-Id: I793b18e6c4f3fea85aa74f4c6be3affb0622c14e
* imx233: generate register headers for stmp3600, stmp3700 and imx233Amaury Pouly2013-06-15
| | | | Change-Id: Ia87086f4f4f4ecbb844ffd869407b14ea2509934
* regtools: improve header generatorAmaury Pouly2013-06-15
| | | | | | | | 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. Change-Id: I9dd6b4bdc7daeabd1a2c9365ce082358475721b5
* Fix id3v2 album art if more than one image is present.Dominik Riebeling2013-06-15
| | | | | | | | | | | | | 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. Change-Id: Id8164f319cd5e1ee868b581f8f4ad3ea69c17f77
* Fix building of sh, arm and m68k toolchains with new texinfoNils Wallménius2013-06-15
| | | | | | | | | | | 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. Change-Id: Ia8e6dc7662ab725490e4b4428676d235f0bd38bb Reviewed-on: http://gerrit.rockbox.org/471 Reviewed-by: Nils Wallménius <nils@rockbox.org>
* test_mem: silence -Wunused-but-set-variable warningRafaël Carré2013-06-13
| | | | Change-Id: I4a14c8b0cf1a8c822166ce01087b31c06722d8ae
* Always build test plugins in simulatorsRafaël Carré2013-06-13
| | | | Change-Id: I13094bfbed9fe05a48b4e81759978d112e19f48b
* imxtools: add Zen, Zen Mozaic and Zen X-Fi bootloader keysAmaury Pouly2013-06-13
| | | | Change-Id: I856e5b91c8e9a1c02b367960052c36f9b527046b
* imxtools: rewrite sbloader to handle both versions + user friendlyAmaury Pouly2013-06-13
| | | | | | | | | 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. Change-Id: I01a0ff8f8a007514aa81c56f114c0f0a86e3303c
* sbtools: fix encryption and cosmeticsAmaury Pouly2013-06-13
| | | | Change-Id: Id302f236ad3ec13a5166de4e22a3fc85b2a6c64f
* hwstub: introduce lua code for the STMP and Creative ZEN V/MozaicAmaury Pouly2013-06-13
| | | | Change-Id: Ice5f509a2e0d2114436d4760f338b9203ef96691
* hwstub: major improvement in the stub and the toolsAmaury Pouly2013-06-13
| | | | | | | | | | | | | | 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) Change-Id: Id1d5cfe0b1b47e8b43900d32c5cd6eafae6414f6
* regtools: add the STMP3600 register mapAmaury Pouly2013-06-13
| | | | Change-Id: Ief34c219bbe05c9aeed665235942bb158bb0f4d4
* regtools: modify description format and refactor toolsAmaury Pouly2013-06-13
| | | | | | | | | | | 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. Change-Id: I7119a187aab5c8b083cc5228cb1b248ee29f184d
* imxtools: move regtools to its own directoryAmaury Pouly2013-06-12
| | | | | | | | | | 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. Change-Id: If1a9f56e4a3594161688de34adbea698e5aaecd8
* imxtools: move hwemul to its own directoryAmaury Pouly2013-06-12
| | | | | | | | 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). Change-Id: If88febffe591b0de86ea11cb740455ba20ddc401
* Enable key lock in radio screenAmaury Pouly2013-06-10
| | | | | | | Change-Id: I75efbf1077359e4218ad33f4c1d885b24c0b7b01 Reviewed-on: http://gerrit.rockbox.org/421 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info> Reviewed-by: Thomas Martitz <kugel@rockbox.org>
* Fix rockblox instadrop behaviourMax Zerzouri2013-06-09
| | | | | | | | | Prevents the player from moving an instadropped block (could happen before the next game tick when using left/right buttons anticipatorily). Change-Id: Id62168842d8458f864a2e05c5d236f054bf54f65 Reviewed-on: http://gerrit.rockbox.org/473 Reviewed-by: Thomas Martitz <kugel@rockbox.org>
* Fix warning (move variable into #ifdef section).Thomas Martitz2013-06-09
| | | | Change-Id: Ic6ba4b786eef00eab7f20abd5fbf2bcb8977993a
* Fix reds (this code needs #ifdef HAVE_ALBUMART)Thomas Martitz2013-06-09
| | | | Change-Id: Ia50cd846d5451b0cb5cf3a6f8097ea9fe3b3c60a