summaryrefslogtreecommitdiff
path: root/firmware (follow)
Commit message (Collapse)AuthorAge
...
* Remove copy/pasted preprocessor defines that shouldn't have been included.Michael Giacomelli2012-08-06
| | | | | | | | Also, add dummy defines for application targets so that ERRORF, etc map to DEBUGF instead of a compile error and add a new line at the end of logf.c. Change-Id: Ie7c5bc3397a853af619e810defce6123114e7a51
* Enable logdiskf to for all device targets, but not bootloaders or applicationMichael Giacomelli2012-08-06
| | | | | | builds. Change-Id: I651900fda676433841cfd14dba05bcb4116e0002
* Introduce logging to disk feature into rockbox.Michael Giacomelli2012-08-07
| | | | | | | | | | | | | | | | | Logs information, errors, etc to disk using the register_storage_idle_func mechanism to write to the disk when available. Currently, this is disabled in normal builds, but can be enabled by adding ROCKBOX_HAS_LOGDISKF to the config file. By default, it uses a 2KB buffer and drops text if the buffer overflows. The system includes a simple warning level mechanism that can be used to by default exclude non-serious errors from logging on release builds. Change-Id: I0a3d186a93625c7c93dae37b993a0d37e5a3a925 Reviewed-on: http://gerrit.rockbox.org/288 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info> Tested-by: Michael Giacomelli <mgiacomelli@gmail.com> Reviewed-by: Michael Giacomelli <mgiacomelli@gmail.com>
* Fix database tool.Thomas Martitz2012-07-31
| | | | | | | It was also broken functionally, probably since a while.So restore the functionality. Run it on the dap, the tcd files will be placed into .rockbox folder. Change-Id: Id7a6ce4389dfaf99799258902be80d630af0601c
* Revert my previous commit disabling the internal ROM clock during normalMichael Giacomelli2012-07-22
| | | | | | | | | | | operation. The interal ROM clock seems to be needed to reboot the player, so disabling it is too dangerous. Hopefully this will prevent problems where crashes during the abort handler resulted in a stock player that needed the battery to drain in order to reboot. Change-Id: I7d1e64743dde15b64d718ad3255dada3d570736f
* fix database toolThomas Martitz2012-07-18
| | | | Change-Id: I48702c3213aae7e2c64ea0e1f197e61368393759
* hm60x: Fix gpio pin direction.Andrew Ryabinin2012-07-13
| | | | Change-Id: I22324a3bd080a23d3606e6bc8e55881d072bf615
* hm60x: Fix not working backlight on some hm-601's.Andrew Ryabinin2012-07-13
| | | | Change-Id: I3e1e92f28537b6fb915a0f9d5960fbf5e217825b
* rk27xx codec: simplify startupMarcin Bukat2012-07-11
| | | | Change-Id: I8b610363e67ec640664aa0d03488e430ec461244
* rk27xx: implement system_exception_wait()Marcin Bukat2012-07-11
| | | | Change-Id: If55cfdf7ef91e732ac0aae6ad9fde24b8918e1b8
* rk27xx codec: Fix volume settingMarcin Bukat2012-07-10
| | | | Change-Id: If57e0225fed4a9f87dff9661b21b2e06fa3d341e
* rk27generic: fix charging_state()Marcin Bukat2012-07-10
| | | | Change-Id: Iefa7fa4f9b2e535e2ab9004ffe8eeb8adf203f4b
* rk27xx: disable watchdog on startupMarcin Bukat2012-07-09
| | | | | | | Some versions of nand loader enable watchdog which resets player just after reaching main menu. Change-Id: Ia008bccb40570ab102c0558cd2768f125ae826d7
* hm60x: Add support for HM-601 slims with new lcds.Andrew Ryabinin2012-06-30
| | | | Change-Id: I02d5c85e70686c842f1379aba24ff045b260a4ff
* Use RGB565 define instead of plain 565.Frank Gevaerts2012-06-20
| | | | | | Pixelformats should always use the defines, not the raw values. Change-Id: Id60a73385bb6cc4e8f8d1f8b292489d066f1e13f
* Fix non-integer display_zoom for charcell.Frank Gevaerts2012-06-19
| | | | Change-Id: I2d41b5cc9cbceae05ba6cde4182896df9c5fb860
* Change display_zoom from int to double.Frank Gevaerts2012-06-19
| | | | | | | | The main reason for this is to be able to downscale the sdl app, which when used for designing themes for android tends not to fit on laptop screens these days. Change-Id: Ib52731dbebcdd03a572be7754c157471165eb2df
* hosted: disable USING_STORAGE_CALLBACK againThomas Martitz2012-06-15
| | | | | | | | 6b8330d was not the correct fix. In fact, it prevents settings from being written as there's no DISK_EVENT_SPINUP event, so they were only saved on proper shutdown. Change-Id: Iad26366f2821ed6adf445c391d461563c5782a71
* Remove extraneous "extern int display_zoom" declarations.Frank Gevaerts2012-06-14
| | | | | | One extern declaration of a variable should be enough for everyone! Change-Id: Idd4f4e05abaa5bb82693134a262d4023e1be6bd6
* The threading model should be set from configure, not config.h.Frank Gevaerts2012-06-11
| | | | Change-Id: If87bbd4a02825df20e5fe29c4ada85bf5ba25e99
* Add the Android/MIPS targetFrank Gevaerts2012-06-11
| | | | Change-Id: Iec1d2f08c8a43e486ab1696566a718b18598ff95
* Rearrange #ifdefs a bit, so SIGALTSTACK overrides CPU-specific threading.Frank Gevaerts2012-06-11
| | | | Change-Id: Ie3661f53bd7576d965fcc52facb532199b87c017
* Fix checks on buflib allocated handles (0 is not a valid handle value)Bertrik Sikken2012-06-10
| | | | Change-Id: I8fdc5a59a5062f40a431cd49971390e21631b8ec
* Move s3c2440 i2c driver in firmware/SOURCES to a more logical placeBertrik Sikken2012-06-09
| | | | Change-Id: I5c40d15fc92efc1ce74b54c736e805f9f4a62f77
* imx233: define HAVE_TEST_AND_CLEAN_CACHEAmaury Pouly2012-06-07
| | | | Change-Id: I7ceb9b122520e48a88f6299f10d42d2fa717ef3b
* Fix redAmaury Pouly2012-05-31
| | | | Change-Id: Ifa8b360c97bb1036210b2563cfb87be2630eaab6
* rds: implement more robust PS/RT parsingAmaury Pouly2012-05-31
| | | | | | | | | | | | | | | Our current PS and RT parser is very strict: it requires all segments to be received in order. This is too strong of an assumption even when the reception in good, particularly for long RT messages. This parser handles segments in any order and completes a message only when all segments are present. To avoid keeping obsolete segments, each segment has an associated timeout and is trashed if not updated for a certain period. Change-Id: I79841bb5ab1f838c7702d8281044e226f6510199 Reviewed-on: http://gerrit.rockbox.org/237 Tested-by: Bertrik Sikken <bertrik@sikken.nl> Reviewed-by: Bertrik Sikken <bertrik@sikken.nl>
* Fill USB serial number descriptor on imx233 targets.Amaury Pouly2012-05-31
| | | | | | | | Compute a serial number using the ocotp OPS bits like the OF. Also add a comment about the first character of serial number being a indicator of the enabled interfaces. Change-Id: I9b90aed4e3b803f12fec003c9bc8ee8a046f4e42
* imx233: add ocotp debug screenAmaury Pouly2012-05-31
| | | | Change-Id: Ia2211f9e0b281ffb60139bba539af37d762212dc
* imx233: add ocotp driverAmaury Pouly2012-05-31
| | | | Change-Id: If4ed62ece056e81665a00af39eb1c57bb2c42b22
* ypr0: This patch adds radio support to Samsung YP-R0Lorenzo Miori2012-05-28
| | | | | | | | | | Basically it uses the default SI4700 radio chip driver, the only thing that's different is the I2C access, written specifically to interact with my kernel module. Next things to add are: - RDS support! Change-Id: I0ed125641e00f93124d7a34f90dd508e7f1db5a4 Signed-off-by: Lorenzo Miori <memorys60@gmail.com>
* zenxfi3: RTC is used in same was as in fuze+, using seconds-since-1970 plus ↵Bertrik Sikken2012-05-27
| | | | | | an offset Change-Id: Iab2e6e15c790c26d3bf2679e9f965a409d162783
* load_code: Get rid of win32 specific code in favor SDL_LoadFunction & ↵Thomas Martitz2012-05-26
| | | | | | | | | friends APIs. Refactor native/hosted implementation seperation while at it (no wrappers starting with _ anymore). Change-Id: If68ae89700443bb3be483c1cace3d6739409560a
* Fix broken logic for enabling USING_STORAGE_CALLBACK.Frank Gevaerts2012-05-26
| | | | | | | | | | | | | The logic got broken by 6b8330d2. Since the ifp700 port is basically unmaintained and unfinished and doesn't build anyway, we can remove the special-casing for it. This simplifies the logic to "hosted or native, except for bootloaders", which simplifies further to "not bootloaders". Fixes FS#12685 Change-Id: Iaaad534067da22b74bf647aa58dcbb678bbc5f70
* Gigabeat S: Fix the recording locking upon using it a second time.Michael Sevakis2012-05-23
| | | | | | | Apparently I got the "just-in-case" RXFIFO purge in there before the RXFIFO was enabled, causing severe hardware spasms. Change-Id: I2ea4b6d28e06372b61cb3f21ab2fce71dd408213
* zenxfi3: fix typo when configuring lcd_enable pinAmaury Pouly2012-05-23
| | | | Change-Id: I288c5f80ec94c786d60ec04e87aa04e522ce5c10
* zenxfi3: fix vol+/vol- button pin assignmentBertrik Sikken2012-05-22
| | | | Change-Id: Ibc8e19b03e786ac8c668c73c85c5e66df16cc632
* zenxfi3: don't configure lcd_hsync and lcd_dotclk (used by audio)Amaury Pouly2012-05-22
| | | | Change-Id: Ifa5edd0f1efb0755756cbafa444f1bc678ee1dc8
* zenxfi2: acquire button pinsAmaury Pouly2012-05-22
| | | | Change-Id: I5d66ae10945f5231616c266ee74275cc69b036de
* zenxfi2: acquire lcd pins before useAmaury Pouly2012-05-22
| | | | Change-Id: Ia49dfdefd37e89ecd160add3592f9e15ce415e65
* zenxfi3: acquire audio gate pinsAmaury Pouly2012-05-22
| | | | Change-Id: I47775568b3ee7383e440e2999b0acd98f0d5c57a
* zenxfi3: acquire button and mpr121 interrupt pinsAmaury Pouly2012-05-22
| | | | Change-Id: I7d002ce7fed08ee949335ef838014a6885ffaf5e
* zenxfi3: acquire lcd pins before useAmaury Pouly2012-05-22
| | | | Change-Id: I9829be35d9872e8051c5281639c3d99b51908035
* imx233: have pwm code acquire configured pinsAmaury Pouly2012-05-22
| | | | Change-Id: I534cc10fbcaf1bb0e950fe2f60271008209b1122
* Delete obsolete define from the config files for the new creative ports.Nils Wallménius2012-05-21
| | | | Change-Id: I00164be4960f987399fc5ea713f19ab06490883c
* imx233: enable PLL on startupAmaury Pouly2012-05-21
| | | | | | | Implement PLL enabling/disable and unconditionally power the PLL on startup. This is needed at least on the Zen X-Fi2. Change-Id: Ib9ddfdeaf973cedded4b3586dd16aa95a61e78ba
* Undo f695681 (r30433). USB hardware must be initialized first.Jens Arnold2012-05-20
| | | | | | This fixes flash/ MMC access on the Ondios when booting from ROM. Add a comment what to pay attention for in the target specific usb_init_device().
* Fuze+ simulator: update image with keys indicationJean-Louis Biasini2012-05-20
| | | | | | | | | | 1) Change the image with a clean one 2) add keymaps indication Change-Id: I0d3fff317406809523fb34282df058fe2e074a2c Reviewed-on: http://gerrit.rockbox.org/173 Reviewed-by: Peter D'Hoye <peter.dhoye@gmail.com> Tested-by: Peter D'Hoye <peter.dhoye@gmail.com>
* imx233: make sure dma descriptors are cache friendlyAmaury Pouly2012-05-20
| | | | | | | | | | | Because DMA descriptors needs to be committed and discarded from the cache, if they are not cache aligned and/or if their size is not a multiple of cache ligne, nasty side effects could occur with adjacents data. The same applies to DMA buffers which are still potentially broken. Add a macro to ensure that these constraints will not break by error in the future. Change-Id: I1dd69a5a9c29796c156d953eaa57c0d281e79846
* imx233: fix sd window size testAmaury Pouly2012-05-20
| | | | Change-Id: I8e35e108871677d4ad85c9c702d1d7e67b598c7e