summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* hwstub: produce sb1 image too (for STMP3600)Amaury Pouly2013-10-26
| | | | Change-Id: Ib7f38fba1e524ed7438cdc395441d801c5eabcaa
* Forgot the config files for ZEN, ZEN Mozaic and ZEN X-FiAmaury Pouly2013-10-26
| | | | Change-Id: Id95d0078d7f4862e596d47ef1bdbfe75942c50fa
* imx233: rework vdd5v shared irq handlingAmaury Pouly2013-10-23
| | | | | | | | | | | | The previous code disabled the irq when there were fired. This seems unreliable for some mysterious reason. Instead simply disable them before enabling the irq. Change-Id: I7ee1aa25dbc41c7dd53aa7c7744aa5e4d70ff2d8 Reviewed-on: http://gerrit.rockbox.org/640 Reviewed-by: benjamin brown <foolshperson@gmail.com> Tested-by: benjamin brown <foolshperson@gmail.com> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* imx233: fix partition window computationAmaury Pouly2013-10-22
| | | | | | | | | | | The code was broken in two ways: - it called storage_read_sectors with a wrong drive number - calling storage_read_sectors too early at boot time will fail because we are in the init function, so the drive is not yet registered. To fix this, use a user provided read callback instead of storage read functions. Change-Id: I5ab79d48391fae619d5f8ae09c3d499fc43854c8
* zenxfi2: fix red by adding partition styleAmaury Pouly2013-10-22
| | | | Change-Id: Id5b8907b68d1913f8f36d7494d7e78b63562187c
* utils/regtools: add a bunch of regdumps for various sourcesAmaury Pouly2013-10-22
| | | | Change-Id: I67bbd2d1b02ca4541f70d2e9c8c0e6000300dcac
* Introduce rbutil/mkzenboot, a replacement for tools/mkzenbootAmaury Pouly2013-10-22
| | | | | | | | | | | | | | | The old tools/mkzenboot has a number of problems: very hard to maintain, poor integration with rbutil. Restart from scratch by recycling all the crypto and descrambling code, rewrite the actual firmware modification part to handle all scenarios in a much clearer way. The code is ready to be integrated into Rockbox Utility, by using the very similar interface to mkimxboot. I copied all the keys from the old mkzenboot, so it can potentially support the older Creative ports, but since this is untested, I prefer not do so at the moment. However, I did add a "mixed" boot option to support the dualboot style used in the older ports. Change-Id: I80cfc48fa78187baa1b1692e8a30ec7137cea37b
* tools/configure: add the Creative targets to selectorAmaury Pouly2013-10-22
| | | | Change-Id: I74c7c3cfea95350b88155c2d6d1111c84172b39d
* utils/hwstub: fix zen target idAmaury Pouly2013-10-22
| | | | Change-Id: I9199f573a050223a811a8e82e403f113fb876cca
* tools/scramble: document zen/xzfi/zmoz targetsAmaury Pouly2013-10-22
| | | | Change-Id: I9b48d22968b7632ef88d9dd598ff65fd448c3dcc
* tea5760uk: use correct i2c address on the CreativeAmaury Pouly2013-10-22
| | | | | | | Actually 0x20 is the right address, the 0x22 applies to the meizu which probably use a Chinese clone with a non-spec compliant address. Change-Id: I65b9ab6477c07a2293226536db3e696d34d3bc2c
* Initial commit for the Creative ZEN and ZEN X-FiAmaury Pouly2013-10-22
| | | | Change-Id: Ibd7b1b0b957ef11c200cb63eff7da53f11774748
* Initial commit for the Creative ZEN MozaicAmaury Pouly2013-10-22
| | | | Change-Id: Ib65aad9f5de37e514047955cad7ca40dc0af4f74
* hwstub: rework i2c completelyAmaury Pouly2013-10-22
| | | | Change-Id: I1e5f87f15f0ca9586d8185316ffcaeef6d9d4d38
* hwstub: don't touch mmu registers on non-STMP targets, they might not existAmaury Pouly2013-10-22
| | | | Change-Id: Ib18475fd90e0d29ab6d7214116f7a0041584d621
* tools/scramble: add support for a couple more Creative devicesAmaury Pouly2013-10-22
| | | | | | | This is mostly for consistency, this tool will be unused by the newer targets. Also update the usage() display to mention -no-ciff Change-Id: I4500f5fdce771ad3c53701a0bbaace916e88759d
* tools/mkzenboot: compile in C99 modeAmaury Pouly2013-10-22
| | | | Change-Id: I580ffb3af71846213c0ffc18ead4e51a72ba1475
* imx233/system: don't do frequency management on < stmp3780, it's not workingAmaury Pouly2013-10-22
| | | | Change-Id: Ie9ff5122f1cb4fe3809bb4c6b88ef0cfc353e0e1
* imx233/sdmmc: add write protect pin configAmaury Pouly2013-10-22
| | | | | | | The setting is currently unused but it provides some documentation and basic support for a more comprehensive implementation of read-only support. Change-Id: I353c33ef765ef6e6c09d59e943da6654a311ad84
* imx233/audio: workaround unused variableAmaury Pouly2013-10-22
| | | | | | | The exact combination on which recording is needed is too complicated, so just always cancel the unused warning, the compiler will optimise it away. Change-Id: I0946586e4b01769c98babc4616f893c38f44c05f
* imx233: extend partition window support to be more genericAmaury Pouly2013-10-22
| | | | | | | | The new code can select among several types of window (user, system, ...). Furthermore, the type of partitions to use is selectable in config file. Currently, two types are support: Freescale style MBR and Creative MBLK Change-Id: I969d60a3d08f2c9448fb4b9c440051b7801b94cd
* imx233/i2c: relax timeoutAmaury Pouly2013-10-22
| | | | Change-Id: Ie9cf8c8bb0a89d9cbcc795e04559864b9fbaf639
* Remove useless bracesAmaury Pouly2013-10-21
| | | | Change-Id: I88cce98cd8cc04f0245fba8ef30434167df483fc
* imx233: add package definesAmaury Pouly2013-10-21
| | | | | | | Currently we only support the BGA169 but if by chance Rockbox was to run on a lqfp package for example, some pins may becomes unavailable or different. Change-Id: I5c0d8d57ae31604572af37e0c2edd0bd7bda73a3
* tea5760uk: properly power up the tuner during detectAmaury Pouly2013-10-21
| | | | | | | The old was doing register read/writes without calling tuner_power(), this is broken for target with real tuner power management. Change-Id: I5e60234697a8b91de6189daf6a10e871d5119b65
* tea5760uk: add support for TEA5761UKAmaury Pouly2013-10-21
| | | | | | | They share most of registers (except test and some extra bits), since our driver is very basic, it is safe to relax the manufacurer & chip id check. Change-Id: If54e8b9e0d852cd9128d5e28ff59bd2c7a55d98d
* debug_menu: add tea5760uk tuner debug infoAmaury Pouly2013-10-21
| | | | Change-Id: I18ee5374a312335498777713c20f5de9014dacf3
* imx233: fix power irq stormAmaury Pouly2013-10-21
| | | | | | | | When bootloader is too intelligent, like on Creative devices, it might leave some unexpected IRQs sources on, this is problematic when those sources share the same IRQ line. Change-Id: Ie9333918eb1048b1f2de4ea738cddf556aa75ee2
* imx233: fix audioout on stmp3700Amaury Pouly2013-10-21
| | | | | | Strangely enough, only stmp3780 and stmp3600 have speaker control Change-Id: Icec1ed4b7e80e8b3787a3d08b32695551b58aeb9
* fuze+: fix typoAmaury Pouly2013-10-21
| | | | Change-Id: I0b86d5cadeb5b792dbdd71ea1e25230a6643afdf
* imx233: fix usb_detect() to be consistent with vbus detectionAmaury Pouly2013-10-21
| | | | | | | | | The STMP3700 has unreliable vbusvalid irq so we need to use vdd5gtvddio. Therefore, using the vbusvalid bit produces inconsistent results between events and detect. Fix that by making power handle all the usb detect stuff. Change-Id: Ic521b2f6677602e184fe46352c5359f4b4ba8d56
* imx233: simplify sd/mmc codeAmaury Pouly2013-10-21
| | | | Change-Id: I7e36b4c1c91540a2ae383109e440818bc610dde6
* imx233/i2c: use 1sec timeout by default instead of blockingAmaury Pouly2013-10-21
| | | | | | | | | These functions are mostly used by the radio drivers and any blocking call could potentially block the entire UI, which is pretty bad. Since any request is expected to finish within a few us, having a 10ms timeout doesn't seem unreasonable. Change-Id: I03b19729511547e5bbdeb3476d020e5d87d0d7e1
* imx233/i2c: always reset the i2c block on timeoutAmaury Pouly2013-10-21
| | | | | | | On targets like stmp3700, resetting the dma channel on "soft" timeout drives the whole block crazy unless it goes through complete reset. Change-Id: I830b252279989bf9f9cd9c138240a6ea9b003527
* imx233/bootloader: fix comment about disk initAmaury Pouly2013-10-21
| | | | Change-Id: I44a676237564490771a1ed2c81e9434fc6c6f74d
* imx233: fix bootloaderAmaury Pouly2013-10-21
| | | | | | | | The bootloader must call disk_init_subsystem() because it is multithread (because of USB), otherwise strange things might happen. Calling disk_init() is unnecessary since it is call when mounting partitions. Change-Id: If7aff3dea0b96144e2a9b0f6179a9a0a632b93ed
* Switch back to kernel.org.Frank Gevaerts2013-10-20
| | | | | | | kernel.org is back, and nic.funet.fi is being difficult, so it's time to switch back. Change-Id: If981dedd0cb7bb64de7563de6657f63ebb931a6f
* Add missing #include statements.Kevin Zheng2013-10-20
| | | | | | | | | | | | | | Although Linux accepts several implicit definitions of SEEK_END found in stdio.h, the compiler on FreeBSD won't. Rockbox compilation will fail without stdio.h included. There is a precedent for including this header, see lib/rbcodec/codecs/libtremor/ivorbisfile.h. Change-Id: I58510101b59a354cd6601cb3f323f385a824d2e8 Reviewed-on: http://gerrit.rockbox.org/639 Tested-by: Kevin Zheng <kevinz5000@gmail.com> Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
* Include 60s timeout for wget commands in rockboxdev.shMichael Rodger2013-10-19
| | | | | | | | | | Added a 60s timeout to the script to avoid having to wait for ages when a download stalls. Change-Id: I97f0aafe4eac0fb3cfc83805c99d19f1ef02b9f9 Reviewed-on: http://gerrit.rockbox.org/636 Reviewed-by: Kevin Zheng <kevinz5000@gmail.com> Tested-by: Michael Rodger <rockbox@atinyhedgehog.za.net> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* Disable LCD_FLIP and MORSE_INPUT on recorder to make it build.Frank Gevaerts2013-10-18
| | | | | | | | Disabling these two settings makes the image small enough to build again. This build has been broken for long enough without any better solution actually being worked on, so I think this is much better than nothing. Change-Id: I77c34c1e714fb6e132ed0ce39f0917779efe1125
* Do not compile with "-ldl" on FreeBSD.Kevin Zheng2013-10-18
| | | | | | | | | | | The dynmaic library support provided in dlfcn.h does not require additional linker flags on FreeBSD. It is provided with the standard C library and will fail to link if "-ldl" is specified. Change-Id: I9f21d8369d45a9be94129a1b37b4607adf673c57 Reviewed-on: http://gerrit.rockbox.org/637 Tested-by: Kevin Zheng <kevinz5000@gmail.com> Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
* imxtools/scsitools: document some of the SCSI vendor commandsAmaury Pouly2013-10-10
| | | | Change-Id: I534fc467aad960c61b54d202096823d5c2c9a5e9
* imxtools/sbloader: rewrite hid codeAmaury Pouly2013-10-09
| | | | | | | Rewrite code with proper documentation: it uses a UMS like CBW/CSW to wrap commands and status. Change-Id: I10476c87aaea96d4b9e54f8c1c266835c8e89721
* imxtools/sbtools: always probe report size for HID recovery modeAmaury Pouly2013-10-09
| | | | | | | Some older versions of the ROM (TA3 for example), use a 64 byte report size instead of 1024, so hardcoding 1024 is just a bad idea. Change-Id: I720c4465cfe2f519bffa307175614bba58766dce
* Simulator - encoders can now be loadedLorenzo Miori2013-10-05
| | | | | | | | | This enables the encoders - i.e. to record audio - to be loaded also on the simulator. Change-Id: I54fdbeb75b89023c0d7824a34cf76301c02c3150 Reviewed-on: http://gerrit.rockbox.org/632 Reviewed-by: Thomas Martitz <kugel@rockbox.org>
* Add a few targerts to builds.pmAmaury Pouly2013-10-02
| | | | | | Change-Id: I6c2e139cf55c7bd07e6327abbc9dd93e5bdb6e21 Reviewed-on: http://gerrit.rockbox.org/631 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* fwpatcher/rbutil - added support for H300 v1.31KLorenzo Miori2013-10-01
| | | | | | | Change-Id: I4e0801f136f9b9e490209c0808eabfc334f46643 Reviewed-on: http://gerrit.rockbox.org/630 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> Tested-by: Marcin Bukat <marcin.bukat@gmail.com>
* Implement a first, simple changelog dialog.Dominik Riebeling2013-09-30
| | | | | | | When Rockbox Utility is started for the first time, a new version is started or the user selected to do so on startup a changelog window is shown. Change-Id: Ic223e092a09d31ccbbfcd9b973355225cac27632
* Use function for updating detected device entry.Dominik Riebeling2013-09-30
| | | | | | | Use a function instead of looking for an existing entry and creating a new one if necessary every time. Change-Id: I7b385dad7366f27370545a7d1a9f7052510cca11
* Add some unstable targest to "sim release"Amaury Pouly2013-09-29
| | | | Change-Id: Ie8e3848063dc49004fa68719e031a4950f059033