summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* bmp2rb: Data was written with an incorrect offset.Thomas Martitz2013-09-08
| | | | Change-Id: I460872f05f80e28be312de5c93d54c7c6e36fbd7
* Firmware tools for Samsung YP-R0/YP-R1 (and possibly others)Lorenzo Miori2013-09-07
| | | | | | | | | | | | They have been rewritten for being completely free and as fast as possible. Successfully extracted, patched, repacked and flashed original firmware (tested on device and it worked) Change-Id: I74d47d13f2dc3a2832a0d6821d3c2182dfd4b33b Reviewed-on: http://gerrit.rockbox.org/506 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Tested-by: Thomas Martitz <kugel@rockbox.org>
* bmp2rb: Fix incorrect left-over commentThomas Martitz2013-09-07
| | | | Change-Id: I29c6403cec1aa228f6730c8b78c830a23d021d95
* bmp2rb: Support generating 24bit BMP raw data.Thomas Martitz2013-09-07
| | | | | | | | This will be required by the R0 port. Generating C source with 24bit data is not supported yet because Rockbox doesn't support this depth yet (and has no data type for it). Change-Id: I6474a6d32bb7942661bac833bb3348073335e25c
* imx233: implement mmc card infoAmaury Pouly2013-09-07
| | | | | | | This one is a bit strange: our codebase just don't use it if there is both SD and MMC, so this missing function got unnoticed so far. Change-Id: Ifea4bb5140477b7637d033737594259cc44fb10e
* imx233: fix red when target cannot recordAmaury Pouly2013-09-07
| | | | Change-Id: Ia5f6b290da2f645021ef8becdfbac7436407ec0b
* imx233: fix horrible sd/mmc bugAmaury Pouly2013-09-06
| | | | | | | The wrong variable was used to enumerate mmc drives. Also fix incorrect function prototype. Change-Id: Idd8dca7685bbc2bc4744b7b29e948f0ca2f56cc9
* cosmeticsAmaury Pouly2013-09-06
| | | | Change-Id: Ia2b334ad9dd3f465ad5024e6fc226cb3e60a6e45
* imx233: fix lcdif (don't send anything on empty buffer)Amaury Pouly2013-09-06
| | | | Change-Id: Ic39b2117b24d84452bb6f7b9c410b1cf55066b6d
* imx233: fix i2c issuesAmaury Pouly2013-09-06
| | | | | | | | | The i2c core has some bugs: it locks up when the slave doesn't NAK and prevent the dma channel from being resetted. Specifically handle this situation by setting CLR_GOT_A_NAK (workaround) and then reset dma and i2c block. Change-Id: I0e09d38d4301a0ad42dfad785cc934b43f2c4485
* hwstub: improve lcdif, digtctl, add sony nwz-e370Amaury Pouly2013-09-05
| | | | Change-Id: I5316cc9fd9addfca8a674628695fed1c1bf9269f
* imx233: cleanup lradc button driverAmaury Pouly2013-09-05
| | | | Change-Id: I85fbe6807a1f91ae5be97b6847c07b24a4f18c24
* fix copyrightAmaury Pouly2013-09-05
| | | | Change-Id: Ie0dea643afa93d9a919e4f2406de65aed174c0a6
* imxtools/scsitools: add option to extract firmware from the deviceAmaury Pouly2013-09-05
| | | | Change-Id: Ib8cbf2f864a9375575cea0edbba48f740bf8f12e
* fix redAmaury Pouly2013-09-05
| | | | Change-Id: I9eb83aaffa93636d5e601132efdfbb85340a665d
* fix redAmaury Pouly2013-09-05
| | | | Change-Id: Ibca5879553a87e77014f850308d9b54cc339d474
* touch devices: Disable touch on softlock.Jean-Louis Biasini2013-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Target that have a touchpad/touchscreen should disable it while being locked (In order to avoid LCD to drain battery power due to "key locked" constant reporting messages. If they a have a keylock button this was already handled at driver level. If not (e.g. fuze+), they will have to implement a switch at driver level that action.c can operate on softlock. This patch does the following for any target having a touchpad or a touchscreen and no HAS_BUTTON_HOLD (ie any softlock target) 1) it implements the code to call button_enable_touch(bool en) in action.c. 2) button_enable_touch is implemented in button.c and call either touchpad_enable or touchscreen_enable 3) those two function are implemented respectively in touchscreen.c and a new touchpad.c file. They provide a generic way to silents touch's device and call a function at driver level where target specific code can be implemented if possible/needed (for power saving for instance). Those function name are touchpad_enable_device and touchscreen_enable_device 4) we implement an empty function at driver level of targets that need it to have them still being able to compiled. Change-Id: I9ead78a25bd33466a8533f5b9f259b395cb5ce49 Reviewed-on: http://gerrit.rockbox.org/569 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* fuze+/keymaps: Implement the ACTION_STD_MENUJean-Louis Biasini2013-09-05
| | | | | | | | | | ACTION_STD_MENU seems to be an important keymaps. We map it to BUTTON_BACK and keep cancel on the BUTTON_LEFT Change-Id: Iea4a1e4671faee376ad4200b08ca82c2d00d1ff9 Reviewed-on: http://gerrit.rockbox.org/571 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* rk27utils: Add nandextract utilityMarcin Bukat2013-09-02
| | | | | | | | This quick and dirty utility allows to extract nand bootloader from raw 1st nand block dump. I post it mainly to somewhat document how BCH error correction engine of the rk27xx works. Change-Id: I37ca91add7d372e3576d2722afc946d0f08971a9
* Opus: delete two files that were moved into a subdirNils Wallménius2013-09-01
| | | | Change-Id: I54ef0dfd57fbb493ad38855767a8f5e724e5bc65
* Fix warning from a35c1b3Nils Wallménius2013-09-01
| | | | Change-Id: I0e9b2c265a6a2355dc39b1696df4c8f266d9a638
* Opus: Coldfire inline asm for comb_filter_constNils Wallménius2013-09-01
| | | | | | Speeds up decoding a 64kbps test file by 2.6MHz Change-Id: Ibeb30f37cc00a4a6f65b64851009753f40e06fc1
* Add cf asm inline for multiplication commonly used in silk.Nils Wallménius2013-08-31
| | | | | | Speeds up decoding a 16kbps test file by 4.9MHz on h300. Change-Id: I8c25431c98dfa9a1c3806a84055e0847eb77a9f1
* Put two hot silk arrays on real stack (iram)Nils Wallménius2013-08-31
| | | | | | Speeds up decoding of 16kbps test file by 16.7MHz on H300. Change-Id: I39c90e3b423ae8e2ee5c2b88c5dcec8d48807f77
* Silence spurious warningNils Wallménius2013-08-31
| | | | Change-Id: I856c722e959314c0a86e9c0a3a31cb824ddb41cc
* Sync opus codec to upstream gitNils Wallménius2013-08-31
| | | | | | | | | | | | | | | | | | | | | | | Sync opus codec to upstream commit 02fed471a4568852d6618e041c4f2af0d7730ee2 (August 30 2013) This brings in a lot of optimizations but also makes the diff between our codec and the upstream much smaller as most of our optimizations have been upstreamed or supeceded. Speedups across the board for CELT mode files: 64kbps 128kbps H300 9.82MHz 15.48MHz c200 4.86MHz 9.63MHz fuze v1 10.32MHz 15.92MHz For the silk mode test file (16kbps) arm targets get a speedup of about 2MHz while the H300 is 7.8MHz slower, likely because it's now using the pseudostack more rather than the real stack which is in iram. Patches to get around that are upcomming. Change-Id: Ifecf963e461c51ac42e09dac1e91bc4bc3b12fa3
* zenxfi2: use sensible keymap and simulator keysAmaury Pouly2013-08-28
| | | | Change-Id: Icd718b34924e1d228bbd6662617152646ef0c3a5
* lua: Switch memory allocator from dl to tlsfMarcin Bukat2013-08-26
| | | | | | | | | | | | | | | | | | Instead of providing yet another memory allocator implementation use tlsf and simply link tlsf library. Another small improvement is to *grow* memory pool by grabbing audiobuffer instead of just switching to use audiobuf exclusively. Tested with simple lua 'memory eater' script. This patch extends tlsf lib slightly. You can provide void *get_new_area(size_t * size) function which will override weak dummy implementation provided in lib itself. This allows to automaticaly initialize memory pool as well as grow memory pool if needed (for example grab audiobuffer when pluginbuffer is exhaused). Change-Id: I841af6b6b5bbbf546c14cbf139a7723fbb982f1b
* Change CODECFLAGS to a "simply-expanded" var to give the individualNils Wallménius2013-08-23
| | | | | | | | | | | | codec makefiles larger freedom in what they can do to it. Use this in libopus to prepend the libopus searchpaths to CODECFLAGS so that its internal config.h will be picked up before our global one. This avoids having to do a s/config.h/opus_config.h/ when syncing which will be handy soon. Change-Id: I018d729aa0c8300fa3149f22a5a8c5668b339dfa Reviewed-on: http://gerrit.rockbox.org/496 Reviewed-by: Nils Wallménius <nils@rockbox.org>
* zenxfi2: rework keymap to add softlockAmaury Pouly2013-08-23
| | | | | | | Map power button to soft key lock in WPS and radio screen, also correct fallback of WPS. Change-Id: If257e4b4f9f37848ba9f81dc2e8b52f020d4cde0
* imx233: revert sd card high speed (unstable)Amaury Pouly2013-08-22
| | | | Change-Id: I3d6a20de4ea1ca0d0150e6b4fc6af849eda0f4ab
* regtools: various fixAmaury Pouly2013-08-22
| | | | Change-Id: I3a37221d1688c2f1cbc649bbd2fd27dc78d286a6
* imx233: always set VDDIO to 3.3VAmaury Pouly2013-08-22
| | | | | | On some device like Creative Zen X-Fi2 it is set to 3.1V on boot. Change-Id: I1f9e407eb321c31b3109b7fed07862400073b54f
* imx233: disable half fets on bootAmaury Pouly2013-08-22
| | | | | | | This might cause freeze if the power supply is not able to cope with the demand Change-Id: I231142327fcad2096c18d3c8872ac8b6ee24f69c
* imx233: rework emi frequency scalingAmaury Pouly2013-08-22
| | | | | | | Drop most of the cases: only keep 64 MHz and 133 MHz. Pick values from the manual which seem to match real life values. Change-Id: I912752fbe372f9f44207db6853d0ff92fd619bed
* regtools: fix several bugs in qeditorAmaury Pouly2013-08-22
| | | | Change-Id: I1bef76d30eb47c4ebc8a2baca356d9c135b234ae
* mkimxboot: fix crashAmaury Pouly2013-08-22
| | | | | | | I was too aggressive when converting reads to standard reads, this one is memory based and not file based Change-Id: Ibe7162894cc44cbd79f56cafe7136bda0f76bcdc
* sbtools: fix elf section namingAmaury Pouly2013-08-22
| | | | Change-Id: I4500bf70028af26cc4b8136f111f527e1396d16e
* sbtools: more work on sbtoelf and elftosb, support more attributesAmaury Pouly2013-08-22
| | | | | | | Now handle timestamp, sb minor version, component/product versions, section flags. Change-Id: I35313efe60c28f04ea3732b36e5e01be3213cf9e
* sbtools: factor code in command parserAmaury Pouly2013-08-22
| | | | Change-Id: I790c373b8a0319cdb00650d3c59919bd4b0b96f6
* sbtools: now generate a db file along with with elf/rsrc filesAmaury Pouly2013-08-22
| | | | | | | | | | Now always generate a "make.db" file which aims at being the exact representation of the file, ie running sbtoelf and elftosb using the generated command file should produce the exact same file (except for the random paddings). We still miss the support for some option parsing to achieve that though. Change-Id: Ib7d6b241f7855fd35225df8ab8e0711f69d9ee5a
* sbtools: fix buffer overflowAmaury Pouly2013-08-22
| | | | Change-Id: I7b1c963e58eec88da215722ec219569a0a5a9cea
* mkimxboot: add entry for ZEN X-Fi3 1.00.25e firmwareAmaury Pouly2013-08-22
| | | | Change-Id: I2c6cc4003bcc96662211fa066dd9e6e438b7e258
* sbtools: fix redAmaury Pouly2013-08-21
| | | | Change-Id: I28b7d4d59d8f14abbba2a70e2bdea6987b6a3a98
* sbtools: more code refactoringAmaury Pouly2013-08-21
| | | | | | Factor all printf method with a unique one defined in misc.h Change-Id: I58fbf8916b76e873a2e6678506d2c8aece7834ec
* regtools: add a register dump of the Fuze+ OFAmaury Pouly2013-08-21
| | | | | | | This dump has been obtained with hwpatcher + hwstub, the fuze+ was running OF 2.36.8 in normal mode while playing some mp3. Change-Id: Ieecaa760fe8ccade0858db929b9d7c175a3eaddf
* regtools: add graphical register explorer + analyserAmaury Pouly2013-08-21
| | | | | | | | | This tool allows one to explore any register map. Register dumps (like produced by hwstub tools) can be loaded and decoded by the tool. Finally some analysers are provided for specific soc analysis like clock tree and emi on imx233 for example. Change-Id: Iaf81bd52d15f3e44ab4fe9bc039153fcf60cf92a
* imx233: add support for 50MHz clock with SD cardsAmaury Pouly2013-08-21
| | | | | | | | Now that the drive strength problem has been fixed, we can safely drive sd cards at 48MHz in HS mode to get the best possible transfer speed at 3.3V. Change-Id: I0291589c399fb4880deba97895ff578451a32f99
* imx233: fix drive strength for sd/mmcAmaury Pouly2013-08-21
| | | | | | | At high speed, we need a drive strength of 8mA on the clock line to get stable transfers. Change-Id: Ida668db10cd3e10ad5740e35fd973f2fa394edb2
* imx233: always keep cards in TRAN modeAmaury Pouly2013-08-21
| | | | | | | | Instead of going back and forth between TRAN and STBY modes, stay in TRAN mode all the time, this avoid two commands on each read/write and a potential delay to wait for the card. Change-Id: Iafd456ab9a581d870331b622eeb48dcc254eda7f